From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C05B415800F for ; Wed, 18 Jan 2023 07:34:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09159E0824; Wed, 18 Jan 2023 07:34:07 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E866AE0824 for ; Wed, 18 Jan 2023 07:34:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 163C3340D73 for ; Wed, 18 Jan 2023 07:34:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE45688E for ; Wed, 18 Jan 2023 07:34:02 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1674027238.1eb3b4a3867b7f659510d7bb55737d6a8dad02e9.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/reedsolomon/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/reedsolomon/Manifest dev-python/reedsolomon/reedsolomon-1.7.0.ebuild X-VCS-Directories: dev-python/reedsolomon/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1eb3b4a3867b7f659510d7bb55737d6a8dad02e9 X-VCS-Branch: master Date: Wed, 18 Jan 2023 07:34:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cfe35d35-01ef-43c3-9998-7a7ba0692be1 X-Archives-Hash: 3debb99aff66fd1e7edaad08db237b77 commit: 1eb3b4a3867b7f659510d7bb55737d6a8dad02e9 Author: Michał Górny gentoo org> AuthorDate: Wed Jan 18 07:27:28 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Jan 18 07:33:58 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eb3b4a3 dev-python/reedsolomon: Bump to 1.7.0 Signed-off-by: Michał Górny gentoo.org> dev-python/reedsolomon/Manifest | 1 + dev-python/reedsolomon/reedsolomon-1.7.0.ebuild | 38 +++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/reedsolomon/Manifest b/dev-python/reedsolomon/Manifest index 243c59d156ee..472243e1b411 100644 --- a/dev-python/reedsolomon/Manifest +++ b/dev-python/reedsolomon/Manifest @@ -1,2 +1,3 @@ DIST reedsolomon-1.6.0.gh.tar.gz 62527 BLAKE2B 100e0152ca8d05605f961dbddcc41552941356a72b488375cb1237cf45938382abf6bfd439b572a9aed11a12068258027fae0bc867e7577280829779d21f53a3 SHA512 ddf73b0bdc78856d9aa76e7bf3fcb9715b9b7f922c2d72dc4bd13a4d5a233844757e2946ef96c545ab7979bc6b62a1f33286711f927871a6689a269d20a81b44 DIST reedsolomon-1.6.1.gh.tar.gz 63944 BLAKE2B 58845e726fdf2096af280bf14feb981d883b2368a47904d33a2386db0fb5d94091ecdc22e48bfa415e2abd9c4b3c99446b3b51bca9cce510961172697a273a0d SHA512 323f91e3e43847023f23087e1038ae240572b87c29ee26be1a05a6ee49824aa86cb706d1856b27e28841fbb14efaf897d1b8e0cb626529fe7cdeaa7fbda6ce27 +DIST reedsolomon-1.7.0.gh.tar.gz 64279 BLAKE2B 304abdf3709dff52c4c515598c511b8e3080475c0755ab68eb9468652f12d2cdb2763bdf88f5fe5e69813928646a8b8378fee9cb2b24d54ce9a6f2b5fb985ac9 SHA512 c7d2ae8444c9e3d6646587f85fe0085a7579cc58d2f4bca3fb89632df4873e2664c81f06ee2e75e928248bb558a7fd8d101a043187ce05e70a079b031981c374 diff --git a/dev-python/reedsolomon/reedsolomon-1.7.0.ebuild b/dev-python/reedsolomon/reedsolomon-1.7.0.ebuild new file mode 100644 index 000000000000..06ae21367731 --- /dev/null +++ b/dev-python/reedsolomon/reedsolomon-1.7.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Python Reed Solomon encoder/decoder" +HOMEPAGE=" + https://github.com/tomerfiliba/reedsolomon/ + https://pypi.org/project/reedsolo/ +" +SRC_URI=" + https://github.com/tomerfiliba/reedsolomon/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="|| ( Unlicense MIT-0 )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] +" + +src_configure() { + DISTUTILS_ARGS=( --cythonize ) +} + +python_test() { + "${EPYTHON}" tests/test_creedsolo.py || die "creedsolo test failed with ${EPYTHON}" + "${EPYTHON}" tests/test_reedsolo.py || die "reedsolo test failed with ${EPYTHON}" +}