diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-27 22:23:02 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-27 22:23:02 +0100 |
commit | 651f415b41664a0fd7f9e83ac1425ba3670c9518 (patch) | |
tree | 6edbaa4a890ab8fdc5dd63ad94f2f0e5d25259b0 /dev-python/rencode | |
parent | 3529f1bf2739399905cd55b27c7609459bfc069f (diff) |
gentoo auto-resync : 27:10:2023 - 22:23:02
Diffstat (limited to 'dev-python/rencode')
-rw-r--r-- | dev-python/rencode/Manifest | 4 | ||||
-rw-r--r-- | dev-python/rencode/rencode-1.0.6-r3.ebuild | 24 |
2 files changed, 17 insertions, 11 deletions
diff --git a/dev-python/rencode/Manifest b/dev-python/rencode/Manifest index 60a59edbbd44..92a17942cb5b 100644 --- a/dev-python/rencode/Manifest +++ b/dev-python/rencode/Manifest @@ -1,5 +1,5 @@ AUX rencode-1.0.6-drop-wheel-dependency.patch 493 BLAKE2B 368e3b618490538adee98c42e574c2130ca57c43d6502d35d9c35a72a3a0d20077d48098ac91fb53f39a32f601c594aa355657fde25502f1beb1450cb08f0654 SHA512 254cd71919906f24842e921ce6d4a8cfe4960b2b048a25c6eb170d8ff1dcde0b758d429a7bcdca971379a0b5706e278111ae1f43b64c4251d3dee87d9c6df063 AUX rencode-1.0.6-fix-CVE-2021-40839.patch 1166 BLAKE2B b0ddee3e9ccc62d7caaecfec8d8e1363942fe65c9d931fac9bd609e8738d8a796c644e1657906257daf5161de0f1e7a5efcad31eb424dd3fc9508d5bf6d56f84 SHA512 885ecede3d9fb52eb09728e37863cade4800f87d09ab6ffc1e55d1ace90b8e197e4f3073f6fcf548f2e8e4b9d7cfadedb3190d556427e826bbd6b2ba48ca6cac -DIST rencode-1.0.6.tar.gz 25455 BLAKE2B def013a569a53e2b2d96b3430c13676810bc5879e565f091dbc44f1ae950b8ec7ca0fa5e35a974432fd71a1bcca5a3f1f18bb2a9f042480167ab50e4f0aba8c3 SHA512 f04de4d3a83aed916bdc4b7a8ca772655e9324d0531ee882cb7d2a1e92b397bdcec8497bf02939e0a806886ecc62ed2e7319dfee054dad1b69052157f0959e8f -EBUILD rencode-1.0.6-r3.ebuild 1016 BLAKE2B 7a5367b4ac96b6f5ef596ae0d94ee936a131c870b77e1231452f100555eb550d014fae0e78c78bb912eda9787bdffeb72072e8f098ccce03239f403bd0fa015a SHA512 0616e0f8a4c283161f23e10275deaa7f11b17de5a03ecbf3364c0d0e9fefed003935cae5bd8c67eebafda82f177c5e8205b1b4360fc876aa2934131435be4046 +DIST rencode-1.0.6.gh.tar.gz 25455 BLAKE2B def013a569a53e2b2d96b3430c13676810bc5879e565f091dbc44f1ae950b8ec7ca0fa5e35a974432fd71a1bcca5a3f1f18bb2a9f042480167ab50e4f0aba8c3 SHA512 f04de4d3a83aed916bdc4b7a8ca772655e9324d0531ee882cb7d2a1e92b397bdcec8497bf02939e0a806886ecc62ed2e7319dfee054dad1b69052157f0959e8f +EBUILD rencode-1.0.6-r3.ebuild 892 BLAKE2B 95cba9e6818216aa8bd18f4062caeda38e7447c703b9bbf961565962ea9573c47ac3e58e7bf92f91332d6bce0db49c41e96b3c472d2b40b702c2df6859408708 SHA512 90541969c874577f2ba1bc0c10a713702635a1013db889ab58e24df70475ccf9ab5828433e7b4d83c5834e97ccdd09b363395343f34448f020e296d1e88ee0f9 MISC metadata.xml 718 BLAKE2B 4bdaf213bd57bdc4ba1300f254d058554720fc5abc90e39944bc63ccbe2a7d3c9f00bbb69c24a18f50f1d5e8377bfe3519a834c69adaf5cf5fa4623e55b3f7f9 SHA512 1e24053d600eed241f99d60df53115bb49925af9fd1caab44bad38eddd84714335357825bfe0e85218dc735884979b2fd40e2224efe2724c9301d2a9a6f58b6a diff --git a/dev-python/rencode/rencode-1.0.6-r3.ebuild b/dev-python/rencode/rencode-1.0.6-r3.ebuild index 66a639cc8506..e2cc427220b3 100644 --- a/dev-python/rencode/rencode-1.0.6-r3.ebuild +++ b/dev-python/rencode/rencode-1.0.6-r3.ebuild @@ -3,20 +3,29 @@ EAPI=8 +DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) 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" +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}]" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] +" distutils_enable_tests pytest @@ -28,9 +37,6 @@ PATCHES=( ) 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}" + rm -rf rencode || die + epytest } |