diff options
Diffstat (limited to 'dev-python/python-ptrace')
-rw-r--r-- | dev-python/python-ptrace/Manifest | 4 | ||||
-rw-r--r-- | dev-python/python-ptrace/python-ptrace-0.9.9.ebuild | 35 | ||||
-rw-r--r-- | dev-python/python-ptrace/python-ptrace-9999.ebuild | 21 |
3 files changed, 50 insertions, 10 deletions
diff --git a/dev-python/python-ptrace/Manifest b/dev-python/python-ptrace/Manifest index 649c9f520a05..7d901a89db65 100644 --- a/dev-python/python-ptrace/Manifest +++ b/dev-python/python-ptrace/Manifest @@ -1,5 +1,7 @@ AUX python-ptrace-0.9.8-python3_12.patch 914 BLAKE2B a0e4f4dee0baf98e398c8618d92fb5fe60817ed4dea0f577795017c2ad3ae89b1936045d65c161b104169ab3f786d824a5038f0a078452bbae265588b621b4fd SHA512 2b9470247ee6ea92bf20402f51595b4aba43f4c3b85db13b701cf7aefe52f28f4a1a7d122e4422217286363c8b05d338e671c99cca55c9bdae3d993c42a43578 DIST python-ptrace-0.9.8.gh.tar.gz 104079 BLAKE2B 3d387beca9c92c0e3bbd5cf2c9d2af447c233b631e894ce1af2cdc697a1a48e24a299bbc998cd187ac9ad0f45bfc886f476afdb69329d761e8730a047731126b SHA512 f50ba7d457bf20a161a99913a552f2e829e97975d7cfbf8cf5d89b4f2320772b537678f2e70b9aaa88341c4f01d4bf41f62683e913628db503152f3510a013a3 +DIST python-ptrace-0.9.9.gh.tar.gz 106526 BLAKE2B ff9b85e17fd8d767c3fd1db13f1c69ad0b4e7d47379d6ee9468d9424702d34d7a7a7489590987213707829ab62e5eb83df277d3b60de6d2ad05ac99b93586ca3 SHA512 5f2291a4ca642ab99c49e853f12a3cd4ee911df45326fe077ef5df82b813b54a4351c3c23a195b65342af37aed8ecbc26968f65ce9b6a974863bee0ffd556039 EBUILD python-ptrace-0.9.8-r1.ebuild 763 BLAKE2B 001d69fc700340c3910db5fa33a14962b363034d1f0e0c064dbe128885beac4172a5bd929627c6a370dba82b5b940e12ba1aa75a06ede4d4a92b7313b1be2e49 SHA512 00518e7fff2673de14d66e4eef2d033a577ec41227d19d4e63226a950a7a1e51ed87ca9abf361934aacb6056e2ced647bae228746917feb6d7893af0df94cfbb -EBUILD python-ptrace-9999.ebuild 714 BLAKE2B 4fb5fc31dcc2a7ee44b66610753f5dda1615e49caa19b008236a6375b53e6037c2ed9701f318f02baedf840a9b825b482d6ef6470e7a68119d76d5cdc282efc8 SHA512 e088c4e2f360069b4182ad2ff8eb8dfb80734ec3bc608f4f5d2bb1cfc7628715ac33f093a9b57343a568bd1ee3307f042e1176a33298c3df3dcdd825d4422f85 +EBUILD python-ptrace-0.9.9.ebuild 715 BLAKE2B ce678a857463c5146e1c8bde1e57c4581989e2a717a7b2687dd32eba423cb911044da24fe47ee650a0abca64da9d29f747599b06034673ee45835b276adcc8db SHA512 78297c26b7eabc834607ced38fd4407ba97af3d3510764d52fdce61ee66c0d28b31f43608f2894d8bd8a6b1f552b11b3818a65e282f75039731250b09e60d053 +EBUILD python-ptrace-9999.ebuild 715 BLAKE2B ce678a857463c5146e1c8bde1e57c4581989e2a717a7b2687dd32eba423cb911044da24fe47ee650a0abca64da9d29f747599b06034673ee45835b276adcc8db SHA512 78297c26b7eabc834607ced38fd4407ba97af3d3510764d52fdce61ee66c0d28b31f43608f2894d8bd8a6b1f552b11b3818a65e282f75039731250b09e60d053 MISC metadata.xml 674 BLAKE2B f247cbce73a3bc785c4747c79a4fa99867dd75255d3a18f91de90179019ac2ef2e85da096107029d8f50f4565dcae14e1bc26e91f7ab882fa6cc9572ee8743a4 SHA512 08dca730bfc844e8ec06bd0d7914c23d8f74d1ebc54e22b99206de5240bd256d30dfe702cac9c3825b283be55be8a0111fc2f24482186f4b7bb24c6bc8369f94 diff --git a/dev-python/python-ptrace/python-ptrace-0.9.9.ebuild b/dev-python/python-ptrace/python-ptrace-0.9.9.ebuild new file mode 100644 index 000000000000..7ec5c32d8f28 --- /dev/null +++ b/dev-python/python-ptrace/python-ptrace-0.9.9.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="A Python binding of ptrace library" +HOMEPAGE=" + https://github.com/vstinner/python-ptrace/ + https://pypi.org/project/python-ptrace/ +" + +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/vstinner/python-ptrace" +else + SRC_URI=" + https://github.com/vstinner/python-ptrace/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" + +distutils_enable_tests pytest + +python_test() { + "${EPYTHON}" runtests.py -v --tests tests/ || die +} diff --git a/dev-python/python-ptrace/python-ptrace-9999.ebuild b/dev-python/python-ptrace/python-ptrace-9999.ebuild index 38400e564dc8..7ec5c32d8f28 100644 --- a/dev-python/python-ptrace/python-ptrace-9999.ebuild +++ b/dev-python/python-ptrace/python-ptrace-9999.ebuild @@ -1,32 +1,35 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 DESCRIPTION="A Python binding of ptrace library" -HOMEPAGE="https://github.com/vstinner/python-ptrace" +HOMEPAGE=" + https://github.com/vstinner/python-ptrace/ + https://pypi.org/project/python-ptrace/ +" if [[ ${PV} == 9999 ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/vstinner/python-ptrace" else - SRC_URI="https://github.com/vstinner/python-ptrace/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + SRC_URI=" + https://github.com/vstinner/python-ptrace/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " KEYWORDS="~amd64 ~x86" fi LICENSE="GPL-2" SLOT="0" -RDEPEND="${PYTHON_DEPS} - dev-python/six[${PYTHON_USEDEP}]" - distutils_enable_tests pytest -src_test() { - ./runtests.py --tests tests/ || die +python_test() { + "${EPYTHON}" runtests.py -v --tests tests/ || die } |