From 1d1fa5bb30df70070bbbbd2b777b839d31f09c41 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Tue, 12 Apr 2022 13:55:10 +0000 Subject: Adding metadata --- .../google-api-core-2.7.1-r1.ebuild | 66 +++++++++++++++++++++ dev-python/google-auth/Manifest | 3 - dev-python/google-auth/google-auth-2.3.3-r1.ebuild | 56 ------------------ dev-python/google-auth/google-auth-2.4.0.ebuild | 55 ------------------ dev-python/google-auth/google-auth-2.5.0.ebuild | 55 ------------------ dev-python/google-auth/google-auth-2.6.3-r1.ebuild | 57 ++++++++++++++++++ .../googleapis-common-protos-1.56.0-r1.ebuild | 28 +++++++++ dev-python/gpep517/Manifest | 1 + dev-python/gpep517/gpep517-3.ebuild | 44 ++++++++++++++ .../protobuf-python-3.19.3-r1.ebuild | 67 ++++++++++++++++++++++ .../protobuf-python/protobuf-python-9999.ebuild | 45 ++++++++------- dev-python/python-lsp-black/Manifest | 2 - .../python-lsp-black/python-lsp-black-1.0.1.ebuild | 23 -------- .../python-lsp-black/python-lsp-black-1.1.0.ebuild | 29 ---------- 14 files changed, 287 insertions(+), 244 deletions(-) create mode 100644 dev-python/google-api-core/google-api-core-2.7.1-r1.ebuild delete mode 100644 dev-python/google-auth/google-auth-2.3.3-r1.ebuild delete mode 100644 dev-python/google-auth/google-auth-2.4.0.ebuild delete mode 100644 dev-python/google-auth/google-auth-2.5.0.ebuild create mode 100644 dev-python/google-auth/google-auth-2.6.3-r1.ebuild create mode 100644 dev-python/googleapis-common-protos/googleapis-common-protos-1.56.0-r1.ebuild create mode 100644 dev-python/gpep517/gpep517-3.ebuild create mode 100644 dev-python/protobuf-python/protobuf-python-3.19.3-r1.ebuild delete mode 100644 dev-python/python-lsp-black/python-lsp-black-1.0.1.ebuild delete mode 100644 dev-python/python-lsp-black/python-lsp-black-1.1.0.ebuild (limited to 'dev-python') diff --git a/dev-python/google-api-core/google-api-core-2.7.1-r1.ebuild b/dev-python/google-api-core/google-api-core-2.7.1-r1.ebuild new file mode 100644 index 000000000000..950217af5a31 --- /dev/null +++ b/dev-python/google-api-core/google-api-core-2.7.1-r1.ebuild @@ -0,0 +1,66 @@ +# 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_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Core Library for Google Client Libraries" +HOMEPAGE="https://github.com/googleapis/python-api-core/ + https://googleapis.dev/python/google-api-core/latest/index.html" +SRC_URI="https://github.com/googleapis/${PN//google/python}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P//google/python}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + dev-python/protobuf-python[${PYTHON_USEDEP}] + dev-python/googleapis-common-protos[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] + /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-9999.ebuild b/dev-python/protobuf-python/protobuf-python-9999.ebuild index 1214f5495123..94ef5c83a9f0 100644 --- a/dev-python/protobuf-python/protobuf-python-9999.ebuild +++ b/dev-python/protobuf-python/protobuf-python-9999.ebuild @@ -1,7 +1,8 @@ # Copyright 2008-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI=8 + PYTHON_COMPAT=( python3_{7,8,9,10} ) inherit distutils-r1 @@ -14,32 +15,39 @@ if [[ "${PV}" == "9999" ]]; then 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="" -else - SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> protobuf-${PV}.tar.gz" +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="" -IUSE="" -BDEPEND="${PYTHON_DEPS} +BDEPEND=" + ${PYTHON_DEPS} ~dev-libs/protobuf-${PV} - dev-python/namespace-google[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}]" -DEPEND="${PYTHON_DEPS} - ~dev-libs/protobuf-${PV}" + dev-python/six[${PYTHON_USEDEP}] +" +DEPEND=" + ${PYTHON_DEPS} + ~dev-libs/protobuf-${PV} +" RDEPEND="${BDEPEND}" -S="${WORKDIR}/protobuf-${PV}/python" - 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 @@ -48,16 +56,11 @@ python_prepare_all() { distutils-r1_python_prepare_all } -python_configure_all() { - mydistutilsargs=(--cpp_implementation) -} - -python_test() { - esetup.py test +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/python-lsp-black/Manifest b/dev-python/python-lsp-black/Manifest index 564368dd1d3b..c5610989d9b9 100644 --- a/dev-python/python-lsp-black/Manifest +++ b/dev-python/python-lsp-black/Manifest @@ -1,3 +1 @@ -DIST python-lsp-black-1.0.1.gh.tar.gz 7013 BLAKE2B 596ef3f468524269fb2765ad7ba0f8305c9e67ec4cf826dbe68ea20058f1fc595c004b34c5228c14a70b6a489e29f370fef93cd7a9ef48d24ace3464ec7cd011 SHA512 43699438bf64b9cfb5dfa97b30385870a06d15be90d5a023c5282f1b969188e8536961c2a2ee6f1016d4b8188e4df6a81d6127dd628242bbcd3fbcc640504a24 -DIST python-lsp-black-1.1.0.gh.tar.gz 7547 BLAKE2B e362e3800763b28c9505e9548f2324299fac5db792cc98755b2f3e5db02cec3cf0061193aa5dda40a843f2db0abfc252b8ebf6ae12a403953bb334155e90b028 SHA512 47c1652e7c1732a01d0eaa29c3b36adaa484b4b61aed8f6a99967c734d43353173716946cd15ea247974ee7801daa57e34979f5ed9b52eb88fdf96830af8bd19 DIST python-lsp-black-1.2.0.gh.tar.gz 9226 BLAKE2B a9efe698c32ac86060f360e1d1129620783d0dd1588cf16b6f96a4f805845d5c94e862b265d63643e877afc68916ad0fbbe922fc0c17e224ea08f61756a3fb41 SHA512 b5f999b0e02abc63dc194a2973f028aa5f74b3110d0ac35e6aefb45a4260bf3fb5b1f142f71a85feec431765af98409977a47039d28a79cfac5746cc677794c7 diff --git a/dev-python/python-lsp-black/python-lsp-black-1.0.1.ebuild b/dev-python/python-lsp-black/python-lsp-black-1.0.1.ebuild deleted file mode 100644 index dc06aefd17eb..000000000000 --- a/dev-python/python-lsp-black/python-lsp-black-1.0.1.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Black plugin for the Python LSP Server" -HOMEPAGE="https://github.com/python-lsp/python-lsp-black - https://pypi.org/project/python-lsp-black/" -SRC_URI="https://github.com/python-lsp/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - dev-python/python-lsp-server[${PYTHON_USEDEP}] - >=dev-python/black-19[${PYTHON_USEDEP}] -" - -distutils_enable_tests --install pytest diff --git a/dev-python/python-lsp-black/python-lsp-black-1.1.0.ebuild b/dev-python/python-lsp-black/python-lsp-black-1.1.0.ebuild deleted file mode 100644 index 38163b5aa666..000000000000 --- a/dev-python/python-lsp-black/python-lsp-black-1.1.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Black plugin for the Python LSP Server" -HOMEPAGE="https://github.com/python-lsp/python-lsp-black - https://pypi.org/project/python-lsp-black/" -SRC_URI="https://github.com/python-lsp/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/python-lsp-server[${PYTHON_USEDEP}] - >=dev-python/black-19[${PYTHON_USEDEP}] -" - -BDEPEND="test? ( - dev-python/toml[${PYTHON_USEDEP}] -)" - -distutils_enable_tests pytest -- cgit v1.3.1