From ec426111a3aecf2264c2136621124db584696038 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 30 Jun 2020 07:36:01 +0700 Subject: [PATCH] python-nbxmpp: mark empty nbxmpp doesn't support Python 2 anymore. But 1.0.0 has been published, mark it as empty to remove. --- srcpkgs/python-nbxmpp | 1 + srcpkgs/python3-nbxmpp | 1 - .../template | 24 +++++++++---------- 3 files changed, 12 insertions(+), 14 deletions(-) create mode 120000 srcpkgs/python-nbxmpp delete mode 120000 srcpkgs/python3-nbxmpp rename srcpkgs/{python-nbxmpp => python3-nbxmpp}/template (51%) diff --git a/srcpkgs/python-nbxmpp b/srcpkgs/python-nbxmpp new file mode 120000 index 0000000000..ae760ace99 --- /dev/null +++ b/srcpkgs/python-nbxmpp @@ -0,0 +1 @@ +python3-nbxmpp \ No newline at end of file diff --git a/srcpkgs/python3-nbxmpp b/srcpkgs/python3-nbxmpp deleted file mode 120000 index ceb4d295ad..0000000000 --- a/srcpkgs/python3-nbxmpp +++ /dev/null @@ -1 +0,0 @@ -python-nbxmpp \ No newline at end of file diff --git a/srcpkgs/python-nbxmpp/template b/srcpkgs/python3-nbxmpp/template similarity index 51% rename from srcpkgs/python-nbxmpp/template rename to srcpkgs/python3-nbxmpp/template index 9053b90dfc..7472707739 100644 --- a/srcpkgs/python-nbxmpp/template +++ b/srcpkgs/python3-nbxmpp/template @@ -1,13 +1,13 @@ -# Template file for 'python-nbxmpp' -pkgname=python-nbxmpp +# Template file for 'python3-nbxmpp' +pkgname=python3-nbxmpp version=1.0.0 -revision=1 +revision=2 archs=noarch wrksrc="${pkgname#*-}-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -depends="python-openssl" -short_desc="Non blocking Jabber/XMPP module (Python2)" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-openssl" +short_desc="Non blocking Jabber/XMPP module" maintainer="Duncaen " license="GPL-2.0-or-later" homepage="https://python-nbxmpp.gajim.org/" @@ -15,11 +15,9 @@ homepage="https://python-nbxmpp.gajim.org/" distfiles="${PYPI_SITE}/n/nbxmpp/nbxmpp-${version}.tar.gz" checksum=8b7e967bc1d0f1a1f7cf3395b6f5d70009ae5607ad9afb8de32ff92b661693ad -python3-nbxmpp_package() { +python-nbxmpp_package() { + build_style=meta archs=noarch - depends="python3-openssl" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove "usr/lib/python${py3_ver}" - } + # Someone bumped this package to 1.0.0, which doesn't support Python 2 + short_desc+=" - Python 2 - removed package" }