diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-07-16 04:58:09 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-07-16 04:58:09 +0200 |
commit | f6ff64b37b2544510b5cb4c66c67acf2aebe7833 (patch) | |
tree | 88dd1efbcf77dda96e7faf399e6b410d784ae4ba /dev-python | |
parent | dev-python/platformdirs: Bump to 3.9.1 (diff) | |
download | gentoo-f6ff64b37b2544510b5cb4c66c67acf2aebe7833.tar.gz gentoo-f6ff64b37b2544510b5cb4c66c67acf2aebe7833.tar.bz2 gentoo-f6ff64b37b2544510b5cb4c66c67acf2aebe7833.zip |
dev-python/reedsolo: Bump to 2.1.1_beta1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/reedsolo/Manifest | 1 | ||||
-rw-r--r-- | dev-python/reedsolo/reedsolo-2.1.1_beta1.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/reedsolo/Manifest b/dev-python/reedsolo/Manifest index adea65a57305..3bc3edda5cb5 100644 --- a/dev-python/reedsolo/Manifest +++ b/dev-python/reedsolo/Manifest @@ -1 +1,2 @@ DIST reedsolo-2.1.0b1.tar.gz 379041 BLAKE2B 860d5d67fb7653b92a8163b72143ff3a5b1a482359339a596acd5e7f99eda1a2d6d208548e6689dca63018f5893d536a0c7040956cfee6077d9016fe7ca1d485 SHA512 1ae25c53f315cedcaaa4530388557c3dba1902856fe1543a061a65dc3c5c4201c1d8a5959786c3bf15a0f9799f984c8ba84e630ad1e75efbe44260346a650251 +DIST reedsolo-2.1.1b1.tar.gz 380948 BLAKE2B 342c2ce63490a8e699dfb584a01b1533bd742693d335c2216426bf3f1b8d82e4dc52a7d9d9dda58fcdc73a7a28687f08235b67b942e1d98e2e0e069eda824d90 SHA512 841766296db6cad2f5d71c9378830d95ec974ae5e7de4624772c92a08739fa9bb94dfc8762c45e2508c53cb603b2a13e0ce64b060021d93c10de94cb2a325aa5 diff --git a/dev-python/reedsolo/reedsolo-2.1.1_beta1.ebuild b/dev-python/reedsolo/reedsolo-2.1.1_beta1.ebuild new file mode 100644 index 000000000000..74c17b4bfdc7 --- /dev/null +++ b/dev-python/reedsolo/reedsolo-2.1.1_beta1.ebuild @@ -0,0 +1,37 @@ +# 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..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python Reed Solomon encoder/decoder" +HOMEPAGE=" + https://github.com/tomerfiliba-org/reedsolomon/ + https://pypi.org/project/reedsolo/ +" + +LICENSE="|| ( Unlicense MIT-0 )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="+native-extensions" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/pytest-cov/d' pyproject.toml || die + distutils-r1_src_prepare +} + +src_configure() { + if use native-extensions; then + DISTUTILS_ARGS=( + # TODO: switch to --cythonize once we're on cython-3 + --native-compile + ) + fi +} |