diff options
author | 2022-05-13 17:20:42 +0200 | |
---|---|---|
committer | 2022-05-13 18:11:01 +0200 | |
commit | c59971d0fae3fddf5f9f989fc4b72707241574a1 (patch) | |
tree | f7e74a4a5fc3a7a1d8c2ca20d4c5759b0c9c6dc9 /dev-python/aiosignal | |
parent | dev-python/frozenlist: Enable py3.11 (diff) | |
download | gentoo-c59971d0fae3fddf5f9f989fc4b72707241574a1.tar.gz gentoo-c59971d0fae3fddf5f9f989fc4b72707241574a1.tar.bz2 gentoo-c59971d0fae3fddf5f9f989fc4b72707241574a1.zip |
dev-python/aiosignal: Use PEP517 build
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/aiosignal')
-rw-r--r-- | dev-python/aiosignal/aiosignal-1.2.0-r1.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
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 +} |