python-scour: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 17:06:11 +07:00
parent 64ff0ffcab
commit 179b8e05bc
3 changed files with 21 additions and 36 deletions

View file

@ -1,35 +0,0 @@
# Template file for 'python-scour'
pkgname=python-scour
version=0.37
revision=2
archs=noarch
wrksrc="scour-${version}"
build_style=python-module
pycompile_module="scour"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools python-six"
checkdepends="python3-six"
short_desc="An SVG scrubber (Python2)"
maintainer="Alexander Mamay <alexander@mamay.su>"
license="Apache-2.0"
homepage="https://github.com/scour-project/scour"
changelog="https://raw.githubusercontent.com/scour-project/scour/master/HISTORY.md"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=4fcb961586d8a6d98ac9343ca5647421b98fdc79b51d81a1d3d18576b7908823
alternatives="scour:scour:/usr/bin/scour2"
do_check() {
python3 setup.py test
}
python3-scour_package() {
archs=noarch
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*
}
}

View file

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

View file

@ -0,0 +1,21 @@
# Template file for 'python3-scour'
pkgname=python3-scour
version=0.37
revision=3
wrksrc="scour-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-six"
checkdepends="python3-six"
short_desc="SVG scrubber (Python3)"
maintainer="Alexander Mamay <alexander@mamay.su>"
license="Apache-2.0"
homepage="https://github.com/scour-project/scour"
changelog="https://raw.githubusercontent.com/scour-project/scour/master/HISTORY.md"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=4fcb961586d8a6d98ac9343ca5647421b98fdc79b51d81a1d3d18576b7908823
conflicts="python-scour>=0"
do_check() {
python3 setup.py test
}