diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-04-12 06:19:05 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-04-12 06:49:11 +0200 |
commit | c1fab6cd24e74123de2613954b1b7a943588596e (patch) | |
tree | ee75d5c6f210ec565caed2bdc2e1e085754b3fad /dev-python/reedsolomon | |
parent | dev-python/trimesh: Bump to 3.21.5 (diff) | |
download | gentoo-c1fab6cd24e74123de2613954b1b7a943588596e.tar.gz gentoo-c1fab6cd24e74123de2613954b1b7a943588596e.tar.bz2 gentoo-c1fab6cd24e74123de2613954b1b7a943588596e.zip |
dev-python/reedsolomon: Bump to 2.1.0_beta1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/reedsolomon')
-rw-r--r-- | dev-python/reedsolomon/Manifest | 1 | ||||
-rw-r--r-- | dev-python/reedsolomon/reedsolomon-2.1.0_beta1.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/reedsolomon/Manifest b/dev-python/reedsolomon/Manifest index e42d671cebfe..e753381a050a 100644 --- a/dev-python/reedsolomon/Manifest +++ b/dev-python/reedsolomon/Manifest @@ -1,2 +1,3 @@ DIST reedsolo-2.0.31b1.tar.gz 379032 BLAKE2B cc7d838f2d3a4c8257cf7865ba31dce3c94f47b64cb3d8c187d7ddc0166f82a01abd41d0671b7776c7b63b09673a14e2ff0401091e03fe72fcb1b1621373784a SHA512 f98cfb058a0c670f7de5b0803b5fc537b2da8f49e39c01e44de1cf659957380775a4c1e93fd0b91f2883e4883b16150c3cbd03fb4ee01314f2d8bdf24a622063 +DIST reedsolo-2.1.0b1.tar.gz 379041 BLAKE2B 860d5d67fb7653b92a8163b72143ff3a5b1a482359339a596acd5e7f99eda1a2d6d208548e6689dca63018f5893d536a0c7040956cfee6077d9016fe7ca1d485 SHA512 1ae25c53f315cedcaaa4530388557c3dba1902856fe1543a061a65dc3c5c4201c1d8a5959786c3bf15a0f9799f984c8ba84e630ad1e75efbe44260346a650251 DIST reedsolomon-1.7.0.gh.tar.gz 64279 BLAKE2B 304abdf3709dff52c4c515598c511b8e3080475c0755ab68eb9468652f12d2cdb2763bdf88f5fe5e69813928646a8b8378fee9cb2b24d54ce9a6f2b5fb985ac9 SHA512 c7d2ae8444c9e3d6646587f85fe0085a7579cc58d2f4bca3fb89632df4873e2664c81f06ee2e75e928248bb558a7fd8d101a043187ce05e70a079b031981c374 diff --git a/dev-python/reedsolomon/reedsolomon-2.1.0_beta1.ebuild b/dev-python/reedsolomon/reedsolomon-2.1.0_beta1.ebuild new file mode 100644 index 000000000000..266c7d19915b --- /dev/null +++ b/dev-python/reedsolomon/reedsolomon-2.1.0_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_USE_PEP517=setuptools +PYPI_PN=reedsolo +PYTHON_COMPAT=( python3_{9..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 +} |