From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rencode/
Date: Sun, 29 May 2022 18:26:57 +0000 (UTC) [thread overview]
Message-ID: <1653848804.b126f21888c66670ffce65cd1ff8286202a33f2b.arthurzam@gentoo> (raw)
commit: b126f21888c66670ffce65cd1ff8286202a33f2b
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun May 29 18:17:12 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun May 29 18:26:44 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b126f218
dev-python/rencode: EAPI=8, USE pep517
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/rencode/rencode-1.0.6-r3.ebuild | 36 ++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/dev-python/rencode/rencode-1.0.6-r3.ebuild b/dev-python/rencode/rencode-1.0.6-r3.ebuild
new file mode 100644
index 000000000000..89539dbe3271
--- /dev/null
+++ b/dev-python/rencode/rencode-1.0.6-r3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-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="similar to bencode from the BitTorrent project"
+HOMEPAGE="https://github.com/aresch/rencode"
+SRC_URI="https://github.com/aresch/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+BDEPEND="dev-python/cython[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+PATCHES=(
+ # https://github.com/aresch/rencode/commit/16e61e1ff4294bddb7c881536d3d454355c78969
+ "${FILESDIR}/${P}-drop-wheel-dependency.patch"
+ # bug #812437
+ "${FILESDIR}/${P}-fix-CVE-2021-40839.patch"
+)
+
+python_test() {
+ # The C extension ("_rencode") can't be imported from "${S}/rencode"
+ # so we need to cd somewhere else to make sure "rencode" is imported
+ # from ${BUILD_DIR}/lib (thanks to PYTHONPATH).
+ cd "${T}" || die
+ epytest "${S}"
+}
next reply other threads:[~2022-05-29 18:27 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-29 18:26 Arthur Zamarin [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-10 13:20 [gentoo-commits] repo/gentoo:master commit in: dev-python/rencode/ Michał Górny
2024-05-18 8:59 Michał Górny
2023-10-27 18:07 Michał Górny
2022-09-16 2:52 Yixun Lan
2022-06-29 13:05 Michał Górny
2022-06-29 6:11 Joonas Niilola
2022-06-29 0:11 Sam James
2022-05-29 18:26 Arthur Zamarin
2021-09-17 14:19 Arthur Zamarin
2021-09-17 14:14 Agostino Sarubbo
2021-09-15 6:36 Agostino Sarubbo
2021-09-12 7:49 Michał Górny
2021-09-12 7:24 Agostino Sarubbo
2021-09-12 7:09 Agostino Sarubbo
2021-03-05 18:39 Sam James
2020-10-14 10:51 Alexey Shvetsov
2020-07-17 7:21 Agostino Sarubbo
2020-07-09 8:59 Agostino Sarubbo
2020-05-31 8:25 Michał Górny
2020-05-06 6:41 Sergei Trofimovich
2020-04-18 14:11 Craig Andrews
2020-04-17 14:43 Craig Andrews
2020-04-17 14:43 Craig Andrews
2020-02-19 19:06 Andreas Sturmlechner
2020-02-11 19:50 Agostino Sarubbo
2020-02-11 19:43 Agostino Sarubbo
2020-02-05 21:21 Michał Górny
2020-02-01 12:36 Sergei Trofimovich
2020-01-31 22:17 Sergei Trofimovich
2020-01-27 11:41 Mikle Kolyada
2019-08-04 13:44 Alexey Shvetsov
2018-06-26 18:09 Pacho Ramos
2017-03-09 11:53 Michael Weber
2017-01-23 15:46 Agostino Sarubbo
2017-01-23 13:51 Agostino Sarubbo
2016-12-10 20:40 Michael Weber
2016-01-02 12:44 Michael Weber
2015-11-11 9:12 Agostino Sarubbo
2015-11-09 10:31 Agostino Sarubbo
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=1653848804.b126f21888c66670ffce65cd1ff8286202a33f2b.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