diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-10-24 12:31:29 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-10-24 12:31:29 +0000 |
| commit | b7864809c53db961b7b24f7ef7fb16499906eedd (patch) | |
| tree | de52db95e036c5b4fe429d681f82d8ffa75afea3 /dev-python | |
| parent | e7c94259979388ca1a0521926054bcdf87dbadae (diff) | |
| download | baldeagleos-repo-b7864809c53db961b7b24f7ef7fb16499906eedd.tar.gz baldeagleos-repo-b7864809c53db961b7b24f7ef7fb16499906eedd.tar.xz baldeagleos-repo-b7864809c53db961b7b24f7ef7fb16499906eedd.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/aiohttp/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/aiohttp/aiohttp-3.7.0.ebuild | 83 | ||||
| -rw-r--r-- | dev-python/hypothesis/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/hypothesis/hypothesis-5.37.5.ebuild | 63 | ||||
| -rw-r--r-- | dev-python/progress/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/pycurl/pycurl-7.43.0.6.ebuild | 2 |
6 files changed, 150 insertions, 2 deletions
diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest index 0d77d5957428..d802667b5d89 100644 --- a/dev-python/aiohttp/Manifest +++ b/dev-python/aiohttp/Manifest @@ -1 +1,2 @@ DIST aiohttp-3.6.2.tar.gz 1076923 BLAKE2B 14327a0bc5b5fffdf436a4c3525e4c25d80100aa464ed652316f7724c2bea6de4ace6c27e8a2a8cf9d895673ed63ed52e8c958ad611636e1e524a4e40efa4735 SHA512 49bd3089158c05ff6312420190ccd7fed95efb4a18b8aff7497d5507c71c692080d6949801edabdcd95379ca8e6614398408118d72ff1e782399e059e2cfc1a8 +DIST aiohttp-3.7.0.tar.gz 1112272 BLAKE2B 73dffecc54e47806a7827ca3f6a18cca2121cece368e691b6ba31495affc66c3a4ef67279f218c7972d4a7e71ac123a329d6b2e9ca22dc0afb3b7373d9ab0726 SHA512 97083c2cf294e7324aaa68c36b2e0e352e588b96cd6856308ce1303b5da2df3f3cabcdcde59dc108b6d70c068901dd14ad6a883ee9e25c6b00738e30e3d8f852 diff --git a/dev-python/aiohttp/aiohttp-3.7.0.ebuild b/dev-python/aiohttp/aiohttp-3.7.0.ebuild new file mode 100644 index 000000000000..cacf724a4d5d --- /dev/null +++ b/dev-python/aiohttp/aiohttp-3.7.0.ebuild @@ -0,0 +1,83 @@ +# 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 + +DESCRIPTION="http client/server for asyncio" +HOMEPAGE="https://pypi.org/project/aiohttp/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" + >=dev-python/async_timeout-3.0.0[${PYTHON_USEDEP}] + >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] + >=dev-python/yarl-1.0[${PYTHON_USEDEP}] + dev-python/idna-ssl[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + ${COMMON_DEPEND} + !!dev-python/pytest-aiohttp + dev-python/async_generator[${PYTHON_USEDEP}] + dev-python/brotlipy[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + www-servers/gunicorn[${PYTHON_USEDEP}] + >=dev-python/pytest-3.4.0[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) +" +RDEPEND="${COMMON_DEPEND}" + +DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) + +distutils_enable_sphinx docs \ + '>=dev-python/alabaster-0.6.2' \ + 'dev-python/sphinxcontrib-asyncio' \ + 'dev-python/sphinxcontrib-blockdiag' \ + 'dev-python/sphinxcontrib-newsfeed' \ + 'dev-python/sphinxcontrib-spelling' \ + 'dev-python/sphinx' \ + 'dev-python/sphinx-aiohttp-theme' + +distutils_enable_tests pytest || die "Tests fail with ${EPYTHON}" + +python_prepare_all() { + # Fails due to a warning + sed -e 's:test_read_boundary_with_incomplete_chunk:_&:' \ + -i tests/test_multipart.py || die + # with py3.7+ + sed -e 's:test_aiohttp_request_coroutine:_&:' \ + -i tests/test_client_functional.py || die + + # Fails due to path mismatch + sed -e 's:test_static:_&:' \ + -i tests/test_route_def.py || die + + # Internet + sed -e 's:test_mark_formdata_as_processed:_&:' \ + -i tests/test_formdata.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + pushd "${BUILD_DIR}/lib" >/dev/null || die + ln -snf "${S}"/{LICENSE.txt,tests} . || die + pytest -vv tests || die "Tests fail with ${EPYTHON}" + rm -rf .pytest_cache tests || die + popd >/dev/null || die +} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 5771ddef9f64..0dca7bc6ebae 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -2,3 +2,4 @@ DIST hypothesis-python-5.24.4.tar.gz 9054743 BLAKE2B 5c64c86ed58d8f0e4a07390b1b1 DIST hypothesis-python-5.35.4.tar.gz 9084892 BLAKE2B 5545f2b1f3e97eafb4c83d7918f1558124102b1b58854bf0ca3a75fa3f6f08c0cc862c0ec32f5fdcbbf12e6cfc849e7081fe82ab0bb24e6de8fe41108525816b SHA512 db26d0b8d23b753c4880e0ee54ef89957c68c75496847aaefd538196188e7734513d737e2073bdced5eb7a8677b096b2cf9d6d48e572922d8a3e5a5c930bc795 DIST hypothesis-python-5.36.2.tar.gz 9088227 BLAKE2B 578c28d045f3b3f288d43765d556f1e7bbde661684b71f6379df3eba516d8ece86f31a38a414e676532f6ecb8a1ee69ac77d207a8637eaef8b9a86584d3292eb SHA512 d6792d5b9f60aea6181018c69eaa12982ef0ab353bff3f46bc987a4633a15b655ed04ee8ae3aca7dbd9e23cf5f85e4a95e455082f4035e246342b72e2dafe258 DIST hypothesis-python-5.37.4.tar.gz 9092324 BLAKE2B 95ea82c1a64eaa63f0dc662a9c34a51245dc5ebdd95faffe336bce64f02947031e4b8b09eccf45cdb1f5ba851cbc66bcb0baeab74063b9572527c7b3159abd71 SHA512 7eb5299bb9a3206773dda56f560e6ec41f49d052b03782e1c10cd2d5fd62dd8757ccd7ba201612769c8ee5326602af5f1ae1bc0626d88b1f30bae0c610fd42be +DIST hypothesis-python-5.37.5.tar.gz 9092380 BLAKE2B b5bf9f5c5bb1002154ea6041c38b727e926ae65641a05ddd2bfe919fdb7b6457963ddcc5bf1d57a929c57a3912b15a13c52b4568708348f4f308146cf64caa61 SHA512 ddf2db9d8f9318b0b3ae872fdfebbc4ac8376a86816e7c9a0350738a68a4e3adbe41aaf19a8f54471f551542f3252172cc34f5bc140483989ef8c04c5735f044 diff --git a/dev-python/hypothesis/hypothesis-5.37.5.ebuild b/dev-python/hypothesis/hypothesis-5.37.5.ebuild new file mode 100644 index 000000000000..31c848539467 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-5.37.5.ebuild @@ -0,0 +1,63 @@ +# 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} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 eutils multiprocessing optfeature + +DESCRIPTION="A library for property based testing" +HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" +SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" +S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="cli test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' python3_{6..9}) + ) +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-5.3.5[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/typing-3.7.4.1 + ) +" + +python_prepare() { + if ! use cli || [[ ${EPYTHON} != python* ]]; then + sed -i -e '/console_scripts/d' setup.py || die + fi +} + +python_test() { + pytest -vv tests/cover tests/pytest tests/quality \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || + die "Tests fail with ${EPYTHON}" +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/progress/Manifest b/dev-python/progress/Manifest index 82e49f6b0223..1dd2bd1ddf00 100644 --- a/dev-python/progress/Manifest +++ b/dev-python/progress/Manifest @@ -1 +1 @@ -DIST progress-1.5.tar.gz 5842 BLAKE2B 235f02edf0f010b4460d36b868be2df0cf4685f360de491f1649f14defffd3f1789c6c036c05b91007efac49cacbed3de5cb38fda3e21d0fd633279b2066c4f9 SHA512 a9bee3498746233f874da2d6509d052882d9592df69c223637279a1fae40174a4dc279b56a7558e95ed173b0d357ae07752501c577a3cb9c79e0f87095838896 +DIST 1.5.tar.gz 620082 BLAKE2B 95f7479d10931367320e39a5dd08428324b18fd294d93bb4dcb6cf346273700fcc0c8f217068c570ca5503305b4164f124c5f5fcf174c9707b726b8dee8c8f10 SHA512 ca8f43c22294b16ea09fc05c2d8857509ed40e8fa02b0eb8db585e228add1fc8e67d45e22a9947b3be6ed0c317b07e86f16cf01e529767c80700c3ded61e80a0 diff --git a/dev-python/pycurl/pycurl-7.43.0.6.ebuild b/dev-python/pycurl/pycurl-7.43.0.6.ebuild index 7da02eb3d53b..2d4ab65f69e4 100644 --- a/dev-python/pycurl/pycurl-7.43.0.6.ebuild +++ b/dev-python/pycurl/pycurl-7.43.0.6.ebuild @@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl examples ssl test" RESTRICT="!test? ( test )" |
