From 1a8ed4ffe9bd0f1f2bdf5cd1882325a0e04a0fb6 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [feature/flatten]" Date: Sun, 26 Jul 2020 18:35:20 +0000 Subject: Updating liguros repo --- dev-python/beautifulsoup/Manifest | 1 + .../beautifulsoup/beautifulsoup-4.8.2.ebuild | 2 +- .../beautifulsoup/beautifulsoup-4.9.1.ebuild | 34 ++++++++++++ dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.14.28-r1.ebuild | 52 ++++++++++++++++++ dev-python/boto3/boto3-9999.ebuild | 11 ++-- dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.17.28-r1.ebuild | 62 ++++++++++++++++++++++ dev-python/botocore/botocore-9999.ebuild | 51 +++++++++--------- dev-python/pypam/pypam-0.5.0-r5.ebuild | 46 ++++++++++++++++ 10 files changed, 227 insertions(+), 34 deletions(-) create mode 100644 dev-python/beautifulsoup/beautifulsoup-4.9.1.ebuild create mode 100644 dev-python/boto3/boto3-1.14.28-r1.ebuild create mode 100644 dev-python/botocore/botocore-1.17.28-r1.ebuild create mode 100644 dev-python/pypam/pypam-0.5.0-r5.ebuild (limited to 'dev-python') diff --git a/dev-python/beautifulsoup/Manifest b/dev-python/beautifulsoup/Manifest index c92891dad806..4e9620ac3f39 100644 --- a/dev-python/beautifulsoup/Manifest +++ b/dev-python/beautifulsoup/Manifest @@ -1 +1,2 @@ DIST beautifulsoup4-4.8.2.tar.gz 298650 BLAKE2B 6826abf793efa63be89d844bc25bdb105413196bfab21c18f3816fd59a7a771459bf2c7ee209b75b0c88dfa14da8f4625c948889acfb48502e2260ccca229675 SHA512 aab90eb22614e9a2fb47792389a951b3ad7faf9791e15984a6c27a38be6f3d0ccbf3a9753d9afb5c70105097ac1a9c5f9e07206e12c6d4cb7a7f6d4e90ec18c2 +DIST beautifulsoup4-4.9.1.tar.gz 374759 BLAKE2B 43f5dc296bd0c4967036fcb70889f988c0dfc9d8713f8bbab423c9089e87960323392458b3abb9b2332acff286efbbb308a5c77058462c15f8dfe9056f0304c3 SHA512 a1fe9cbfe8616d2ff25cc836769ff02d51ed86b06ca9a37366867b145440b7f64b866346600ed74820f0407c8e70eaac3d58700766a99b5ff7433cb736a57b3c diff --git a/dev-python/beautifulsoup/beautifulsoup-4.8.2.ebuild b/dev-python/beautifulsoup/beautifulsoup-4.8.2.ebuild index be62611f959a..08e03933962e 100644 --- a/dev-python/beautifulsoup/beautifulsoup-4.8.2.ebuild +++ b/dev-python/beautifulsoup/beautifulsoup-4.8.2.ebuild @@ -20,7 +20,7 @@ SLOT="4" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86" RDEPEND=" - dev-python/soupsieve[${PYTHON_USEDEP}] + <|=].*:\1:' \ - -i requirements.txt || die +PATCHES=( + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" + "${FILESDIR}/botocore-1.16.7-unlock-deps.patch" +) + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests nose + +src_prepare() { + # py3.9 + find -name '*.py' -exec \ + sed -i -e 's:cElementTree:ElementTree:' {} + || die + # very unstable + sed -i -e 's:test_stress_test_token_bucket:_&:' \ + tests/functional/retries/test_bucket.py || die + distutils-r1_src_prepare } python_test() { - PYTHONPATH="${BUILD_DIR}/lib" nosetests -v tests/unit || die "unit tests failed under ${EPYTHON}" - PYTHONPATH="${BUILD_DIR}/lib" nosetests -v tests/functional || die "functional tests failed under ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/build/html/. ) - - distutils-r1_python_install_all + # note: suites need to be run separately as one of the unit tests + # seems to be leaking mocks and breaking a few functional tests + nosetests -v tests/unit || + die "unit tests failed under ${EPYTHON}" + nosetests -v tests/functional || + die "functional tests failed under ${EPYTHON}" } diff --git a/dev-python/pypam/pypam-0.5.0-r5.ebuild b/dev-python/pypam/pypam-0.5.0-r5.ebuild new file mode 100644 index 000000000000..76c24c19dea2 --- /dev/null +++ b/dev-python/pypam/pypam-0.5.0-r5.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8,9} ) + +inherit distutils-r1 flag-o-matic + +MY_PN="PyPAM" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Python Bindings for PAM (Pluggable Authentication Modules)" +HOMEPAGE="https://www.pangalactic.org/PyPAM" +SRC_URI="http://www.pangalactic.org/PyPAM/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +DEPEND=">=sys-libs/pam-0.64" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +DOCS=( AUTHORS examples/pamtest.py ) + +PATCHES=( + # Pull patches from fedora. + "${FILESDIR}/PyPAM-${PV}-dealloc.patch" + "${FILESDIR}/PyPAM-${PV}-nofree.patch" + "${FILESDIR}/PyPAM-${PV}-memory-errors.patch" + "${FILESDIR}/PyPAM-${PV}-return-value.patch" + "${FILESDIR}/PyPAM-python3-support.patch" + # Fix a missing include. + "${FILESDIR}/${P}-stricter.patch" +) + +src_compile() { + append-cflags -fno-strict-aliasing + distutils-r1_src_compile +} + +python_test() { + "${PYTHON}" tests/PamTest.py +} -- cgit v1.3