diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-07-04 00:40:53 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-07-04 00:40:53 +0000 |
| commit | 2c45874c71c8b3fafd85fd336d590f9b63ca1188 (patch) | |
| tree | 668e519c69ab5107664c04450484cb8019547e2d /dev-python | |
| parent | d07294d739b9f3d95ce3b7550d410766bc4776b3 (diff) | |
| download | baldeagleos-repo-2c45874c71c8b3fafd85fd336d590f9b63ca1188.tar.gz baldeagleos-repo-2c45874c71c8b3fafd85fd336d590f9b63ca1188.tar.xz baldeagleos-repo-2c45874c71c8b3fafd85fd336d590f9b63ca1188.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/geventhttpclient/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/geventhttpclient/geventhttpclient-1.4.3.ebuild | 50 | ||||
| -rw-r--r-- | dev-python/hypothesis/hypothesis-5.16.0.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/importlib_resources/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/importlib_resources/importlib_resources-3.0.0.ebuild | 45 | ||||
| -rw-r--r-- | dev-python/tox/tox-3.15.2.ebuild | 2 |
6 files changed, 99 insertions, 2 deletions
diff --git a/dev-python/geventhttpclient/Manifest b/dev-python/geventhttpclient/Manifest index 6f2baae226d8..64e53ed868e3 100644 --- a/dev-python/geventhttpclient/Manifest +++ b/dev-python/geventhttpclient/Manifest @@ -1,2 +1,3 @@ DIST geventhttpclient-1.3.1.tar.gz 82598 BLAKE2B 5fef20a74c431ed53be4eedb3ec7e040572ad960363d41dda8b93c8f08f3eb05ba6160676c1c3ed957d1528a12aa297400063377f3788754e9e76401bb3421ae SHA512 a50486e1485c449a821176f0aa139cb05a3c7675fb045086e086cc7bb71d6e1d75191fae6972b381e7e69dba89d23c387464503845badd29fa361e03aa866079 DIST geventhttpclient-1.4.2.tar.gz 57535 BLAKE2B f3c17140698b1609d9953110790fb536d982782c60165c717b6cee290c0b8fa5ae99cd6935401b6b617f0bd021783dd3f836c7cff775f513b9084714da1575a7 SHA512 3252d27f07a4642ba34d449664f50451b2ca4e44dc508345133d21acf659251a66be72784bacd312c074de4025dd5e080bdf35c84d9f7d40057132184a4d285d +DIST geventhttpclient-1.4.3.tar.gz 57541 BLAKE2B 6b28cba862eb01bb1a298c2e228eac4f4bfbf91cd138d0e77f54a91184672f089d3233b7287940b3892fd7e732c924612044abba0704054112f8c0563d9ed741 SHA512 1360a95d367b3bbf03294be916f70f8c2e655b77180a7ff44e67a40508584500e4a0017416639c0a90a974fe53cc7895dc9c3f7bf43d3a34fc4484f804793c21 diff --git a/dev-python/geventhttpclient/geventhttpclient-1.4.3.ebuild b/dev-python/geventhttpclient/geventhttpclient-1.4.3.ebuild new file mode 100644 index 000000000000..4d3f4094b52b --- /dev/null +++ b/dev-python/geventhttpclient/geventhttpclient-1.4.3.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} ) + +inherit distutils-r1 + +DESCRIPTION="A high performance, concurrent HTTP client library for Python using gevent" +HOMEPAGE="https://github.com/gwik/geventhttpclient" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + dev-python/gevent[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +python_prepare_all() { + # Skip SNI tests which require dpkt + sed -i '/^import dpkt.ssl/d' src/geventhttpclient/tests/test_ssl.py || die + distutils-r1_python_prepare_all +} + +python_test() { + local skipped_tests=( + # Require dpkt + src/geventhttpclient/tests/test_ssl.py::test_implicit_sni_from_host_in_ssl + src/geventhttpclient/tests/test_ssl.py::test_implicit_sni_from_header_in_ssl + src/geventhttpclient/tests/test_ssl.py::test_explicit_sni_in_ssl + ) + # Append to sys.path to avoid ImportError + # https://bugs.gentoo.org/667758 + # Skip tests which require internet access + pytest --import-mode=append -vv ${skipped_tests[@]/#/--deselect } \ + -m "not online" || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/hypothesis/hypothesis-5.16.0.ebuild b/dev-python/hypothesis/hypothesis-5.16.0.ebuild index 494668bd6a8e..2455d57012e6 100644 --- a/dev-python/hypothesis/hypothesis-5.16.0.ebuild +++ b/dev-python/hypothesis/hypothesis-5.16.0.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/importlib_resources/Manifest b/dev-python/importlib_resources/Manifest index 15a372764ddf..1d1473b6b5b3 100644 --- a/dev-python/importlib_resources/Manifest +++ b/dev-python/importlib_resources/Manifest @@ -1,2 +1,3 @@ DIST importlib_resources-1.5.0.tar.gz 23660 BLAKE2B aed7a2d730f945505083812355a63d3a88e07b057cf46394f3475135143e535e33dc3ebded24d233797020c805dc35decf5c5ce53758798b093f03f2951daa87 SHA512 34d14c1ff3121cc6f9ef1d3d4417831e3476e9facfcc9b35152c28a59a2c75d7723f171f4b48852f79ec46cbf54b066580745744bc54d349e2bfe12a353a9aed DIST importlib_resources-2.0.1.tar.gz 26060 BLAKE2B 739cd7fd90cc12b5b586eb1bf3386b85cde2399e80cfe05cae5173ba5177fb1d15f7e44e7f78473ef03e37d563861f57b7c470782d1aab161eae4c40d530ca29 SHA512 7f62c5bb5650dd2689a41ddef2e9131f01d5edc99b284a7a4257fce18190f2e78c38a2c260d6fe5e6db122666435e079c417bd9011e68e35724932854c90a1bd +DIST importlib_resources-3.0.0.tar.gz 26725 BLAKE2B e2517b0d1e576ce949ac05230892acbad59c09fa4b84401b3c957e83f40b50d12bc02360b135fe949d12c43f8f557006824e4e4a3e9ff2ce879c03362569a00c SHA512 cd29e268cacef3729024af6cae8394ce5aa8c1d8a28397fd8f009c7eaa908ed3775508bde86c26b0d233c25261b8509abb1e16c378c7c8a9bb0906224f3fdd54 diff --git a/dev-python/importlib_resources/importlib_resources-3.0.0.ebuild b/dev-python/importlib_resources/importlib_resources-3.0.0.ebuild new file mode 100644 index 000000000000..39499d3eb2f2 --- /dev/null +++ b/dev-python/importlib_resources/importlib_resources-3.0.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# This is a backport of Python 3.9's importlib.resources +PYTHON_COMPAT=( pypy3 python{2_7,3_{6,7,8}} ) + +inherit distutils-r1 + +DESCRIPTION="Read resources from Python packages" +HOMEPAGE="https://importlib-resources.readthedocs.io/en/latest/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/contextlib2[${PYTHON_USEDEP}] + dev-python/pathlib2[${PYTHON_USEDEP}] + dev-python/singledispatch[${PYTHON_USEDEP}] + dev-python/typing[${PYTHON_USEDEP}] + ' -2) + $(python_gen_cond_dep 'dev-python/zipp[${PYTHON_USEDEP}]' pypy3 python3_{6,7}) +" +BDEPEND=" + dev-python/toml[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm-3.4.1[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest +distutils_enable_sphinx docs dev-python/rst-linker dev-python/jaraco-packaging + +python_compile() { + distutils-r1_python_compile + if ! python_is_python3; then + rm "${BUILD_DIR}/lib/importlib_resources/_py3.py" || die + fi +} + +python_install() { + distutils-r1_python_install --skip-build +} diff --git a/dev-python/tox/tox-3.15.2.ebuild b/dev-python/tox/tox-3.15.2.ebuild index 0365e6a79004..bc779e0a1099 100644 --- a/dev-python/tox/tox-3.15.2.ebuild +++ b/dev-python/tox/tox-3.15.2.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/tox-dev/tox/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 sparc ~x86" # doc disabled because of missing deps in tree IUSE="test" |
