From b721facb36b3139d1445ffee183333054eee20ef 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 20:42:33 +0700 Subject: [PATCH] python-polib: drop package --- srcpkgs/python-polib/template | 35 ------------------- srcpkgs/python3-polib | 1 - srcpkgs/python3-polib/template | 22 ++++++++++++ .../{python-polib => python3-polib}/update | 0 4 files changed, 22 insertions(+), 36 deletions(-) delete mode 100644 srcpkgs/python-polib/template delete mode 120000 srcpkgs/python3-polib create mode 100644 srcpkgs/python3-polib/template rename srcpkgs/{python-polib => python3-polib}/update (100%) diff --git a/srcpkgs/python-polib/template b/srcpkgs/python-polib/template deleted file mode 100644 index 8b8d4b66c68..00000000000 --- a/srcpkgs/python-polib/template +++ /dev/null @@ -1,35 +0,0 @@ -# Template file for 'python-polib' -pkgname=python-polib -version=1.1.0 -revision=2 -archs=noarch -wrksrc="polib-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -depends="python" -pycompile_module="polib.py" -short_desc="Python2 library to manipulate gettext files" -maintainer="Orphaned " -homepage="http://bitbucket.org/izi/polib/" -license="MIT" -distfiles="${PYPI_SITE}/p/polib/polib-${version}.tar.gz" -checksum=fad87d13696127ffb27ea0882d6182f1a9cf8a5e2b37a587751166c51e5a332a - -do_check() { - ./runtests.sh -} - -post_install() { - vlicense LICENSE -} - -python3-polib_package() { - archs=noarch - depends="python3" - pycompile_module="polib.py" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-polib b/srcpkgs/python3-polib deleted file mode 120000 index 3401b268c46..00000000000 --- a/srcpkgs/python3-polib +++ /dev/null @@ -1 +0,0 @@ -python-polib \ No newline at end of file diff --git a/srcpkgs/python3-polib/template b/srcpkgs/python3-polib/template new file mode 100644 index 00000000000..a4ca2d745fa --- /dev/null +++ b/srcpkgs/python3-polib/template @@ -0,0 +1,22 @@ +# Template file for 'python3-polib' +pkgname=python3-polib +version=1.1.0 +revision=3 +wrksrc="polib-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python3 library to manipulate gettext files" +maintainer="Orphaned " +license="MIT" +homepage="http://bitbucket.org/izi/polib/" +distfiles="${PYPI_SITE}/p/polib/polib-${version}.tar.gz" +checksum=fad87d13696127ffb27ea0882d6182f1a9cf8a5e2b37a587751166c51e5a332a + +do_check() { + ./runtests.sh +} + +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/python-polib/update b/srcpkgs/python3-polib/update similarity index 100% rename from srcpkgs/python-polib/update rename to srcpkgs/python3-polib/update