summaryrefslogtreecommitdiff
path: root/dev-python/sip
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-25 18:13:05 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-25 18:13:05 +0100
commitc7b5a281b2f19df584053abc11abb47ccad9c381 (patch)
tree982904bec5cf328955b044b4aa3a0788ff5fbc01 /dev-python/sip
parent403ab7c9007c3a5ff376f2a5d8963c5db58813fb (diff)
gentoo auto-resync : 25:04:2023 - 18:13:05
Diffstat (limited to 'dev-python/sip')
-rw-r--r--dev-python/sip/Manifest5
-rw-r--r--dev-python/sip/files/sip-6.7.5-tomli.patch93
-rw-r--r--dev-python/sip/sip-6.7.5-r1.ebuild44
-rw-r--r--dev-python/sip/sip-6.7.7.ebuild44
4 files changed, 0 insertions, 186 deletions
diff --git a/dev-python/sip/Manifest b/dev-python/sip/Manifest
index 02cbbf6e68b7..3d3c0e203f73 100644
--- a/dev-python/sip/Manifest
+++ b/dev-python/sip/Manifest
@@ -1,11 +1,6 @@
AUX sip-4.18-darwin.patch 1187 BLAKE2B a3cd0418de90e7377bc2ae1206f4620c6be379a3bd38f22c19256b06f5ba0c90ff07f34dcc8d2f44a25244e11544176a5e1b91049d220bd56cc7b3876a26ba76 SHA512 1afe049fd21f0e8e5118dec4d4b74851cd5e2c75a66a93e1a79a42267954b1edfcff9644696c7d98342499fb27fde727a554b5739cbd791d17a0e319c1dddb7e
-AUX sip-6.7.5-tomli.patch 2828 BLAKE2B fae02d3702df75164028298d342b81a5416381d53f33ab9f21604abe55fdbf30b717629b0e9794a7063abb4f74892d7367065b661b5a84def0a387655eebc5cb SHA512 578c980d924f3082b5fe865f4acb044fdea5c5d0d2e7b644446b52370a447500732727b33d2b239b8faaa271f3da554060e74e68263e4c11b15860e56e132139
DIST sip-4.19.25.tar.gz 1056384 BLAKE2B f92e105e6b30e871aea2883dc9cd459e4032fb139a9eaff153a3412a66b39df4d7ac985711a2693aee83195ff3850ae648bee4102f7fc3cc30d09885799f2b98 SHA512 60fb4133c68869bf0993144978b4847d94a0f9c7b477f64a346ea133cfe35bc11820204ab327dcf9a929b6f65a26d16cc7efbce65e49967c3347b39376e57001
-DIST sip-6.7.5.tar.gz 1160691 BLAKE2B 64572687e026854c3e8ba7de637925f13a880e51e574993e37190b9b1fafa1850da686600a652bab9d399f58516e2c4e4d8a93f5fb13d53a12ecc5ec3885a98c SHA512 2dc38a6c0489e374a016b7db1f9443bb5d2fb29dc1fa7647ed2dd5bb4aa8758586e2b85569f9fb3b992e15eded0f7a783ec1a53b3d18bee3f8be53d43b79b7b9
-DIST sip-6.7.7.tar.gz 1161807 BLAKE2B b9a49e2d86f3b13b5852b91403946920c25e9b7c3cb3129f6beece1ba6d607493a04fb0d5c0dd564fbe4b7e814ad9837daf6331096b7a1a4a24ff2a7bb11acb4 SHA512 b41a1e53e8bad1fca08eda2c89b8a7cabe6cb9e54d0ddeba0c718499b0288633fb6b90128d54f3df2420e20bb217d3df224750d30e865487d2b0a640fba82444
DIST sip-6.7.8.tar.gz 1162921 BLAKE2B 3cc7107ad8c81240131ba96c43815b2a971bf109166a7a1bb3401cf5ed99e5d525599c0e7fcf7005c4b1d2194f9e7f386c4d58c10da712d4bd80d95e678f6804 SHA512 5d8965542c3fe821c95b2d2331d7f7df2ac9587a535f0b91f31223f4ee29f893ee73af42dc575abdff44a22a5b2ad98c6738211757595ae5a11f5a54fcea960d
EBUILD sip-4.19.25-r1.ebuild 2275 BLAKE2B 3b74d08ad36c71fff2d6982548870f14a1425903d94fcd86a21788bae8f9f0c30485846fe49f0aba13843d0764f421be133ec1a14d5e38f65b61a0a889155b25 SHA512 fa4b11a80372b8c9abf0a5c6b4ceb5b41f998342cd997a856b38f52e07e3c89524bdcfa6539dccd207bb03cfac231a7231304162c2984795d962ad10c88cfda1
-EBUILD sip-6.7.5-r1.ebuild 1072 BLAKE2B 47a191feced8dfc25164c5ae4bf00e10b8eff6d871bb76808e888906e733a4c8826b1ad085f876251a8ac9098c035ba555c37d37ed4b575aa1529d14fd03f374 SHA512 753cc54678dc5b9fde5b4edd24f52b222bd3f3f390ddb0eeb35ee38d2975e23118721b28785fc5a0d878141df1cab3e5a224dfa592749338295d2173adf4b269
-EBUILD sip-6.7.7.ebuild 1039 BLAKE2B 5a303a247540ae858e01303f12f5bfe6d042085ff1e379cdd2e333b66bd2ab5af94968ab78f593049eaf1f26d53f87e572e1df330dc5eb0603fd513a6a77c6c2 SHA512 0cf3356ee41a08d49ebc4c3c1119207ab30e0205e18a2d50cb33f468cc2ddae52bc8dcca8e46a68fca3305fd6d6a134c9678f7f7d567d2f1ff1db5b645b2ddd1
EBUILD sip-6.7.8.ebuild 987 BLAKE2B a0162ca54b9b3fdab933a0fe1be58f68f680bc21ef5c884103ce58f10883bb41eda0b5b50efb4dfd24e8334f002526f6b3f837956013faf267ffe3ae570969a0 SHA512 32e35e1767d7604f87589218a61f33550db703fd86852b84fa73b81bede897a671e2a9ffbe6d0782516be02fe75c9237f9a980d1d4862aab998f8b6d34f64f51
MISC metadata.xml 639 BLAKE2B deb4a3e534eaa966db932dc17bf7df6a04ed41ce707dc7f1befb272c362be06f222f976c4b0d526a6190d4954f1fa0e2c94ccc2e6cfceff6e8db5959e653fed1 SHA512 8c8e45d32587e346d4df067950aacbc767618418d42f4a5bf48a62706c9612007915ec643dc9fe7b7d083696b26795abb76d9cc475481c26782874f5116863a1
diff --git a/dev-python/sip/files/sip-6.7.5-tomli.patch b/dev-python/sip/files/sip-6.7.5-tomli.patch
deleted file mode 100644
index c785e41f265a..000000000000
--- a/dev-python/sip/files/sip-6.7.5-tomli.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-diff --git a/setup.py b/setup.py
-index 586606d..312a431 100644
---- a/setup.py
-+++ b/setup.py
-@@ -51,7 +51,7 @@ setup(
- version=version,
- license='SIP',
- python_requires='>=3.7',
-- install_requires=['packaging', 'ply', 'setuptools', 'toml'],
-+ install_requires=['packaging', 'ply', 'setuptools', 'tomli; python_version<"3.11"'],
- packages=find_packages(),
- package_data={
- 'sipbuild.module': ['source/*/*'],
-diff --git a/sip.egg-info/requires.txt b/sip.egg-info/requires.txt
-index b465c08..8547535 100644
---- a/sip.egg-info/requires.txt
-+++ b/sip.egg-info/requires.txt
-@@ -1,4 +1,4 @@
- packaging
- ply
- setuptools
--toml
-+tomli; python_version<"3.11"
-diff --git a/sipbuild/bindings_configuration.py b/sipbuild/bindings_configuration.py
-index 8197e27..a942f3f 100644
---- a/sipbuild/bindings_configuration.py
-+++ b/sipbuild/bindings_configuration.py
-@@ -22,11 +22,16 @@
-
-
- import os
--import toml
-+import sys
-
- from .exceptions import UserFileException, UserParseException
- from .module import resolve_abi_version
-
-+if sys.version_info >= (3, 11):
-+ import tomllib
-+else:
-+ import tomli as tomllib
-+
-
- def get_bindings_configuration(abi_major, sip_file, sip_include_dirs):
- """ Get the configuration of a set of bindings. """
-@@ -47,7 +52,8 @@ def get_bindings_configuration(abi_major, sip_file, sip_include_dirs):
-
- # Read the configuration.
- try:
-- cfg = toml.load(toml_file)
-+ with open(toml_file, "rb") as f:
-+ cfg = tomllib.load(f)
- except Exception as e:
- raise UserParseException(toml_file, detail=str(e))
-
-diff --git a/sipbuild/pyproject.py b/sipbuild/pyproject.py
-index 1ba2223..6e4a7c6 100644
---- a/sipbuild/pyproject.py
-+++ b/sipbuild/pyproject.py
-@@ -22,11 +22,16 @@
-
-
- from collections import OrderedDict
--import toml
-+import sys
-
- from .exceptions import UserFileException
- from .py_versions import OLDEST_SUPPORTED_MINOR
-
-+if sys.version_info >= (3, 11):
-+ import tomllib
-+else:
-+ import tomli as tomllib
-+
-
- class PyProjectException(UserFileException):
- """ An exception related to a pyproject.toml file. """
-@@ -69,7 +74,8 @@ class PyProject:
- self.toml_error = None
-
- try:
-- self._pyproject = toml.load('pyproject.toml', _dict=OrderedDict)
-+ with open('pyproject.toml', 'rb') as f:
-+ self._pyproject = tomllib.load(f)
- except FileNotFoundError:
- self.toml_error = "there is no such file in the current directory"
- except Exception as e:
-@@ -174,4 +180,4 @@ class PyProject:
- def _is_section(value):
- """ Returns True if a section value is itself a section. """
-
-- return isinstance(value, (OrderedDict, list))
-+ return isinstance(value, (OrderedDict, dict, list))
diff --git a/dev-python/sip/sip-6.7.5-r1.ebuild b/dev-python/sip/sip-6.7.5-r1.ebuild
deleted file mode 100644
index a839024c9fa8..000000000000
--- a/dev-python/sip/sip-6.7.5-r1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-DISTUTILS_USE_PEP517=setuptools
-
-inherit distutils-r1
-
-DESCRIPTION="Python bindings generator for C/C++ libraries"
-HOMEPAGE="
- https://www.riverbankcomputing.com/software/sip/
- https://pypi.org/project/sip/
-"
-
-MY_P=${PN}-${PV/_pre/.dev}
-if [[ ${PV} == *_pre* ]]; then
- SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz"
-else
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
-fi
-S=${WORKDIR}/${MY_P}
-
-LICENSE="|| ( GPL-2 GPL-3 SIP )"
-SLOT="5"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86"
-
-RDEPEND="
- !<dev-python/sip-4.19.25-r1[${PYTHON_USEDEP}]
- !=dev-python/sip-5.5.0-r0[${PYTHON_USEDEP}]
- dev-python/packaging[${PYTHON_USEDEP}]
- dev-python/ply[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
- $(python_gen_cond_dep '
- dev-python/tomli[${PYTHON_USEDEP}]
- ' 3.{8..10})
-"
-
-distutils_enable_sphinx doc --no-autodoc
-
-PATCHES=(
- "${FILESDIR}"/${P}-tomli.patch
-)
diff --git a/dev-python/sip/sip-6.7.7.ebuild b/dev-python/sip/sip-6.7.7.ebuild
deleted file mode 100644
index 0c6d35c90af4..000000000000
--- a/dev-python/sip/sip-6.7.7.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-DISTUTILS_USE_PEP517=setuptools
-
-inherit distutils-r1
-
-DESCRIPTION="Python bindings generator for C/C++ libraries"
-HOMEPAGE="
- https://www.riverbankcomputing.com/software/sip/
- https://pypi.org/project/sip/
-"
-
-if [[ ${PV} == *_pre* ]]; then
- MY_P=${PN}-${PV/_pre/.dev}
- SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz"
- S=${WORKDIR}/${MY_P}
-else
- inherit pypi
-fi
-
-LICENSE="|| ( GPL-2 GPL-3 SIP )"
-SLOT="5"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86"
-
-RDEPEND="
- !<dev-python/sip-4.19.25-r1[${PYTHON_USEDEP}]
- !=dev-python/sip-5.5.0-r0[${PYTHON_USEDEP}]
- dev-python/packaging[${PYTHON_USEDEP}]
- dev-python/ply[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
- $(python_gen_cond_dep '
- dev-python/tomli[${PYTHON_USEDEP}]
- ' 3.{8..10})
-"
-
-distutils_enable_sphinx doc --no-autodoc
-
-PATCHES=(
- "${FILESDIR}"/${PN}-6.7.5-tomli.patch
-)