diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /dev-python/reedsolomon | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'dev-python/reedsolomon')
-rw-r--r-- | dev-python/reedsolomon/Manifest | 1 | ||||
-rw-r--r-- | dev-python/reedsolomon/reedsolomon-1.5.4-r1.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/reedsolomon/Manifest b/dev-python/reedsolomon/Manifest index d40cf5ace8a6..7a8763feef24 100644 --- a/dev-python/reedsolomon/Manifest +++ b/dev-python/reedsolomon/Manifest @@ -1,3 +1,4 @@ DIST reedsolomon-1.5.4.tar.gz 283778 BLAKE2B 5354b8d320db1533469ae1fd706c0412a81bb408675041af5dbf42b42014e4b779b937fa8e3b3d0a5e67e62d9fd7ce9ac519022dd98dbc82a156ee0cda7914ce SHA512 c738f817c8f536ee86e5bcd3de73a4cf6a3e606ba196a359b6c09e7372dba31316ddb8b134d7c335100e4c2ff0158ff07caa35fee9bc20768bde23cd803e274a +EBUILD reedsolomon-1.5.4-r1.ebuild 793 BLAKE2B 3042fa9e8a5366b40d64811c5a14234975cea55bc5b653866b3bee33f6d066ac09d83c9022b8ea512b5f240fc5957cf7d885dbce11af26ada3a2309bd60f6b53 SHA512 3adf358ba1ce183cc1c68b270f31e9a2e546751a8df028361f8b8a3bde06cd949086acf7f666ac16b08ab4e3e24e7bc89ff17b29b8caea501782fc2f6eb348c3 EBUILD reedsolomon-1.5.4.ebuild 735 BLAKE2B 9b7d02ff45b23fe1d17c01f3121e5a4261064053d6c833aa27adaa711414b89e28cfb55554bfc799a4e2e4d5e4b551824e326a7b79ba9d692efd4e2a335fe96e SHA512 5fe2437acd179a366049de32d5a89f0e83e28a2c18a6b6af257fdbe0f0c9045252c6ff58cdf2517ec403d27dbc5a0407f709b1e13e69bf412275d85ef5b37a26 MISC metadata.xml 532 BLAKE2B 90e7740e649abc65ccee0b33c6515689b33c33199bbaad9b30ebe8bcd4e86467526d8a85e50af308c69b82930506a942a57a8b50580c892cb9e6fa902b19a3b1 SHA512 76556763e4d00a4796435298017646c45f26c7bc913adc444dc97300cad75a91609fed422ed0f9dd6bca9f0e193d43ab8efea22d321e59e110f0e523be971eb2 diff --git a/dev-python/reedsolomon/reedsolomon-1.5.4-r1.ebuild b/dev-python/reedsolomon/reedsolomon-1.5.4-r1.ebuild new file mode 100644 index 000000000000..25842d39935f --- /dev/null +++ b/dev-python/reedsolomon/reedsolomon-1.5.4-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Pure-Python Reed Solomon encoder/decoder" +HOMEPAGE="https://github.com/tomerfiliba/reedsolomon https://pypi.org/project/reedsolo/" +SRC_URI="https://github.com/tomerfiliba/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] +" + +src_prepare() { + default + rm creedsolo.c || die +} + +python_test() { + "${EPYTHON}" tests/test_creedsolo.py || die "creedsolo test failed with ${EPYTHON}" + "${EPYTHON}" tests/test_reedsolo.py || die "reedsolo test failed with ${EPYTHON}" +} |