summaryrefslogtreecommitdiff
path: root/dev-python/reedsolomon
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-10 11:36:37 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-10 11:36:37 +0100
commitd6fe3a53bdeea6b060d1755199cc2c27492dc14c (patch)
tree7bb8240ab620eafcfe59b3d1b45831bf45e12501 /dev-python/reedsolomon
parent4bbcd26e7cb1908fb98bb318bfaa13ea9e32d860 (diff)
gentoo auto-resync : 10:04:2023 - 11:36:36
Diffstat (limited to 'dev-python/reedsolomon')
-rw-r--r--dev-python/reedsolomon/Manifest4
-rw-r--r--dev-python/reedsolomon/metadata.xml9
-rw-r--r--dev-python/reedsolomon/reedsolomon-2.0.31_beta1.ebuild37
3 files changed, 48 insertions, 2 deletions
diff --git a/dev-python/reedsolomon/Manifest b/dev-python/reedsolomon/Manifest
index 69cbbfce0add..4ecae2b23ac5 100644
--- a/dev-python/reedsolomon/Manifest
+++ b/dev-python/reedsolomon/Manifest
@@ -1,3 +1,5 @@
+DIST reedsolo-2.0.31b1.tar.gz 379032 BLAKE2B cc7d838f2d3a4c8257cf7865ba31dce3c94f47b64cb3d8c187d7ddc0166f82a01abd41d0671b7776c7b63b09673a14e2ff0401091e03fe72fcb1b1621373784a SHA512 f98cfb058a0c670f7de5b0803b5fc537b2da8f49e39c01e44de1cf659957380775a4c1e93fd0b91f2883e4883b16150c3cbd03fb4ee01314f2d8bdf24a622063
DIST reedsolomon-1.7.0.gh.tar.gz 64279 BLAKE2B 304abdf3709dff52c4c515598c511b8e3080475c0755ab68eb9468652f12d2cdb2763bdf88f5fe5e69813928646a8b8378fee9cb2b24d54ce9a6f2b5fb985ac9 SHA512 c7d2ae8444c9e3d6646587f85fe0085a7579cc58d2f4bca3fb89632df4873e2664c81f06ee2e75e928248bb558a7fd8d101a043187ce05e70a079b031981c374
EBUILD reedsolomon-1.7.0.ebuild 849 BLAKE2B 612081742da92a9b267f67f330d5168601a9ff5ab476682e0dc483d20afe09c708d07fa2c248d93a90532df4975fa4e9ee069f57cf67a8078fe0826a1ec311f9 SHA512 b7939ad28c13aec6ae9b6ce6bc94202733cd18a5313589afbb604ed77f3aec1f589e207527e4aeb56b7f03c6b935e4565fcdab437ab14246b5046a18e820e832
-MISC metadata.xml 532 BLAKE2B 90e7740e649abc65ccee0b33c6515689b33c33199bbaad9b30ebe8bcd4e86467526d8a85e50af308c69b82930506a942a57a8b50580c892cb9e6fa902b19a3b1 SHA512 76556763e4d00a4796435298017646c45f26c7bc913adc444dc97300cad75a91609fed422ed0f9dd6bca9f0e193d43ab8efea22d321e59e110f0e523be971eb2
+EBUILD reedsolomon-2.0.31_beta1.ebuild 757 BLAKE2B 07d4555b45c91fe1736862fd7fc46973906585b600477aa7451f43484fd91d33cc6beff5ab7c530837e80e22b513819a760e962a7205250c6efc6d9981e97bd5 SHA512 234e5b7e586822c58b40cc387b7cd99345202e9302541e4174d831d351e6e45517ff44f0e969c81425197e1dde783bd4704b0cb19ce11ad84ab994c59c22386f
+MISC metadata.xml 721 BLAKE2B 3b6eabc895ec14507ea5d7d8e7fd8f90375326fb3a94b5a2c4ed2aa19024d4e582cbe6397687ab3ea3034fcbddce37edbebdbe7b0f332636f7b912e8aa4c4bbd SHA512 aebefdd8281ad96534dfe13cd8f4cbb4bb4ec1f4e4520f48d7858907c02ffa06a91e4718082394c50267b7fac11770936a134ffcc6ecc81a611609b39501fae1
diff --git a/dev-python/reedsolomon/metadata.xml b/dev-python/reedsolomon/metadata.xml
index f6dd8837456f..e5b66b4a2002 100644
--- a/dev-python/reedsolomon/metadata.xml
+++ b/dev-python/reedsolomon/metadata.xml
@@ -9,8 +9,15 @@
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
<upstream>
- <remote-id type="github">tomerfiliba/reedsolomon</remote-id>
+ <remote-id type="github">tomerfiliba-org/reedsolomon</remote-id>
<remote-id type="pypi">reedsolo</remote-id>
</upstream>
+ <use>
+ <flag name="native-extensions">Compile native C extensions.</flag>
+ </use>
</pkgmetadata>
diff --git a/dev-python/reedsolomon/reedsolomon-2.0.31_beta1.ebuild b/dev-python/reedsolomon/reedsolomon-2.0.31_beta1.ebuild
new file mode 100644
index 000000000000..266c7d19915b
--- /dev/null
+++ b/dev-python/reedsolomon/reedsolomon-2.0.31_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
+}