public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/reedsolomon/
Date: Sun, 29 May 2022 18:38:36 +0000 (UTC)	[thread overview]
Message-ID: <1653849263.008ec671d5c5eccab25e848a5b5950726f44e444.arthurzam@gentoo> (raw)

commit:     008ec671d5c5eccab25e848a5b5950726f44e444
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun May 29 18:34:23 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun May 29 18:34:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=008ec671

dev-python/reedsolomon: Use PEP517 build

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/reedsolomon/reedsolomon-1.5.4-r2.ebuild | 32 ++++++++++++++++++++++
 1 file changed, 32 insertions(+)

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..7161053b5d12
--- /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..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}"
+}


             reply	other threads:[~2022-05-29 18:38 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-29 18:38 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-06-03 19:17 [gentoo-commits] repo/gentoo:master commit in: dev-python/reedsolomon/ Michał Górny
2023-06-03 18:12 Arthur Zamarin
2023-06-03 18:09 Arthur Zamarin
2023-05-13 16:04 Michał Górny
2023-05-13 12:21 Arthur Zamarin
2023-05-13 11:35 Arthur Zamarin
2023-05-04 16:56 Michał Górny
2023-04-12  4:49 Michał Górny
2023-04-10  6:07 Michał Górny
2023-04-10  6:07 Michał Górny
2023-02-16 14:18 Michał Górny
2023-02-16 10:01 Sam James
2023-02-16 10:01 Sam James
2023-01-18  7:34 Michał Górny
2023-01-12  6:14 Michał Górny
2023-01-11 21:40 Sam James
2023-01-11 21:24 Sam James
2023-01-07 14:43 Michał Górny
2023-01-07  4:54 Michał Górny
2022-12-09  5:05 Michał Górny
2022-06-29 13:05 Michał Górny
2022-06-29  6:00 Joonas Niilola
2022-06-29  0:11 Sam James
2022-05-29 18:38 Arthur Zamarin
2022-04-06 21:09 Michał Górny
2022-04-06 20:57 Jakov Smolić
2022-04-06  6:32 Agostino Sarubbo
2022-03-04 13:53 Joonas Niilola
2021-02-04 14:42 Agostino Sarubbo
2021-02-04 14:09 Sam James
2020-12-12  4:32 Sam James
2020-12-12  4:27 Sam James
2020-12-07 16:41 Joonas Niilola
2020-11-28  9:15 Joonas Niilola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1653849263.008ec671d5c5eccab25e848a5b5950726f44e444.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox