From 61c526706b8dbd68ef9fce0123b8aa91764e4f61 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [feature/flatten]" Date: Fri, 7 Aug 2020 06:38:56 +0000 Subject: Updating liguros repo --- dev-python/cmd2/Manifest | 1 + dev-python/cmd2/cmd2-1.3.1.ebuild | 48 ++++++++++++++ dev-python/ipyparallel/Manifest | 1 - .../ipyparallel-6.2.3-disable-broken-test.patch | 28 -------- dev-python/ipyparallel/ipyparallel-6.2.3.ebuild | 76 ---------------------- dev-python/libcloud/Manifest | 1 + dev-python/libcloud/libcloud-3.0.0.ebuild | 5 +- dev-python/libcloud/libcloud-3.1.0.ebuild | 49 ++++++++++++++ dev-python/lockfile/lockfile-0.12.2-r2.ebuild | 26 +------- .../requests-mock/requests-mock-1.8.0.ebuild | 1 + dev-python/tox/Manifest | 1 + dev-python/tox/metadata.xml | 1 + dev-python/tox/tox-3.19.0.ebuild | 70 ++++++++++++++++++++ dev-python/xlsxwriter/Manifest | 1 + dev-python/xlsxwriter/xlsxwriter-1.3.2.ebuild | 22 +++++++ 15 files changed, 201 insertions(+), 130 deletions(-) create mode 100644 dev-python/cmd2/cmd2-1.3.1.ebuild delete mode 100644 dev-python/ipyparallel/files/ipyparallel-6.2.3-disable-broken-test.patch delete mode 100644 dev-python/ipyparallel/ipyparallel-6.2.3.ebuild create mode 100644 dev-python/libcloud/libcloud-3.1.0.ebuild create mode 100644 dev-python/tox/tox-3.19.0.ebuild create mode 100644 dev-python/xlsxwriter/xlsxwriter-1.3.2.ebuild (limited to 'dev-python') diff --git a/dev-python/cmd2/Manifest b/dev-python/cmd2/Manifest index 7c5fa9ed5f96..5dc26da49752 100644 --- a/dev-python/cmd2/Manifest +++ b/dev-python/cmd2/Manifest @@ -2,3 +2,4 @@ DIST cmd2-1.1.0.tar.gz 605311 BLAKE2B 0816c3975b45c4845f234a746037319213af8860ea DIST cmd2-1.2.0.tar.gz 613769 BLAKE2B dbdabdd52ef26fa6fd91d4255dab1b77b0363fbfba85c4f42b3d125ab3663ef301bf267ace4617c3a391765b78778d231691cb87fb43d6d47c78d02a4a11cbc8 SHA512 2df3342a4b74a29948bba0dc11c44e37be9f2ebd78051efd4d77dd03bd3460d11857c8edc3c57baacb4b1abbc41b3504d475e0395563818032dc6946fcda6538 DIST cmd2-1.2.1.tar.gz 623518 BLAKE2B 69aebdb6350c453001b6101988d9b0d3d96ca7970c54cd59d3aad6e01b3e7133d62b57cb44588cec786ea21818d8c5983e5bc64510e8c6f07627505f14c28651 SHA512 5f7259111ed8f5719c230c33f6131c8464f5500ba14869d26e9f52850ea619c2b97ed950774930d9e19621e98c64b50c67eaff34277cd81463b60f8dcf6f04a3 DIST cmd2-1.3.0.tar.gz 642189 BLAKE2B 5052f0d0f3e42329efb43f4552ef24407812705f90e937bb0ef3c19c7b30b2648171a05346dcaf91df873e61e522161ac1db94ed0898114e81079d08478d45d7 SHA512 e9d935435d83b0e6ab946c0abff6d44116a2efcd3ac9eb9997f2f7b765f164ae3e379eca79da781f0689b7944c7ed967e09bd94010f370974a83fb8baab4142f +DIST cmd2-1.3.1.tar.gz 645161 BLAKE2B 97d89729fdbcb5a367a6a9bdd0edaf9e5295b21cb6ab8efe6e473c57de1df11ef1c7679f14d5a9e3dd7d494af9bbb8a7300db01c4c4d049ab3593ee8b9897ba3 SHA512 84b2c4a1d509e751ba4d88d454143d0c41092ee7101ef916123ef7081ace961eba34c0c9c8be8186aa5200a3ec28d09782380ed609bf21c3e86df1e447020248 diff --git a/dev-python/cmd2/cmd2-1.3.1.ebuild b/dev-python/cmd2/cmd2-1.3.1.ebuild new file mode 100644 index 000000000000..557a79fa9c87 --- /dev/null +++ b/dev-python/cmd2/cmd2-1.3.1.ebuild @@ -0,0 +1,48 @@ +# 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="Extra features for standard library's cmd module" +HOMEPAGE="https://github.com/python-cmd2/cmd2" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] + >=dev-python/colorama-0.3.7[${PYTHON_USEDEP}] + >=dev-python/pyperclip-1.6[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/wcwidth[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-1.6.0[${PYTHON_USEDEP}] + ' python3_{6,7}) +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e 's:test_which_editor_good:_&:' tests/test_cmd2.py || die + distutils-r1_src_prepare +} + +src_test() { + # tests rely on very specific text wrapping... + local -x COLUMNS=80 + virtx distutils-r1_src_test +} + +python_test() { + distutils_install_for_testing + pytest -vv || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/ipyparallel/Manifest b/dev-python/ipyparallel/Manifest index abcf93dbc6fc..bdce308ec709 100644 --- a/dev-python/ipyparallel/Manifest +++ b/dev-python/ipyparallel/Manifest @@ -1,2 +1 @@ -DIST ipyparallel-6.2.3.tar.gz 2371030 BLAKE2B 73f96bbed280def33ae243e592ecf2e298afe92287cf3a7edb966859c38c6dcb1f1a43082ab83907aa00e06d571f4b750df28e6885a1c2d1fd1489fd4472a7fc SHA512 ddf479a7776c2ca9fd37aa5b7dd402c136ce62a479333f5f56dce413649f9b928daed56c173ad5325268eaa58667d611257b20c8269899cc06ae2829f973b4c1 DIST ipyparallel-6.3.0.tar.gz 2380153 BLAKE2B b8312102e1d2b5fc963491ebe8530e2fd73e9f941f7912fbc72a8db51e7255f5cac95a853d15a57e384926ab1aff27f2a3ad13cc45130a8b612be5dc623538ab SHA512 fe621854b9cc3e5f88aeca2b06b63bb689dd2feee0da451a0a90800d8832f4b44b23bb9a15033029cc33179276f31e982a10fc7540e6d13b04f15d96c348a295 diff --git a/dev-python/ipyparallel/files/ipyparallel-6.2.3-disable-broken-test.patch b/dev-python/ipyparallel/files/ipyparallel-6.2.3-disable-broken-test.patch deleted file mode 100644 index b578cd7f73e1..000000000000 --- a/dev-python/ipyparallel/files/ipyparallel-6.2.3-disable-broken-test.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/ipyparallel/tests/test_util.py b/ipyparallel/tests/test_util.py -index 06fde46..e685a88 100644 ---- a/ipyparallel/tests/test_util.py -+++ b/ipyparallel/tests/test_util.py -@@ -3,7 +3,8 @@ from ipyparallel import util - from jupyter_client.localinterfaces import localhost, public_ips - - --def test_disambiguate_ip(): -+# This test is broken in gentoo's testing environment -+def xtest_disambiguate_ip(): - # garbage in, garbage out - public_ip = public_ips()[0] - assert util.disambiguate_ip_address('garbage') == 'garbage' -diff --git a/ipyparallel/tests/test_view.py b/ipyparallel/tests/test_view.py -index 45cb669..dd335b1 100644 ---- a/ipyparallel/tests/test_view.py -+++ b/ipyparallel/tests/test_view.py -@@ -823,7 +823,8 @@ class TestView(ClusterTestCase): - assert view.apply_sync(find_ipython) - - @skip_without('cloudpickle') -- def test_use_cloudpickle(self): -+ # Broken on Gentoo -+ def xtest_use_cloudpickle(self): - view = self.client[:] - view['_a'] = 'engine' - sys.modules['__main__']._a = 'client' diff --git a/dev-python/ipyparallel/ipyparallel-6.2.3.ebuild b/dev-python/ipyparallel/ipyparallel-6.2.3.ebuild deleted file mode 100644 index 15d01dafcc6d..000000000000 --- a/dev-python/ipyparallel/ipyparallel-6.2.3.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# 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} ) -PYTHON_REQ_USE="threads(+)" -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 eutils - -DESCRIPTION="Interactive Parallel Computing with IPython" -HOMEPAGE="https://ipyparallel.readthedocs.io/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux" -IUSE="doc test" -RESTRICT="!test? ( test )" - -# About tests and tornado -# Upstreams claims to work fine with tornado 5, and it's indeed possible to -# launch a cluster with tornado 5 installed, but tests definitely don't run with -# tornado 5 installed. Upstreams CI runs with tornado 4. This is why we limit -# ourselves to python@gentoo.org Python + tox tox-dev/tox diff --git a/dev-python/tox/tox-3.19.0.ebuild b/dev-python/tox/tox-3.19.0.ebuild new file mode 100644 index 000000000000..d998f919c884 --- /dev/null +++ b/dev-python/tox/tox-3.19.0.ebuild @@ -0,0 +1,70 @@ +# 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 ) + +inherit distutils-r1 + +DESCRIPTION="virtualenv-based automation of test activities" +HOMEPAGE="https://tox.readthedocs.io https://github.com/tox-dev/tox https://pypi.org/project/tox/" +SRC_URI="https://github.com/tox-dev/tox/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +# doc disabled because of missing deps in tree +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/filelock[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-1.1[${PYTHON_USEDEP}] + ' python3_{5,6,7} pypy3) + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/py[${PYTHON_USEDEP}] + >=dev-python/six-1.14[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] + >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]" +# TODO: figure out how to make tests work without the package being +# installed first. +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + >=dev-python/flaky-3.4.0[${PYTHON_USEDEP}] + >=dev-python/freezegun-0.3.11[${PYTHON_USEDEP}] + dev-python/pathlib2[${PYTHON_USEDEP}] + >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + =dev-python/tox-${PV}-${PR}[${PYTHON_USEDEP}] + )" + +src_prepare() { + distutils-r1_src_prepare + + # broken without internet + sed -i -e 's:test_provision_non_canonical_dep:_&:' \ + tests/unit/session/test_provision.py || die + sed -i -e 's:test_provision_interrupt_child:_&:' \ + tests/integration/test_provision_int.py || die + # broken with our mock version (?) + sed -i -e 's:test_create_KeyboardInterrupt:_&:' \ + tests/unit/test_venv.py || die + # broken with Gentoo Python layout + sed -i -e 's:test_tox_get_python_executable:_&:' \ + -e 's:test_find_alias_on_path:_&:' \ + tests/unit/interpreters/test_interpreters.py || die + + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +python_test() { + distutils_install_for_testing + pytest -vv --no-network || die "Testsuite failed under ${EPYTHON}" +} diff --git a/dev-python/xlsxwriter/Manifest b/dev-python/xlsxwriter/Manifest index 56a0841857ce..4286a78b4c08 100644 --- a/dev-python/xlsxwriter/Manifest +++ b/dev-python/xlsxwriter/Manifest @@ -1,2 +1,3 @@ DIST xlsxwriter-1.2.9-tests.tar.gz 29395878 BLAKE2B 010e3baf191dafe04b4c73986c7997048aeb1002515d24e104a241e7bc80c5e3e4e46b2454e01de72e23418a24ad981b758355dc77dfa1980265d5b119e7c247 SHA512 4680f2eaa96ec8063432f3f0642d27895cd462d3d9b664a452f8e2956bcd16268f41a5780d172cf61cd3951f1f5fbc2dc904ebef1e08e7f45269821a3157c7eb DIST xlsxwriter-1.3.1-tests.tar.gz 31366131 BLAKE2B 10c39c2a4d7c509ae98cf39feb97ae19bf53fc6be2ed0688d59bc6bd26bd3a8ce53edb43eedc83eba41258074fdc8bcdd54f2514297d045d5b283a7f1aacf922 SHA512 822a00911b783eeb907da3563a0fc939693296418b785087d2b7a43db08118b038ea6261f5b8832a1270813c51d54f2937020ccc150bfb4556bee056ae8af34b +DIST xlsxwriter-1.3.2-tests.tar.gz 31806889 BLAKE2B df1e37006487d66ed71dd52f64b9334c1b2ae6fbae836bae9121862d0437cdf6d7ac9d14c3cc2f8943f38ff807e76e2de52b6a0fd4be2c0179a01f05e96bf983 SHA512 00f08694d63adb23c11bbbed3546d97861fb6bec22dd36b2e2c31cdfcff656dfab154f8e85d5ba497f1d0a5611828287c35d73296369536ef3a461db505d3932 diff --git a/dev-python/xlsxwriter/xlsxwriter-1.3.2.ebuild b/dev-python/xlsxwriter/xlsxwriter-1.3.2.ebuild new file mode 100644 index 000000000000..87e2fb0a7da0 --- /dev/null +++ b/dev-python/xlsxwriter/xlsxwriter-1.3.2.ebuild @@ -0,0 +1,22 @@ +# 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_PN="XlsxWriter" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Python module for creating Excel XLSX files" +HOMEPAGE="https://github.com/jmcnamara/XlsxWriter" +SRC_URI="https://github.com/jmcnamara/XlsxWriter/archive/RELEASE_${PV}.tar.gz -> ${P}-tests.tar.gz" +S="${WORKDIR}/${MY_PN}-RELEASE_${PV}" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" + +distutils_enable_tests pytest -- cgit v1.3