commit: 2e0e1f45b87cab8db534ad2f12d71000ae691497
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 26 12:12:25 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 26 12:17:40 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e0e1f45
dev-python/oslotest: Migrate to PEP517 build
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/oslotest/oslotest-4.5.0-r1.ebuild | 29 ++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/dev-python/oslotest/oslotest-4.5.0-r1.ebuild
b/dev-python/oslotest/oslotest-4.5.0-r1.ebuild
new file mode 100644
index 000000000000..0759ca463b55
--- /dev/null
+++ b/dev-python/oslotest/oslotest-4.5.0-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Oslo test framework"
+HOMEPAGE="https://launchpad.net/oslo"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+
+BDEPEND="
+ >=dev-python/pbr-1.8[${PYTHON_USEDEP}]
+"
+RDEPEND="
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
+ >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}]
+ >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
+ >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests unittest