From 5fe51fbf4205b1d0f14c15560d1cb9a8d8cc1af9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 20 Sep 2020 23:32:25 +0700 Subject: [PATCH] python-aalib: drop package --- srcpkgs/python-aalib/template | 31 ------------------------------- srcpkgs/python3-aalib | 1 - srcpkgs/python3-aalib/template | 19 +++++++++++++++++++ 3 files changed, 19 insertions(+), 32 deletions(-) delete mode 100644 srcpkgs/python-aalib/template delete mode 120000 srcpkgs/python3-aalib create mode 100644 srcpkgs/python3-aalib/template diff --git a/srcpkgs/python-aalib/template b/srcpkgs/python-aalib/template deleted file mode 100644 index f9621a9c8d..0000000000 --- a/srcpkgs/python-aalib/template +++ /dev/null @@ -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 " -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 - } -} diff --git a/srcpkgs/python3-aalib b/srcpkgs/python3-aalib deleted file mode 120000 index 854bacf6f6..0000000000 --- a/srcpkgs/python3-aalib +++ /dev/null @@ -1 +0,0 @@ -python-aalib \ No newline at end of file diff --git a/srcpkgs/python3-aalib/template b/srcpkgs/python3-aalib/template new file mode 100644 index 0000000000..3dad9f2099 --- /dev/null +++ b/srcpkgs/python3-aalib/template @@ -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 " +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 +}