From b3e456d42287ef73c7ff48148d18a9ea8fb8debf Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 26 Nov 2022 19:15:12 +0000 Subject: gentoo auto-resync : 26:11:2022 - 19:15:12 --- dev-python/python-ctags/Manifest | 2 ++ .../python-ctags/python-ctags-1.5.0-r1.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 dev-python/python-ctags/python-ctags-1.5.0-r1.ebuild (limited to 'dev-python/python-ctags') diff --git a/dev-python/python-ctags/Manifest b/dev-python/python-ctags/Manifest index 3c30d1bfdd0d..897175736f53 100644 --- a/dev-python/python-ctags/Manifest +++ b/dev-python/python-ctags/Manifest @@ -1,3 +1,5 @@ +DIST python-ctags-1.5.0.gh.tar.gz 63921 BLAKE2B 1d25e7bafbdf157f1051321058b39fc9347bc479a61fae637bd11ef8540a3c67e2abd101493668977f05e464a8203b8c518fd1f4433defe5cec9939a200438b2 SHA512 414774c865af51e54c53f66dc7b3cfb5a03b64ea4eb94325658c158542615dfffdd1a5933d9ae03cedf1dbac30e1810d5914fbc3d6ab41e5f708c5d3000d161e DIST python-ctags3-1.5.0.tar.gz 59091 BLAKE2B 303b061e7e660c1ed08c52fa76e4a96e288c6359167006a112de2262eff8c6bb564cb5c5ed310e091a3e88c5d5494e883020e7aa3ed900dc9a316cc8a9f597e8 SHA512 a5f1e2ff49abf9cf471a0139c1d2e1c4f836557386f394a96e67692d6153c60717df16fc7dbf832f69182270842fdc550f77194855111534c3b71b81ac94e483 +EBUILD python-ctags-1.5.0-r1.ebuild 1043 BLAKE2B 1239be119a6ecc09e886513810d6f3220f098aec3e0b3afd58b45d60c87e5817a785c5505efb0fb796e542adfb6ee1ad87db6898c46b9b7d8c0b04ba220cac79 SHA512 7b41c8178263f97a6aeaef3dbe3da357c08bb81b858cb4d38600e2e12f923c3a49c08d622fe8c32965999f059c89a4b5b55d40866879104acbeb37e663aa0df4 EBUILD python-ctags-1.5.0.ebuild 515 BLAKE2B 9e5feaefddadddd79f8aab4a24a6da06c10f53f186493f12bc7a1610e6acb644f4266abce26230a7fd5b4d9839fe37af0e88c8e24b8351e0efdddee85396fafc SHA512 44d4c078917582d34db0500ac4fdb69443de8055437c2f7ce9f3cabe7727f5cbba9a7c2a7cb42065ee3b5827e697241ddace66db292ec8a9036dc22cb7e91058 MISC metadata.xml 468 BLAKE2B 7a89bc7a950e780ed4093c77ba31c18dd0e92e6e661c20012e0c97e1e00176c9116b830b1f80359a71ab51b6e22614b820d27b449dd7c16f884d85f1adbe83ad SHA512 39956be9e9e61a5fbc02340d5fadd1044784fe73d39523b500bc74e4943d57f6581bfdc366f763eeaf5851cd5d34e348856d3c92450ca6c31691eb9f36c56154 diff --git a/dev-python/python-ctags/python-ctags-1.5.0-r1.ebuild b/dev-python/python-ctags/python-ctags-1.5.0-r1.ebuild new file mode 100644 index 000000000000..12154624c3b7 --- /dev/null +++ b/dev-python/python-ctags/python-ctags-1.5.0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{9..11} ) + +inherit distutils-r1 + +MY_PN="${PN}3" +DESCRIPTION="Exuberant Ctags indexing python bindings" +HOMEPAGE="https://github.com/universal-ctags/python-ctags3" +# PyPI tarballs don't contain pyx files +SRC_URI="https://github.com/universal-ctags/python-ctags3/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-util/ctags:=" +BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_prepare_all() { + # We currently need to let Cython regenerate this file to make Python 3.11 + # support work + rm src/_readtags.c || die + cython -3 src/_readtags.pyx || die + distutils-r1_python_prepare_all +} + +python_test() { + # To prevent pytest from importing it and failing with: + # ModuleNotFoundError: No module named 'ctags._readtags' + rm -rf src/ctags || die + epytest +} -- cgit v1.2.3