diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-06-13 13:46:47 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-06-13 13:46:47 +0000 |
| commit | d678d26c833dd072da3ba7ba9909437ac3270db6 (patch) | |
| tree | e505f7e812bf3cb70d38ed24568f9c13af9c9cf4 /dev-python | |
| parent | 1e34a09328fddb1f3e9ef4fcd42e2d0470014639 (diff) | |
| download | baldeagleos-repo-d678d26c833dd072da3ba7ba9909437ac3270db6.tar.gz baldeagleos-repo-d678d26c833dd072da3ba7ba9909437ac3270db6.tar.xz baldeagleos-repo-d678d26c833dd072da3ba7ba9909437ac3270db6.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
27 files changed, 186 insertions, 275 deletions
diff --git a/dev-python/cerberus/cerberus-1.3.2.ebuild b/dev-python/cerberus/cerberus-1.3.2.ebuild index 4696ed2150fc..bbd89db374f4 100644 --- a/dev-python/cerberus/cerberus-1.3.2.ebuild +++ b/dev-python/cerberus/cerberus-1.3.2.ebuild @@ -18,7 +18,6 @@ KEYWORDS="~amd64" PATCHES=( "${FILESDIR}"/${PN}-1.3.2_no-pytest-runner.patch - "${FILESDIR}"/${PN}-1.3.2_test-installation.patch ) distutils_enable_tests pytest diff --git a/dev-python/cerberus/files/cerberus-1.3.2_test-installation.patch b/dev-python/cerberus/files/cerberus-1.3.2_test-installation.patch deleted file mode 100644 index 381822f1799f..000000000000 --- a/dev-python/cerberus/files/cerberus-1.3.2_test-installation.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/setup.py -+++ b/setup.py -@@ -35,7 +35,7 @@ - ), - license="ISC", - platforms=["any"], -- packages=find_packages(), -+ packages=find_packages(exclude=("cerberus.tests",)), - include_package_data=True, - setup_requires=setup_requires, - tests_require=["pytest"], diff --git a/dev-python/feedparser/Manifest b/dev-python/feedparser/Manifest index 30c10bf3c62f..25c209fcc012 100644 --- a/dev-python/feedparser/Manifest +++ b/dev-python/feedparser/Manifest @@ -1,2 +1,3 @@ DIST feedparser-5.2.1.tar.gz 252956 BLAKE2B 182ebefa8a44276e758f277c203c28b274c580b667b039e4fc6ed9bd059b15e35e775e9efb784a97d712dc57e7b176ff91d6e094ddd225735f4315ffa770ae83 SHA512 1fd0c4324e2eff8ef4b15e3793c767290bca562af4a5056fdbdfa12411095530c87a113bb1b9757e532ff63aecb399b18f1e6b753884798eb6b8d3fdf575af81 DIST feedparser-6.0.2.tar.gz 251508 BLAKE2B e571bbd1a26ff06536ce3a134a5f91ff2cfc65ef7074ba7d1e17f4ed57ba19f8db395991b0a8137f9a7db931d4bda2a8a9157588ea5764ffde3bfd0616c71a35 SHA512 8ffcfb2934070ed6f0fc1a3b3d7c6a055c8c8e29dee8d56fa489832b71b94bc70dd8c8360061a103894ea9a80c6a91a6708da16999e36619092674ccfda36a75 +DIST feedparser-6.0.3.tar.gz 251556 BLAKE2B e0aec37a3bf70be26791c6717dd015e128a8a1e4dc8be77371deb4b02e4dac7316366e1a36333e92ae1fbf10096bcba6aa61e06fcbb58c7cc6a00d401939fa7d SHA512 f8de4ed660cde3bce1b289a3f2eb49222a55bd3512a1a16b1805f7d19461c0aac3d9603d66c68af94b71557adcb1cc080cea996700950cee81b644c2fefe0c54 diff --git a/dev-python/feedparser/feedparser-6.0.3.ebuild b/dev-python/feedparser/feedparser-6.0.3.ebuild new file mode 100644 index 000000000000..ab2b0b4c63d7 --- /dev/null +++ b/dev-python/feedparser/feedparser-6.0.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) + +inherit distutils-r1 + +MY_PV=${PV/_beta/b} +MY_P=${PN}-${MY_PV} +DESCRIPTION="Parse RSS and Atom feeds in Python" +HOMEPAGE="https://github.com/kurtmckee/feedparser + https://pypi.org/project/feedparser/" +SRC_URI=" + https://github.com/kurtmckee/feedparser/archive/${MY_PV}.tar.gz + -> ${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris" + +RDEPEND="dev-python/sgmllib3k[${PYTHON_USEDEP}]" + +distutils_enable_tests unittest + +src_prepare() { + # broken + rm \ + tests/illformed/chardet/big5.xml \ + tests/illformed/undeclared_namespace.xml || die + distutils-r1_src_prepare +} + +python_test() { + "${EPYTHON}" tests/runtests.py || die +} diff --git a/dev-python/lxml/lxml-4.6.3-r1.ebuild b/dev-python/lxml/lxml-4.6.3-r1.ebuild index 0b2bdc880159..82875ee23866 100644 --- a/dev-python/lxml/lxml-4.6.3-r1.ebuild +++ b/dev-python/lxml/lxml-4.6.3-r1.ebuild @@ -14,7 +14,7 @@ S=${WORKDIR}/lxml-${P} LICENSE="BSD ElementTree GPL-2 PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc examples +threads test" RESTRICT="!test? ( test )" diff --git a/dev-python/path-py/Manifest b/dev-python/path-py/Manifest index bddc7e4d6140..c4cc00b9bd9c 100644 --- a/dev-python/path-py/Manifest +++ b/dev-python/path-py/Manifest @@ -1 +1,2 @@ DIST path-15.1.2.tar.gz 48280 BLAKE2B 6dd6be743939d4ac1edd5caab18658473d7318eaf255140198db34cfb28c95322ed8ae05284683b18a0146f412ff8a2c14dae60d018740f8bb9cfda861b8ea20 SHA512 76f2a04800154ee8c7b7b9783bf7c63c544da74bb2f92424aeb437448a04dcdec008deab262d3b40d515404e6144bbad44e618d824974654ef10676878415ba4 +DIST path-16.0.0.tar.gz 44187 BLAKE2B 839c8a9d10cf4ac3f738a9e661fbfb1059554f965fc8224457c05c249578a18118129b69b46276fe569fc8bc33b398be1462d660bb20b905ecc6ab2b4db3f8fc SHA512 3874321d488543219a081adcb692739fcc4935cddaf563b58fe5a97c2cee4b5b683b2be52d220854b2f2224d15ec2bde054a53862352c249f14f1460a72d5e72 diff --git a/dev-python/path-py/path-py-16.0.0.ebuild b/dev-python/path-py/path-py-16.0.0.ebuild new file mode 100644 index 000000000000..d106fa79576f --- /dev/null +++ b/dev-python/path-py/path-py-16.0.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +MY_P="path-${PV}" +DESCRIPTION="A module wrapper for os.path" +HOMEPAGE="https://pypi.org/project/path/ https://github.com/jaraco/path" +SRC_URI="mirror://pypi/p/path/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +RDEPEND=" + dev-python/appdirs[${PYTHON_USEDEP}] + !<dev-python/pytest-shutil-1.7.0-r1 + !<dev-python/pytest-virtualenv-1.7.0-r1" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] + test? ( + dev-python/packaging[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +python_test() { + local deselect=( + # unreliable, not really meaningful for end users + test_path.py::TestPerformance + ) + + epytest ${deselect[@]/#/--deselect } +} diff --git a/dev-python/pypiserver/pypiserver-1.4.2.ebuild b/dev-python/pypiserver/pypiserver-1.4.2.ebuild index cd94f6bd3a43..413103df330a 100644 --- a/dev-python/pypiserver/pypiserver-1.4.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.4.2.ebuild @@ -1,9 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -DISTUTILS_USE_SETUPTOOLS=rdepend PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 diff --git a/dev-python/python-soundfile/Manifest b/dev-python/python-soundfile/Manifest new file mode 100644 index 000000000000..7c277d01eaa3 --- /dev/null +++ b/dev-python/python-soundfile/Manifest @@ -0,0 +1 @@ +DIST python-soundfile-0.10.3.tar.gz 35004 BLAKE2B fc07147016767991dd33c29f42e624e02195c9dcc52af03be7fd4f35de89045438e6eb58699655d0791b4863597f39fc035aca3c359c383f09140e61bd3e7fdb SHA512 169938cc89f9ee556428c05266d4c75599348443f20521a04afba0cbf9a232c075f7850ee2e619b615942720687e0f9b3ced9595ae4032ebc569e48db1b905f3 diff --git a/dev-python/python-soundfile/metadata.xml b/dev-python/python-soundfile/metadata.xml new file mode 100644 index 000000000000..36acccda7221 --- /dev/null +++ b/dev-python/python-soundfile/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>dev@liguros.net</email> + <name>Development</name> + </maintainer> + + <origin>ports</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/python-soundfile/python-soundfile-0.10.3.ebuild b/dev-python/python-soundfile/python-soundfile-0.10.3.ebuild new file mode 100644 index 000000000000..6872c6e11a50 --- /dev/null +++ b/dev-python/python-soundfile/python-soundfile-0.10.3.ebuild @@ -0,0 +1,22 @@ +# Copyright 2021 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="SoundFile is an audio library based on libsndfile, CFFI and NumPy." +HOMEPAGE="https://github.com/bastibe/python-soundfile" +SRC_URI="${HOMEPAGE}/archive/refs/tags/${PV}post1.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="virtual/python-cffi + dev-python/numpy + media-libs/libsndfile" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${P}post1" diff --git a/dev-python/pywinrm/files/pywinrm-0.4.2_test-installation.patch b/dev-python/pywinrm/files/pywinrm-0.4.2_test-installation.patch deleted file mode 100644 index d7f38f7163dd..000000000000 --- a/dev-python/pywinrm/files/pywinrm-0.4.2_test-installation.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/setup.py -+++ b/setup.py -@@ -21,7 +21,7 @@ - author_email='alexey.diyan@gmail.com', - url='http://github.com/diyan/pywinrm/', - license='MIT license', -- packages=find_packages(), -+ packages=find_packages(exclude=('winrm.tests',)), - package_data={'winrm.tests': ['*.ps1']}, - install_requires=['xmltodict', 'requests>=2.9.1', 'requests_ntlm>=0.3.0', 'six'], - extras_require={ diff --git a/dev-python/pywinrm/pywinrm-0.4.2.ebuild b/dev-python/pywinrm/pywinrm-0.4.2.ebuild index 08af07150d90..3cf2480a1e39 100644 --- a/dev-python/pywinrm/pywinrm-0.4.2.ebuild +++ b/dev-python/pywinrm/pywinrm-0.4.2.ebuild @@ -26,8 +26,4 @@ RDEPEND="dev-python/requests[${PYTHON_USEDEP}] )" BDEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )" -PATCHES=( - "${FILESDIR}"/${PN}-0.4.2_test-installation.patch -) - distutils_enable_tests pytest diff --git a/dev-python/requests-cache/Manifest b/dev-python/requests-cache/Manifest index 01307336593a..c504192b9645 100644 --- a/dev-python/requests-cache/Manifest +++ b/dev-python/requests-cache/Manifest @@ -1,6 +1,2 @@ -DIST requests-cache-0.5.2.tar.gz 31159 BLAKE2B 4fca146a751064baf70954a71df64dbb7f8c9a4e27fec5dbea3620496ce78e7ccfb3785fb63705f513ff6fa938376b0c6acc4a2f584856060b1bc8388517df46 SHA512 355cc571a46b768615606a907a69ed065b3c4b5e74bb6c311abc7a28d9406f32fdea1db0dfd2b1c32dcdc82ed817ef7e0b30086c069de57307254617604c5177 -DIST requests-cache-0.6.0.tar.gz 52342 BLAKE2B 12af89721fcf1ae2e4ab14d7ac377f119ef312c64d3b9e5d80a36f26f3a9a798cf090835ee2c9bf886d0baa9b472f4c439d5a032573d442feecbbad930c239fd SHA512 b5b32b9cb99ec51cee67defde715df66b7c50a26f4124cbaf893685048fe188af0cf664232150e3b4fafe3b7a927716966efafadd711be01118d67ad802acef6 -DIST requests-cache-0.6.1.gh.tar.gz 47919 BLAKE2B 022fd94a332feae043cf646cefc368fdb6ca1833dcd58621a07425bfb0d7bcb5ff9913c8b53f2bc0769fd23e8f364c437ee10f16fd37d1d340e8c46bcba9d53e SHA512 f8bea03b05b2f1e55fe6c975b5f5caacff55250d81f41cf953052c77101fc726ff39f9d95e1fd2829ddb59215226026bdddfd93918feb478395375ac0e0a4439 -DIST requests-cache-0.6.2.gh.tar.gz 47962 BLAKE2B f0597f3c5f4a678b94f3b15023e3aba5247de3d79043e7e1cbd4ab0f2d4457e2f5feab130665129ae87baba56576312b1420ae16c2a34b44dc780bf05351615c SHA512 c97119127b1e80e6eec02938b2e0e8de785875f46d348215e05ee2d668feb77ed40f0dad4ed4a3ae53fb8e6708c8d7b13788e54694a38cef3ce22e83f13f97e2 DIST requests-cache-0.6.3.gh.tar.gz 50303 BLAKE2B e8507a19f3883c050e1d819bf9ce8ebf720a5c6517e4004ecf745f5a197a8feac9cbca18ffa99001be0baffbad41d2ebfba5b63d90b55eda1d754d279242bbc6 SHA512 1fa801f60623dce0a5cd834272a74acf80b6ae52a602ae81fbd7e3653467800d9a58fb8220e30d53ef1b896aa01f2017f93dcbc2dacfd685ee9ae286f47077f5 DIST requests-cache-0.6.4.gh.tar.gz 50322 BLAKE2B c9a6cae957604bdfa6057621e028fad83476e5d918bbf9c58e73f09f8615398946f3cf6e3737c9ff916cba68d82ed66a674557fb733c74b874b0f68e2430d9a0 SHA512 31e2217e54892d8ec5fc9fcf60f650960621b1f97029c90deca925b9a1be9eb5a3ddb6ae68e581c805f20136f93eefa70d51e7e9f086ecbae76f8e550bbe3f1a diff --git a/dev-python/requests-cache/requests-cache-0.5.2.ebuild b/dev-python/requests-cache/requests-cache-0.5.2.ebuild deleted file mode 100644 index 73a55e4609b3..000000000000 --- a/dev-python/requests-cache/requests-cache-0.5.2.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 - -HOMEPAGE="https://pypi.org/project/requests-cache/" -DESCRIPTION="Persistent cache for requests library" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND="dev-python/requests[${PYTHON_USEDEP}]" - -distutils_enable_sphinx docs -distutils_enable_tests pytest - -src_prepare() { - # Ships with incorrect mock import - sed -e 's/import mock/import unittest.mock as mock/' -i tests/test_cache.py || die - default -} - -python_test() { - local skipped_tests=( - # Slew of tests that violate network-sandbox - tests/test_cache.py::CacheTestCase::test_attr_from_cache_in_hook - tests/test_cache.py::CacheTestCase::test_cache_unpickle_errors - tests/test_cache.py::CacheTestCase::test_close_response - tests/test_cache.py::CacheTestCase::test_content_and_cookies - tests/test_cache.py::CacheTestCase::test_delete_urls - tests/test_cache.py::CacheTestCase::test_disabled - tests/test_cache.py::CacheTestCase::test_enabled - tests/test_cache.py::CacheTestCase::test_expire_cache - tests/test_cache.py::CacheTestCase::test_from_cache_attribute - tests/test_cache.py::CacheTestCase::test_get_parameters_normalization - tests/test_cache.py::CacheTestCase::test_get_params_as_argument - tests/test_cache.py::CacheTestCase::test_gzip_response - tests/test_cache.py::CacheTestCase::test_headers_in_get_query - tests/test_cache.py::CacheTestCase::test_hooks - tests/test_cache.py::CacheTestCase::test_https_support - tests/test_cache.py::CacheTestCase::test_ignore_parameters_get - tests/test_cache.py::CacheTestCase::test_ignore_parameters_post - tests/test_cache.py::CacheTestCase::test_ignore_parameters_post_json - tests/test_cache.py::CacheTestCase::test_ignore_parameters_post_raw - tests/test_cache.py::CacheTestCase::test_post - tests/test_cache.py::CacheTestCase::test_post_data - tests/test_cache.py::CacheTestCase::test_post_parameters_normalization - tests/test_cache.py::CacheTestCase::test_post_params - tests/test_cache.py::CacheTestCase::test_remove_expired_entries - tests/test_cache.py::CacheTestCase::test_response_history - tests/test_cache.py::CacheTestCase::test_response_history_simple - tests/test_cache.py::CacheTestCase::test_return_old_data_on_error - tests/test_cache.py::CacheTestCase::test_stream_requests_support - tests/test_monkey_patch.py::MonkeyPatchTestCase::test_requests_from_cache - - # This throws many errors with network-sandbox, but doesn't fail the - # build - tests/test_thread_safety::test_thread_safety - ) - - # Redis tests need a redis server running - pytest -vv --ignore tests/test_redisdict.py ${skipped_tests[@]/#/--deselect } || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/requests-cache/requests-cache-0.6.0.ebuild b/dev-python/requests-cache/requests-cache-0.6.0.ebuild deleted file mode 100644 index bdafc7e51943..000000000000 --- a/dev-python/requests-cache/requests-cache-0.6.0.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 - -HOMEPAGE="https://pypi.org/project/requests-cache/" -DESCRIPTION="Persistent cache for requests library" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/itsdangerous[${PYTHON_USEDEP}] - >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] - >=dev-python/url-normalize-1.4[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - $(python_gen_any_dep ' - dev-python/httpbin[${PYTHON_USEDEP}] - www-servers/gunicorn[${PYTHON_USEDEP}] - ') - )" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/${P}-test-install.patch -) - -python_check_deps() { - use test || return 0 - - has_version -b "dev-python/httpbin[${PYTHON_USEDEP}]" && - has_version -b "www-servers/gunicorn[${PYTHON_USEDEP}]" -} - -src_test() { - local hostport="127.0.0.1:23125" - python_setup - einfo "Starting httpbin on ${hostport}" - gunicorn -b "${hostport}" -D -p gunicorn.pid httpbin:app || die - - local -x HTTPBIN_URL="http://${hostport}/" - distutils-r1_src_test - kill $(<gunicorn.pid) || die -} - -python_test() { - local skipped_tests=( - # These require extra servers running - tests/integration/test_dynamodb.py - tests/integration/test_gridfs.py - tests/integration/test_mongodb.py - tests/integration/test_redis.py - - # TODO - 'tests/integration/test_cache.py::test_all_response_formats[json]' - ) - - epytest ${skipped_tests[@]/#/--deselect } -} diff --git a/dev-python/requests-cache/requests-cache-0.6.1.ebuild b/dev-python/requests-cache/requests-cache-0.6.1.ebuild deleted file mode 100644 index ec424a9da5d8..000000000000 --- a/dev-python/requests-cache/requests-cache-0.6.1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 - -HOMEPAGE=" - https://pypi.org/project/requests-cache/ - https://github.com/reclosedev/requests-cache/" -DESCRIPTION="Persistent cache for requests library" -SRC_URI=" - https://github.com/reclosedev/requests-cache/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/itsdangerous[${PYTHON_USEDEP}] - >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] - >=dev-python/url-normalize-1.4[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-python/pytest-httpbin[${PYTHON_USEDEP}] - dev-python/timeout-decorator[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -python_test() { - local skipped_tests=( - # These require extra servers running - tests/integration/test_dynamodb.py - tests/integration/test_gridfs.py - tests/integration/test_mongodb.py - tests/integration/test_redis.py - - # TODO -# 'tests/integration/test_cache.py::test_all_response_formats[json]' - ) - - local -x USE_PYTEST_HTTPBIN=true - epytest ${skipped_tests[@]/#/--deselect } -} diff --git a/dev-python/requests-cache/requests-cache-0.6.2.ebuild b/dev-python/requests-cache/requests-cache-0.6.2.ebuild deleted file mode 100644 index ec424a9da5d8..000000000000 --- a/dev-python/requests-cache/requests-cache-0.6.2.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 - -HOMEPAGE=" - https://pypi.org/project/requests-cache/ - https://github.com/reclosedev/requests-cache/" -DESCRIPTION="Persistent cache for requests library" -SRC_URI=" - https://github.com/reclosedev/requests-cache/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/itsdangerous[${PYTHON_USEDEP}] - >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] - >=dev-python/url-normalize-1.4[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-python/pytest-httpbin[${PYTHON_USEDEP}] - dev-python/timeout-decorator[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -python_test() { - local skipped_tests=( - # These require extra servers running - tests/integration/test_dynamodb.py - tests/integration/test_gridfs.py - tests/integration/test_mongodb.py - tests/integration/test_redis.py - - # TODO -# 'tests/integration/test_cache.py::test_all_response_formats[json]' - ) - - local -x USE_PYTEST_HTTPBIN=true - epytest ${skipped_tests[@]/#/--deselect } -} diff --git a/dev-python/requests-cache/requests-cache-0.6.3.ebuild b/dev-python/requests-cache/requests-cache-0.6.3.ebuild index 94983c32289c..fd52cbab805f 100644 --- a/dev-python/requests-cache/requests-cache-0.6.3.ebuild +++ b/dev-python/requests-cache/requests-cache-0.6.3.ebuild @@ -18,7 +18,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" dev-python/itsdangerous[${PYTHON_USEDEP}] diff --git a/dev-python/sounddevice/Manifest b/dev-python/sounddevice/Manifest new file mode 100644 index 000000000000..6a7bc6326260 --- /dev/null +++ b/dev-python/sounddevice/Manifest @@ -0,0 +1 @@ +DIST sounddevice-0.4.1.tar.gz 50438 BLAKE2B b7ea0cb667bf19bbebf10e33ec922f4114ba8047116195d013c0895ddbd616ef348021780eee7b90ab50e6aeb223bf16276c9595c13e9bd74feae22d2125e772 SHA512 7973e9ef86a36c03abc5be6bcf1a3ba8a78e0873150e82c4c212659761d95c876fa278e9b2cba3b1da20f21436548010dcb5c4615c32268dcd1bb211c3092643 diff --git a/dev-python/sounddevice/metadata.xml b/dev-python/sounddevice/metadata.xml new file mode 100644 index 000000000000..36acccda7221 --- /dev/null +++ b/dev-python/sounddevice/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>dev@liguros.net</email> + <name>Development</name> + </maintainer> + + <origin>ports</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/sounddevice/sounddevice-0.4.1.ebuild b/dev-python/sounddevice/sounddevice-0.4.1.ebuild new file mode 100644 index 000000000000..ebb4286c3888 --- /dev/null +++ b/dev-python/sounddevice/sounddevice-0.4.1.ebuild @@ -0,0 +1,19 @@ +# Copyright 2021 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Python bindings for PortAudio" +HOMEPAGE="https://github.com/spatialaudio/python-sounddevice/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="virtual/python-cffi + media-libs/portaudio" +RDEPEND="${DEPEND}" diff --git a/dev-python/timeout-decorator/timeout-decorator-0.5.0.ebuild b/dev-python/timeout-decorator/timeout-decorator-0.5.0.ebuild index 1863354abad9..aeffad7e2bd6 100644 --- a/dev-python/timeout-decorator/timeout-decorator-0.5.0.ebuild +++ b/dev-python/timeout-decorator/timeout-decorator-0.5.0.ebuild @@ -20,6 +20,6 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" distutils_enable_tests pytest diff --git a/dev-python/tqdm/files/tqdm-4.61.1-py310.patch b/dev-python/tqdm/files/tqdm-4.61.1-py310.patch new file mode 100644 index 000000000000..10cb898d4809 --- /dev/null +++ b/dev-python/tqdm/files/tqdm-4.61.1-py310.patch @@ -0,0 +1,35 @@ +From d2a6ec2ab84aec847b1598bb2a777103cea7fc9f Mon Sep 17 00:00:00 2001 +From: Casper da Costa-Luis <tqdm@cdcl.ml> +Date: Sat, 12 Jun 2021 17:39:37 +0100 +Subject: [PATCH] fix py3.10 `asyncio` tests + +- fixes #1176 +--- + tqdm/asyncio.py | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/tqdm/asyncio.py b/tqdm/asyncio.py +index 0d3ba747d..8f9b4ed6e 100644 +--- a/tqdm/asyncio.py ++++ b/tqdm/asyncio.py +@@ -8,6 +8,7 @@ + ... ... + """ + import asyncio ++from sys import version_info + + from .std import tqdm as std_tqdm + +@@ -60,7 +61,11 @@ def as_completed(cls, fs, *, loop=None, timeout=None, total=None, **tqdm_kwargs) + """ + if total is None: + total = len(fs) +- yield from cls(asyncio.as_completed(fs, loop=loop, timeout=timeout), ++ ++ kwargs = {} ++ if version_info[:2] < (3, 10): ++ kwargs['loop'] = loop ++ yield from cls(asyncio.as_completed(fs, timeout=timeout, **kwargs), + total=total, **tqdm_kwargs) + + @classmethod diff --git a/dev-python/tqdm/tqdm-4.61.1.ebuild b/dev-python/tqdm/tqdm-4.61.1.ebuild index 5fb31c0efa97..25b7d66f4734 100644 --- a/dev-python/tqdm/tqdm-4.61.1.ebuild +++ b/dev-python/tqdm/tqdm-4.61.1.ebuild @@ -31,6 +31,10 @@ BDEPEND=" distutils_enable_tests pytest +PATCHES=( + "${FILESDIR}"/${P}-py310.patch +) + python_test() { # Skip unpredictable performance tests epytest --ignore 'tests/tests_perf.py' diff --git a/dev-python/twine/twine-3.4.1.ebuild b/dev-python/twine/twine-3.4.1.ebuild index 53ec3d5909ab..ecb8738945b4 100644 --- a/dev-python/twine/twine-3.4.1.ebuild +++ b/dev-python/twine/twine-3.4.1.ebuild @@ -3,9 +3,7 @@ EAPI=7 -DISTUTILS_USE_SETUPTOOLS=rdepend PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - inherit distutils-r1 DESCRIPTION="Collection of utilities for publishing packages on PyPI" diff --git a/dev-python/url-normalize/url-normalize-1.4.3.ebuild b/dev-python/url-normalize/url-normalize-1.4.3.ebuild index f9b3ce6a863e..be69a8e7ee7d 100644 --- a/dev-python/url-normalize/url-normalize-1.4.3.ebuild +++ b/dev-python/url-normalize/url-normalize-1.4.3.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" |
