commit:     4f3ececa58a10125531d0db1eb40a441b55017c6
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 15 16:23:56 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 16:59:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f3ececa

dev-python/frozenlist: Bump to 1.4.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/frozenlist/Manifest                |  1 +
 dev-python/frozenlist/frozenlist-1.4.1.ebuild | 53 +++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/frozenlist/Manifest b/dev-python/frozenlist/Manifest
index e914f7657e33..397e62c36bc2 100644
--- a/dev-python/frozenlist/Manifest
+++ b/dev-python/frozenlist/Manifest
@@ -1,2 +1,3 @@
 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
+DIST frozenlist-1.4.1.gh.tar.gz 46357 BLAKE2B 
44ee864cd6c7918634d2db85937d778a8526f3117e4d27e06267c979bda2228de5bacaa87d8e0339f7718d6c12325336025214b8d42bdcc744aac7adb63b736a
 SHA512 
a82059fd7d16ec8e17cdf9d05eb128194fc3eed7c20ea4a3daf508a949e6c039fb5824794eac1ca768de11d883f55f46de45f5dcc5031f5cb31291b33df87023

diff --git a/dev-python/frozenlist/frozenlist-1.4.1.ebuild 
b/dev-python/frozenlist/frozenlist-1.4.1.ebuild
new file mode 100644
index 000000000000..149a004e224d
--- /dev/null
+++ b/dev-python/frozenlist/frozenlist-1.4.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=standalone
+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 ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+IUSE="+native-extensions"
+
+BDEPEND="
+       dev-python/expandvars[${PYTHON_USEDEP}]
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       dev-python/wheel[${PYTHON_USEDEP}]
+       native-extensions? (
+               $(python_gen_cond_dep '
+                       dev-python/cython[${PYTHON_USEDEP}]
+               ' 'python*')
+       )
+"
+
+distutils_enable_tests pytest
+
+python_compile() {
+       # pypy is not using the C extension
+       if ! use native-extensions || [[ ${EPYTHON} != python* ]]; then
+               local -x FROZENLIST_NO_EXTENSIONS=1
+       fi
+
+       distutils-r1_python_compile
+}
+
+python_test() {
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       rm -rf frozenlist || die
+       epytest -o addopts=
+}

Reply via email to