diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-python/reedsolomon | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.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-r2.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/reedsolomon/Manifest b/dev-python/reedsolomon/Manifest index 22aaad645606..451a419e4e90 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 791 BLAKE2B 6690500f52bbdae8e9aeaca4248b1c3d02c56b5f3aa8f2d5acce2d5f296f62f532700b0873371e36aafbc22ff5101c3008cf99c602f9a52668014ade05421323 SHA512 fee307951edae4c67812f2b934f9a564edc292b2cbadee5dec728e87ab0526de7dc32d8f4e9141d95000ae648785e21ad6f054c91a8c47975cd06e51a4d606e1 +EBUILD reedsolomon-1.5.4-r2.ebuild 823 BLAKE2B 4497a8c2f58c4783779e42895827a25a707973a478b83df301ea5bf88b73fc36a6075584891d2f134dca42baa01f80fc7623d6929dab4ccebfe68edd25f2472a SHA512 3d7a605e82c4bdba4f8d9b1f0fcdf8e99b4297417043592465e72468f9703ae2e64c28e522745c63a0b5d804fa871e5f1f2c8a91955bb2f2990ef4d5d87afd95 MISC metadata.xml 532 BLAKE2B 90e7740e649abc65ccee0b33c6515689b33c33199bbaad9b30ebe8bcd4e86467526d8a85e50af308c69b82930506a942a57a8b50580c892cb9e6fa902b19a3b1 SHA512 76556763e4d00a4796435298017646c45f26c7bc913adc444dc97300cad75a91609fed422ed0f9dd6bca9f0e193d43ab8efea22d321e59e110f0e523be971eb2 diff --git a/dev-python/reedsolomon/reedsolomon-1.5.4-r2.ebuild b/dev-python/reedsolomon/reedsolomon-1.5.4-r2.ebuild new file mode 100644 index 000000000000..aaf1728840ff --- /dev/null +++ b/dev-python/reedsolomon/reedsolomon-1.5.4-r2.ebuild @@ -0,0 +1,32 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) +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}" +} |