30 lines
853 B
Bash
30 lines
853 B
Bash
# 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*
|
|
}
|
|
}
|