commit: c59971d0fae3fddf5f9f989fc4b72707241574a1
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri May 13 15:20:42 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri May 13 16:11:01 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c59971d0
dev-python/aiosignal: Use PEP517 build
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/aiosignal/aiosignal-1.2.0-r1.ebuild | 34 ++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/dev-python/aiosignal/aiosignal-1.2.0-r1.ebuild
b/dev-python/aiosignal/aiosignal-1.2.0-r1.ebuild
new file mode 100644
index 000000000000..3cefe64fa69a
--- /dev/null
+++ b/dev-python/aiosignal/aiosignal-1.2.0-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2021-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} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A list of registered asynchronous callbacks"
+HOMEPAGE="
+ https://pypi.org/project/aiosignal/
+ https://github.com/aio-libs/aiosignal/
+"
+SRC_URI="
+ https://github.com/aio-libs/aiosignal/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv
~s390 ~sparc ~x86"
+
+RDEPEND="
+ >=dev-python/frozenlist-1.1.0[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ sed -i -e '/addopts/d' pytest.ini || die
+ distutils-r1_src_prepare
+}