diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-07-07 12:58:25 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-07-07 12:58:25 +0000 |
| commit | 27ce5ee6caeae037430e5abf6a5c6d20c37099be (patch) | |
| tree | a1ff94f1bfac522f13b4d7701a1e6d7f7f0d036b /dev-python | |
| parent | 74c94d34bf880459dd9c7daacd29666ea5ed1c40 (diff) | |
| download | baldeagleos-repo-27ce5ee6caeae037430e5abf6a5c6d20c37099be.tar.gz baldeagleos-repo-27ce5ee6caeae037430e5abf6a5c6d20c37099be.tar.xz baldeagleos-repo-27ce5ee6caeae037430e5abf6a5c6d20c37099be.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/chameleon/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/chameleon/chameleon-3.8.1.ebuild | 21 | ||||
| -rw-r--r-- | dev-python/fsspec/fsspec-0.7.4.ebuild | 4 | ||||
| -rw-r--r-- | dev-python/ipykernel/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/ipykernel/ipykernel-5.3.1.ebuild | 33 | ||||
| -rw-r--r-- | dev-python/jupyter/jupyter-1.0.0-r2.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/jupyter_console/jupyter_console-6.0.0.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/memory_profiler/memory_profiler-0.57.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/moto/moto-1.3.14-r2.ebuild (renamed from dev-python/moto/moto-1.3.14-r1.ebuild) | 2 | ||||
| -rw-r--r-- | dev-python/moto/moto-1.3.8-r2.ebuild (renamed from dev-python/moto/moto-1.3.8-r1.ebuild) | 2 | ||||
| -rw-r--r-- | dev-python/sphinx/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/sphinx/sphinx-3.1.2.ebuild | 133 |
12 files changed, 197 insertions, 7 deletions
diff --git a/dev-python/chameleon/Manifest b/dev-python/chameleon/Manifest index 01b05f54fdc4..760d4310bce5 100644 --- a/dev-python/chameleon/Manifest +++ b/dev-python/chameleon/Manifest @@ -3,3 +3,4 @@ DIST chameleon-3.7.1.gh.tar.gz 135230 BLAKE2B f0bd4dd90f7ea976e96101c2937f0ae5db DIST chameleon-3.7.2.gh.tar.gz 135311 BLAKE2B da6803bc6c064151b9d0cbe7761bbb44f73b1fd24fcf77d2e906c410768a1c99fa04225ae4aa719282bbb1f4fd0d51a6c710901016bb5c24f78ba2184f978f27 SHA512 3025fa92bdff3279fc404ad08d73d46bee82afd421f1d81982bd5cd2ea3fdffadf22efdb8b66157dbdf4d0cd793ac06b1a0daac4eb17a2a1ce9f14a65d4a6f8d DIST chameleon-3.7.4.gh.tar.gz 135403 BLAKE2B 5cdcfb60975283a8c4d7623e002962dea336cf4414a9a212e9f9bab10ece4627ec36c80744d91428daea187e50956be89be128f25966e7d6069ad141992cfbde SHA512 429a2ff78b27996ee9c21cbc076614accf328e880f03f084e52395987a36c1eabd679428bf8400807bb909a60a31a5c899218640be0d0230ded7309e9ba6753b DIST chameleon-3.8.0.gh.tar.gz 135496 BLAKE2B ee21337bb59e4d724a2b9e647af399ceef2946ec3fc4679a78ba79c10ad78c7b41f0585bb0081c02604045e08f126e5f851bdf0c091679561e3591153c49cd1b SHA512 7eaeee53a215fe93142ad57e40d161816fdcfa9a24d68a4648f09ae0a49a2439ccf8f0ace700780025e196471dc1cb8941cd77b120c84876cec77c89e883534d +DIST chameleon-3.8.1.gh.tar.gz 137012 BLAKE2B 20b0a830ae932ad0e8b28015b233049ee78a74f06f26d2652ee297f366eda6f54fa7650fa20a3c4da3802a2466c0f6a4c4cdfd9608761a20986c86673c61a242 SHA512 d4a4b3ac0b59865a7ea1d9ede7f08d991296c1d08a48c7290b9e2864afa6527237d8dee604114918f3b5035f2cc915bf6218d0758ebcd393f2103bb0751f6ea2 diff --git a/dev-python/chameleon/chameleon-3.8.1.ebuild b/dev-python/chameleon/chameleon-3.8.1.ebuild new file mode 100644 index 000000000000..6f8ba1fc5c20 --- /dev/null +++ b/dev-python/chameleon/chameleon-3.8.1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Fast HTML/XML template compiler for Python" +HOMEPAGE="https://github.com/malthe/chameleon + https://pypi.org/project/Chameleon/" +SRC_URI=" + https://github.com/malthe/chameleon/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="repoze" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +distutils_enable_tests setup.py diff --git a/dev-python/fsspec/fsspec-0.7.4.ebuild b/dev-python/fsspec/fsspec-0.7.4.ebuild index 06e178338885..29d487b579e2 100644 --- a/dev-python/fsspec/fsspec-0.7.4.ebuild +++ b/dev-python/fsspec/fsspec-0.7.4.ebuild @@ -20,12 +20,12 @@ LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ~x86" -distutils_enable_tests pytest - BDEPEND=" dev-python/versioneer[${PYTHON_USEDEP}] test? ( dev-vcs/git )" +distutils_enable_tests pytest + src_test() { git config --global user.email "you@example.com" || die git config --global user.name "Your Name" || die diff --git a/dev-python/ipykernel/Manifest b/dev-python/ipykernel/Manifest index ca23d680582a..f4d64a9d0d77 100644 --- a/dev-python/ipykernel/Manifest +++ b/dev-python/ipykernel/Manifest @@ -1,2 +1,3 @@ DIST ipykernel-5.1.4.tar.gz 108592 BLAKE2B 9e009bc2d251b065b1e6e72fd5dfb1aeace9fef094a72c76b96814923cefeb50b214032a125936536b34209e7a1e4b68fac270f9000862fcbafac2f270266916 SHA512 f9552526fece022192a90e4a263651cafe54a609424df578b0549cc663af9981e746a6132ff5e646c6a7b429335b92e7335272d7870affaa1a1846a4d39e09bd DIST ipykernel-5.3.0.tar.gz 110977 BLAKE2B 4ca23618e25cc4ab4d6e1b0725136594d995eda91bd804611d1707c81437bfa0eef2b0995eb2697f28b119696d7493f6ec8e0c21e0cafb6e791a35438e8dd464 SHA512 c36a6dd4d9dfd52d31a8a37e10aea3c67a7a523ab32db8fb8904f4d90741056d946c265c57354be016d0fa1e4a34f4722c26798a3a7d6b6992884bdba8101190 +DIST ipykernel-5.3.1.tar.gz 108046 BLAKE2B d9018487f6400e5be0a4ea1cce504ba312992480f7cf73ffa72f02d3ce7bea7c985ae16a5f6712dc5efb0f6c92a3bd91c6e1390200f404c70778010f1e1e2282 SHA512 c63bb78d188b47a6b748bb51cc88bd66eeab535bc8d5832e058b8eb5e9919401dac171d5b4d821ba48b7ba1c622f702c0c96ff8f56a07c2ba8b2ae0faed68869 diff --git a/dev-python/ipykernel/ipykernel-5.3.1.ebuild b/dev-python/ipykernel/ipykernel-5.3.1.ebuild new file mode 100644 index 000000000000..5504b53c5963 --- /dev/null +++ b/dev-python/ipykernel/ipykernel-5.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_{6..9} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="IPython Kernel for Jupyter" +HOMEPAGE="https://github.com/ipython/ipykernel" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test" + +RDEPEND=" + >=dev-python/ipython-6[${PYTHON_USEDEP}] + dev-python/jupyter_client[${PYTHON_USEDEP}] + >=dev-python/jupyter_core-4.6[${PYTHON_USEDEP}] + >=dev-python/traitlets-4.1.0[${PYTHON_USEDEP}] + >=www-servers/tornado-4.0[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/nose_warnings_filters[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest diff --git a/dev-python/jupyter/jupyter-1.0.0-r2.ebuild b/dev-python/jupyter/jupyter-1.0.0-r2.ebuild index e2261ab869ea..a681abb393fb 100644 --- a/dev-python/jupyter/jupyter-1.0.0-r2.ebuild +++ b/dev-python/jupyter/jupyter-1.0.0-r2.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="doc" RDEPEND=" diff --git a/dev-python/jupyter_console/jupyter_console-6.0.0.ebuild b/dev-python/jupyter_console/jupyter_console-6.0.0.ebuild index 643134af1a3f..b7609e6be497 100644 --- a/dev-python/jupyter_console/jupyter_console-6.0.0.ebuild +++ b/dev-python/jupyter_console/jupyter_console-6.0.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="doc test" RESTRICT="!test? ( test )" diff --git a/dev-python/memory_profiler/memory_profiler-0.57.ebuild b/dev-python/memory_profiler/memory_profiler-0.57.ebuild index 9b0b4220a754..880e24684c38 100644 --- a/dev-python/memory_profiler/memory_profiler-0.57.ebuild +++ b/dev-python/memory_profiler/memory_profiler-0.57.ebuild @@ -17,7 +17,7 @@ IUSE="examples" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux" # dev-lang/mercury: collision on 'mprof' # https://bugs.gentoo.org/571176 diff --git a/dev-python/moto/moto-1.3.14-r1.ebuild b/dev-python/moto/moto-1.3.14-r2.ebuild index 915c8ed2a58b..89915445bd5a 100644 --- a/dev-python/moto/moto-1.3.14-r1.ebuild +++ b/dev-python/moto/moto-1.3.14-r2.ebuild @@ -32,6 +32,7 @@ RDEPEND=" >=dev-python/boto3-1.9.201[${PYTHON_USEDEP}] >=dev-python/botocore-1.12.201[${PYTHON_USEDEP}] dev-python/flask[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] dev-python/pretty-yaml[${PYTHON_USEDEP}] >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] @@ -48,7 +49,6 @@ RDEPEND=" BDEPEND=" test? ( ${RDEPEND} dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] dev-python/nose[${PYTHON_USEDEP}] dev-python/parameterized[${PYTHON_USEDEP}] dev-python/responses[${PYTHON_USEDEP}] diff --git a/dev-python/moto/moto-1.3.8-r1.ebuild b/dev-python/moto/moto-1.3.8-r2.ebuild index 49ed8ad77927..f930603b5ece 100644 --- a/dev-python/moto/moto-1.3.8-r1.ebuild +++ b/dev-python/moto/moto-1.3.8-r2.ebuild @@ -32,6 +32,7 @@ RDEPEND=" >=dev-python/boto3-1.9.86[${PYTHON_USEDEP}] >=dev-python/botocore-1.12.86[${PYTHON_USEDEP}] dev-python/flask[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] dev-python/pretty-yaml[${PYTHON_USEDEP}] >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] dev-python/pytz[${PYTHON_USEDEP}] @@ -46,7 +47,6 @@ RDEPEND=" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] test? ( ${RDEPEND} dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] dev-python/nose[${PYTHON_USEDEP}] dev-python/responses[${PYTHON_USEDEP}] >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest index 524f91b1ac87..3b0316a978b4 100644 --- a/dev-python/sphinx/Manifest +++ b/dev-python/sphinx/Manifest @@ -5,3 +5,4 @@ DIST Sphinx-3.0.3.tar.gz 5905054 BLAKE2B 048e449603f171d72b24be5bc0fca3465819e78 DIST Sphinx-3.0.4.tar.gz 5909229 BLAKE2B 892b435642be2a6334f93d9f230ec1aeeff8cf7b374570aae66eb341614d4318125920ef0c5593e7eee64e0b8781f035635af71aac34e9c2c6eb20a07ed68d48 SHA512 ec0c2487f098f774452b58d4fb67be7850b4a54b80f2b01dcee990298f59bfede3ca43b28fa992181cdceb07f261abce186862afd75c889c6682338049db6288 DIST Sphinx-3.1.0.tar.gz 5931678 BLAKE2B 63f9d78ea46832fc9ca7122826888abb5b8a6be55e6b3e9015a34bc4186b0544a6c5429be010622fb4794b720a6675b3a89f101446e36327819d5db07dceaa03 SHA512 8660061f3617b00eaf19655256d1b164eb24cc10c7c8016e32cd28d1f81903ef8def0c5da202066c477448f4ac6d764dbd8b1b7179edcb9d00925e35596c4714 DIST Sphinx-3.1.1.tar.gz 5932445 BLAKE2B d98d4e1d546a60217779a071d642cef8c4b703715e212344d904fc343928afe4b21722d953afb67add0c0390633f3c2159b2235d0a5dd0148946ebfbf473c215 SHA512 0c97cab085b1d8152cefde73a7e2116e83426a1ff071c8be9b37ae8e8cf82e9abefacad2cb37a86e1754fbdf57a8dc05ee3041d7dde506fa103babb82c380293 +DIST Sphinx-3.1.2.tar.gz 5934433 BLAKE2B 4ed04dcff4db412ea1f749c0b90d0c38197bbc95607bcc719522f0690d6fd58aa59b87a053c036e9b3c982e9c0f6fa9b6b67f903cb7d9e6fea3a13d99b7be297 SHA512 d1b55a603ea4a76d2315e170b8ba7858caf1658660e9983034918bd265c505f0e5157ab9d9cebc970261646ae0959e1cf75562b01b73bf3a380e712393a735b9 diff --git a/dev-python/sphinx/sphinx-3.1.2.ebuild b/dev-python/sphinx/sphinx-3.1.2.ebuild new file mode 100644 index 000000000000..02e54fb7e8fd --- /dev/null +++ b/dev-python/sphinx/sphinx-3.1.2.ebuild @@ -0,0 +1,133 @@ +# 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_{6..9} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Python documentation generator" +HOMEPAGE="https://www.sphinx-doc.org/ + https://github.com/sphinx-doc/sphinx" +SRC_URI="mirror://pypi/S/${PN^}/${P^}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" +IUSE="doc latex test" +RESTRICT="!test? ( test )" + +RDEPEND=" + <dev-python/alabaster-0.8[${PYTHON_USEDEP}] + dev-python/Babel[${PYTHON_USEDEP}] + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/imagesize[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/snowballstemmer[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-htmlhelp[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-serializinghtml[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/typed-ast[${PYTHON_USEDEP}] + ' python3_{6,7}) + latex? ( + dev-texlive/texlive-latexextra + dev-texlive/texlive-luatex + app-text/dvipng + )" +BDEPEND=" + doc? ( + dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}] + media-gfx/graphviz + ) + test? ( + ${RDEPEND} + dev-python/html5lib[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + virtual/imagemagick-tools[jpeg,png,svg] + dev-texlive/texlive-fontsextra + dev-texlive/texlive-latexextra + dev-texlive/texlive-luatex + app-text/dvipng + )" + +S="${WORKDIR}/${P^}" + +python_prepare_all() { + # remove tests that fail due to network-sandbox + rm tests/test_build_linkcheck.py || die "Failed to remove web tests" + sed -i -e 's:test_latex_images:_&:' tests/test_build_latex.py || die + + # fail under pypy3 (some because of missing typed-ast) + # revisit when pypy3 becomes pypy3.8 + sed -i -e '/def test_partialfunction/i\ +@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on pypy3")' \ + -e '/def test_autodoc_typed_instance_variables/i\ +@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on pypy3")' \ + -e '/def test_autodoc_inherited_members_None/i\ +@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on pypy3")' \ + -e '/def test_cython/i\ +@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on pypy3")' \ + -e '/def test_automethod_for_builtin/i\ +@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on pypy3")' \ + tests/test_ext_autodoc.py || die + sed -i -e '/import pytest/aimport sys' \ + -e '/def test_builtin_function/i\ +@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on pypy3")' \ + -e '/def test_methoddescriptor/i\ +@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on pypy3")' \ + -e '/def test_wrapped_function/i\ +@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on pypy3")' \ + tests/test_ext_autodoc_autofunction.py || die + sed -i -e '/import pytest/aimport sys' \ + -e '/def test_autodoc_typehints_signature/i\ +@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on pypy3")' \ + tests/test_ext_autodoc_configs.py || die + sed -i -e '/import pytest/aimport sys' \ + -e '/def test_autosummary_generate_content_for_module/i\ +@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on pypy3")' \ + tests/test_ext_autosummary.py || die + sed -i -e '/def test_annotated_assignment_py36/i\ +@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on pypy3")' \ + tests/test_pycode_parser.py || die + + # disable internet access + sed -i -e 's:^intersphinx_mapping:disabled_&:' \ + doc/conf.py || die + + distutils-r1_python_prepare_all +} + +python_compile() { + distutils-r1_python_compile + + # Generate the grammar. It will be caught by install somehow. + # Note that the tests usually do it for us. However, I don't want + # to trust USE=test really running all the tests, especially + # with FEATURES=test-fail-continue. + pushd "${BUILD_DIR}"/lib >/dev/null || die + "${EPYTHON}" -m sphinx.pycode.__init__ || die "Grammar generation failed." + popd >/dev/null || die +} + +python_compile_all() { + if use doc; then + esetup.py build_sphinx + HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) + fi +} + +python_test() { + mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die + local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir" + pytest -vv || die "Tests fail with ${EPYTHON}" +} |
