From 1026549159b7504b5d83c92b6133600be692ac6f Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Wed, 11 Dec 2019 17:31:15 -0600 Subject: [PATCH] python-keyring: Removed Remove python2 version, as python2 will no longer be supported Signed-off-by: Nathan Owens --- srcpkgs/python-keyring/template | 35 -------------------------------- srcpkgs/python3-keyring | 1 - srcpkgs/python3-keyring/template | 22 ++++++++++++++++++++ 3 files changed, 22 insertions(+), 36 deletions(-) delete mode 100644 srcpkgs/python-keyring/template delete mode 120000 srcpkgs/python3-keyring create mode 100644 srcpkgs/python3-keyring/template diff --git a/srcpkgs/python-keyring/template b/srcpkgs/python-keyring/template deleted file mode 100644 index df1c21ee1be..00000000000 --- a/srcpkgs/python-keyring/template +++ /dev/null @@ -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 " -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 - } -} diff --git a/srcpkgs/python3-keyring b/srcpkgs/python3-keyring deleted file mode 120000 index b9655263f39..00000000000 --- a/srcpkgs/python3-keyring +++ /dev/null @@ -1 +0,0 @@ -python-keyring \ No newline at end of file diff --git a/srcpkgs/python3-keyring/template b/srcpkgs/python3-keyring/template new file mode 100644 index 00000000000..5a2ac781e93 --- /dev/null +++ b/srcpkgs/python3-keyring/template @@ -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 " +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 +}