diff options
author | Martin Dummer <martin.dummer@gmx.net> | 2020-11-25 12:24:36 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-11-28 11:15:21 +0200 |
commit | e578f931a24d8568a124697f3ead291fcba67446 (patch) | |
tree | 4ae24d195e230dedb6a8dafd50b986a5a31cee89 /dev-python/reedsolomon | |
parent | dev-python/python-mpd: ppc64 stable (ALLARCHES policy) wrt bug #756712 (diff) | |
download | gentoo-e578f931a24d8568a124697f3ead291fcba67446.tar.gz gentoo-e578f931a24d8568a124697f3ead291fcba67446.tar.bz2 gentoo-e578f931a24d8568a124697f3ead291fcba67446.zip |
dev-python/reedsolomon: new ebuild
Pure-Python Reed Solomon encoder/decoder
necessary as new dependency for dev-embedded/esptool-3.0
Closes: https://bugs.gentoo.org/756427
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-python/reedsolomon')
-rw-r--r-- | dev-python/reedsolomon/Manifest | 1 | ||||
-rw-r--r-- | dev-python/reedsolomon/metadata.xml | 15 | ||||
-rw-r--r-- | dev-python/reedsolomon/reedsolomon-1.5.4.ebuild | 22 |
3 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/reedsolomon/Manifest b/dev-python/reedsolomon/Manifest new file mode 100644 index 000000000000..c2cbce4dc1f5 --- /dev/null +++ b/dev-python/reedsolomon/Manifest @@ -0,0 +1 @@ +DIST reedsolomon-1.5.4.tar.gz 283778 BLAKE2B 5354b8d320db1533469ae1fd706c0412a81bb408675041af5dbf42b42014e4b779b937fa8e3b3d0a5e67e62d9fd7ce9ac519022dd98dbc82a156ee0cda7914ce SHA512 c738f817c8f536ee86e5bcd3de73a4cf6a3e606ba196a359b6c09e7372dba31316ddb8b134d7c335100e4c2ff0158ff07caa35fee9bc20768bde23cd803e274a 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}" +} |