commit: d1e819b30e3fc20bfcde3750580be6aff2e0691f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 6 19:34:30 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr 6 19:40:57 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1e819b3
dev-python/astor: Switch to PEP517 build
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/astor/astor-0.8.1-r1.ebuild | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/dev-python/astor/astor-0.8.1-r1.ebuild
b/dev-python/astor/astor-0.8.1-r1.ebuild
new file mode 100644
index 000000000000..a73a5388bc50
--- /dev/null
+++ b/dev-python/astor/astor-0.8.1-r1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Read/rewrite/write Python ASTs"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+HOMEPAGE="https://pypi.org/project/astor/"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+distutils_enable_tests pytest
+
+EPYTEST_IGNORE=(
+ tests/test_rtrip.py
+)