Merge pull request #5690 from o1ux/scour
New package: python-scour-0.35
This commit is contained in:
commit
5fe84e4ae4
2 changed files with 30 additions and 0 deletions
29
srcpkgs/python-scour/template
Normal file
29
srcpkgs/python-scour/template
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# Template file for 'python-scour'
|
||||||
|
pkgname=python-scour
|
||||||
|
version=0.35
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
wrksrc="scour-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
pycompile_module="scour"
|
||||||
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
|
depends="python-setuptools python-six"
|
||||||
|
short_desc="An SVG scrubber (Python2)"
|
||||||
|
maintainer="Alexander Mamay <alexander@mamay.su>"
|
||||||
|
license="Apache-2.0"
|
||||||
|
homepage="https://github.com/scour-project/scour"
|
||||||
|
distfiles="$homepage/archive/v${version}.tar.gz"
|
||||||
|
checksum=91a7dd0d721a3567b802c1b353ef451621594e628fe723cedb65cd4629fbc96f
|
||||||
|
alternatives="scour:scour:/usr/bin/scour2"
|
||||||
|
|
||||||
|
python3-scour_package() {
|
||||||
|
noarch=yes
|
||||||
|
pycompile_module="scour"
|
||||||
|
depends="python3-setuptools python3-six"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
alternatives="scour:scour:/usr/bin/scour3"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/bin/scour3
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3-scour
Symbolic link
1
srcpkgs/python3-scour
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-scour
|
Loading…
Add table
Add a link
Reference in a new issue