diff options
author | 2020-09-15 08:35:13 +0000 | |
---|---|---|
committer | 2020-09-15 08:35:13 +0000 | |
commit | 2f7c6e6de181ef09e17f904b1b0c9ffbb93bf567 (patch) | |
tree | 91e8937f6d059b0c3336431c4cad5f12e887e65a | |
parent | 2020-09-15 08:05:43 UTC (diff) | |
parent | dev-python/wand: bump to 0.6.3 (diff) | |
download | gentoo-2f7c6e6de181ef09e17f904b1b0c9ffbb93bf567.tar.gz gentoo-2f7c6e6de181ef09e17f904b1b0c9ffbb93bf567.tar.bz2 gentoo-2f7c6e6de181ef09e17f904b1b0c9ffbb93bf567.zip |
Merge updates from master
63 files changed, 1130 insertions, 24 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..b9ce949a9e5d --- /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_{6,7,8} ) + +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/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..c1b10718a56c --- /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_{7,8} ) + +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..d22e99d73577 --- /dev/null +++ b/dev-python/easyprocess/metadata.xml @@ -0,0 +1,12 @@ +<?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> +</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..fc2e650b9d50 --- /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_{7,8} ) + +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..d22e99d73577 --- /dev/null +++ b/dev-python/entrypoint2/metadata.xml @@ -0,0 +1,12 @@ +<?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> +</pkgmetadata> diff --git a/dev-python/line_profiler/line_profiler-3.0.2.ebuild b/dev-python/line_profiler/line_profiler-3.0.2.ebuild index 4c08a5c1f82d..a48003e8777a 100644 --- a/dev-python/line_profiler/line_profiler-3.0.2.ebuild +++ b/dev-python/line_profiler/line_profiler-3.0.2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{6,7,8} ) DISTUTILS_USE_SETUPTOOLS=rdepend 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..d22e99d73577 --- /dev/null +++ b/dev-python/mss/metadata.xml @@ -0,0 +1,12 @@ +<?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> +</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..d22e99d73577 --- /dev/null +++ b/dev-python/pydata-sphinx-theme/metadata.xml @@ -0,0 +1,12 @@ +<?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> +</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..7c71c8ae5f24 --- /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_{7,8} ) +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..d22e99d73577 --- /dev/null +++ b/dev-python/pyscreenshot/metadata.xml @@ -0,0 +1,12 @@ +<?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> +</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..d4e41d5057b3 --- /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_{7,8} ) + +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..d22e99d73577 --- /dev/null +++ b/dev-python/pytest-datadir/metadata.xml @@ -0,0 +1,12 @@ +<?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> +</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..d22e99d73577 --- /dev/null +++ b/dev-python/pytest-faulthandler/metadata.xml @@ -0,0 +1,12 @@ +<?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> +</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..48b39a119114 --- /dev/null +++ b/dev-python/pytest-ordering/metadata.xml @@ -0,0 +1,17 @@ +<?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> +</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..a6fe80e2943f --- /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_{6,7,8} ) + +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..d22e99d73577 --- /dev/null +++ b/dev-python/pytest-regressions/metadata.xml @@ -0,0 +1,12 @@ +<?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> +</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..d22e99d73577 --- /dev/null +++ b/dev-python/pytest-xvfb/metadata.xml @@ -0,0 +1,12 @@ +<?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> +</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..f6108d71158a --- /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_{7,8} ) +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..d22e99d73577 --- /dev/null +++ b/dev-python/pyvirtualdisplay/metadata.xml @@ -0,0 +1,12 @@ +<?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> +</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..fcb0f048615e --- /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_{7,8} ) + +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..d22e99d73577 --- /dev/null +++ b/dev-python/sphinx-multiversion/metadata.xml @@ -0,0 +1,12 @@ +<?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> +</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..d22e99d73577 --- /dev/null +++ b/dev-python/sphinx-panels/metadata.xml @@ -0,0 +1,12 @@ +<?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> +</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..979f038c90f7 --- /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_{7,8} ) + +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 16a6a96a2d6b..d72cb2f56160 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 @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_7 ) +PYTHON_COMPAT=( python3_{7,8} ) inherit distutils-r1 virtualx @@ -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 6a7df158ca88..44303fc8b16d 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 @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_7 ) +PYTHON_COMPAT=( python3_{7,8} ) inherit distutils-r1 virtualx @@ -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-notebook/spyder-notebook-0.3.0.ebuild b/dev-python/spyder-notebook/spyder-notebook-0.3.0.ebuild index 2392d07aaefd..9297921518d5 100644 --- a/dev-python/spyder-notebook/spyder-notebook-0.3.0.ebuild +++ b/dev-python/spyder-notebook/spyder-notebook-0.3.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_7 ) +PYTHON_COMPAT=( python3_{7,8} ) inherit distutils-r1 virtualx 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 3c158e86cddf..0555d35ae087 100644 --- a/dev-python/spyder-terminal/spyder-terminal-0.4.0.ebuild +++ b/dev-python/spyder-terminal/spyder-terminal-0.4.2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_7 ) +PYTHON_COMPAT=( python3_{7,8} ) inherit distutils-r1 @@ -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 5a999c55cae6..14eb1d313ebb 100644 --- a/dev-python/spyder-unittest/spyder-unittest-0.4.1.ebuild +++ b/dev-python/spyder-unittest/spyder-unittest-0.4.1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_7 ) +PYTHON_COMPAT=( python3_{7,8} ) inherit distutils-r1 virtualx @@ -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 ee631d43a904..07c570778ebc 100644 --- a/dev-python/spyder-vim/spyder-vim-0_pre20200514.ebuild +++ b/dev-python/spyder-vim/spyder-vim-0_pre20200721.ebuild @@ -3,11 +3,11 @@ EAPI=7 -PYTHON_COMPAT=( python3_7 ) +PYTHON_COMPAT=( python3_{7,8} ) 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..d8bcd60bdc25 --- /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_{7,8} ) + +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..d22e99d73577 --- /dev/null +++ b/dev-python/vncdotool/metadata.xml @@ -0,0 +1,12 @@ +<?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> +</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..094165125f7a --- /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=( pypy3 python3_{7,8,9} ) + +inherit distutils-r1 + +MY_P="${PN^}-${PV}" +DESCRIPTION="Ctypes-based simple ImageMagick binding for Python" +HOMEPAGE="http://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}" +} diff --git a/dev-util/cookiecutter/cookiecutter-1.7.2-r1.ebuild b/dev-util/cookiecutter/cookiecutter-1.7.2-r1.ebuild index fb9639ccbe2c..a50474701283 100644 --- a/dev-util/cookiecutter/cookiecutter-1.7.2-r1.ebuild +++ b/dev-util/cookiecutter/cookiecutter-1.7.2-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/audreyr/cookiecutter/archive/${PV}.tar.gz -> ${P}.ta LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~x86" IUSE="test" RESTRICT="!test? ( test )" |