commit:     db3919cf44d9ffc88ebd59512a850363a8c63869
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 26 17:49:18 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 26 17:59:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db3919cf

dev-python/itypes: Migrate to PEP517 build

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/itypes/itypes-1.2.0-r1.ebuild | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/dev-python/itypes/itypes-1.2.0-r1.ebuild 
b/dev-python/itypes/itypes-1.2.0-r1.ebuild
new file mode 100644
index 000000000000..99a0098c43c9
--- /dev/null
+++ b/dev-python/itypes/itypes-1.2.0-r1.ebuild
@@ -0,0 +1,26 @@
+# 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="basic immutable container types for python"
+HOMEPAGE="https://github.com/PavanTatikonda/itypes/";
+SRC_URI="
+       https://github.com/PavanTatikonda/itypes/archive/${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+distutils_enable_tests pytest
+
+python_test() {
+       epytest tests.py
+}

Reply via email to