python-webassets: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 14:37:58 +07:00
parent bf3d201c16
commit 07d07e7990
3 changed files with 19 additions and 35 deletions

View File

@ -1,34 +0,0 @@
# Template file for 'python-webassets'
pkgname=python-webassets
version=0.12.1
revision=3
archs=noarch
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
pycompile_module="webassets"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools"
short_desc="Media asset management for Python2"
maintainer="Orphaned <orphan@voidlinux.org>"
license="2-clause-BSD"
homepage="https://github.com/miracle2k/webassets/"
distfiles="${PYPI_SITE}/w/webassets/webassets-${version}.tar.gz"
checksum=e7d9c8887343123fd5b32309b33167428cb1318cdda97ece12d0907fd69d38db
alternatives="webassets:webassets:/usr/bin/webassets2"
post_install() {
vlicense LICENSE
}
python3-webassets_package() {
archs=noarch
depends="python3-setuptools"
pycompile_module="webassets"
short_desc="${short_desc/Python2/Python3}"
alternatives="webassets:webassets:/usr/bin/webassets3"
pkg_install() {
vmove usr/bin/*3
vmove usr/lib/python3*
vlicense LICENSE
}
}

View File

@ -1 +0,0 @@
python-webassets

View File

@ -0,0 +1,19 @@
# Template file for 'python3-webassets'
pkgname=python3-webassets
version=0.12.1
revision=4
wrksrc="${pkgname#*-}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools"
short_desc="Media asset management for Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/miracle2k/webassets/"
distfiles="${PYPI_SITE}/w/webassets/webassets-${version}.tar.gz"
checksum=e7d9c8887343123fd5b32309b33167428cb1318cdda97ece12d0907fd69d38db
alternatives="webassets:webassets:/usr/bin/webassets2"
post_install() {
vlicense LICENSE
}