diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-01 16:14:02 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-01 16:14:02 +0100 |
commit | aef01e7679692cb2cf9eca0c03865cfd0a4e33c9 (patch) | |
tree | 4a000095846b696df937b27f28c2483b902028c7 /dev-python/reedsolo | |
parent | fbf0c3d1b463bf45fb0e9f119bec3424d6a44a4f (diff) |
gentoo auto-resync : 01:09:2023 - 16:14:02
Diffstat (limited to 'dev-python/reedsolo')
-rw-r--r-- | dev-python/reedsolo/Manifest | 1 | ||||
-rw-r--r-- | dev-python/reedsolo/reedsolo-2.1.1_beta1-r1.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/reedsolo/Manifest b/dev-python/reedsolo/Manifest index 28b02b72f13a..4d908cc59744 100644 --- a/dev-python/reedsolo/Manifest +++ b/dev-python/reedsolo/Manifest @@ -1,3 +1,4 @@ DIST reedsolo-2.1.1b1.tar.gz 380948 BLAKE2B 342c2ce63490a8e699dfb584a01b1533bd742693d335c2216426bf3f1b8d82e4dc52a7d9d9dda58fcdc73a7a28687f08235b67b942e1d98e2e0e069eda824d90 SHA512 841766296db6cad2f5d71c9378830d95ec974ae5e7de4624772c92a08739fa9bb94dfc8762c45e2508c53cb603b2a13e0ce64b060021d93c10de94cb2a325aa5 +EBUILD reedsolo-2.1.1_beta1-r1.ebuild 843 BLAKE2B e1f8be254782d85b7a14a46fee5cc1441e3915a7e5fdd7d0821671b547e1b579bca316a63d08d41cdc145d4d1d3d0d9d6000e441b7a3dc8987ff8c1f4f42fee5 SHA512 bdcfd4b3c0bebb322c61c5059108d20f04e97e013271070f8db7dce9d98c3e4f52bcb002795bc0e5818142c55eb4cefe3d3146d6db8c74be12325e5376a76318 EBUILD reedsolo-2.1.1_beta1.ebuild 755 BLAKE2B a5c10c84c30f414b8d378a70f2218ca8ce36bc93c1ca4a9c0c4c1ebfb61070bcbf51f6e1a9f9fe91b3d63266a6e561d51fa2e1a10a5f45490e66fd049ac9dd8b SHA512 fe4315709e8ba48c25cb42d29a52f6414f30e51e25610018e3f945d71cef7ddcc59edb8985f306d665a7aa8df90c15124aa72eec37add75795f7c82fea0c3a33 MISC metadata.xml 721 BLAKE2B 3b6eabc895ec14507ea5d7d8e7fd8f90375326fb3a94b5a2c4ed2aa19024d4e582cbe6397687ab3ea3034fcbddce37edbebdbe7b0f332636f7b912e8aa4c4bbd SHA512 aebefdd8281ad96534dfe13cd8f4cbb4bb4ec1f4e4520f48d7858907c02ffa06a91e4718082394c50267b7fac11770936a134ffcc6ecc81a611609b39501fae1 diff --git a/dev-python/reedsolo/reedsolo-2.1.1_beta1-r1.ebuild b/dev-python/reedsolo/reedsolo-2.1.1_beta1-r1.ebuild new file mode 100644 index 000000000000..715acdcf1fbf --- /dev/null +++ b/dev-python/reedsolo/reedsolo-2.1.1_beta1-r1.ebuild @@ -0,0 +1,39 @@ +# 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 +} + +python_compile() { + local DISTUTILS_ARGS=() + if use native-extensions && [[ ${EPYTHON} != pypy3 ]] ; then + DISTUTILS_ARGS+=( + # TODO: switch to --cythonize once we're on cython-3 + --native-compile + ) + fi + distutils-r1_python_compile +} |