summaryrefslogtreecommitdiff
path: root/dev-python/rencode
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/rencode')
-rw-r--r--dev-python/rencode/Manifest1
-rw-r--r--dev-python/rencode/rencode-1.0.8.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/rencode/Manifest b/dev-python/rencode/Manifest
index 8bb5414afd6f..f2ed4924274a 100644
--- a/dev-python/rencode/Manifest
+++ b/dev-python/rencode/Manifest
@@ -1 +1,2 @@
DIST rencode-1.0.6.gh.tar.gz 25455 BLAKE2B def013a569a53e2b2d96b3430c13676810bc5879e565f091dbc44f1ae950b8ec7ca0fa5e35a974432fd71a1bcca5a3f1f18bb2a9f042480167ab50e4f0aba8c3 SHA512 f04de4d3a83aed916bdc4b7a8ca772655e9324d0531ee882cb7d2a1e92b397bdcec8497bf02939e0a806886ecc62ed2e7319dfee054dad1b69052157f0959e8f
+DIST rencode-1.0.8.gh.tar.gz 26072 BLAKE2B cca51bc4c53930a6ea847adeef0394e4cea7120862392fecd7325bb4bb9b9df9afdc892a3dee0c879fba44a007e8050508406c1ad37bbc756413fcf39521e7f3 SHA512 0c929d557f20b055c2c1ccbb29e6e8bedd2dbab2b356da7cdc9bb985a78be7bfb3a0d43bb7576fd7f95a830e99eb23f3a9dcd01547307d00905bdd2555b49294
diff --git a/dev-python/rencode/rencode-1.0.8.ebuild b/dev-python/rencode/rencode-1.0.8.ebuild
new file mode 100644
index 000000000000..364e6c299822
--- /dev/null
+++ b/dev-python/rencode/rencode-1.0.8.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit distutils-r1
+
+DESCRIPTION="Serialization similar to bencode from the BitTorrent project"
+HOMEPAGE="
+ https://github.com/aresch/rencode/
+ https://pypi.org/project/rencode/
+"
+SRC_URI="
+ https://github.com/aresch/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+BDEPEND="
+ dev-python/cython[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ rm -rf rencode || die
+ epytest
+}