commit: 81299d523ee6bb6e05b4ea4e4c68f919a24ef41f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 29 11:42:47 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 29 11:51:06 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81299d52
dev-python/ansi: Switch to PEP 517 build
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/ansi/ansi-0.2.0-r1.ebuild | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/dev-python/ansi/ansi-0.2.0-r1.ebuild
b/dev-python/ansi/ansi-0.2.0-r1.ebuild
new file mode 100644
index 000000000000..e29598da4af6
--- /dev/null
+++ b/dev-python/ansi/ansi-0.2.0-r1.ebuild
@@ -0,0 +1,20 @@
+# 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="ANSI cursor movement and graphics in Python"
+HOMEPAGE="https://github.com/tehmaze/ansi"
+SRC_URI="https://github.com/tehmaze/${PN}/archive/${P}.tar.gz"
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+distutils_enable_tests pytest