diff options
Diffstat (limited to 'dev-python/reedsolomon')
-rw-r--r-- | dev-python/reedsolomon/Manifest | 3 | ||||
-rw-r--r-- | dev-python/reedsolomon/metadata.xml | 15 | ||||
-rw-r--r-- | dev-python/reedsolomon/reedsolomon-1.5.4.ebuild | 22 |
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/reedsolomon/Manifest b/dev-python/reedsolomon/Manifest new file mode 100644 index 000000000000..8a7ab3af7a3b --- /dev/null +++ b/dev-python/reedsolomon/Manifest @@ -0,0 +1,3 @@ +DIST reedsolomon-1.5.4.tar.gz 283778 BLAKE2B 5354b8d320db1533469ae1fd706c0412a81bb408675041af5dbf42b42014e4b779b937fa8e3b3d0a5e67e62d9fd7ce9ac519022dd98dbc82a156ee0cda7914ce SHA512 c738f817c8f536ee86e5bcd3de73a4cf6a3e606ba196a359b6c09e7372dba31316ddb8b134d7c335100e4c2ff0158ff07caa35fee9bc20768bde23cd803e274a +EBUILD reedsolomon-1.5.4.ebuild 670 BLAKE2B 82c981c08f59f999588baf804934f82190569dfaad641e705ea7e62f21bf8a171c9e3a176b48f31bebd0f0f94b338e2b356d17b950b4a7c39e8e7e749b8a154a SHA512 69c882d797293e2f0e701444474c01c94328624091a2397213b6a3f52258e40af43bed2b2ea2f7a7f22a4c4de91b8930a42250a1b8c9476a05cd70355b25ca69 +MISC metadata.xml 455 BLAKE2B 255105206c0c23c7db350779418c5851c3bb4c943efce7ba6fb7e15cc0f62fba378ad821f65c8b5d6d5abf54c58e640f59437cc1bd121df951beba2bf8b24dea SHA512 eb3c365cdd302a46b963fa74d3c4b3bea7e9b55fa3a06c5da975e652aa1a721f6bdd92cb236f3a5629a8b0f018007eeefec06a28762dbe5ffda53f525d050ef7 diff --git a/dev-python/reedsolomon/metadata.xml b/dev-python/reedsolomon/metadata.xml new file mode 100644 index 000000000000..f4f98f9eb8c3 --- /dev/null +++ b/dev-python/reedsolomon/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>martin.dummer@gmx.net</email> + <name>Martin Dummer</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">tomerfiliba/reedsolomon</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/reedsolomon/reedsolomon-1.5.4.ebuild b/dev-python/reedsolomon/reedsolomon-1.5.4.ebuild new file mode 100644 index 000000000000..e3c9f2928bd9 --- /dev/null +++ b/dev-python/reedsolomon/reedsolomon-1.5.4.ebuild @@ -0,0 +1,22 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) +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 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +python_test() { + ${EPYTHON} tests/test_creedsolo.py || die "creedsolo test failed with ${EPYTHON}" + ${EPYTHON} tests/test_reedsolo.py || die "reedsolo test failed with ${EPYTHON}" +} |