From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 739E415806E for ; Sun, 4 Jun 2023 05:44:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 48FFAE07DB; Sun, 4 Jun 2023 05:44:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2AAE1E07DB for ; Sun, 4 Jun 2023 05:44:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0F23A340FBB for ; Sun, 4 Jun 2023 05:44:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 68C7BA88 for ; Sun, 4 Jun 2023 05:44:53 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1685857482.3e1964ed212d23e5bed06e51de4de9c2031b00f1.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-ctags3/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-ctags3/Manifest dev-python/python-ctags3/python-ctags3-1.6.0.ebuild X-VCS-Directories: dev-python/python-ctags3/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 3e1964ed212d23e5bed06e51de4de9c2031b00f1 X-VCS-Branch: master Date: Sun, 4 Jun 2023 05:44:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e60f7864-2cca-4253-bd98-9bbd55bf10b8 X-Archives-Hash: f3700a5ab7cb81b2f04b01c08cc68b3f commit: 3e1964ed212d23e5bed06e51de4de9c2031b00f1 Author: Michał Górny gentoo org> AuthorDate: Sun Jun 4 05:28:37 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jun 4 05:44:42 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e1964ed dev-python/python-ctags3: Bump to 1.6.0 Signed-off-by: Michał Górny gentoo.org> dev-python/python-ctags3/Manifest | 1 + .../python-ctags3/python-ctags3-1.6.0.ebuild | 47 ++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-python/python-ctags3/Manifest b/dev-python/python-ctags3/Manifest index cb0a9f4390f9..f15cc365e95b 100644 --- a/dev-python/python-ctags3/Manifest +++ b/dev-python/python-ctags3/Manifest @@ -1 +1,2 @@ DIST python-ctags3-1.5.0.gh.tar.gz 63921 BLAKE2B 1d25e7bafbdf157f1051321058b39fc9347bc479a61fae637bd11ef8540a3c67e2abd101493668977f05e464a8203b8c518fd1f4433defe5cec9939a200438b2 SHA512 414774c865af51e54c53f66dc7b3cfb5a03b64ea4eb94325658c158542615dfffdd1a5933d9ae03cedf1dbac30e1810d5914fbc3d6ab41e5f708c5d3000d161e +DIST python-ctags3-1.6.0.gh.tar.gz 70311 BLAKE2B f286aad922f8220d5f0b42f2919425d836bd27e9b2a85739333295d6e681172b20d33d010821c881583a4bed29d103939cf4b7e1d67190ba52cf1e0a1ca75290 SHA512 38df28c1055b2240e5da7699a7c72bab85908c7b1a1b4db83f19350541fe49d8499a9b7400ad14c77166b459fbb30f6b2c22d65685ac5f392ececa3eeecb6f41 diff --git a/dev-python/python-ctags3/python-ctags3-1.6.0.ebuild b/dev-python/python-ctags3/python-ctags3-1.6.0.ebuild new file mode 100644 index 000000000000..89f53b3750e2 --- /dev/null +++ b/dev-python/python-ctags3/python-ctags3-1.6.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +MY_P="python-ctags3-${PV}" +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 -> ${MY_P}.gh.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + dev-util/ctags:= +" +RDEPEND=" + ${DEPEND} +" +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 +}