python-aalib: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 23:32:25 +07:00
parent c97fb5d452
commit 5fe51fbf42
3 changed files with 19 additions and 32 deletions

View file

@ -1,31 +0,0 @@
# Template file for 'python-aalib'
pkgname=python-aalib
version=0.3.2
revision=2
build_style=python-module
pycompile_module="aalib.py"
hostmakedepends="python-setuptools python3-setuptools"
depends="aalib python"
short_desc="Python2 interface to AAlib, an ASCII art library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://jwilk.net/software/python-aalib"
distfiles="${PYPI_SITE}/p/python-aalib/python-aalib-${version}.tar.gz"
checksum=c39071629e7962dcd926faf0135dc73e2a8eb5db9a53bc2ebe5965f8c39165a2
archs=noarch
post_install() {
sed -n '3,21p' < setup.py > LICENSE
vlicense LICENSE
}
python3-aalib_package() {
archs=noarch
pycompile_module="aalib.py"
depends="aalib python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-aalib

View file

@ -0,0 +1,19 @@
# Template file for 'python3-aalib'
pkgname=python3-aalib
version=0.3.2
revision=3
wrksrc=python-aalib-$version
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="aalib python3"
short_desc="Python3 interface to AAlib, an ASCII art library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://jwilk.net/software/python-aalib"
distfiles="${PYPI_SITE}/p/python-aalib/python-aalib-${version}.tar.gz"
checksum=c39071629e7962dcd926faf0135dc73e2a8eb5db9a53bc2ebe5965f8c39165a2
post_install() {
sed -n '3,21p' < setup.py > LICENSE
vlicense LICENSE
}