From f03c6a3ef06c73fad7ea26ad7d7d1086a1062ade Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [feature/flatten]" Date: Sat, 10 Oct 2020 01:20:16 +0000 Subject: Updating liguros repo --- dev-python/grpcio/grpcio-1.32.0-r1.ebuild | 45 +++++++++++ dev-python/grpcio/grpcio-1.32.0.ebuild | 43 ---------- dev-python/pytest-rerunfailures/Manifest | 1 + .../pytest-rerunfailures-8.0.ebuild | 4 + .../pytest-rerunfailures-9.1.1.ebuild | 21 +++++ dev-python/python-ldap/Manifest | 1 + dev-python/python-ldap/python-ldap-3.3.1.ebuild | 91 ++++++++++++++++++++++ 7 files changed, 163 insertions(+), 43 deletions(-) create mode 100644 dev-python/grpcio/grpcio-1.32.0-r1.ebuild delete mode 100644 dev-python/grpcio/grpcio-1.32.0.ebuild create mode 100644 dev-python/pytest-rerunfailures/pytest-rerunfailures-9.1.1.ebuild create mode 100644 dev-python/python-ldap/python-ldap-3.3.1.ebuild (limited to 'dev-python') diff --git a/dev-python/grpcio/grpcio-1.32.0-r1.ebuild b/dev-python/grpcio/grpcio-1.32.0-r1.ebuild new file mode 100644 index 000000000000..844b447c13f9 --- /dev/null +++ b/dev-python/grpcio/grpcio-1.32.0-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) + +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 ~x86" + +RDEPEND=" + >=dev-libs/openssl-1.0.2:0=[-bindist] + >=dev-python/cython-0.28.3[${PYTHON_USEDEP}] + dev-python/protobuf-python[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + net-dns/c-ares:= + sys-libs/zlib:= +" + +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}/1.32.0-setup.py-respect-CC-variable-in-latomic-test.patch" ) + +python_prepare_all() { + distutils-r1_python_prepare_all + hprefixify setup.py +} + +python_configure_all() { + # os.environ.get('GRPC_BUILD_WITH_BORING_SSL_ASM', True) + export GRPC_BUILD_WITH_BORING_SSL_ASM= + export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=1 + export GRPC_PYTHON_BUILD_SYSTEM_CARES=1 + export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 + export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 + export GRPC_PYTHON_BUILD_WITH_CYTHON=1 + export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" +} diff --git a/dev-python/grpcio/grpcio-1.32.0.ebuild b/dev-python/grpcio/grpcio-1.32.0.ebuild deleted file mode 100644 index 43fe00a8a892..000000000000 --- a/dev-python/grpcio/grpcio-1.32.0.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{5,6,7,8,9} ) - -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 ~x86" - -RDEPEND=" - >=dev-libs/openssl-1.0.2:0=[-bindist] - >=dev-python/cython-0.28.3[${PYTHON_USEDEP}] - dev-python/protobuf-python[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - net-dns/c-ares:= - sys-libs/zlib:= -" - -DEPEND="${RDEPEND}" - -PATCHES=( "${FILESDIR}/1.32.0-setup.py-respect-CC-variable-in-latomic-test.patch" ) - -python_prepare_all() { - distutils-r1_python_prepare_all - hprefixify setup.py -} - -python_configure_all() { - export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=1 - export GRPC_PYTHON_BUILD_SYSTEM_CARES=1 - export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 - export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 - export GRPC_PYTHON_BUILD_WITH_CYTHON=1 - export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" -} diff --git a/dev-python/pytest-rerunfailures/Manifest b/dev-python/pytest-rerunfailures/Manifest index ee1dbdb48290..f6db4036af72 100644 --- a/dev-python/pytest-rerunfailures/Manifest +++ b/dev-python/pytest-rerunfailures/Manifest @@ -1 +1,2 @@ DIST pytest-rerunfailures-8.0.tar.gz 13207 BLAKE2B 8a086783c5b6dae311aaa943a5c0eb56f5fbce4f687faf97ea0046bbce557cb82f8acd612247d235e249ef1a97157d3c356cf546b3d25a3dc4a4122286fcc04c SHA512 538fe5ca579ec50fc1689c4b7df3a55e0bdb08f87c2dfeb219ee141ef67c6c74a324c64f183f3ff85a5289ecfb54beef0fde2105eb0ae888ed861a15194a9dc5 +DIST pytest-rerunfailures-9.1.1.tar.gz 12435 BLAKE2B b2118fe9460ebb750c72b05762d70cf53703e4c9982c6343ef02ebcec6630598ac98998ff994268b9108bd6850e71fd5b9cde1d0abb727d33fad238e9b26fa61 SHA512 875591306ab010494ccbb865ea6445ab37422fce9105260d9495215af44057210564aca4fed3b4765b5a30c1cbef120de716d15d10a6db91dcb7d9f5b4f3b102 diff --git a/dev-python/pytest-rerunfailures/pytest-rerunfailures-8.0.ebuild b/dev-python/pytest-rerunfailures/pytest-rerunfailures-8.0.ebuild index dba38c92b890..a521c67be7f0 100644 --- a/dev-python/pytest-rerunfailures/pytest-rerunfailures-8.0.ebuild +++ b/dev-python/pytest-rerunfailures/pytest-rerunfailures-8.0.ebuild @@ -15,4 +15,8 @@ SLOT="0" LICENSE="MPL-2.0" KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux" +RDEPEND=" + /dev/null || die + pytest -vv ${ignored_tests[@]/#/--ignore } \ + || die "tests failed with ${EPYTHON}" + popd > /dev/null || die +} + +python_install() { + distutils-r1_python_install + python_optimize +} + +python_install_all() { + if use examples; then + docinto examples + dodoc -r Demo/. + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all +} -- cgit v1.3