diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-07-13 06:57:28 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-07-13 07:28:30 +0200 |
commit | aaa5c153d83576ff9d6bd964fa244619d7c7a71d (patch) | |
tree | a665a4bb0f1e9b11da40ca7c0a048d28fd71630c /dev-python/frozenlist | |
parent | dev-python/trio: Bump to 0.22.2 (diff) | |
download | gentoo-aaa5c153d83576ff9d6bd964fa244619d7c7a71d.tar.gz gentoo-aaa5c153d83576ff9d6bd964fa244619d7c7a71d.tar.bz2 gentoo-aaa5c153d83576ff9d6bd964fa244619d7c7a71d.zip |
dev-python/frozenlist: Bump to 1.4.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/frozenlist')
-rw-r--r-- | dev-python/frozenlist/Manifest | 1 | ||||
-rw-r--r-- | dev-python/frozenlist/frozenlist-1.4.0.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/frozenlist/Manifest b/dev-python/frozenlist/Manifest index 42dc24a4869d..e914f7657e33 100644 --- a/dev-python/frozenlist/Manifest +++ b/dev-python/frozenlist/Manifest @@ -1 +1,2 @@ DIST frozenlist-1.3.3.gh.tar.gz 27742 BLAKE2B cf0dcd2ed0e22cb7fa3d57a73177e53cace8e6301c462ab56544678f1f78f113ac3ad9ffb68dafb3ae957a1e52e2069dcec76b5adc27284587d614bbb6a8c139 SHA512 8f416996c18d352912e88dad6b503cb1e5ce566d69e97aad8d7eedc6415316e8c9e63eb2c341c5d2409ebf90fd58153ce642d5d88f277435bc6e5a4f1ce8b949 +DIST frozenlist-1.4.0.gh.tar.gz 29063 BLAKE2B ec33639c22448da84fda9eaa83a78737f20579061e0ae05699a361ac9a8646df0ebf5c31df69cd7c4ee1c1c7fc0e28d0f6050a1879c3d28bf83e2caf442eb2a3 SHA512 937f7684df3879596903b5ce2d9a38590383a7c319e3079bbd8fdcbea169c692d9feabac0a7e0646d334ec517a86f7d943e0b0107fd925203de1cc8029b252ba diff --git a/dev-python/frozenlist/frozenlist-1.4.0.ebuild b/dev-python/frozenlist/frozenlist-1.4.0.ebuild new file mode 100644 index 000000000000..f17293f2b4e2 --- /dev/null +++ b/dev-python/frozenlist/frozenlist-1.4.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A list-like structure which implements collections.abc.MutableSequence" +HOMEPAGE=" + https://pypi.org/project/frozenlist/ + https://github.com/aio-libs/frozenlist/ +" +SRC_URI=" + https://github.com/aio-libs/frozenlist/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" + +BDEPEND=" + $(python_gen_cond_dep ' + dev-python/cython[${PYTHON_USEDEP}] + ' 'python*') +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/addopts/d' pytest.ini || die + distutils-r1_src_prepare +} + +python_configure() { + # pypy is not using the C extension + if [[ ${EPYTHON} == python* ]]; then + > .install-cython || die + emake cythonize + fi +} |