diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-09-15 12:28:05 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-09-15 12:28:05 +0000 |
| commit | 6045eaef8e9f6358f4d5a79bb21d17e1e8211671 (patch) | |
| tree | 95a458f2c8ca9c13393cd6971432c9f7a0a23227 /dev-python | |
| parent | f66397aa4a24245857a28a0fc76dff1969523e65 (diff) | |
| download | baldeagleos-repo-6045eaef8e9f6358f4d5a79bb21d17e1e8211671.tar.gz baldeagleos-repo-6045eaef8e9f6358f4d5a79bb21d17e1e8211671.tar.xz baldeagleos-repo-6045eaef8e9f6358f4d5a79bb21d17e1e8211671.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python')
66 files changed, 1320 insertions, 16 deletions
diff --git a/dev-python/binaryornot/binaryornot-0.4.4-r1.ebuild b/dev-python/binaryornot/binaryornot-0.4.4-r1.ebuild new file mode 100644 index 000000000000..385d89ca4263 --- /dev/null +++ b/dev-python/binaryornot/binaryornot-0.4.4-r1.ebuild @@ -0,0 +1,31 @@ +# 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="Ultra-lightweight pure Python package to guess whether a file is binary or text" +HOMEPAGE="https://github.com/audreyr/binaryornot" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=dev-python/chardet-3.0.2[${PYTHON_USEDEP}]" +BDEPEND="test? ( dev-python/hypothesis[${PYTHON_USEDEP}] )" + +DOCS=( README.rst HISTORY.rst CONTRIBUTING.rst ) + +PATCHES=( + # https://github.com/audreyr/binaryornot/commit/38dee57986c6679d9936a1da6f6c8182da3734f8 + "${FILESDIR}"/${P}-tests.patch + # Version number has not been updated to 0.4.4 + "${FILESDIR}"/${P}-fix-version-number.patch +) + +distutils_enable_tests unittest +distutils_enable_sphinx docs diff --git a/dev-python/binaryornot/files/binaryornot-0.4.4-fix-version-number.patch b/dev-python/binaryornot/files/binaryornot-0.4.4-fix-version-number.patch new file mode 100644 index 000000000000..05d6ed0b7449 --- /dev/null +++ b/dev-python/binaryornot/files/binaryornot-0.4.4-fix-version-number.patch @@ -0,0 +1,13 @@ +diff --git a/setup.py b/setup.py +index 68a4f5b..a0c9e14 100755 +--- a/setup.py ++++ b/setup.py +@@ -13,7 +13,7 @@ with open('README.rst') as readme_file: + with open('HISTORY.rst') as history_file: + history = history_file.read().replace('.. :changelog:', '') + +-version = '0.4.3' ++version = '0.4.4' + + if sys.argv[-1] == 'publish': + os.system('python setup.py sdist bdist_wheel upload') diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 8329eeb12007..bb9cec36e05f 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -6,3 +6,4 @@ DIST boto3-1.14.52.tar.gz 302219 BLAKE2B 97b93e7e203aba7e0dad8bdace83ac41fb85b58 DIST boto3-1.14.55.tar.gz 302397 BLAKE2B 61785df9bfbe0668ff7b0537bb86b119ab3a98dc41cbe5118f550c81bb08cbec3c68249d9bffa1420088cd5b6a2aff2267dbeb16e52275e632ba88c8e709c8f3 SHA512 d51b0716f5148b5765e90d0a60146b5b06013e4a789eacfb798e5a4c114d4a8b9b07f5d74c0fa0b50b79e1704b7893d709bf87c9a2dd1d184bd477dbecd21a38 DIST boto3-1.14.57.tar.gz 334506 BLAKE2B ba422426f36c55eb78e057d886abdb9a435839b4a842bf917e3e02d2f3f80c8c94bbf524ed4f3cab53ae627a9f1aeac41a790bebb72c94f52c73486dbcd3f13b SHA512 b772ec8d1c167e37515643796a569ba4258de24b9e4aa1a5022e140fc9121fdc02472231f36b8336e75115aabafa8dbc8c5422ce2ac137f3ead1202043b1c6c0 DIST boto3-1.14.59.tar.gz 334641 BLAKE2B 96cd0750521715f030c2668cf21b7d6e5f53ffb9bcb84bc9fc540b1bea911591880385a3bd31447f924aa24cbdce873d17241d921b87e57d109173062dd27678 SHA512 9dddad6c71bac90803402b35a316f7177c26629e7e1b3cdadc6222e890d89dce4c2941174501705da85209220fe741f788654f5db164b2d9eac26cbba7cfb0d5 +DIST boto3-1.14.61.tar.gz 334755 BLAKE2B f0c5b5e9f74abaab03789deae1bbf9c5957d5d54af5cdc0c3a21deaed4945e104abeb59305ec1c692f2bcd2e99f7806ea4bd7fb9ae6194f194d74c9eeac4bf0a SHA512 6bec490d4d976585c5a8522998a4b3538dfdfc53416844779dbede2faa7d0d45bb10a6a566a777eaccd5d630202f6217178a386fbf3de5ef3c6395cda583f413 diff --git a/dev-python/boto3/boto3-1.14.61.ebuild b/dev-python/boto3/boto3-1.14.61.ebuild new file mode 100644 index 000000000000..12584b2fba42 --- /dev/null +++ b/dev-python/boto3/boto3-1.14.61.ebuild @@ -0,0 +1,56 @@ +# 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} ) +DISTUTILS_USE_SETUPTOOLS=bdepend +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE="https://github.com/boto/boto3" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests nose + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # prevent an infinite loop + rm tests/functional/docs/test_smoke.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + nosetests -v tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}" +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 79fec3faddf1..db0976623a57 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -6,3 +6,4 @@ DIST botocore-1.17.52.tar.gz 6778122 BLAKE2B 4afb88a7990ca4cd04f113a75f00dcc2656 DIST botocore-1.17.55.tar.gz 6781012 BLAKE2B d9dac6d32ae6226bf80c79651f0d56c1b916a9e4b696c99c2921aae9759ff2c86df1f4682902ff4313d018c6514e24718228cd13219cdbd784b828faf3a8fc10 SHA512 941e773932db1a9fddf8476485c9b979803596a02017fa44c88667e833acd0b84fe8a2f9211c7791a20f08e947d93354bb995f03d915543ab5d24ebad683cbaf DIST botocore-1.17.57.tar.gz 6815839 BLAKE2B e135e4d0b889add8417d8a6ce97c475865859e8805077bc404010cf1c0d7da0eae27f49fc14eaffa86b0a45e5a49799a59fa6b3a7117d103976b0c1628a531db SHA512 244021f4ab9a2778917f91bcf0f26d868025e77bee0c592f81e8266721952b5ffcc3ec4fc7f1dc2b7e2b20faac8f0d4e8b8b47d72a89ff66386fc008b0781da1 DIST botocore-1.17.59.tar.gz 6829639 BLAKE2B efacd4c875e17f187abd5c4602a82229ed2a9fd78e1987f1b540eb882d1a3ce7c23768f7f4b9dc26a678ff4ce48264f3893c0aa2a68511823f79686c21ecf82f SHA512 609eb24774384b95dd9b5bcf5931d263341fbbba90b84159c6833296c22d95c6cf8d304d6908713d9ba826858d8d226e0b5c700bb1410c3a9f7b2d679f535c40 +DIST botocore-1.17.61.tar.gz 6832886 BLAKE2B 1c63507dea98f4f4275effe190e7af1e3325ee03376676bdbab6eeca364540bd86c7253b1ab64a70d28cf2f5ae8182927c2f18ac86e0bac813d4ef11c37193c6 SHA512 606076103594fb6efee1fa79181449c0ffa37eb71b5f5c187f8046375ddf982f72741ba00a1d2311be893094b86dd9196ee33410a693727ea9502cf87332dcc0 diff --git a/dev-python/botocore/botocore-1.17.61.ebuild b/dev-python/botocore/botocore-1.17.61.ebuild new file mode 100644 index 000000000000..b111030cd3da --- /dev/null +++ b/dev-python/botocore/botocore-1.17.61.ebuild @@ -0,0 +1,62 @@ +# 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="Low-level, data-driven core of boto 3" +HOMEPAGE="https://github.com/boto/botocore" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/jmespath[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +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() { + # 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/easyprocess/Manifest b/dev-python/easyprocess/Manifest new file mode 100644 index 000000000000..1c5ff6198419 --- /dev/null +++ b/dev-python/easyprocess/Manifest @@ -0,0 +1 @@ +DIST easyprocess-0.3.tar.gz 11310 BLAKE2B d26405863f213a94687d646f57aed98d0285bd57c0dfe9c40d2f49e5cfe46710e0435ff20eb1d697648e6fd1b63a38adf46a03f0fe970e35d44bfe3ad058d63f SHA512 3a10a02b28139c2d3d53134ac7842dcc7027c855e55b17747be1545cbf77cf86303531b595a54d92d7dc8133aee210388d25f3362b705ee554323c01d742d336 diff --git a/dev-python/easyprocess/easyprocess-0.3.ebuild b/dev-python/easyprocess/easyprocess-0.3.ebuild new file mode 100644 index 000000000000..fae5b3fe4c7f --- /dev/null +++ b/dev-python/easyprocess/easyprocess-0.3.ebuild @@ -0,0 +1,26 @@ +# 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="Easy to use Python subprocess interface" +HOMEPAGE="https://github.com/ponty/EasyProcess" +SRC_URI="https://github.com/ponty/EasyProcess/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="test? ( + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pyvirtualdisplay[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +)" + +S="${WORKDIR}/EasyProcess-${PV}" + +distutils_enable_tests pytest diff --git a/dev-python/easyprocess/metadata.xml b/dev-python/easyprocess/metadata.xml new file mode 100644 index 000000000000..13a5b75ca678 --- /dev/null +++ b/dev-python/easyprocess/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@riseup.net</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/entrypoint2/Manifest b/dev-python/entrypoint2/Manifest new file mode 100644 index 000000000000..68d47c783147 --- /dev/null +++ b/dev-python/entrypoint2/Manifest @@ -0,0 +1 @@ +DIST entrypoint2-0.2.1.tar.gz 11396 BLAKE2B ee462006f1fe4c80f707d00c2ef89fcf359b59853730786920ad931a099afafc808620ca16f0232e07a75c824b4b25ff50971c643f70087b89ab2ba6b7e13c1f SHA512 2273eda6cd8bf5a5e9fc5e8a657f837a88c8b617e384cdb6f6b62b3380e0b37d82af54dadd59a0ff82cd85cfdd61bb79d6c747621370f50e97c3796111baaaf6 diff --git a/dev-python/entrypoint2/entrypoint2-0.2.1.ebuild b/dev-python/entrypoint2/entrypoint2-0.2.1.ebuild new file mode 100644 index 000000000000..06a45ffe7500 --- /dev/null +++ b/dev-python/entrypoint2/entrypoint2-0.2.1.ebuild @@ -0,0 +1,23 @@ +# 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="Easy to use command-line interface for python modules" +HOMEPAGE="https://github.com/ponty/entrypoint2" +SRC_URI="https://github.com/ponty/entrypoint2/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="test? ( + dev-python/easyprocess[${PYTHON_USEDEP}] + dev-python/path-py[${PYTHON_USEDEP}] +)" + +distutils_enable_tests pytest diff --git a/dev-python/entrypoint2/metadata.xml b/dev-python/entrypoint2/metadata.xml new file mode 100644 index 000000000000..13a5b75ca678 --- /dev/null +++ b/dev-python/entrypoint2/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@riseup.net</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 019fdd095c2f..332328ad8daa 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -2,3 +2,4 @@ DIST hypothesis-python-4.57.1.tar.gz 9005030 BLAKE2B 3d318896cbe2d24fa6847e764a1 DIST hypothesis-python-5.24.4.tar.gz 9054743 BLAKE2B 5c64c86ed58d8f0e4a07390b1b1b5e405878b9632bf14233e0515ad9d98ec6ddcc57bf39be6b61f53739d34e393b3af64c0d362880019d29a649a9523a0204e3 SHA512 147f4fa47b54bf3ec4dfcebf2a6c98cee26ea6780244ef99e181bada65978375ca7731ed05cb98f1b92f7a44a357faae374d97d489ec6e2318ff94e526cd9a40 DIST hypothesis-python-5.29.4.tar.gz 9071060 BLAKE2B 0668f3c7859fae7024c15f693b1f56ce8d02d6f3b8187d24b2d84e38e7bdb73c0824d2b02cfecc6b40bdfbbb1c91c0aa83d40848c499a97ab7e9223aaa6c78d4 SHA512 9da4b487fd3c56540a20e2fbff635704f0720f422d8a398d0accd24a1fb9517476b0d29135b9113a96e8dc98fcfc31cc53215ad82cb727be54e4e77b44d4c8e4 DIST hypothesis-python-5.35.0.tar.gz 9081292 BLAKE2B 8f1d50d76f589103f7b734cea6008b3533d3c0d62f45ab95a71f079833cb20b766d398a1b9492d592a93156d097d58c14041caf609f035b547f2234cbef2d602 SHA512 e99ce4c2801341fc43c4290afb551bcae69e0747a6b98a633b284bce009cc18d978b75a23bf22dafb39c5020595159806d5627128577770be3aad72a022549a3 +DIST hypothesis-python-5.35.2.tar.gz 9082095 BLAKE2B 6d2d2f74519975455a6d73f5d006837f7f71d162c5fe84c33afe81c7a110ecd93d2643db5b1ed8b00aec212c5c311254dcfbd66ae5bd08b077335a3754c9e9b4 SHA512 f17b7783d689986703bc6755a7dc30e8bfd4977a128954481067780d14b1b3f4bbfb21751a607a215357b5d300ad4e06ce951b81059ac8638c84005d682e2398 diff --git a/dev-python/hypothesis/hypothesis-5.35.2.ebuild b/dev-python/hypothesis/hypothesis-5.35.2.ebuild new file mode 100644 index 000000000000..f7a7e61736bf --- /dev/null +++ b/dev-python/hypothesis/hypothesis-5.35.2.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="~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/mss/Manifest b/dev-python/mss/Manifest new file mode 100644 index 000000000000..817cd32adac2 --- /dev/null +++ b/dev-python/mss/Manifest @@ -0,0 +1 @@ +DIST mss-6.0.0.tar.gz 90010 BLAKE2B 0e4f0a2dbd720d83c496dc3fe618a2fa8057c378426a5b758ccaa931a819a354732d6ec6d220ec02292d08ddc111bbccf89676f32bd124ba084dbf5e4d1287ed SHA512 751fda0fd988ff14e80d7a8bb35c3ae9101a85f4e37dc297b6fc8ac23f7484faf19b07424081183157c7617c95a41f31f74f2dee0ff3bcc8d6bf1a699732af6d diff --git a/dev-python/mss/metadata.xml b/dev-python/mss/metadata.xml new file mode 100644 index 000000000000..13a5b75ca678 --- /dev/null +++ b/dev-python/mss/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@riseup.net</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/mss/mss-6.0.0.ebuild b/dev-python/mss/mss-6.0.0.ebuild new file mode 100644 index 000000000000..b010f45a9639 --- /dev/null +++ b/dev-python/mss/mss-6.0.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 virtualx + +DESCRIPTION="An ultra fast cross-platform multiple screenshots module in python using ctypes" +HOMEPAGE="https://github.com/BoboTiG/python-mss" +SRC_URI="https://github.com/BoboTiG/python-mss/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}/python-${PN}-${PV}" + +BDEPEND="test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] +)" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme + +python_test() { + virtx pytest -vv +} diff --git a/dev-python/pydata-sphinx-theme/Manifest b/dev-python/pydata-sphinx-theme/Manifest new file mode 100644 index 000000000000..504bdeaf1f71 --- /dev/null +++ b/dev-python/pydata-sphinx-theme/Manifest @@ -0,0 +1 @@ +DIST pydata-sphinx-theme-0.4.0.tar.gz 3276611 BLAKE2B fb260de2ad40f9a3b5e524ef299a5bf2ee9fbe3f36a0b0e365b53a04702f8a5644154535cfa9f1f3c1deced5de8adbbaf5671488b467d3024b9ae3f60a6f7018 SHA512 abe4924277ec41193019e80a26ccb2ce195741fdae9defc9b500ecc2a63ab9070d1eba5a3398415641ef87ccfe8d573ce6fd10eb069e0f13f09891b5b5e2f932 diff --git a/dev-python/pydata-sphinx-theme/metadata.xml b/dev-python/pydata-sphinx-theme/metadata.xml new file mode 100644 index 000000000000..13a5b75ca678 --- /dev/null +++ b/dev-python/pydata-sphinx-theme/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@riseup.net</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.4.0.ebuild b/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.4.0.ebuild new file mode 100644 index 000000000000..7f758ae3eeea --- /dev/null +++ b/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.4.0.ebuild @@ -0,0 +1,26 @@ +# 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} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Bootstrap-based Sphinx theme from the PyData community" +HOMEPAGE="https://github.com/pandas-dev/pydata-sphinx-theme" +SRC_URI="https://github.com/pandas-dev/pydata-sphinx-theme/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-with-disclosure" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="dev-python/pytest-regressions[${PYTHON_USEDEP}] + test? ( dev-python/beautifulsoup[${PYTHON_USEDEP}] )" + +RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]" + +# ModuleNotFoundError: No module named 'plotly' even if dev-python/plotly is installed +#distutils_enable_sphinx docs dev-python/commonmark dev-python/recommonmark dev-python/numpydoc dev-python/jupyter-sphinx dev-python/plotly +distutils_enable_tests pytest diff --git a/dev-python/pyscreenshot/Manifest b/dev-python/pyscreenshot/Manifest new file mode 100644 index 000000000000..a2135f891233 --- /dev/null +++ b/dev-python/pyscreenshot/Manifest @@ -0,0 +1 @@ +DIST pyscreenshot-2.2.tar.gz 29726 BLAKE2B d1e314be360d4716b35b4302de82010dfc9a97212b3f4472b42e40f9470fd0575fe8f0ceb976adfe13059c0566413414e03f78189d4afa193d88a0aaf4c5c26e SHA512 6689ccbcd5c6164aeb12d911ee93c8958f6c6b5aaba5ba7d4073ee855e6398180ed27fce6299480b18b3d7ffad12cd17694c3db1f1c7373d4b25be0073d49338 diff --git a/dev-python/pyscreenshot/metadata.xml b/dev-python/pyscreenshot/metadata.xml new file mode 100644 index 000000000000..13a5b75ca678 --- /dev/null +++ b/dev-python/pyscreenshot/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@riseup.net</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/pyscreenshot/pyscreenshot-2.2.ebuild b/dev-python/pyscreenshot/pyscreenshot-2.2.ebuild new file mode 100644 index 000000000000..5fbf750475e2 --- /dev/null +++ b/dev-python/pyscreenshot/pyscreenshot-2.2.ebuild @@ -0,0 +1,73 @@ +# 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 virtualx + +DESCRIPTION="Python screenshot library" +HOMEPAGE="https://github.com/ponty/pyscreenshot" +SRC_URI="https://github.com/ponty/pyscreenshot/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="test? ( + dev-python/path-py[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/python-xlib[${PYTHON_USEDEP}] + dev-python/pyvirtualdisplay[${PYTHON_USEDEP}] + media-gfx/pqiv +)" + +DEPEND=" + dev-python/easyprocess[${PYTHON_USEDEP}] + dev-python/entrypoint2[${PYTHON_USEDEP}] + dev-python/jeepney[${PYTHON_USEDEP}] + dev-python/mss[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_prepare_all() { + # easyprocess.EasyProcessError: start error fails inside emerge env + sed -i -e 's:test_default:_&:' \ + tests/test_default.py || die + + # AssertionError + sed -i -e 's:test_imagemagick:_&:' \ + tests/test_imagemagick.py || die + + # Needs access to dbus + sed -i -e 's:test_kwin_dbus:_&:' \ + tests/test_kwin_dbus.py || die + + # AssertionError + sed -i -e 's:test_mss:_&:' \ + tests/test_mss.py || die + + # AssertionError + sed -i -e 's:test_pygdk3:_&:' \ + tests/test_pygdk3.py || die + + # AssertionError + sed -i -e 's:test_pyqt5:_&:' \ + tests/test_pyqt5.py || die + + # AssertionError + sed -i -e 's:test_qtpy:_&:' \ + tests/test_qtpy.py || die + + # AssertionError + sed -i -e 's:test_scrot:_&:' \ + tests/test_scrot.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + virtx pytest -vv +} diff --git a/dev-python/pytest-datadir/Manifest b/dev-python/pytest-datadir/Manifest new file mode 100644 index 000000000000..ae3460d06b15 --- /dev/null +++ b/dev-python/pytest-datadir/Manifest @@ -0,0 +1 @@ +DIST pytest-datadir-1.3.1.tar.gz 15230 BLAKE2B 72c5daaeb93315be55ae052d39a22eee4e64a1aaafa344ae64b527eebd137dc4667cee2f60af887551f00814d7ea4e5788097d0f59f7769335545c5083aef356 SHA512 2ab035ea4e6c4eaaead746a5fd3988feed31a314f73e18270faf4ae606521aa045f3d6c5e1301adcb87f8fd5b1ba5f3f1784f212ad778707ba46ad638d594f8c diff --git a/dev-python/pytest-datadir/metadata.xml b/dev-python/pytest-datadir/metadata.xml new file mode 100644 index 000000000000..13a5b75ca678 --- /dev/null +++ b/dev-python/pytest-datadir/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@riseup.net</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/pytest-datadir/pytest-datadir-1.3.1.ebuild b/dev-python/pytest-datadir/pytest-datadir-1.3.1.ebuild new file mode 100644 index 000000000000..4410dfb88542 --- /dev/null +++ b/dev-python/pytest-datadir/pytest-datadir-1.3.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Pytest plugin for manipulating test data directories and files" +HOMEPAGE="https://github.com/gabrielcnr/pytest-datadir" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_test() { + distutils_install_for_testing + pytest -vv || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install + + # Do not install license to /usr + rm "${D}/usr/LICENSE" || die +} diff --git a/dev-python/pytest-faulthandler/Manifest b/dev-python/pytest-faulthandler/Manifest new file mode 100644 index 000000000000..3b5372a25474 --- /dev/null +++ b/dev-python/pytest-faulthandler/Manifest @@ -0,0 +1,2 @@ +DIST pytest-faulthandler-1.6.0.tar.gz 6656 BLAKE2B 0fe66827e09c6b566ac6a9aa3fd4da03f0f5c4ea1e8601b16ed1a211c33150bcc0eaac5b47786040f571ceb266300bcb5142e2a8d977aeb69f89bd0ecefec4c3 SHA512 23146b1c0965e66ac201cae82192f3833daad2563f2177d916050df14b532a3eb78f2dd3b888cec3d28121b334ee86c9b762c5aadb8fb624c9a4288fbad693a5 +DIST pytest-faulthandler-2.0.1.tar.gz 3629 BLAKE2B f66b6989673b179b3ad3f583b9e7b9615b08e1e062f06969f37bd8a9a57e58bd0207544b0c11aa4a9d03f4db40a125bbbe1924160b2bdcb2c0c589de07281570 SHA512 184b4228693db0f15fdcf250f09c3ee9ef4767e744af9000ec46876f0c68e17434a6d1e25c7d59f610b2baa659d7af5a784cbf0e5e29b105f48d50d00cb1a7ca diff --git a/dev-python/pytest-faulthandler/metadata.xml b/dev-python/pytest-faulthandler/metadata.xml new file mode 100644 index 000000000000..13a5b75ca678 --- /dev/null +++ b/dev-python/pytest-faulthandler/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@riseup.net</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/pytest-faulthandler/pytest-faulthandler-1.6.0.ebuild b/dev-python/pytest-faulthandler/pytest-faulthandler-1.6.0.ebuild new file mode 100644 index 000000000000..5033fc34123b --- /dev/null +++ b/dev-python/pytest-faulthandler/pytest-faulthandler-1.6.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Pytest plugin that activates the fault handler module for tests" +HOMEPAGE="https://github.com/pytest-dev/pytest-faulthandler" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +DEPEND=" + >=dev-python/pytest-4.0[${PYTHON_USEDEP}] + <dev-python/pytest-5.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + distutils_install_for_testing + pytest -vv || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/pytest-faulthandler/pytest-faulthandler-2.0.1.ebuild b/dev-python/pytest-faulthandler/pytest-faulthandler-2.0.1.ebuild new file mode 100644 index 000000000000..38021a87f44e --- /dev/null +++ b/dev-python/pytest-faulthandler/pytest-faulthandler-2.0.1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="Pytest plugin that activates the fault handler module for tests" +HOMEPAGE="https://github.com/pytest-dev/pytest-faulthandler" +SRC_URI="https://github.com/pytest-dev/pytest-faulthandler/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/pytest-5.0[${PYTHON_USEDEP}] +" diff --git a/dev-python/pytest-ordering/Manifest b/dev-python/pytest-ordering/Manifest new file mode 100644 index 000000000000..0036ecd18b92 --- /dev/null +++ b/dev-python/pytest-ordering/Manifest @@ -0,0 +1 @@ +DIST pytest-ordering-0.6.tar.gz 11046 BLAKE2B 468ae5f04029b96ed3058b7f429aec0aaf96092453b229c3de5eab174702af2c1a9fe83171c68d282c4a144b3dd736daf9ed87b9e139a7bd175114f504049ebc SHA512 fd3aec83914f64d1295e1a1bf3fdc580c6824a749a1da8cebae275fef940d6ed6e5dcafad321d94f504a153e13e298b6544dc3c2db716a6b25d3148c2365fe15 diff --git a/dev-python/pytest-ordering/metadata.xml b/dev-python/pytest-ordering/metadata.xml new file mode 100644 index 000000000000..f75856b0885f --- /dev/null +++ b/dev-python/pytest-ordering/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@riseup.net</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">https://github.com/ftobia/pytest-ordering</remote-id> + <remote-id type="pypi">pytest-ordering</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/pytest-ordering/pytest-ordering-0.6.ebuild b/dev-python/pytest-ordering/pytest-ordering-0.6.ebuild new file mode 100644 index 000000000000..c75eea3e609d --- /dev/null +++ b/dev-python/pytest-ordering/pytest-ordering-0.6.ebuild @@ -0,0 +1,34 @@ +# 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} ) + +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="pytest plugin to run your tests in a specific order" +HOMEPAGE=" + https://github.com/ftobia/pytest-ordering + https://pypi.org/project/pytest-ordering +" +SRC_URI="https://github.com/ftobia/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="test? ( dev-python/pytest-ordering[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source + +python_prepare_all() { + # TypeError: `args` parameter expected to be a list or tuple of strings, got: '--markers' (type: <class 'str'>) + sed -i -e 's:test_run_marker_registered:_&:' \ + tests/test_ordering.py || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/pytest-regressions/Manifest b/dev-python/pytest-regressions/Manifest new file mode 100644 index 000000000000..939a2ea0cd1b --- /dev/null +++ b/dev-python/pytest-regressions/Manifest @@ -0,0 +1 @@ +DIST pytest-regressions-2.0.1.tar.gz 77934 BLAKE2B 4bf9868afd3bae1ab1668a6cb75bbc661336b3bd7dca23b0b6e0ab810cb60645737e45008c74a09f90763869982db5d819f170f6b251d9419681ceee810c4657 SHA512 9c35f356ef2c2914674b022b4a357ec75a4a12c8090c44d959111f1eaa1f10f492f8103098b273292bff08a5957d7f2ae3f0b0bd051438d6467ce1491f234d97 diff --git a/dev-python/pytest-regressions/metadata.xml b/dev-python/pytest-regressions/metadata.xml new file mode 100644 index 000000000000..13a5b75ca678 --- /dev/null +++ b/dev-python/pytest-regressions/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@riseup.net</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/pytest-regressions/pytest-regressions-2.0.1.ebuild b/dev-python/pytest-regressions/pytest-regressions-2.0.1.ebuild new file mode 100644 index 000000000000..5acfd446bdee --- /dev/null +++ b/dev-python/pytest-regressions/pytest-regressions-2.0.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Easy to use fixtures to write regression tests" +HOMEPAGE="https://github.com/ESSS/pytest-regressions" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="test? ( + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/tox[${PYTHON_USEDEP}] +)" + +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-datadir[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest +distutils_enable_sphinx doc dev-python/sphinx_rtd_theme + +python_test() { + distutils_install_for_testing + pytest -vv || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/pytest-xvfb/Manifest b/dev-python/pytest-xvfb/Manifest new file mode 100644 index 000000000000..2132937334bb --- /dev/null +++ b/dev-python/pytest-xvfb/Manifest @@ -0,0 +1 @@ +DIST pytest-xvfb-2.0.0.tar.gz 6855 BLAKE2B 338802ccbf5fc0c9ab3fccd7c172b31867cc86869dfc50dbb30daf396ecd9865e71c6486cc96c2485e2d5b6195dc2eff83a033864f88e1b2c64a3937b6b48c84 SHA512 42c2119b2c529a45b5de9f8ac2781306cfb9f00c1d0e0e9045ed40ccb7260cb6f400683802ab845ce2481dcadfcef007c8417a481e9c04f14ee1bdc68244d391 diff --git a/dev-python/pytest-xvfb/metadata.xml b/dev-python/pytest-xvfb/metadata.xml new file mode 100644 index 000000000000..13a5b75ca678 --- /dev/null +++ b/dev-python/pytest-xvfb/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@riseup.net</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild new file mode 100644 index 000000000000..740c41e8a328 --- /dev/null +++ b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild @@ -0,0 +1,30 @@ +# 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} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="A pytest plugin to run Xvfb for tests" +HOMEPAGE="https://pypi.org/project/pytest-xvfb/" +SRC_URI="https://github.com/The-Compiler/pytest-xvfb/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}] + >=dev-python/pyvirtualdisplay-1.3[${PYTHON_USEDEP}] + x11-base/xorg-server[xvfb] +" + +distutils_enable_tests pytest + +python_test() { + distutils_install_for_testing + pytest -vv || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/pyvirtualdisplay/Manifest b/dev-python/pyvirtualdisplay/Manifest new file mode 100644 index 000000000000..33557fc07cbc --- /dev/null +++ b/dev-python/pyvirtualdisplay/Manifest @@ -0,0 +1 @@ +DIST pyvirtualdisplay-1.3.2.tar.gz 38532 BLAKE2B 2c0cb3af426abc58dc895667c5fecb40ee9aa870dbb08a51ac32fbd5bd3620b97498b3dfc6e7026362604c82f67b60885370f0704a1349a65668628d9a21e80c SHA512 422e1530bb740fc77cc0b7abb73cb8e7326689c80c5f49b58be70b262e8a2c28274d3b83a0ec7753adfbf78b780047f61cf7b18fb14f935d483a5e3d04953210 diff --git a/dev-python/pyvirtualdisplay/metadata.xml b/dev-python/pyvirtualdisplay/metadata.xml new file mode 100644 index 000000000000..13a5b75ca678 --- /dev/null +++ b/dev-python/pyvirtualdisplay/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@riseup.net</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/pyvirtualdisplay/pyvirtualdisplay-1.3.2.ebuild b/dev-python/pyvirtualdisplay/pyvirtualdisplay-1.3.2.ebuild new file mode 100644 index 000000000000..4810e58a78ff --- /dev/null +++ b/dev-python/pyvirtualdisplay/pyvirtualdisplay-1.3.2.ebuild @@ -0,0 +1,54 @@ +# 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="Python wrapper for Xvfb, Xephyr and Xvnc" +HOMEPAGE="https://github.com/ponty/PyVirtualDisplay" +SRC_URI="https://github.com/ponty/PyVirtualDisplay/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="test? ( + dev-python/backports[${PYTHON_USEDEP}] + dev-python/backports-tempfile[${PYTHON_USEDEP}] + dev-python/entrypoint2[${PYTHON_USEDEP}] + dev-python/path-py[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pyscreenshot[${PYTHON_USEDEP}] + ~dev-python/vncdotool-0.13.0[${PYTHON_USEDEP}] + x11-base/xorg-server[xvfb,xephyr] + x11-misc/x11vnc +)" + +DEPEND="dev-python/easyprocess[${PYTHON_USEDEP}]" + +S="${WORKDIR}/PyVirtualDisplay-${PV}" + +distutils_enable_tests pytest + +python_prepare_all() { + # all of this fails: AssertionError + rm tests/test_examples.py || die + + # Assertion error No such file or directory: 'Xvnc': 'Xvnc' + sed -i -e 's:test_race_10_xvnc:_&:' \ + tests/test_race.py || die + + # No such file or directory: 'Xvnc': 'Xvnc' + sed -i -e 's:test_slowshot:_&:' \ + -e 's:test_slowshot_with:_&:' \ + tests/test_smart.py || die + + # No such file or directory: 'Xvnc': 'Xvnc' + sed -i -e 's:test_double:_&:' \ + tests/test_smart2.py || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/sphinx-multiversion/Manifest b/dev-python/sphinx-multiversion/Manifest new file mode 100644 index 000000000000..09d063091ece --- /dev/null +++ b/dev-python/sphinx-multiversion/Manifest @@ -0,0 +1 @@ +DIST sphinx-multiversion-0.2.4.tar.gz 20468 BLAKE2B 9bdc59691b63c280d08c77108318b778c8bf948c502538e94e77072589c4e6565bcb7e863a8d765f55be012b21a1a0242d37077248312a7ee18dc788a7dbc633 SHA512 68441793631f59df3330ecc84c0d1aa279f0492021108121f2bdab92d5a3eb61522664f14c4ebe8709126e0088ff8eb323aeeebb5d1e7a2dcbd358eeac772d08 diff --git a/dev-python/sphinx-multiversion/metadata.xml b/dev-python/sphinx-multiversion/metadata.xml new file mode 100644 index 000000000000..13a5b75ca678 --- /dev/null +++ b/dev-python/sphinx-multiversion/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@riseup.net</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/sphinx-multiversion/sphinx-multiversion-0.2.4.ebuild b/dev-python/sphinx-multiversion/sphinx-multiversion-0.2.4.ebuild new file mode 100644 index 000000000000..eb17e4c52eac --- /dev/null +++ b/dev-python/sphinx-multiversion/sphinx-multiversion-0.2.4.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Add support for multiple versions to sphinx" +HOMEPAGE="https://github.com/Holzhaus/sphinx-multiversion" +SRC_URI="https://github.com/Holzhaus/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + dev-python/sphinx[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs dev-python/alabaster diff --git a/dev-python/sphinx-panels/Manifest b/dev-python/sphinx-panels/Manifest new file mode 100644 index 000000000000..33ef93edc04f --- /dev/null +++ b/dev-python/sphinx-panels/Manifest @@ -0,0 +1 @@ +DIST sphinx-panels-0.4.1.tar.gz 393088 BLAKE2B 3ba183710d211ddc623791dfa1994e08a65a2a3b4c3cda44bba7c13da255dd32c571a3637961bb901dadddfd7d06e7304eb7c489bcdcce8a05452efa151830f3 SHA512 a86377197682fe456d4d1d94571dfcb41bd09b086b79b3fd06a2d170aa97392130315f95534c04160e202cf8674bcd4005893dd306b2a1210647708863d22517 diff --git a/dev-python/sphinx-panels/metadata.xml b/dev-python/sphinx-panels/metadata.xml new file mode 100644 index 000000000000..13a5b75ca678 --- /dev/null +++ b/dev-python/sphinx-panels/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@riseup.net</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/sphinx-panels/sphinx-panels-0.4.1.ebuild b/dev-python/sphinx-panels/sphinx-panels-0.4.1.ebuild new file mode 100644 index 000000000000..10cc2d0a18c3 --- /dev/null +++ b/dev-python/sphinx-panels/sphinx-panels-0.4.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="A sphinx extension for creating panels in a grid layout" +HOMEPAGE="https://github.com/executablebooks/sphinx-panels" +SRC_URI="https://github.com/executablebooks/sphinx-panels/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs dev-python/sphinx_rtd_theme diff --git a/dev-python/spyder-kernels/Manifest b/dev-python/spyder-kernels/Manifest index ff58663e328f..05beaf351cfd 100644 --- a/dev-python/spyder-kernels/Manifest +++ b/dev-python/spyder-kernels/Manifest @@ -1 +1,2 @@ DIST spyder-kernels-1.9.2-gh.tar.gz 72034 BLAKE2B c6ba0f911ecc7ae000ef57605276cf7a089eeee580d78d0b9ba5b4a667f493754d0956690a8ee14e3e5031cec0407915ee4c8526e815a2226a7d50cc849cb414 SHA512 f7aab11bcfc746d56d67c28162ebadc5d583f0e05a5dda27ec30f5ac37f736c1f8d785371b5080bb19b964087d6c730d5f377c29781b7bd7bee273ec533799d9 +DIST spyder-kernels-1.9.4-gh.tar.gz 72428 BLAKE2B e612905046b25f87deb2013b7d39155ddacf2e3ebe5fb4ee2090ccc28fd6be47571c4423c910c932c248bb69b0b39f762c1a159311413ce3da784bb4b7a076db SHA512 51ae84d2cb05a75d658a57ff43387f1b15c82692660b33ff0b9c6fb80fa7cac92c286e342c4ef1888b2d8c889c6406219538e2d4ad0066e1b8e18481bd191386 diff --git a/dev-python/spyder-kernels/spyder-kernels-1.9.4.ebuild b/dev-python/spyder-kernels/spyder-kernels-1.9.4.ebuild new file mode 100644 index 000000000000..852cf50b9c8b --- /dev/null +++ b/dev-python/spyder-kernels/spyder-kernels-1.9.4.ebuild @@ -0,0 +1,46 @@ +# 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="Kernels used by spyder on its ipython console" +HOMEPAGE="https://github.com/spyder-ide/spyder-kernels/ + https://pypi.org/project/spyder-kernels/" +SRC_URI="https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}-gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/cloudpickle[${PYTHON_USEDEP}] + >=dev-python/ipykernel-5.1.3[${PYTHON_USEDEP}] + >=dev-python/jupyter_client-5.3.4[${PYTHON_USEDEP}] + >=dev-python/pyzmq-17[${PYTHON_USEDEP}] + >=dev-python/wurlitzer-1.0.3[${PYTHON_USEDEP}] +" + +DEPEND="test? ( + dev-python/cython[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] +)" + +distutils_enable_tests pytest + +python_prepare_all() { + # assert False + sed -i -e 's:test_dask_multiprocessing:_&:' \ + -e 's:test_turtle_launch:_&:' \ + spyder_kernels/console/tests/test_console_kernel.py || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/spyder-line-profiler/spyder-line-profiler-0.2.1.ebuild b/dev-python/spyder-line-profiler/spyder-line-profiler-0.2.1.ebuild index 87c93eb3448e..785ec23e41d5 100644 --- a/dev-python/spyder-line-profiler/spyder-line-profiler-0.2.1.ebuild +++ b/dev-python/spyder-line-profiler/spyder-line-profiler-0.2.1.ebuild @@ -17,11 +17,13 @@ KEYWORDS="~amd64 ~x86" RDEPEND=" dev-python/line_profiler[${PYTHON_USEDEP}] - >=dev-python/spyder-4.0.0[${PYTHON_USEDEP}]" + >=dev-python/spyder-4.0.0[${PYTHON_USEDEP}] + <dev-python/spyder-5.0.0[${PYTHON_USEDEP}] +" DEPEND="test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-qt[${PYTHON_USEDEP}] )" + dev-python/pytest-qt[${PYTHON_USEDEP}] +)" distutils_enable_tests pytest diff --git a/dev-python/spyder-memory-profiler/spyder-memory-profiler-0.2.1.ebuild b/dev-python/spyder-memory-profiler/spyder-memory-profiler-0.2.1.ebuild index 81d3bd164ab0..299549f968d0 100644 --- a/dev-python/spyder-memory-profiler/spyder-memory-profiler-0.2.1.ebuild +++ b/dev-python/spyder-memory-profiler/spyder-memory-profiler-0.2.1.ebuild @@ -15,12 +15,15 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -RDEPEND=">=dev-python/spyder-4.0.0[${PYTHON_USEDEP}] - dev-python/memory_profiler[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/memory_profiler[${PYTHON_USEDEP}] + >=dev-python/spyder-4.0.0[${PYTHON_USEDEP}] + <dev-python/spyder-5.0.0[${PYTHON_USEDEP}] +" DEPEND="test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-qt[${PYTHON_USEDEP}] )" + dev-python/pytest-qt[${PYTHON_USEDEP}] +)" distutils_enable_tests pytest diff --git a/dev-python/spyder-terminal/Manifest b/dev-python/spyder-terminal/Manifest index d1536adaacbb..6d3f321b1e83 100644 --- a/dev-python/spyder-terminal/Manifest +++ b/dev-python/spyder-terminal/Manifest @@ -1 +1 @@ -DIST spyder-terminal-0.4.0.tar.gz 9099944 BLAKE2B ee8dd4d896e5afd0610c7bcc8c33779431a8f2a36873f25132bacf66c2bdaf6d2fee85603c213e3cc60ae5aee51f4a99449abb5903e12adf43a2a2f2900ad418 SHA512 e3531f9439c8773eaa74b64890583398384673868303c5413052c99d5be711ea63f977d714e8f4854a426c2154a62df8c272d4b262400f3f4b4d627074d8f2e5 +DIST spyder-terminal-0.4.2.tar.gz 9123613 BLAKE2B badad7ba21c5d195bd7251719aeb74044b3d82ff840d0902046028c2dde006fc6c9da0095d1e56893f8f0c1ab01207ba559ef40e1f9d9f794768e4bbf701d1d5 SHA512 ac2755adbee2f8d0a799843fa5c9938ddfe612665452fef7b57d189481fb235c50efbc6665f0ef644db11324697382a65ece71d98051e8e17c6b968f5e94db39 diff --git a/dev-python/spyder-terminal/spyder-terminal-0.4.0.ebuild b/dev-python/spyder-terminal/spyder-terminal-0.4.2.ebuild index 444401b30f46..272e299de275 100644 --- a/dev-python/spyder-terminal/spyder-terminal-0.4.0.ebuild +++ b/dev-python/spyder-terminal/spyder-terminal-0.4.2.ebuild @@ -15,7 +15,8 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -RDEPEND="dev-python/coloredlogs[${PYTHON_USEDEP}] +RDEPEND=" + dev-python/coloredlogs[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] >=dev-python/spyder-4.0.0[${PYTHON_USEDEP}] dev-python/terminado[${PYTHON_USEDEP}] diff --git a/dev-python/spyder-unittest/spyder-unittest-0.4.1.ebuild b/dev-python/spyder-unittest/spyder-unittest-0.4.1.ebuild index 20bd270ad70d..6d9c4b01f458 100644 --- a/dev-python/spyder-unittest/spyder-unittest-0.4.1.ebuild +++ b/dev-python/spyder-unittest/spyder-unittest-0.4.1.ebuild @@ -15,14 +15,19 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -RDEPEND=">=dev-python/spyder-4.0.0[${PYTHON_USEDEP}] +RDEPEND=" + >=dev-python/spyder-4.0.0[${PYTHON_USEDEP}] + <dev-python/spyder-5.0.0[${PYTHON_USEDEP}] dev-python/pyzmq[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}]" + dev-python/lxml[${PYTHON_USEDEP}] +" DEPEND="test? ( dev-python/flaky[${PYTHON_USEDEP}] dev-python/nose[${PYTHON_USEDEP}] - dev-python/pytest-qt[${PYTHON_USEDEP}] )" + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-qt[${PYTHON_USEDEP}] +)" distutils_enable_tests pytest diff --git a/dev-python/spyder-vim/Manifest b/dev-python/spyder-vim/Manifest index e985d776f0c3..aeac005a18b2 100644 --- a/dev-python/spyder-vim/Manifest +++ b/dev-python/spyder-vim/Manifest @@ -1 +1 @@ -DIST spyder-vim-0_pre20200514.tar.gz 286672 BLAKE2B ab3f8fbb86a21077a7563be880a4c7844c45d3837fc9255d70442e5e0b7c9d65fc94bf5a1db71de21943847e964aadae62a1064443f9de68b67edccef20933cd SHA512 63645b95ae26a903f2427e45be6061b927c713675fab8c13f108f1eb9765e4e2f3a0172f9fcf709cb8e8d5a2c703297ff28ecb030f24b00bed93dde004c88595 +DIST spyder-vim-0_pre20200721.tar.gz 291815 BLAKE2B 6fbcd5dfc73de14a3e31deb4e7dae2e1881a1ad4fb07213c04b4c7446b225ebfdbf90c95c441e0b275dd020fa972eddd7b8ef11cab52b44fc369531f82dc381c SHA512 4363606f6329c3be84cab7431c7eda08012ee365e475446dd1addf858896ce1584ff04d3603a0f0a1473d3741b23befd311e3a107a96869da90eb6dc3c844361 diff --git a/dev-python/spyder-vim/spyder-vim-0_pre20200514.ebuild b/dev-python/spyder-vim/spyder-vim-0_pre20200721.ebuild index b19c22729ac4..35eae1a65eb1 100644 --- a/dev-python/spyder-vim/spyder-vim-0_pre20200514.ebuild +++ b/dev-python/spyder-vim/spyder-vim-0_pre20200721.ebuild @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{5,6,7,8,9} ) inherit distutils-r1 virtualx -COMMIT="0a5f982392a03a0f6448f2cfdfa116d027dc52b1" +COMMIT="c6f6ad75d1298d4cdadab69d57b2b4e2d235d8f3" DESCRIPTION="Plugin for Spyder to enable Vim keybindings" HOMEPAGE="https://github.com/spyder-ide/spyder-vim" @@ -20,8 +20,10 @@ KEYWORDS="~amd64 ~x86" RDEPEND=">dev-python/spyder-4.0.0[${PYTHON_USEDEP}]" DEPEND="test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-qt[${PYTHON_USEDEP}] )" + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-qt[${PYTHON_USEDEP}] +)" DOCS=( "README.rst" "doc/example.gif" ) diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest index a35f6bf4318c..f493f700e6a8 100644 --- a/dev-python/spyder/Manifest +++ b/dev-python/spyder/Manifest @@ -1,2 +1,4 @@ DIST spyder-4.1.4.tar.gz 11699453 BLAKE2B 208ba4f32fa548ef8478d72c046e70ba43a2fccd2040629af03f7f56c379ebefa1e90594054f15a92aebdd14307d001c68ee5e6d2401a841e408c4af42436c33 SHA512 8a5f63b11648002838e0b4e5427b1c7cf9cbe4a4fd20af7e33e5e789cddaf6393bb7200bfacf8c7af19d723f12d99d2e962a769706b806335f7146ddd6853735 +DIST spyder-4.1.5.tar.gz 11705605 BLAKE2B da22046116ea67c1d4f02ddf44d846fcf4361c45bae57a0b328ae646a1bcdc35494d42cb909c8b4d51cf0ae7c6578c4b4a3c746e55a5055a98dcb6a2b7c3cabb SHA512 9b118d857806791ed83182019088ad5b877fffe5e26cd47b4638cd9bdc68fc6ad8339186046a30715b5ccc6c503bc0a2824b7260f325816c9f750b9af667e3f1 DIST spyder-docs-0d5afe26b8e28f3eb9f36f4ec3828bf8375c339e.tar.gz 29749238 BLAKE2B 9cf655c2a6fdf84278eaeb2e6f13c92eb4e585f213fd4f164a2707bc3cf8cb8abaaa213c5e781414fb0eecb3cf26b1f1708b394cd1ca12fa353ccbdd33f01dcb SHA512 8ed005cbfc32d7c68cf633790446d5d271f4d38ad190c09b2bcfd3ee96f24af5443d911bcdea90dc6ad94c5dab78437b9db02d0d4a7ceb9afa37a31e4bad24ae +DIST spyder-docs-7fbdabcbc37fe696e4ad5604cdbf4023dfbe8b6c.tar.gz 58822544 BLAKE2B 9ddd662eb0e3b2845a15bc38a0ab994fcf43824a560cf635a29e16b5eb66407706a412ea50a2f8e5c0212675df3422ece649bd1e50e3ecd1c34ee5727f8a2df9 SHA512 ab30f287733681da0b1d15656a44cd320401330309efbff8f0a89f59a15d5c57532a2eab3e8353d8c3856eac0a393385a852663d6698d0a0d309def21d13933d diff --git a/dev-python/spyder/files/spyder-4.1.5-doc-theme-renamed.patch b/dev-python/spyder/files/spyder-4.1.5-doc-theme-renamed.patch new file mode 100644 index 000000000000..8a93662950f0 --- /dev/null +++ b/dev-python/spyder/files/spyder-4.1.5-doc-theme-renamed.patch @@ -0,0 +1,13 @@ +diff --git a/docs/doc/conf.py b/docs/doc/conf.py +index fd6d5ec..3de0bad 100644 +--- a/docs/doc/conf.py ++++ b/docs/doc/conf.py +@@ -129,7 +129,7 @@ pygments_style = "sphinx" + # + # CI = True + # TRAVIS_BRANCH = 'master' +-html_theme = "pandas_sphinx_theme" ++html_theme = "pydata_sphinx_theme" + html_logo = '_static/spyder_logo.png' + html_theme_options = { + "external_links": [ diff --git a/dev-python/spyder/spyder-4.1.5.ebuild b/dev-python/spyder/spyder-4.1.5.ebuild new file mode 100644 index 000000000000..a860c02a7abb --- /dev/null +++ b/dev-python/spyder/spyder-4.1.5.ebuild @@ -0,0 +1,207 @@ +# 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 eutils xdg distutils-r1 + +# Commit of documentation to fetch +DOCS_PV="7fbdabcbc37fe696e4ad5604cdbf4023dfbe8b6c" + +MYPV="${PV/_alpha/a}" + +DESCRIPTION="The Scientific Python Development Environment" +HOMEPAGE=" + https://www.spyder-ide.org/ + https://github.com/spyder-ide/spyder/ + https://pypi.org/project/spyder/" +SRC_URI="https://github.com/spyder-ide/${PN}/archive/v${MYPV}.tar.gz -> ${P}.tar.gz + https://github.com/spyder-ide/${PN}-docs/archive/${DOCS_PV}.tar.gz -> ${PN}-docs-${DOCS_PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# Extra indented deps are expansion of python-language-server[all] dep +# As the pyls ebuild does not add flags for optional runtime dependencies +# we have to manually specify these desp instead of just depending on the [all] +# flag. The indentation allows us to distinguish them from spyders direct deps. +RDEPEND=" + >=dev-python/atomicwrites-1.2.0[${PYTHON_USEDEP}] + >=dev-python/chardet-2.0.0[${PYTHON_USEDEP}] + >=dev-python/cloudpickle-0.5.0[${PYTHON_USEDEP}] + >=dev-util/cookiecutter-1.6.0[${PYTHON_USEDEP}] + >=dev-python/diff-match-patch-20181111[${PYTHON_USEDEP}] + dev-python/intervaltree[${PYTHON_USEDEP}] + >=dev-python/ipython-4.0[${PYTHON_USEDEP}] + ~dev-python/jedi-0.17.1[${PYTHON_USEDEP}] + dev-python/keyring[${PYTHON_USEDEP}] + >=dev-python/nbconvert-4.0[${PYTHON_USEDEP}] + >=dev-python/numpydoc-0.6.0[${PYTHON_USEDEP}] + ~dev-python/parso-0.7.0[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.4.0[${PYTHON_USEDEP}] + >=dev-python/pickleshare-0.4[${PYTHON_USEDEP}] + >=dev-python/psutil-5.3[${PYTHON_USEDEP}] + >=dev-python/pygments-2.0[${PYTHON_USEDEP}] + >=dev-python/pylint-1.0[${PYTHON_USEDEP}] + >=dev-python/python-language-server-0.34.0[${PYTHON_USEDEP}] + + dev-python/autopep8[${PYTHON_USEDEP}] + >=dev-python/flake8-3.8.0[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}] + <dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] + >=dev-python/pycodestyle-2.6.0[${PYTHON_USEDEP}] + <dev-python/pycodestyle-2.7.0[${PYTHON_USEDEP}] + >=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] + >=dev-python/pyflakes-2.2.0[${PYTHON_USEDEP}] + <dev-python/pyflakes-2.3.0[${PYTHON_USEDEP}] + dev-python/pylint[${PYTHON_USEDEP}] + >=dev-python/rope-0.10.5[${PYTHON_USEDEP}] + dev-python/yapf[${PYTHON_USEDEP}] + + <dev-python/python-language-server-1.0.0[${PYTHON_USEDEP}] + >=dev-python/pyxdg-0.26[${PYTHON_USEDEP}] + >=dev-python/pyzmq-17.0.0[${PYTHON_USEDEP}] + >=dev-python/qdarkstyle-2.8[${PYTHON_USEDEP}] + >=dev-python/qtawesome-0.5.7[${PYTHON_USEDEP}] + >=dev-python/qtconsole-4.6.0[${PYTHON_USEDEP}] + >=dev-python/QtPy-1.5.0[${PYTHON_USEDEP},svg,webengine] + >=dev-python/sphinx-0.6.6[${PYTHON_USEDEP}] + >=dev-python/spyder-kernels-1.9.4[${PYTHON_USEDEP}] + <dev-python/spyder-kernels-1.10.0[${PYTHON_USEDEP}] + dev-python/watchdog[${PYTHON_USEDEP}] +" + +BDEPEND="test? ( + <dev-python/coverage-5.0[${PYTHON_USEDEP}] + dev-python/cython[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/matplotlib[tk,${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + <dev-python/pytest-5.0[${PYTHON_USEDEP}] + <dev-python/pytest-faulthandler-2.0[${PYTHON_USEDEP}] + dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-ordering[${PYTHON_USEDEP}] + dev-python/pytest-qt[${PYTHON_USEDEP}] + dev-python/pytest-xvfb[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] + dev-python/sympy[${PYTHON_USEDEP}] +)" + +# Based on the courtesy of Arfrever +# This patch removes a call to update-desktop-database during build +# This fails because access is denied to this command during build +PATCHES=( + "${FILESDIR}/${PN}-4.1.2-build.patch" + "${FILESDIR}/${PN}-4.1.2-py3-only.patch" + "${FILESDIR}/${PN}-4.1.5-doc-theme-renamed.patch" +) + +DOCS=( + "AUTHORS.txt" + "Announcements.md" + "CHANGELOG.md" + "CODE_OF_CONDUCT.md" + "CONTRIBUTING.md" + "NOTICE.txt" + "README.md" + "RELEASE.md" + "TROUBLESHOOTING.md" +) + +S="${WORKDIR}/${PN}-${MYPV}" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/doc dev-python/sphinx-panels dev-python/pydata-sphinx-theme dev-python/sphinx-multiversion + +python_prepare_all() { + # move docs into workdir + mv ../spyder-docs-${DOCS_PV}* docs || die + + # these deps are packaged separately: dev-python/spyder-kernels, dev-python/python-language-server + rm external-deps/* -r || die + + # do not depend on pyqt5<13 + sed -i -e '/pyqt5/d' \ + -e '/pyqtwebengine/d' \ + setup.py || die + + # do not check deps, fails because we removed pyqt5 dependency above + sed -i -e 's:test_dependencies_for_spyder_setup_install_requires_in_sync:_&:' \ + spyder/tests/test_dependencies_in_sync.py || die + + # some tests still depend on QtPy[webkit] which is removed + # spyder itself works fine without webkit + rm spyder/widgets/tests/test_browser.py || die + rm spyder/plugins/onlinehelp/tests/test_pydocgui.py || die + rm spyder/plugins/ipythonconsole/tests/test_ipythonconsole.py || die + rm spyder/plugins/ipythonconsole/tests/test_ipython_config_dialog.py || die + rm spyder/plugins/help/tests/test_widgets.py || die + rm spyder/plugins/help/tests/test_plugin.py || die + rm spyder/app/tests/test_mainwindow.py || die + + # skip online test + rm spyder/widgets/github/tests/test_github_backend.py || die + + # AssertionError: assert '' == 'This is some test text!' + sed -i -e 's:test_tab_copies_find_to_replace:_&:' \ + spyder/plugins/editor/widgets/tests/test_editor.py || die + + # RuntimeError: Unsafe load() call disabled by Gentoo. See bug #659348 + sed -i -e 's:test_dependencies_for_binder_in_sync:_&:' \ + spyder/tests/test_dependencies_in_sync.py || die + + # Fatal Python error: Segmentation fault + # sometimes it works, sometimes it segfaults + sed -i -e 's:test_copy_path:_&:' \ + -e 's:test_copy_file:_&:' \ + -e 's:test_save_file:_&:' \ + -e 's:test_delete_file:_&:' \ + spyder/plugins/explorer/widgets/tests/test_explorer.py || die + + # Assertion error, can't connect/remember inside ebuild environment + rm spyder/plugins/ipythonconsole/widgets/tests/test_kernelconnect.py || die + + # AssertionError: assert 47 in [43, 44, 45, 46] + sed -i -e 's:test_objectexplorer_collection_types:_&:' \ + spyder/plugins/variableexplorer/widgets/objectexplorer/tests/test_objectexplorer.py || die + + distutils-r1_python_prepare_all +} + +# Calling pytest directly makes the tests freeze after completing even if successful +# Exit code is nonzero even upon success, so can't add || die here +# test results should be checked for success manually +python_test() { + ${EPYTHON} runtests.py +} + +pkg_postinst() { + xdg_pkg_postinst + + elog "To get additional features, optional runtime dependencies may be installed:" + optfeature "2D/3D plotting in the Python and IPython consoles" dev-python/matplotlib + optfeature "View and edit DataFrames and Series in the Variable Explorer" dev-python/pandas + optfeature "View and edit two or three dimensional arrays in the Variable Explorer" dev-python/numpy + optfeature "Symbolic mathematics in the IPython console" dev-python/sympy + optfeature "Import Matlab workspace files in the Variable Explorer" sci-libs/scipy + optfeature "Run Cython files in the IPython console" dev-python/cython + optfeature "The hdf5/h5py plugin" dev-python/h5py + optfeature "The line profiler plugin" dev-python/spyder-line-profiler + optfeature "The memory profiler plugin" dev-python/spyder-memory-profiler + # spyder-autopep8 does not have a release (yet) + # and are not compatible with >=spyder-4.0.0 at the moment + # optfeature "The autopep8 plugin" dev-python/spyder-autopep8 + optfeature "Vim key bindings" dev-python/spyder-vim + optfeature "Unittest support" dev-python/spyder-unittest + optfeature "Jupyter notebook support" dev-python/spyder-notebook + optfeature "System terminal inside spyder" dev-python/spyder-terminal + # spyder-reports not yet updated to >=spyder-4.0.0 + # optfeature "Markdown reports using Pweave" dev-python/spyder-reports +} diff --git a/dev-python/vncdotool/Manifest b/dev-python/vncdotool/Manifest new file mode 100644 index 000000000000..4deebb582c11 --- /dev/null +++ b/dev-python/vncdotool/Manifest @@ -0,0 +1,2 @@ +DIST vncdotool-0.13.0.tar.gz 72780 BLAKE2B 6a27565c5410148f569bd5a8e212327d734f9fd044549683bafcbbaed0df56e0a4853b4750eadc74e2186463313cd510c5290a8c4de69eba5ecbc42ea5d94c32 SHA512 65e275c53dbc805114801b149bff86743cdcb2b8d69b038425fd7dd6f911b113e332246178080c71314d58624137152205057c00b451a3ec6b46541f1b294b98 +DIST vncdotool-1.0.0.tar.gz 62580 BLAKE2B d09b26e81496055f17e96fa5b60ea006ddd210fa8b0044785c107582af18a61fb5beec83f577222b32cc8f446694235cd3ab468cfa917ec3ef4b00b6fbc1a8bc SHA512 45fba9ba3549ad575923bcfb3ab62c53b3c2d85882c87ca2b656795314b9c32aa989a1fdae280f904cb4d79f509622810ffd4d1e2977beac917f0289d6ff24a4 diff --git a/dev-python/vncdotool/metadata.xml b/dev-python/vncdotool/metadata.xml new file mode 100644 index 000000000000..13a5b75ca678 --- /dev/null +++ b/dev-python/vncdotool/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@riseup.net</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/vncdotool/vncdotool-0.13.0.ebuild b/dev-python/vncdotool/vncdotool-0.13.0.ebuild new file mode 100644 index 000000000000..586c2cf93a15 --- /dev/null +++ b/dev-python/vncdotool/vncdotool-0.13.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_{7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Command line VNC client" +HOMEPAGE="https://github.com/sibson/vncdotool" +SRC_URI="https://github.com/sibson/vncdotool/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# No clue why this happens: +# pexpect.exceptions.ExceptionPexpect: The command was not found or was not executable: vncev. +RESTRICT="test" + +BDEPEND="test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pluggy[${PYTHON_USEDEP}] + dev-python/ptyprocess[${PYTHON_USEDEP}] + dev-python/py[${PYTHON_USEDEP}] + dev-python/tox[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] +)" + +DEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/twisted[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs diff --git a/dev-python/vncdotool/vncdotool-1.0.0.ebuild b/dev-python/vncdotool/vncdotool-1.0.0.ebuild new file mode 100644 index 000000000000..586c2cf93a15 --- /dev/null +++ b/dev-python/vncdotool/vncdotool-1.0.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_{7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Command line VNC client" +HOMEPAGE="https://github.com/sibson/vncdotool" +SRC_URI="https://github.com/sibson/vncdotool/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# No clue why this happens: +# pexpect.exceptions.ExceptionPexpect: The command was not found or was not executable: vncev. +RESTRICT="test" + +BDEPEND="test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pluggy[${PYTHON_USEDEP}] + dev-python/ptyprocess[${PYTHON_USEDEP}] + dev-python/py[${PYTHON_USEDEP}] + dev-python/tox[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] +)" + +DEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/twisted[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs diff --git a/dev-python/wand/Manifest b/dev-python/wand/Manifest index 3c1fc9abe518..5caace53b3e3 100644 --- a/dev-python/wand/Manifest +++ b/dev-python/wand/Manifest @@ -1 +1,2 @@ DIST Wand-0.6.2.tar.gz 10503865 BLAKE2B ad488a2d3d6b5801b20ca3caab884069cd5fb6913e04fb719885abdd49578f77cfc4b47a33235f4833463d75c01ad80e06c0687badb9c981a16c9c358c815032 SHA512 906490a0a75a4fc315b592fec12dea21cd40102c461381a79d5215c70ab6fb9c8a1e888fc478ea2ad006db6549dfdd2b7b1e01879cc2aba34dcc0cdd6ae2d128 +DIST Wand-0.6.3.tar.gz 10506834 BLAKE2B 65ba3d5719f7ad8d77a088d94344cc96f14ca45e95850494033a395cc8772d431653a16b2c3494268f351ee4187e5f5f0dbc22058266e9526cff2312e9a2c5b9 SHA512 9aef97434cc8cdef0880d1d1b2bbbdadba807543489d2c82725aa0b5287718f2a10f5508ca7d72a859e242e2b3e205e5f95649cb43be56d5eec8a83c272d0bac diff --git a/dev-python/wand/wand-0.6.3.ebuild b/dev-python/wand/wand-0.6.3.ebuild new file mode 100644 index 000000000000..a99288d09ea4 --- /dev/null +++ b/dev-python/wand/wand-0.6.3.ebuild @@ -0,0 +1,35 @@ +# 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 + +MY_P="${PN^}-${PV}" +DESCRIPTION="Ctypes-based simple ImageMagick binding for Python" +HOMEPAGE="https://wand-py.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="media-gfx/imagemagick" +BDEPEND=" + test? ( + media-gfx/imagemagick[fftw,jpeg,png,truetype,xml] + >=dev-python/pytest-5.3.5[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs + +python_test() { + # PDF support is blocked by the default ImageMagick security policy + pytest -vv --skip-pdf || die "Tests fail with ${EPYTHON}" +} |
