diff options
Diffstat (limited to 'dev-python/frozenlist')
-rw-r--r-- | dev-python/frozenlist/Manifest | 4 | ||||
-rw-r--r-- | dev-python/frozenlist/frozenlist-1.3.0.ebuild | 40 | ||||
-rw-r--r-- | dev-python/frozenlist/metadata.xml | 2 |
3 files changed, 44 insertions, 2 deletions
diff --git a/dev-python/frozenlist/Manifest b/dev-python/frozenlist/Manifest index ad295860f8a8..dc5128418038 100644 --- a/dev-python/frozenlist/Manifest +++ b/dev-python/frozenlist/Manifest @@ -1,3 +1,5 @@ DIST frozenlist-1.2.0.gh.tar.gz 29062 BLAKE2B cc82db759906ad3e0be1806cacd6815377f264ed07ed272abb7da4753c11561564cf1cb4dfc0154abaeb4005f5607c26e602410a4ef45dd8e94e26583caa2ab7 SHA512 e5dda13e173db0b1c6e8c5a61949534f4eb30211cc4fcd102d0be1b55ee48e2db90d52fd770a2c6d6076f3a0d9e11289629a7a115c1270377636eda35d107e7a +DIST frozenlist-1.3.0.gh.tar.gz 27669 BLAKE2B d09e18455893f7ede59c37a080e79ea5e085cc3362e53bc7016db64338b2cf26baf44e95ec0c691535527b0eef4a40ec1fbe814e5d4ae238300125438d21b467 SHA512 780f0ec0e1a701b009e5afcd7f62b2950eda5365140ad5842c09db85b0a3cf282ab70ff9ba752ea6dc7a97542fc7399023aaaca8fdd8ecbd5c26bf64f305f5f4 EBUILD frozenlist-1.2.0.ebuild 897 BLAKE2B c60cc3d140ebc009789bd2ff2f245355a8e73b1f3d687307e9c671a49e09142e670bad7bfc470f93d30ce1b0e26d9d9e6533c04999e85cc484924c5d3e674ce2 SHA512 0c6c14488457bb9704c1e084d21d0a55f8fd940c94e1f3d2999b2ef8649dc553cb386e308c758b75ea9c87dabede8f8bae563cfb1587460e7e8ba58e3c36b3a2 -MISC metadata.xml 350 BLAKE2B a736540de62fb4fb95da57111cf8d08c3b64bb7ee8bd84cfbc0c4fe8bed3bb8c4e66215cf4ab93453af2efa73eb1676e68ebc01e24957abe7b209d1eb68e2800 SHA512 4fe629b8b52392065d096781396c5fc5c48d44b961a18d88741053dd99016268195317acb66c4fc2809058bb2d24b8c7cc760757254ccef7337b00a2387e3969 +EBUILD frozenlist-1.3.0.ebuild 942 BLAKE2B 4b0b2f31de9038215998c20d315905deefb0205011d7225db4c8db86bbd17ca7465a5abf96681dd4d4ab329e9bf4192ce19174c4c3aabe87c1c69c7b38987cd3 SHA512 aad3a167f5eac246b3b0fc3a13f6ddcd4446975929619293416454323c1f8298a2a5e7d225fedef0096bef7eace653493dd3e62dd34c60eb0264d4c3c24d2de4 +MISC metadata.xml 351 BLAKE2B 354fa5d9789eb9f28cfe13a39e80f5ba41f4ef9f8daa3437cbab5f1fb61074baf9d1a196814cb459c0a1d3b3c1fbe806ee77580023d71b8b8c6314ad23405765 SHA512 a5b647914f9a7b2004bb3e1c02a6fe07dcaad58dda503cb6a41d6735dcfe80c4e60e4ca51ba83110557518e23f01a656f05266553a6b5acfe95a0560ecb2829e diff --git a/dev-python/frozenlist/frozenlist-1.3.0.ebuild b/dev-python/frozenlist/frozenlist-1.3.0.ebuild new file mode 100644 index 000000000000..40b055eeefa2 --- /dev/null +++ b/dev-python/frozenlist/frozenlist-1.3.0.ebuild @@ -0,0 +1,40 @@ +# 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-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 ~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 +} diff --git a/dev-python/frozenlist/metadata.xml b/dev-python/frozenlist/metadata.xml index c3f806ae6504..0e65c5bac7fa 100644 --- a/dev-python/frozenlist/metadata.xml +++ b/dev-python/frozenlist/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> <email>python@gentoo.org</email> |