From 8973f70e9a2ae4ea8a324e607ea1e8b96c7ff384 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 5 Jan 2023 18:09:32 +0000 Subject: gentoo auto-resync : 05:01:2023 - 18:09:32 --- dev-python/Manifest.gz | Bin 260459 -> 260437 bytes dev-python/google-api-core/Manifest | 8 --- .../google-api-core/google-api-core-2.10.0.ebuild | 73 ------------------- .../google-api-core/google-api-core-2.10.1.ebuild | 73 ------------------- .../google-api-core/google-api-core-2.10.2.ebuild | 73 ------------------- .../google-api-core/google-api-core-2.8.2.ebuild | 73 ------------------- dev-python/grpcio-testing/Manifest | 2 - .../grpcio-testing/grpcio-testing-1.43.0.ebuild | 22 ------ dev-python/grpcio-tools/Manifest | 2 - .../grpcio-tools/grpcio-tools-1.43.0-r1.ebuild | 35 --------- dev-python/grpcio/Manifest | 3 - .../grpcio/files/1.37.1-cc-flag-test-fix.patch | 26 ------- dev-python/grpcio/grpcio-1.43.0-r1.ebuild | 47 ------------ dev-python/nbconvert/Manifest | 4 +- dev-python/nbconvert/nbconvert-7.1.0.ebuild | 7 +- dev-python/nbconvert/nbconvert-7.2.7.ebuild | 7 +- dev-python/protobuf-python/Manifest | 12 ---- ...protobuf.pyext._message.PyUnknownFieldRef.patch | 42 ----------- .../protobuf-python-3.19.3-r2.ebuild | 70 ------------------ .../protobuf-python-3.19.3-r3.ebuild | 72 ------------------- .../protobuf-python/protobuf-python-3.19.6.ebuild | 79 --------------------- .../protobuf-python/protobuf-python-3.20.1.ebuild | 71 ------------------ .../protobuf-python/protobuf-python-3.20.3.ebuild | 79 --------------------- .../protobuf-python/protobuf-python-4.21.8.ebuild | 79 --------------------- dev-python/pytest-cov/Manifest | 2 +- dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild | 5 +- dev-python/python-dbusmock/Manifest | 2 + .../python-dbusmock/python-dbusmock-0.28.7.ebuild | 43 +++++++++++ 28 files changed, 62 insertions(+), 949 deletions(-) delete mode 100644 dev-python/google-api-core/google-api-core-2.10.0.ebuild delete mode 100644 dev-python/google-api-core/google-api-core-2.10.1.ebuild delete mode 100644 dev-python/google-api-core/google-api-core-2.10.2.ebuild delete mode 100644 dev-python/google-api-core/google-api-core-2.8.2.ebuild delete mode 100644 dev-python/grpcio-testing/grpcio-testing-1.43.0.ebuild delete mode 100644 dev-python/grpcio-tools/grpcio-tools-1.43.0-r1.ebuild delete mode 100644 dev-python/grpcio/files/1.37.1-cc-flag-test-fix.patch delete mode 100644 dev-python/grpcio/grpcio-1.43.0-r1.ebuild delete mode 100644 dev-python/protobuf-python/files/protobuf-python-3.19.0-google.protobuf.pyext._message.PyUnknownFieldRef.patch delete mode 100644 dev-python/protobuf-python/protobuf-python-3.19.3-r2.ebuild delete mode 100644 dev-python/protobuf-python/protobuf-python-3.19.3-r3.ebuild delete mode 100644 dev-python/protobuf-python/protobuf-python-3.19.6.ebuild delete mode 100644 dev-python/protobuf-python/protobuf-python-3.20.1.ebuild delete mode 100644 dev-python/protobuf-python/protobuf-python-3.20.3.ebuild delete mode 100644 dev-python/protobuf-python/protobuf-python-4.21.8.ebuild create mode 100644 dev-python/python-dbusmock/python-dbusmock-0.28.7.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 6e0d4e47c996..1698590ce89d 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/google-api-core/Manifest b/dev-python/google-api-core/Manifest index 304a9ac91907..5f6c5587b891 100644 --- a/dev-python/google-api-core/Manifest +++ b/dev-python/google-api-core/Manifest @@ -1,11 +1,3 @@ -DIST python-api-core-2.10.0.gh.tar.gz 180767 BLAKE2B 1f8d86fbd39c6bed927b2354c7e734ef2de563e2583bc4d9bff8121ae45b5538c67472a723e6c6990d1c5aa165ea83e3c1184fae2fd79ce2ea985aa89e057c7a SHA512 e4719eee37e04719d6ce7d0fe99e106ffdc8fba08f73d02f94b597f7c6fa4e57a0e28876b1c5baa2a9ce77220422f17d234b0d802d63238217a902fab65d546c -DIST python-api-core-2.10.1.gh.tar.gz 181127 BLAKE2B 5f900c48ed367cbee03079efd78f16f9c07c2bf976757496fe9cee1ebbed5a9fe52e6c4f9f2a8ea6b7739e82c2efe44f294a3fb2586e19240855737431508f94 SHA512 f66188cc154d39483dc23e15d3d8100e5b6851cf44fa52d6e1917016d295b5de37132627ef9044905ab4e28f7b2f2e5131ce00ed50631d83c66fa192b106904e -DIST python-api-core-2.10.2.gh.tar.gz 181173 BLAKE2B 181aa7ed47c64a231ee30e7719f3e3c271de14408466cbb41653e2eea4617058fcb60da31c77d98d33b0026352e6a3d5e61fabf03b480c596eb8aebfd5b8bab0 SHA512 4f2f98aad9638516e6e96ade137a1f6bf877c8a9d03537c11cf85e4550d19fe166ba1a2963d1dfde9931cea4e98d581d8f734644c3b623b78aedc4e2711e0aa8 DIST python-api-core-2.11.0.gh.tar.gz 187535 BLAKE2B e8029b6344b572e1dcc8455b95f3ee63c8d3684f0c8807793e4e6ba2dd0179c939f183144085c2b94a29b8a1ae0e39aeffceb632988702806665ec39c51e3ce5 SHA512 798ff3970027d7ce60dcb62a88d395ebf00454f902fda4f272fc240b9ec104af112dd9de479fb6761990c48931c8ccd8c5223a1b2b5fa44823cabac862efdba8 -DIST python-api-core-2.8.2.gh.tar.gz 164586 BLAKE2B bd62b20d1be52f0a2227d1663ee37ce31d991e0773ed793a3999b70c74e03a28ac188cc331027def0055a5b80e93378d9ec5baa389c65e7d2f183b37233be5ac SHA512 5844339cee71103650c446f002dcb13a632086d96dec1ed04a0ad5e4d3a61cc2a8e048da3e6445a50a0c009b0d25729f02865d28484bfee2a3427c829537e350 -EBUILD google-api-core-2.10.0.ebuild 2118 BLAKE2B 6a5f079686f99d6714db73d9061bf0ffbad66fa30101871663496018430b5e09db6405ef864ae79e5ff240d8d27d14f30ec9b5aa9969f6f7f8c54263d5aa31f7 SHA512 6e6ba79577c17242f63dc16bfd3f5bbcd976492411a8f170faf5d1ab81948897d71731d9b289f97d6c73942052288949d609e9f8657a7f67fa0d733c4701a311 -EBUILD google-api-core-2.10.1.ebuild 2118 BLAKE2B 6a5f079686f99d6714db73d9061bf0ffbad66fa30101871663496018430b5e09db6405ef864ae79e5ff240d8d27d14f30ec9b5aa9969f6f7f8c54263d5aa31f7 SHA512 6e6ba79577c17242f63dc16bfd3f5bbcd976492411a8f170faf5d1ab81948897d71731d9b289f97d6c73942052288949d609e9f8657a7f67fa0d733c4701a311 -EBUILD google-api-core-2.10.2.ebuild 2118 BLAKE2B 41b301d51305574ac03379643075989a9721c4e09fef9eac56304a4bbf86f11c3f429bcf7fb958e62fb7e4ba3474afb3d53012d75a68969f58ee38508b7fc395 SHA512 1b2050cf5604622ade0070a8ac93c3079ebea2441e2b2bf9b8a8629d28151326de82fec8a21ebd5b2b08ff712bcdb55b845a2264f40ef25eb7ab87fd356a3a84 EBUILD google-api-core-2.11.0.ebuild 2116 BLAKE2B d770e30fc0caab82867b5ec1503a3444127f1d67cd26802833538212cb98b32ca7a44f53bc39ee0efc86ede2c0627f3bfbfbd5cd1f773316a725f0174be52fbb SHA512 fd898807704698b6d69433c873002691d09319d6ca0a2d9c1fcbb82fa92e3998e49fb1f12def26f48b27ea6a1146d185251efb5e45ddc15c97017a6f8af99fc2 -EBUILD google-api-core-2.8.2.ebuild 2116 BLAKE2B 2de96b01871de23ecede06ab214e606d22fae01fb2f4f57a1ac1568f2a6044e898022df1c0311dd3e5b7a23af6c8a917b713e45de399914c1bb1573b2a54c880 SHA512 e203f44aa72c910a49ab836c45aa2766f428f89563333401169e181d4f273853512608c8938f949855a0bbfebe576b3965af5cf985b43ab360202c3a1a6f7112 MISC metadata.xml 519 BLAKE2B bf6ee9b3f0f7fe5fbfa5461aabf7872c803bd0483938da629ed6468017d82ac5b8736a52ef325374d7948a752ff1cfa6006aca2e833721f5a4a47f4adc5d8630 SHA512 d56b0312f5e5b5ba909c84af358bbfea98ea4098fbdd0ab562e0669a87a492facc05644d13fc38a196e1300f4cc1638b28cdcd10f412d753d71f8cf20a7fec62 diff --git a/dev-python/google-api-core/google-api-core-2.10.0.ebuild b/dev-python/google-api-core/google-api-core-2.10.0.ebuild deleted file mode 100644 index 1f782b73aa45..000000000000 --- a/dev-python/google-api-core/google-api-core-2.10.0.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 2020-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -MY_P=python-api-core-${PV} -DESCRIPTION="Core Library for Google Client Libraries" -HOMEPAGE=" - https://github.com/googleapis/python-api-core/ - https://pypi.org/project/google-api-core/ - https://googleapis.dev/python/google-api-core/latest/index.html -" -SRC_URI=" - https://github.com/googleapis/python-api-core/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -RDEPEND=" - >=dev-python/googleapis-common-protos-1.56.2[${PYTHON_USEDEP}] - >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}] - >=dev-python/protobuf-python-3.20.1[${PYTHON_USEDEP}] - >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] - -Date: Mon, 14 Jun 2021 19:38:37 -0700 -Subject: [PATCH] fix cc flag test - ---- - src/python/grpcio/commands.py | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/src/python/grpcio/commands.py b/src/python/grpcio/commands.py -index df8fc46..de71ea5 100644 ---- a/src/python/grpcio/commands.py -+++ b/src/python/grpcio/commands.py -@@ -234,7 +234,8 @@ class BuildExt(build_ext.build_ext): - """ - try: - # TODO(lidiz) Remove the generated a.out for success tests. -- cc_test = subprocess.Popen(['cc', '-x', 'c', '-std=c++11', '-'], -+ cc = os.environ.get('CC', 'cc') -+ cc_test = subprocess.Popen([cc, '-x', 'c', '-std=c++11', '-'], - stdin=subprocess.PIPE, - stdout=subprocess.PIPE, - stderr=subprocess.PIPE) --- -2.32.0 - diff --git a/dev-python/grpcio/grpcio-1.43.0-r1.ebuild b/dev-python/grpcio/grpcio-1.43.0-r1.ebuild deleted file mode 100644 index e27ff7b932cd..000000000000 --- a/dev-python/grpcio/grpcio-1.43.0-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 multiprocessing prefix - -DESCRIPTION="High-performance RPC framework (python libraries)" -HOMEPAGE="https://grpc.io" -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86" - -RDEPEND=" - >=dev-libs/openssl-1.1.1:0=[-bindist(-)] - >=dev-libs/re2-0.2021.11.01:= - >=dev-python/cython-0.28.3[${PYTHON_USEDEP}] - -Date: Fri, 28 Jan 2022 15:32:43 +0800 -Subject: [PATCH] protobuf-python-3.19.0: - google.protobuf.pyext._message.PyUnknownFieldRef - -Prevent integer overflow for unknown fields. - -https://github.com/protocolbuffers/protobuf/issues/6205 -https://github.com/protocolbuffers/protobuf/pull/7016 -https://github.com/protocolbuffers/protobuf/commit/5100be2b7746391c2724e2793e1428c36b63c98b - -Signed-off-by: Arfrever Frehtes Taifersar Arahesis -Signed-off-by: Yixun Lan ---- - python/google/protobuf/pyext/unknown_fields.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/python/google/protobuf/pyext/unknown_fields.cc b/python/google/protobuf/pyext/unknown_fields.cc -index 6d919b3..37e6eae 100644 ---- a/python/google/protobuf/pyext/unknown_fields.cc -+++ b/python/google/protobuf/pyext/unknown_fields.cc -@@ -275,13 +275,13 @@ static PyObject* GetData(PyUnknownFieldRef* self, void *closure) { - PyObject* data = NULL; - switch (field->type()) { - case UnknownField::TYPE_VARINT: -- data = PyLong_FromLong(field->varint()); -+ data = PyLong_FromUnsignedLongLong(field->varint()); - break; - case UnknownField::TYPE_FIXED32: -- data = PyLong_FromLong(field->fixed32()); -+ data = PyLong_FromUnsignedLong(field->fixed32()); - break; - case UnknownField::TYPE_FIXED64: -- data = PyLong_FromLong(field->fixed64()); -+ data = PyLong_FromUnsignedLongLong(field->fixed64()); - break; - case UnknownField::TYPE_LENGTH_DELIMITED: - data = PyBytes_FromStringAndSize(field->length_delimited().data(), --- -2.34.1 - diff --git a/dev-python/protobuf-python/protobuf-python-3.19.3-r2.ebuild b/dev-python/protobuf-python/protobuf-python-3.19.3-r2.ebuild deleted file mode 100644 index 4fb279abd7d0..000000000000 --- a/dev-python/protobuf-python/protobuf-python-3.19.3-r2.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 2008-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - - EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf" - EGIT_SUBMODULES=() -fi - -DESCRIPTION="Google's Protocol Buffers - Python bindings" -HOMEPAGE=" - https://developers.google.com/protocol-buffers/ - https://github.com/protocolbuffers/protobuf/ -" -if [[ "${PV}" != "9999" ]]; then - SRC_URI=" - https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz - -> protobuf-${PV}.tar.gz - " -fi -S="${WORKDIR}/protobuf-${PV}/python" - -LICENSE="BSD" -SLOT="0/30" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos" - -BDEPEND=" - ${PYTHON_DEPS} - ~dev-libs/protobuf-${PV} - dev-python/six[${PYTHON_USEDEP}] -" -DEPEND=" - ${PYTHON_DEPS} - ~dev-libs/protobuf-${PV} -" -RDEPEND=" - ${BDEPEND} - !dev-python/namespace-google -" - -if [[ "${PV}" == "9999" ]]; then - EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}" -fi - -distutils_enable_tests setup.py - -python_prepare_all() { - pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die - eapply "${FILESDIR}/${PN}-3.19.0-google.protobuf.pyext._message.PyUnknownFieldRef.patch" - eapply_user - popd > /dev/null || die - - distutils-r1_python_prepare_all -} - -src_configure() { - DISTUTILS_ARGS=(--cpp_implementation) -} - -python_install_all() { - distutils-r1_python_install_all - find "${ED}" -name "*.pth" -type f -delete || die -} diff --git a/dev-python/protobuf-python/protobuf-python-3.19.3-r3.ebuild b/dev-python/protobuf-python/protobuf-python-3.19.3-r3.ebuild deleted file mode 100644 index 3976006190c8..000000000000 --- a/dev-python/protobuf-python/protobuf-python-3.19.3-r3.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 2008-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - - EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf" - EGIT_SUBMODULES=() -fi - -DESCRIPTION="Google's Protocol Buffers - Python bindings" -HOMEPAGE=" - https://developers.google.com/protocol-buffers/ - https://github.com/protocolbuffers/protobuf/ - https://pypi.org/project/protobuf/ -" -if [[ "${PV}" != "9999" ]]; then - SRC_URI=" - https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz - -> protobuf-${PV}.tar.gz - " -fi -S="${WORKDIR}/protobuf-${PV}/python" - -LICENSE="BSD" -SLOT="0/30" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" - -BDEPEND=" - ${PYTHON_DEPS} - ~dev-libs/protobuf-${PV} - dev-python/six[${PYTHON_USEDEP}] -" -DEPEND=" - ${PYTHON_DEPS} - ~dev-libs/protobuf-${PV} -" -RDEPEND=" - ${BDEPEND} - !dev-python/namespace-google -" - -if [[ "${PV}" == "9999" ]]; then - EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}" -fi - -distutils_enable_tests setup.py - -python_prepare_all() { - pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die - eapply "${FILESDIR}/${PN}-3.19.0-google.protobuf.pyext._message.PyUnknownFieldRef.patch" - eapply_user - popd > /dev/null || die - - distutils-r1_python_prepare_all -} - -src_configure() { - DISTUTILS_ARGS=(--cpp_implementation) -} - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}/install" -name "*.pth" -type f -delete || die -} diff --git a/dev-python/protobuf-python/protobuf-python-3.19.6.ebuild b/dev-python/protobuf-python/protobuf-python-3.19.6.ebuild deleted file mode 100644 index dc9a76ba6458..000000000000 --- a/dev-python/protobuf-python/protobuf-python-3.19.6.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 2008-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -PARENT_PN="${PN/-python/}" -PARENT_PV="${PV}" -PARENT_P="${PARENT_PN}-${PARENT_PV}" - -if [[ "${PV}" == *9999 ]]; then - inherit git-r3 - - EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf.git" - EGIT_SUBMODULES=() - EGIT_CHECKOUT_DIR="${WORKDIR}/${PARENT_P}" -else - SRC_URI=" - https://github.com/protocolbuffers/protobuf/archive/v${PARENT_PV}.tar.gz - -> ${PARENT_P}.tar.gz - " - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" -fi - -DESCRIPTION="Google's Protocol Buffers - Python bindings" -HOMEPAGE=" - https://developers.google.com/protocol-buffers/ - https://pypi.org/project/protobuf/ -" - -LICENSE="BSD" -SLOT="0/30" - -S="${WORKDIR}/${PARENT_P}/python" - -BDEPEND=" -" -DEPEND=" - ${PYTHON_DEPS} -" -RDEPEND=" - ${BDEPEND} - dev-libs/protobuf:${SLOT} -" - -distutils_enable_tests setup.py - -# Same than PATCHES but from repository's root directory, -# please see function `python_prepare_all` below. -# Simplier for users IMHO. -PARENT_PATCHES=( - "${FILESDIR}/${PN}-3.19.0-google.protobuf.pyext._message.PyUnknownFieldRef.patch" -) - -# Here for patches within "python/" subdirectory. -PATCHES=( -) - -python_prepare_all() { - pushd "${WORKDIR}/${PARENT_P}" > /dev/null || die - [[ -n "${PARENT_PATCHES[@]}" ]] && eapply "${PARENT_PATCHES[@]}" - eapply_user - popd > /dev/null || die - - distutils-r1_python_prepare_all -} - -src_configure() { - DISTUTILS_ARGS=( --cpp_implementation ) -} - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}/install" -name "*.pth" -type f -delete || die -} diff --git a/dev-python/protobuf-python/protobuf-python-3.20.1.ebuild b/dev-python/protobuf-python/protobuf-python-3.20.1.ebuild deleted file mode 100644 index 2b318c1856aa..000000000000 --- a/dev-python/protobuf-python/protobuf-python-3.20.1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 2008-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - - EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf" - EGIT_SUBMODULES=() -fi - -DESCRIPTION="Google's Protocol Buffers - Python bindings" -HOMEPAGE=" - https://developers.google.com/protocol-buffers/ - https://github.com/protocolbuffers/protobuf/ - https://pypi.org/project/protobuf/ -" -if [[ "${PV}" != "9999" ]]; then - SRC_URI=" - https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz - -> protobuf-${PV}.tar.gz - " -fi -S="${WORKDIR}/protobuf-${PV}/python" - -LICENSE="BSD" -SLOT="0/30" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos" - -BDEPEND=" - ${PYTHON_DEPS} - ~dev-libs/protobuf-${PV} - dev-python/six[${PYTHON_USEDEP}] -" -DEPEND=" - ${PYTHON_DEPS} - ~dev-libs/protobuf-${PV} -" -RDEPEND=" - ${BDEPEND} - !dev-python/namespace-google -" - -if [[ "${PV}" == "9999" ]]; then - EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}" -fi - -distutils_enable_tests setup.py - -python_prepare_all() { - pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die - eapply_user - popd > /dev/null || die - - distutils-r1_python_prepare_all -} - -src_configure() { - DISTUTILS_ARGS=(--cpp_implementation) -} - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}/install" -name "*.pth" -type f -delete || die -} diff --git a/dev-python/protobuf-python/protobuf-python-3.20.3.ebuild b/dev-python/protobuf-python/protobuf-python-3.20.3.ebuild deleted file mode 100644 index 3b2a8fa16265..000000000000 --- a/dev-python/protobuf-python/protobuf-python-3.20.3.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 2008-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..11} ) - -inherit distutils-r1 - -PARENT_PN="${PN/-python/}" -PARENT_PV="${PV}" -PARENT_P="${PARENT_PN}-${PARENT_PV}" - -if [[ "${PV}" == *9999 ]]; then - inherit git-r3 - - EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf.git" - EGIT_SUBMODULES=() - EGIT_CHECKOUT_DIR="${WORKDIR}/${PARENT_P}" -else - SRC_URI=" - https://github.com/protocolbuffers/protobuf/archive/v${PARENT_PV}.tar.gz - -> ${PARENT_P}.tar.gz - " - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" -fi - -DESCRIPTION="Google's Protocol Buffers - Python bindings" -HOMEPAGE=" - https://developers.google.com/protocol-buffers/ - https://pypi.org/project/protobuf/ -" - -LICENSE="BSD" -SLOT="0/31" - -S="${WORKDIR}/${PARENT_P}/python" - -BDEPEND=" -" -DEPEND=" - ${PYTHON_DEPS} -" -RDEPEND=" - ${BDEPEND} - dev-libs/protobuf:${SLOT} -" - -distutils_enable_tests setup.py - -# Same than PATCHES but from repository's root directory, -# please see function `python_prepare_all` below. -# Simplier for users IMHO. -PARENT_PATCHES=( -) - -# Here for patches within "python/" subdirectory. -PATCHES=( - "${FILESDIR}"/${PN}-3.20.3-python311.patch -) - -python_prepare_all() { - pushd "${WORKDIR}/${PARENT_P}" > /dev/null || die - [[ -n "${PARENT_PATCHES[@]}" ]] && eapply "${PARENT_PATCHES[@]}" - eapply_user - popd > /dev/null || die - - distutils-r1_python_prepare_all -} - -src_configure() { - DISTUTILS_ARGS=( --cpp_implementation ) -} - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}/install" -name "*.pth" -type f -delete || die -} diff --git a/dev-python/protobuf-python/protobuf-python-4.21.8.ebuild b/dev-python/protobuf-python/protobuf-python-4.21.8.ebuild deleted file mode 100644 index 884546edf04c..000000000000 --- a/dev-python/protobuf-python/protobuf-python-4.21.8.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 2008-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..11} ) - -inherit distutils-r1 - -PARENT_PN="${PN/-python/}" -PARENT_PV="$(ver_cut 2-)" -PARENT_P="${PARENT_PN}-${PARENT_PV}" - -if [[ "${PV}" == *9999 ]]; then - inherit git-r3 - - EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf.git" - EGIT_SUBMODULES=() - EGIT_CHECKOUT_DIR="${WORKDIR}/${PARENT_P}" -else - SRC_URI=" - https://github.com/protocolbuffers/protobuf/archive/v${PARENT_PV}.tar.gz - -> ${PARENT_P}.tar.gz - " - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" -fi - -DESCRIPTION="Google's Protocol Buffers - Python bindings" -HOMEPAGE=" - https://developers.google.com/protocol-buffers/ - https://pypi.org/project/protobuf/ -" - -LICENSE="BSD" -SLOT="0/32" - -S="${WORKDIR}/${PARENT_P}/python" - -BDEPEND=" -" -DEPEND=" - ${PYTHON_DEPS} -" -RDEPEND=" - ${BDEPEND} - dev-libs/protobuf:${SLOT} -" - -distutils_enable_tests setup.py - -# Same than PATCHES but from repository's root directory, -# please see function `python_prepare_all` below. -# Simplier for users IMHO. -PARENT_PATCHES=( -) - -# Here for patches within "python/" subdirectory. -PATCHES=( - "${FILESDIR}"/${PN}-3.20.3-python311.patch -) - -python_prepare_all() { - pushd "${WORKDIR}/${PARENT_P}" > /dev/null || die - [[ -n "${PARENT_PATCHES[@]}" ]] && eapply "${PARENT_PATCHES[@]}" - eapply_user - popd > /dev/null || die - - distutils-r1_python_prepare_all -} - -src_configure() { - DISTUTILS_ARGS=( --cpp_implementation ) -} - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}/install" -name "*.pth" -type f -delete || die -} diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest index 3077c89d893d..78a8b88265ad 100644 --- a/dev-python/pytest-cov/Manifest +++ b/dev-python/pytest-cov/Manifest @@ -1,4 +1,4 @@ AUX pytest-cov-4.0.0-pytest-xdist-2.5.0.patch 750 BLAKE2B 018b270c47f1c19c19f9d72da935457a6042bcafa580d85f904d082fda9980d9a34579174b7b08551d6cedfbc6a6c7abd7be0216df0e21be64e49efe9d3dd1f5 SHA512 e8826ae013c7fb4cbe57975821faea9a8cfd2573befb4f961560e650cbced56e2dff3e02cde23e29e0bb5d06ce0d5893dc408c9e244ce014a5766c5a565f8efa DIST pytest-cov-4.0.0.tar.gz 62013 BLAKE2B af8a12955e3f22cd9dc257874f86c04c3c6e29f4af2d2838f37ca196c4955dcf4007c7b404f31c303d0eef6c3735fa1a6268c3bb9f01ed54860750ca2f83b6f5 SHA512 fb993be4d86b29a44e4f2ccd2309d99ab9fe8e6b291abbc2a8a3fc8b36479491165a242a20bfa9886dfd296fcc827da9984b556fdbe9a3ac496ac5b6ba379012 -EBUILD pytest-cov-4.0.0-r1.ebuild 1687 BLAKE2B 60ba31403563de56c214d30b40779c44522532a524b66cf0977f5a997a116b24c7deb7a6b40f8c2f5da55cb81c24498ff9e0168dd9b42b88e5f25a215d882a24 SHA512 b7f91b039f74d5a1db4d17d9e5b4275dd5f19319402e6a9b528515728b2b81e5df44ce36c7d4d0eae94da50827701f51b19b85e0317a1621e6c6bc9d12cd0e45 +EBUILD pytest-cov-4.0.0-r1.ebuild 1749 BLAKE2B 1a1e6baf23f9f4768ae538f556ca917826af9bfea6d956c950f7499b8591620ce91106cf26b5282a2273a651aca9d1910945c99f995acf63845a28a4ae14d91a SHA512 bca3d50ac69875c604cba599305c3ab8e240047d3293f5a76cdd094f882a05d77aa8f328f65a1f3cd1a5a1c8b62869a2eb413287730503bfd3b48e3476792d59 MISC metadata.xml 412 BLAKE2B 0d79131c6fd8adf72493a7c333959e065cf4f2231f6c770800b6d05ff9afcc246cd202406bea6e28f6b0fd23ee6197aa8dac2dd59d0a89d9b07741f57e8fa5e8 SHA512 d1aab9ea8042bf810398a4195fd3595a8abbeb060ab38fd7b7e40085c8d5f22ecb78bab02e2331d4588199d88e0d3848413d75a18fe4373ecd9940a3c990c604 diff --git a/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild b/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild index 50a1d98287f1..56d8ce2bc1bb 100644 --- a/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild +++ b/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild @@ -53,9 +53,12 @@ python_test() { tests/test_pytest_cov.py::test_contexts ) + local src=$( + "${EPYTHON}" -c "import coverage as m; print(*m.__path__)" || die + ) # TODO: why do we need to do that?! # https://github.com/pytest-dev/pytest-cov/issues/517 - ln -s "${BROOT}$(python_get_sitedir)/coverage" \ + ln -s "${src}/coverage" \ "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die epytest diff --git a/dev-python/python-dbusmock/Manifest b/dev-python/python-dbusmock/Manifest index ca9e181a1192..bd997cf22418 100644 --- a/dev-python/python-dbusmock/Manifest +++ b/dev-python/python-dbusmock/Manifest @@ -1,3 +1,5 @@ DIST python-dbusmock-0.28.6.gh.tar.gz 90579 BLAKE2B 12b4ee02ae6b828b908b203a351f5b88d25193bb1250a0d25bc90b0ac2a244c4ef577bdacb2dbbb9220ba93d785791d900c9035d8d5c3a21aa744b5f850d16c9 SHA512 1efc1a42fc5cc56d683f0f4d022877020f15d81a557c54f47619c704ca2f67716c1fbdb890f987d01f78b7786528a71de8dbfe84228baa41351eb751fc4cce61 +DIST python-dbusmock-0.28.7.gh.tar.gz 91302 BLAKE2B edad30e569652b2fc8e2f7437e818eece2b88be460ca31eab0be6a6951f0690a295fa1af3f7a490794bcc454e021cea3e153b300ce55883a9cf8010aac8212a4 SHA512 d0fea9ad3a9f76af75f48a4e645f8ed70efde880043c9b843bc8cac53eca891c45fa9c74cefab63a820397886757ac0dc9c5f43aaf7604aa302c794aedb7bb46 EBUILD python-dbusmock-0.28.6-r1.ebuild 1016 BLAKE2B 5349ec64090a36fa6605e7ac4da695ea6d586c340747de1f8127b331d2b61c15b332fd8a209148cd4c2f33e76e1b745e76c599635445609e8cb24b39dc0596ff SHA512 64e2fe3ec0ec086f1ee6cab33aa5f8588d94f703b68706fafc3014afa055bf3a3fc8edf65313525736457231b6c4b6a8d5034ab93ace80e988b565ebf64ded21 +EBUILD python-dbusmock-0.28.7.ebuild 1023 BLAKE2B e262ba426b57542b50788c6ab987bc289ceafa7099a2f9d944c5fa1b9abb1e04ad3281dcfba8eb4c3baae62883686618c1bc5dada0fbaaf00ccb0636cc224e83 SHA512 dbf99ad47e458656f608e2f897cbb8b878db98fdb106aaeea3e7d3a8d1b8430a42a39b984946372d27520f68fa143b87f2a07d2d298b39b6087820fda1d7a362 MISC metadata.xml 523 BLAKE2B 85fe2f51626a9c5de1376ebb88d908ea3c0a4e47d940f4a6730c72762f8e457b056a2ef080da519fec5ec15338eb2eb0d590cf5f20a7f711e40e7c97def84c51 SHA512 6718af48a4b968687e8eb1ddfefc1e21d4fda774d3e3d94e198c77c745761d3ab13e1bb4c34b65e6dff11c9a1b5f6018d53b113967784445bea71788fb3344b1 diff --git a/dev-python/python-dbusmock/python-dbusmock-0.28.7.ebuild b/dev-python/python-dbusmock/python-dbusmock-0.28.7.ebuild new file mode 100644 index 000000000000..9890f3764249 --- /dev/null +++ b/dev-python/python-dbusmock/python-dbusmock-0.28.7.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 + +DESCRIPTION="Easily create mock objects on D-Bus for software testing" +HOMEPAGE=" + https://github.com/martinpitt/python-dbusmock/ + https://pypi.org/project/python-dbusmock/ +" +SRC_URI=" + https://github.com/martinpitt/python-dbusmock/releases/download/${PV}/${P}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # linter tests, fragile to newer linter versions + tests/test_code.py +) + +src_prepare() { + # dev-python/dbus-python uses autotools, so no .dist-info there + sed -i '/dbus-python/d' pyproject.toml setup.cfg || die + + distutils-r1_src_prepare +} -- cgit v1.2.3