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 01B68158041 for ; Fri, 29 Mar 2024 15:50:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 44345E2A74; Fri, 29 Mar 2024 15:50:13 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1F626E2A74 for ; Fri, 29 Mar 2024 15:50:13 +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 2469234305C for ; Fri, 29 Mar 2024 15:50:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7C6261602 for ; Fri, 29 Mar 2024 15:50:10 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1711727359.08d2abc5b57f8ff9d196e311c6adb09300ec1253.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sip/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/sip/Manifest dev-python/sip/sip-6.8.3.ebuild X-VCS-Directories: dev-python/sip/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 08d2abc5b57f8ff9d196e311c6adb09300ec1253 X-VCS-Branch: master Date: Fri, 29 Mar 2024 15:50:10 +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: 2084d500-ee0d-4322-85dd-0c2f539cb185 X-Archives-Hash: 04d4539de55129f341b5e2b9b2bf38e1 commit: 08d2abc5b57f8ff9d196e311c6adb09300ec1253 Author: Ionen Wolkens gentoo org> AuthorDate: Fri Mar 29 15:00:41 2024 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Fri Mar 29 15:49:19 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08d2abc5 dev-python/sip: enable tests The (newly available) GH repo does not seem to have anything to generate version.py (which would rather not risk getting wrong), and also lacks the Changelog and some other generated docs files. Then pypi's tarball lack tests. Bit wasteful but both tarballs are small and combining seems safe (verified that no changes to installed files, so skipping a safety revbump to ~testing). Signed-off-by: Ionen Wolkens gentoo.org> dev-python/sip/Manifest | 1 + dev-python/sip/sip-6.8.3.ebuild | 12 ++++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/dev-python/sip/Manifest b/dev-python/sip/Manifest index e3cd2d269ac7..7ee71215d482 100644 --- a/dev-python/sip/Manifest +++ b/dev-python/sip/Manifest @@ -1 +1,2 @@ +DIST sip-6.8.3.gh.tar.gz 585528 BLAKE2B 2a58edba0f7ca9da02399df9fe71f152ef8446c38886ca2a21c00ef3ac65e0a82493a6047120d6f786e5b26f974c9cac24a329f1a52d9c47f9669afe2f0789b4 SHA512 6ff5fa59a55d71a3303553d2c53879fc9ccc01b9db34da149a7b81e252613327c7390c5a2edeaec03381dbc36ed38aa4ce44d69560c277ecc3875a57e7d75a60 DIST sip-6.8.3.tar.gz 987656 BLAKE2B 57cc4010aae64eec7e0f338d9653463c7381b639aa8efca978a3f3296550a37b3a09b52933a2c2cd354a65155841952d7ca045b0b774945a382c29a8d597951e SHA512 8a0ff1c16ead4c2b1c53963a015fb3d149362f649eeec2523e6b243945493f28f5ecf29aabbf5cee5f7909ded40d64a1f469d2d0c1b3c33244e6213ab23ec733 diff --git a/dev-python/sip/sip-6.8.3.ebuild b/dev-python/sip/sip-6.8.3.ebuild index aaed5118beb9..5f9ffe71e07e 100644 --- a/dev-python/sip/sip-6.8.3.ebuild +++ b/dev-python/sip/sip-6.8.3.ebuild @@ -5,13 +5,16 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{10..12} ) - inherit distutils-r1 pypi DESCRIPTION="Python bindings generator for C/C++ libraries" -HOMEPAGE=" - https://github.com/Python-SIP/sip/ - https://pypi.org/project/sip/ +HOMEPAGE="https://github.com/Python-SIP/sip/" +# gh does not include a way to generate some files, so combine with pypi +SRC_URI+=" + test? ( + https://github.com/Python-SIP/sip/archive/refs/tags/${PV}.tar.gz + -> ${P}.gh.tar.gz + ) " LICENSE="|| ( GPL-2 GPL-3 SIP )" @@ -25,3 +28,4 @@ RDEPEND=" " distutils_enable_sphinx doc --no-autodoc +distutils_enable_tests pytest