From 1d89217ae6b88c174fd8f1dbce1787fefff95aae Mon Sep 17 00:00:00 2001 From: Göktürk Yüksek Date: Mon, 25 Nov 2019 15:12:02 -0500 Subject: app-crypt/yubikey-manager: adjust the fido2 dep version range MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit >=dev-python/fido2-0.8.0 introduces changes that are not backwards compatible. Bound the version range of the dependency. Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Göktürk Yüksek --- .../yubikey-manager-3.1.0-r1.ebuild | 62 ++++++++++++++++++++++ .../yubikey-manager/yubikey-manager-3.1.0.ebuild | 61 --------------------- 2 files changed, 62 insertions(+), 61 deletions(-) create mode 100644 app-crypt/yubikey-manager/yubikey-manager-3.1.0-r1.ebuild delete mode 100644 app-crypt/yubikey-manager/yubikey-manager-3.1.0.ebuild (limited to 'app-crypt') diff --git a/app-crypt/yubikey-manager/yubikey-manager-3.1.0-r1.ebuild b/app-crypt/yubikey-manager/yubikey-manager-3.1.0-r1.ebuild new file mode 100644 index 000000000000..ecc2e35033ce --- /dev/null +++ b/app-crypt/yubikey-manager/yubikey-manager-3.1.0-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{5,6}} ) +inherit readme.gentoo-r1 distutils-r1 + +DESCRIPTION="Python library and command line tool for configuring a YubiKey" +HOMEPAGE="https://developers.yubico.com/yubikey-manager/" +# Per https://github.com/Yubico/yubikey-manager/issues/217, Yubico is +# the official source for tarballs, not Github +SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7) + >=dev-python/fido2-0.7.0[${PYTHON_USEDEP}] + =sys-auth/ykpers-1.19.0 +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' 'python2_7') + ) +" + +python_test() { + esetup.py test +} + +python_install_all() { + local DOC_CONTENTS + + distutils-r1_python_install_all + + DOC_CONTENTS=" + The 'openpgp' command may require the package 'app-crypt/ccid' + to be installed on the system. Furthermore, make sure that pcscd + daemon is running and has correct access permissions to USB + devices. + " + readme.gentoo_create_doc + + doman "${S}"/man/ykman.1 +} + +pkg_postinst() { + readme.gentoo_print_elog +} diff --git a/app-crypt/yubikey-manager/yubikey-manager-3.1.0.ebuild b/app-crypt/yubikey-manager/yubikey-manager-3.1.0.ebuild deleted file mode 100644 index cf74d5ba3a68..000000000000 --- a/app-crypt/yubikey-manager/yubikey-manager-3.1.0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python{2_7,3_{5,6}} ) -inherit readme.gentoo-r1 distutils-r1 - -DESCRIPTION="Python library and command line tool for configuring a YubiKey" -HOMEPAGE="https://developers.yubico.com/yubikey-manager/" -# Per https://github.com/Yubico/yubikey-manager/issues/217, Yubico is -# the official source for tarballs, not Github -SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -RDEPEND=" - dev-python/click[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7) - >=dev-python/fido2-0.7.0[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pyscard[${PYTHON_USEDEP}] - dev-python/pyusb[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - >=sys-auth/ykpers-1.19.0 -" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' 'python2_7') - ) -" - -python_test() { - esetup.py test -} - -python_install_all() { - local DOC_CONTENTS - - distutils-r1_python_install_all - - DOC_CONTENTS=" - The 'openpgp' command may require the package 'app-crypt/ccid' - to be installed on the system. Furthermore, make sure that pcscd - daemon is running and has correct access permissions to USB - devices. - " - readme.gentoo_create_doc - - doman "${S}"/man/ykman.1 -} - -pkg_postinst() { - readme.gentoo_print_elog -} -- cgit v1.2.3-65-gdbad