commit:     e96131b1dea2be12c2548600c778998ffc3e82d4
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  9 07:41:24 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov  9 08:38:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e96131b1

dev-python/frozenlist: Bump to 1.3.3

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

 dev-python/frozenlist/Manifest                |  1 +
 dev-python/frozenlist/frozenlist-1.3.3.ebuild | 44 +++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/dev-python/frozenlist/Manifest b/dev-python/frozenlist/Manifest
index 0e7bba037a96..925ba514d7a6 100644
--- a/dev-python/frozenlist/Manifest
+++ b/dev-python/frozenlist/Manifest
@@ -1 +1,2 @@
 DIST frozenlist-1.3.1.gh.tar.gz 27705 BLAKE2B 
7428d936926978acb90a857e0f76b303dddea684c3e815b3fd583e888102e114cc629fcd8e862a4e72775f8525193becfd4b9cd844a36f5b2c7964605008bb84
 SHA512 
4986f3635ebd2d3ca9623299a66375b03938a7be72f7a1d3437b1bf8c0739513942e6babf00476b61055c9ebee3638ec807dad521c52990104d4d57017efdfb2
+DIST frozenlist-1.3.3.gh.tar.gz 27742 BLAKE2B 
cf0dcd2ed0e22cb7fa3d57a73177e53cace8e6301c462ab56544678f1f78f113ac3ad9ffb68dafb3ae957a1e52e2069dcec76b5adc27284587d614bbb6a8c139
 SHA512 
8f416996c18d352912e88dad6b503cb1e5ce566d69e97aad8d7eedc6415316e8c9e63eb2c341c5d2409ebf90fd58153ce642d5d88f277435bc6e5a4f1ce8b949

diff --git a/dev-python/frozenlist/frozenlist-1.3.3.ebuild 
b/dev-python/frozenlist/frozenlist-1.3.3.ebuild
new file mode 100644
index 000000000000..f8146bda6935
--- /dev/null
+++ b/dev-python/frozenlist/frozenlist-1.3.3.ebuild
@@ -0,0 +1,44 @@
+# 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..11} 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
+}

Reply via email to