From 9408e4d59f0930ae0f07accd45293bd2dd46f146 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 17:22:58 +0700 Subject: [PATCH] python-qrcode: drop package --- srcpkgs/python-qrcode/template | 36 ------------------- srcpkgs/python3-qrcode | 1 - .../INSTALL.msg | 0 srcpkgs/python3-qrcode/template | 23 ++++++++++++ 4 files changed, 23 insertions(+), 37 deletions(-) delete mode 100644 srcpkgs/python-qrcode/template delete mode 120000 srcpkgs/python3-qrcode rename srcpkgs/{python-qrcode => python3-qrcode}/INSTALL.msg (100%) create mode 100644 srcpkgs/python3-qrcode/template diff --git a/srcpkgs/python-qrcode/template b/srcpkgs/python-qrcode/template deleted file mode 100644 index bf35c82757e..00000000000 --- a/srcpkgs/python-qrcode/template +++ /dev/null @@ -1,36 +0,0 @@ -# Template file for 'python-qrcode' -pkgname=python-qrcode -version=6.1 -revision=2 -archs=noarch -wrksrc="qrcode-${version}" -build_style=python-module -pycompile_module="qrcode" -hostmakedepends="python-setuptools python3-setuptools" -depends="python-six" -checkdepends="python3-six" -short_desc="QR Code image generator (Python2)" -maintainer="Charles E. Lehner " -license="BSD-3-Clause" -homepage="https://github.com/lincolnloop/python-qrcode" -distfiles="${PYPI_SITE}/q/qrcode/qrcode-${version}.tar.gz" -checksum=505253854f607f2abf4d16092c61d4e9d511a3b4392e60bff957a68592b04369 - -do_check() { - python3 setup.py test -} - -post_install() { - vlicense LICENSE -} - -python3-qrcode_package() { - archs=noarch - depends="python3-six" - pycompile_module="qrcode" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-qrcode b/srcpkgs/python3-qrcode deleted file mode 120000 index 5c162e5ab4c..00000000000 --- a/srcpkgs/python3-qrcode +++ /dev/null @@ -1 +0,0 @@ -python-qrcode \ No newline at end of file diff --git a/srcpkgs/python-qrcode/INSTALL.msg b/srcpkgs/python3-qrcode/INSTALL.msg similarity index 100% rename from srcpkgs/python-qrcode/INSTALL.msg rename to srcpkgs/python3-qrcode/INSTALL.msg diff --git a/srcpkgs/python3-qrcode/template b/srcpkgs/python3-qrcode/template new file mode 100644 index 00000000000..1d287bafa4e --- /dev/null +++ b/srcpkgs/python3-qrcode/template @@ -0,0 +1,23 @@ +# Template file for 'python3-qrcode' +pkgname=python3-qrcode +version=6.1 +revision=3 +wrksrc="qrcode-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-six" +checkdepends="python3-six" +short_desc="QR Code image generator (Python3)" +maintainer="Charles E. Lehner " +license="BSD-3-Clause" +homepage="https://github.com/lincolnloop/python-qrcode" +distfiles="${PYPI_SITE}/q/qrcode/qrcode-${version}.tar.gz" +checksum=505253854f607f2abf4d16092c61d4e9d511a3b4392e60bff957a68592b04369 + +do_check() { + python3 setup.py test +} + +post_install() { + vlicense LICENSE +}