commit:     7af89e7c21952cb121424be2f2fe5b1c8971b795
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 25 07:22:52 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Oct 25 07:57:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7af89e7c

dev-python/sip: add 6.8.0_pre2310230931 (unkeyworded)

Adding for testing, hopefully will be uneventful but only
tried PyQt6 so far which upstream already tested.

>From upstream:

   The current snapshots for SIP are for v6.8. This version completes
   the rewrite of SIP in Python from C.

   v6.8 should generate identical code to that generated by v6.7.12.
   (The only slight differences may be with docstrings based on badly
   constructed type hints. The solution to which is to fix the type
   hints.)

(drops DISTUTILS_EXT=1)

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-python/sip/Manifest                       |  1 +
 dev-python/sip/metadata.xml                   |  4 ++++
 dev-python/sip/sip-6.8.0_pre2310230931.ebuild | 30 +++++++++++++++++++++++++++
 3 files changed, 35 insertions(+)

diff --git a/dev-python/sip/Manifest b/dev-python/sip/Manifest
index 7699244fd9e9..774df5617f0f 100644
--- a/dev-python/sip/Manifest
+++ b/dev-python/sip/Manifest
@@ -1,2 +1,3 @@
 DIST sip-6.7.11.tar.gz 1165368 BLAKE2B 
62ba38ca39544e7ed0935e91729ba6f82a5e613a4b26fbf27c3708a5cb38ba0fa583ceb6a45c0c7485579f4c318fc5ac910eee8477aee6d25d33d4ae07bf527b
 SHA512 
a9247714fd6f6e6dffff2e6b53b35a7831ced55f0706e7c883d6700f22b814dc2cf1e56e681214759c90386ff2c77cb4ace6d07cd0c8b6da0ed65444f9857056
 DIST sip-6.7.12.tar.gz 1169656 BLAKE2B 
07ae682e783da5bc6fc3109c62c7bff245faab795cc28f135758b1211fae1dfae79668e7e7c0de8b3bae5c8b10534d153cdd47969b34149c8f5598867d19f17c
 SHA512 
885c32a051e882b82b59bf1365050933f8fc1c619b19f4bc03235edc5741a5e14aae8edf90479ad0283f74ba5c5233a2589c151ec865b130199a6db9800a2294
+DIST sip-6.8.0.dev2310230931.tar.gz 1126109 BLAKE2B 
53efdb9722888645b9772c6080f34459b89c745a02cfb9842f7924870afa81d4ba06ec6ac730ee1d254f5252c1c495a4b4dfd51157d759d7334d2980145214f8
 SHA512 
8bac33c9ae87dc11669837e2b07d5016a7e16e743439dbf763c13a118476431058d2a6c4b0c29e4ce7a7f5f86602bb1c9f27ccf0d3f6c1a298b06256f820ceaa

diff --git a/dev-python/sip/metadata.xml b/dev-python/sip/metadata.xml
index 52c2d142bd4f..b7f5e4308ad2 100644
--- a/dev-python/sip/metadata.xml
+++ b/dev-python/sip/metadata.xml
@@ -5,6 +5,10 @@
                <email>q...@gentoo.org</email>
                <name>Gentoo Qt Project</name>
        </maintainer>
+       <!--
+               TODO: mark stabilize-allarches after sip-6.8.0 is released
+               and 6.7.12 stabilization is done (6.8 becomes pure python)
+       -->
        <upstream>
                <maintainer status="active">
                        <email>p...@riverbankcomputing.com</email>

diff --git a/dev-python/sip/sip-6.8.0_pre2310230931.ebuild 
b/dev-python/sip/sip-6.8.0_pre2310230931.ebuild
new file mode 100644
index 000000000000..d27245e8eff1
--- /dev/null
+++ b/dev-python/sip/sip-6.8.0_pre2310230931.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 #pypi
+
+DESCRIPTION="Python bindings generator for C/C++ libraries"
+HOMEPAGE="https://www.riverbankcomputing.com/software/sip/";
+
+# drop this temporary block on bump, re-add pypi inherit, and restore keywords
+# (see also metadata.xml comment)
+SIP_P=sip-$(ver_cut 1-3).dev$(ver_cut 5)
+SRC_URI="https://www.riverbankcomputing.com/pypi/packages/sip/${SIP_P}.tar.gz";
+S=${WORKDIR}/${SIP_P}
+
+LICENSE="|| ( GPL-2 GPL-3 SIP )"
+SLOT="5"
+# unkeyworded pre-release for testing
+#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc ~x86"
+
+RDEPEND="
+       dev-python/packaging[${PYTHON_USEDEP}]
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep 'dev-python/tomli[${PYTHON_USEDEP}]' 3.10)
+"
+
+distutils_enable_sphinx doc --no-autodoc

Reply via email to