commit: c884719a5799e378bf9208d57d032d9f0a58d473 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Sat Oct 2 13:12:40 2021 +0000 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> CommitDate: Sun Oct 3 18:32:00 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c884719a
dev-python/cursive: add tests Closes: https://bugs.gentoo.org/799476 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> dev-python/cursive/cursive-0.2.2-r1.ebuild | 28 ------------------ dev-python/cursive/cursive-0.2.2-r2.ebuild | 46 ++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 28 deletions(-) diff --git a/dev-python/cursive/cursive-0.2.2-r1.ebuild b/dev-python/cursive/cursive-0.2.2-r1.ebuild deleted file mode 100644 index 737826a40..000000000 --- a/dev-python/cursive/cursive-0.2.2-r1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) - -inherit distutils-r1 - -DESCRIPTION="Cursive implements OpenStack-specific validation of digital signatures." -HOMEPAGE="https://github.com/openstack/cursive" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -DEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]" -RDEPEND=" - >=dev-python/pbr-1.8[${PYTHON_USEDEP}] - >=dev-python/cryptography-1.1.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-1.3.0[${PYTHON_USEDEP}] - >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}] - >=dev-python/oslo-utils-3.16.0[${PYTHON_USEDEP}] - >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}] - >=dev-python/oslo-log-1.14.0[${PYTHON_USEDEP}] - >=dev-python/castellan-0.4.0[${PYTHON_USEDEP}] -" diff --git a/dev-python/cursive/cursive-0.2.2-r2.ebuild b/dev-python/cursive/cursive-0.2.2-r2.ebuild new file mode 100644 index 000000000..d76a041fe --- /dev/null +++ b/dev-python/cursive/cursive-0.2.2-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_8 ) + +inherit distutils-r1 + +DESCRIPTION="Cursive implements OpenStack-specific validation of digital signatures" +HOMEPAGE=" + https://github.com/openstack/cursive + https://opendev.org/x/cursive + https://launchpad.net/cursive + https://pypi.org/project/cursive +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/pbr-1.6[${PYTHON_USEDEP}] + >=dev-python/cryptography-1.0[${PYTHON_USEDEP}] + >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.16.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}] + >=dev-python/oslo-log-1.14.0[${PYTHON_USEDEP}] + >=dev-python/castellan-0.4.0[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + test? ( + >=dev-python/hacking-0.11.0[${PYTHON_USEDEP}] + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}] + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}] + >=dev-python/reno-1.8.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest
