python-nbxmpp: mark empty

nbxmpp doesn't support Python 2 anymore.
But 1.0.0 has been published, mark it as empty to remove.
This commit is contained in:
Đoàn Trần Công Danh 2020-06-30 07:36:01 +07:00
parent ebbc6cbcad
commit ec426111a3
3 changed files with 12 additions and 14 deletions

1
srcpkgs/python-nbxmpp Symbolic link
View File

@ -0,0 +1 @@
python3-nbxmpp

View File

@ -1 +0,0 @@
python-nbxmpp

View File

@ -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 <duncaen@voidlinux.org>"
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"
}