New package: python-scour-0.35

This commit is contained in:
Alexander Mamay 2017-02-13 17:55:19 +06:00
parent 9719855ebb
commit a41d027ecf
2 changed files with 30 additions and 0 deletions

View 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
View file

@ -0,0 +1 @@
python-scour