python-keyring: Removed

Remove python2 version, as python2 will no
longer be supported

Signed-off-by: Nathan Owens <ndowens04@gmail.com>
This commit is contained in:
Nathan Owens 2019-12-11 17:31:15 -06:00 committed by Helmut Pozimski
parent 8dce83ba63
commit 1026549159
3 changed files with 22 additions and 36 deletions

View file

@ -1,35 +0,0 @@
# Template file for 'python-keyring'
pkgname=python-keyring
version=18.0.1
revision=1
archs=noarch
wrksrc="keyring-${version}"
build_style=python-module
pycompile_module="keyring"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools python-SecretStorage python-entrypoints"
short_desc="Python2 interface to the system keyring service"
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
license="MIT"
homepage="https://github.com/jaraco/keyring"
changelog="https://raw.githubusercontent.com/jaraco/keyring/master/CHANGES.rst"
distfiles="${PYPI_SITE}/k/keyring/keyring-${version}.tar.gz"
checksum=67d6cc0132bd77922725fae9f18366bb314fd8f95ff4d323a4df41890a96a838
alternatives="keyring:keyring:/usr/bin/keyring2"
post_install() {
vlicense LICENSE
}
python3-keyring_package() {
archs=noarch
pycompile_module="keyring"
depends="python3-setuptools python3-SecretStorage python3-entrypoints"
short_desc="${short_desc/Python2/Python3}"
alternatives="keyring:keyring:/usr/bin/keyring3"
pkg_install() {
vmove usr/bin/keyring3
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-keyring

View file

@ -0,0 +1,22 @@
# Template file for 'python3-keyring'
pkgname=python3-keyring
version=18.0.1
revision=1
archs=noarch
wrksrc="keyring-${version}"
build_style=python3-module
pycompile_module="keyring"
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-SecretStorage python3-entrypoints"
short_desc="Python interface to the system keyring service"
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
license="MIT"
homepage="https://github.com/jaraco/keyring"
changelog="https://raw.githubusercontent.com/jaraco/keyring/master/CHANGES.rst"
distfiles="${PYPI_SITE}/k/keyring/keyring-${version}.tar.gz"
checksum=67d6cc0132bd77922725fae9f18366bb314fd8f95ff4d323a4df41890a96a838
alternatives="keyring:keyring:/usr/bin/keyring2"
post_install() {
vlicense LICENSE
}