From e83e26c4679923fac83dcd649f7d088e866bb477 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 12 Nov 2020 05:42:32 +0000 Subject: Updating liguros repo --- dev-python/bottle/Manifest | 1 + dev-python/bottle/bottle-0.12.19.ebuild | 48 +++++++++++++++ dev-python/cliff/Manifest | 1 + dev-python/cliff/cliff-3.5.0.ebuild | 41 +++++++++++++ dev-python/genson/genson-1.1.0.ebuild | 2 + dev-python/numpy/numpy-1.19.2.ebuild | 2 +- dev-python/pipenv/Manifest | 1 + dev-python/pipenv/pipenv-2020.11.4.ebuild | 52 ++++++++++++++++ .../pytest-asyncio/pytest-asyncio-0.14.0.ebuild | 2 +- dev-python/requests/Manifest | 1 + dev-python/requests/requests-2.25.0.ebuild | 56 ++++++++++++++++++ .../uncertainties/uncertainties-3.1.4-r1.ebuild | 37 ++++++++++++ .../uncertainties/uncertainties-3.1.4.ebuild | 40 ------------- dev-python/urllib3/Manifest | 1 + dev-python/urllib3/urllib3-1.26.1.ebuild | 69 ++++++++++++++++++++++ 15 files changed, 312 insertions(+), 42 deletions(-) create mode 100644 dev-python/bottle/bottle-0.12.19.ebuild create mode 100644 dev-python/cliff/cliff-3.5.0.ebuild create mode 100644 dev-python/pipenv/pipenv-2020.11.4.ebuild create mode 100644 dev-python/requests/requests-2.25.0.ebuild create mode 100644 dev-python/uncertainties/uncertainties-3.1.4-r1.ebuild delete mode 100644 dev-python/uncertainties/uncertainties-3.1.4.ebuild create mode 100644 dev-python/urllib3/urllib3-1.26.1.ebuild (limited to 'dev-python') diff --git a/dev-python/bottle/Manifest b/dev-python/bottle/Manifest index f8636ed54391..b40f921fa196 100644 --- a/dev-python/bottle/Manifest +++ b/dev-python/bottle/Manifest @@ -1 +1,2 @@ DIST bottle-0.12.18.tar.gz 71557 BLAKE2B a34cc1ab9a2a8505b7fda8bbddbae30b4e6c4829cae53f0f886237a21fdfa7f2b2463b216d7a16464539f41bdce4c1dabb5cc66027b8fdd19b10e9a78a3cdbb5 SHA512 db8a341cd80d755205518bb9eac5b79dca9e541ab3ad9d9d57f891d895f7df75a8facd16b068cbdf7c4f884f35e384449f4cbd565a43e9c5d000d3a9f5b7dcb0 +DIST bottle-0.12.19.tar.gz 73142 BLAKE2B e59d7a507d3401869ba4953a48274062fc56226afa2f7aad596b4ef4352e4a79cea2d224dfe32d7ce014e4f4a3ba088d0e7a0886f64a84bb6b78571e953fa3c3 SHA512 e5d2f6a32d1b89ae3cc9607456c0614db2b58882c6d36273d695c51d3d77b1858cac4d914dbf19bca3b74be68c197aa6473f162e40d9b7ae2af3a084a28c2637 diff --git a/dev-python/bottle/bottle-0.12.19.ebuild b/dev-python/bottle/bottle-0.12.19.ebuild new file mode 100644 index 000000000000..4f9d79ca9b22 --- /dev/null +++ b/dev-python/bottle/bottle-0.12.19.ebuild @@ -0,0 +1,48 @@ +# 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} pypy3 ) + +inherit distutils-r1 optfeature + +DESCRIPTION="A fast and simple micro-framework for small web-applications" +HOMEPAGE="https://pypi.org/project/bottle/ https://bottlepy.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( dev-python/mako[${PYTHON_USEDEP}] )" +RDEPEND="" + +PATCHES=( + "${FILESDIR}"/${PN}-0.12.8-py3.5-backport.patch +) + +python_prepare_all() { + sed -i -e '/scripts/d' setup.py || die + + # Remove test file requring connection to network + rm test/test_server.py || die + distutils-r1_python_prepare_all +} + +python_test() { + # A few odd fails in the suite under pypy + # https://github.com/bottlepy/bottle/issues/714 + "${EPYTHON}" test/testall.py || die "tests failed under ${EPYTHON}" +} + +pkg_postinst() { + optfeature "Templating support" dev-python/mako + elog "Due to problems with bottle.py being in /usr/bin (see bug #474874)" + elog "we do as most other distros and do not install the script anymore." + elog "If you do want/have to call it directly rather than through your app," + elog "please use the following instead:" + elog ' `python -m bottle`' +} diff --git a/dev-python/cliff/Manifest b/dev-python/cliff/Manifest index 2d357f1db111..6a03bc74cc1f 100644 --- a/dev-python/cliff/Manifest +++ b/dev-python/cliff/Manifest @@ -1 +1,2 @@ DIST cliff-3.4.0.tar.gz 78990 BLAKE2B d7d8209e2fe24614cde6d3e113eb0dbbba981addef045fe318143e71f9a240188c0fb74e831d868b31b6dafb4289f7beabfbb5fe1dade1df196f670c53a55549 SHA512 d625588f4eed0aeee549b4a21e604f1cb886b8c10a12df7c546a5292223ec5bf9067352b4d326d5710673dab56eec47e2fb46c9c5d5df6e9fbf026d030bcde1c +DIST cliff-3.5.0.tar.gz 82997 BLAKE2B f169770a0a956e6091e56eccda8d10906bee09bdb03b474f3b17837b3eda858f3afd21beae1d6945bcdabfa89fc1555d13d70ddd0454a10fe05bfb63c8de75e7 SHA512 215f22e5dd2c4c17bd0f19866189b6b247377a7d5bddeb4a07b7536af7545bd0440b5fb0a98474fc018e3b12f6695f60028c012f3e7eeb6498b20f2923939d08 diff --git a/dev-python/cliff/cliff-3.5.0.ebuild b/dev-python/cliff/cliff-3.5.0.ebuild new file mode 100644 index 000000000000..5ffb0ffdc9a1 --- /dev/null +++ b/dev-python/cliff/cliff-3.5.0.ebuild @@ -0,0 +1,41 @@ +# 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} ) +# TODO: revert to rdepend once this is merged +# https://github.com/openstack/cliff/pull/3 +DISTUTILS_USE_SETUPTOOLS=manual + +inherit distutils-r1 + +DESCRIPTION="Command Line Interface Formulation Framework" +HOMEPAGE="https://github.com/openstack/cliff" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/cmd2-0.8.0[${PYTHON_USEDEP}] + =dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-2.0.1[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.12.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] + !~dev-python/pbr-2.1.0 + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/sphinx[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/genson/genson-1.1.0.ebuild b/dev-python/genson/genson-1.1.0.ebuild index ae95f6c737a2..528882179571 100644 --- a/dev-python/genson/genson-1.1.0.ebuild +++ b/dev-python/genson/genson-1.1.0.ebuild @@ -5,6 +5,8 @@ EAPI=7 PYTHON_COMPAT=( python3_{5,6,7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + inherit distutils-r1 DESCRIPTION="GenSON is a powerful, user-friendly JSON Schema generator built in Python" diff --git a/dev-python/numpy/numpy-1.19.2.ebuild b/dev-python/numpy/numpy-1.19.2.ebuild index ffdebcafcae5..93e962d37397 100644 --- a/dev-python/numpy/numpy-1.19.2.ebuild +++ b/dev-python/numpy/numpy-1.19.2.ebuild @@ -24,7 +24,7 @@ SRC_URI=" )" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc lapack" RDEPEND=" diff --git a/dev-python/pipenv/Manifest b/dev-python/pipenv/Manifest index 0d32f4ddc0de..a5728565415c 100644 --- a/dev-python/pipenv/Manifest +++ b/dev-python/pipenv/Manifest @@ -1 +1,2 @@ +DIST pipenv-2020.11.4.tar.gz 11574683 BLAKE2B cb2ac4ba6b07377a3a5540b23756afac38a02691e495ba93031815417d001701b919221fd83d0f9e6b94d4f28c1fa754c2c31e289830305a8c8ac75d847209c4 SHA512 c9015eb9a449fa517f31619d1fec5d99882da915a50e189ba6ab9c7c147862f9734f0df200330d666380afe5d2cf52d18015c539635ca6459042ab50d3ccd059 DIST pipenv-2020.8.13.tar.gz 11573493 BLAKE2B ac6c6f0336f0c675f73fbecfdefe158eb2a53b5aa4559850b3c9a050404d9d18b0ff2ca3cb62031da027937244a6bbb0d4c1ec433073e429518ec0ea908cb12e SHA512 90ccaf386bc68d856ee9c645084cb65c4213902a8c87e2059cc2274b88d922c3b02c58c15d05945e1f61e8b816ef92a11672cadaf125143bd5019ab25ff0b19e diff --git a/dev-python/pipenv/pipenv-2020.11.4.ebuild b/dev-python/pipenv/pipenv-2020.11.4.ebuild new file mode 100644 index 000000000000..23aa8e7e8a76 --- /dev/null +++ b/dev-python/pipenv/pipenv-2020.11.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) + +inherit distutils-r1 + +MY_PV=${PV/_beta/b} +DESCRIPTION="Python Development Workflow for Humans" +HOMEPAGE="https://github.com/pypa/pipenv https://pypi.org/project/pipenv/" +SRC_URI="https://github.com/pypa/pipenv/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/${PN}-${MY_PV} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + ${PYTHON_DEPS} + dev-python/certifi[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.0.35[${PYTHON_USEDEP}] + dev-python/virtualenv-clone[${PYTHON_USEDEP}] + " + +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + =dev-python/trustme-0.5.3[\${PYTHON_USEDEP}] + >=www-servers/tornado-4.2.1[\${PYTHON_USEDEP}] + " python3_{6,7,8,9}) + ) +" + +distutils_enable_sphinx docs \ + dev-python/alabaster \ + dev-python/mock + +python_prepare_all() { + # https://github.com/urllib3/urllib3/issues/1756 + sed -e 's:10.255.255.1:240.0.0.0:' \ + -i test/__init__.py || die + # tests failing if 'localhost.' cannot be resolved + sed -e 's:test_dotted_fqdn:_&:' \ + -i test/with_dummyserver/test_https.py || die + sed -e 's:test_request_host_header_ignores_fqdn_dot:_&:' \ + -i test/with_dummyserver/test_socketlevel.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x CI=1 + # FIXME: get tornado ported + case ${EPYTHON} in + python3*) + pytest -vv || die "Tests fail with ${EPYTHON}" + ;; + esac +} -- cgit v1.3.1