diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-06-27 13:46:07 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-06-27 13:46:07 +0000 |
| commit | c3c7ab781a73bbc7cf95a78b999fbc54c90bce3f (patch) | |
| tree | a7943cd588e4aab8f4c1ec73bfb8e995ef797735 /dev-python | |
| parent | 974f69308846f100192e1bf2b0e26bb49e1cb4d6 (diff) | |
| download | baldeagleos-repo-c3c7ab781a73bbc7cf95a78b999fbc54c90bce3f.tar.gz baldeagleos-repo-c3c7ab781a73bbc7cf95a78b999fbc54c90bce3f.tar.xz baldeagleos-repo-c3c7ab781a73bbc7cf95a78b999fbc54c90bce3f.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/mkdocs/mkdocs-1.1.2-r1.ebuild | 67 | ||||
| -rw-r--r-- | dev-python/mkdocs/mkdocs-1.1.2-r2.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/mkdocs/mkdocs-1.1.2.ebuild | 58 | ||||
| -rw-r--r-- | dev-python/outcome/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/outcome/metadata.xml | 14 | ||||
| -rw-r--r-- | dev-python/outcome/outcome-1.1.0.ebuild | 29 | ||||
| -rw-r--r-- | dev-python/sphinxcontrib-trio/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/sphinxcontrib-trio/metadata.xml | 17 | ||||
| -rw-r--r-- | dev-python/sphinxcontrib-trio/sphinxcontrib-trio-1.1.2.ebuild | 38 | ||||
| -rw-r--r-- | dev-python/textdistance/textdistance-4.2.1-r1.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/textdistance/textdistance-4.2.1.ebuild | 41 | ||||
| -rw-r--r-- | dev-python/trio/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/trio/metadata.xml | 21 | ||||
| -rw-r--r-- | dev-python/trio/trio-0.19.0.ebuild | 54 |
14 files changed, 178 insertions, 168 deletions
diff --git a/dev-python/mkdocs/mkdocs-1.1.2-r1.ebuild b/dev-python/mkdocs/mkdocs-1.1.2-r1.ebuild deleted file mode 100644 index daa8b2339290..000000000000 --- a/dev-python/mkdocs/mkdocs-1.1.2-r1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="Project documentation with Markdown" -HOMEPAGE="https://www.mkdocs.org https://github.com/mkdocs/mkdocs" -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="doc" - -BDEPEND=" - doc? ( - dev-python/mdx_gh_links - ) -" - -RDEPEND=" - >=dev-python/click-7.0[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.3[${PYTHON_USEDEP}] - >=dev-python/livereload-2.6.1[${PYTHON_USEDEP}] - ~dev-python/lunr-0.5.9[${PYTHON_USEDEP}] - >=dev-python/markdown-3.2.1[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.2[${PYTHON_USEDEP}] - >=www-servers/tornado-5.1.1[${PYTHON_USEDEP}] -" - -distutils_enable_tests nose - -python_prepare_all() { - # Tests fails if additional themes are installed - sed -i -e 's:test_get_themes:_&:' \ - mkdocs/tests/utils/utils_tests.py || die - - # Upstream pins this to workaround with a bug - # in lunr, from 0.5.9 onwards lunr (mistakenly?) - # depends on nltk<3.5 if [languages], which does not - # work with mkdocs. We remove the [languages] part, and - # allow the use of 0.5.9 instead of 0.5.8. - # Tests pass. - sed -i -e 's/lunr\[languages\]==0.5.8/lunr==0.5.9/g' \ - setup.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - default - if use doc; then - # cannot just do mkdocs build, because that fails if - # the package isn't already installed - python -m mkdocs build || die "Failed to make docs" - # Colliding files found by ecompress: - rm site/sitemap.xml.gz || die - HTML_DOCS=( "site/." ) - fi -} diff --git a/dev-python/mkdocs/mkdocs-1.1.2-r2.ebuild b/dev-python/mkdocs/mkdocs-1.1.2-r2.ebuild index ba7c3c764e5a..af70c747d758 100644 --- a/dev-python/mkdocs/mkdocs-1.1.2-r2.ebuild +++ b/dev-python/mkdocs/mkdocs-1.1.2-r2.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="doc" diff --git a/dev-python/mkdocs/mkdocs-1.1.2.ebuild b/dev-python/mkdocs/mkdocs-1.1.2.ebuild deleted file mode 100644 index b131f6e11725..000000000000 --- a/dev-python/mkdocs/mkdocs-1.1.2.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="Project documentation with Markdown" -HOMEPAGE="https://www.mkdocs.org https://github.com/mkdocs/mkdocs" -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" - -IUSE="doc" - -BDEPEND=" - doc? ( - dev-python/mdx_gh_links - ) -" - -RDEPEND=" - >=dev-python/click-7.0[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.3[${PYTHON_USEDEP}] - >=dev-python/livereload-2.6.1[${PYTHON_USEDEP}] - ~dev-python/lunr-0.5.8[${PYTHON_USEDEP}] - >=dev-python/markdown-3.2.1[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.2[${PYTHON_USEDEP}] - >=www-servers/tornado-5.1.1[${PYTHON_USEDEP}] -" - -distutils_enable_tests nose - -python_prepare_all() { - # Tests fails if additional themes are installed - sed -i -e 's:test_get_themes:_&:' \ - mkdocs/tests/utils/utils_tests.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - default - if use doc; then - # cannot just do mkdocs build, because that fails if - # the package isn't already installed - python -m mkdocs build || die "Failed to make docs" - # Colliding files found by ecompress: - rm site/sitemap.xml.gz || die - HTML_DOCS=( "site/." ) - fi -} diff --git a/dev-python/outcome/Manifest b/dev-python/outcome/Manifest new file mode 100644 index 000000000000..08ba4dcd8f2d --- /dev/null +++ b/dev-python/outcome/Manifest @@ -0,0 +1 @@ +DIST outcome-1.1.0.tar.gz 18675 BLAKE2B eef22274bb4d1ddd19fa223167b6c8ce96f015ac0b3b0609aed3717deb306087457ab068fd2466d492fcc5859d561e6d3172ad14611a937ec59a75b604565953 SHA512 65de1c0a38b8cbb041a9fc3a79518eeacea54ec87341846ae80a9a2075369f72a397f5aa747ae179eaac8f341a7e07cc1641555fbb809cc7924b2171f7f3d90e diff --git a/dev-python/outcome/metadata.xml b/dev-python/outcome/metadata.xml new file mode 100644 index 000000000000..17fbf6d6ccaf --- /dev/null +++ b/dev-python/outcome/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@gentoo.org</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <upstream> + <remote-id type="github">python-trio/outcome</remote-id> + <remote-id type="pypi">outcome</remote-id> + </upstream> + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/outcome/outcome-1.1.0.ebuild b/dev-python/outcome/outcome-1.1.0.ebuild new file mode 100644 index 000000000000..87cb8a5d4453 --- /dev/null +++ b/dev-python/outcome/outcome-1.1.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Capture the outcome of Python function calls" +HOMEPAGE=" + https://github.com/python-trio/outcome + https://pypi.org/project/outcome +" +SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/attrs[${PYTHON_USEDEP}]" + +BDEPEND="test? ( + dev-python/async_generator[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] +)" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source dev-python/sphinxcontrib-trio diff --git a/dev-python/sphinxcontrib-trio/Manifest b/dev-python/sphinxcontrib-trio/Manifest new file mode 100644 index 000000000000..4a31a932f9f5 --- /dev/null +++ b/dev-python/sphinxcontrib-trio/Manifest @@ -0,0 +1 @@ +DIST sphinxcontrib-trio-1.1.2.tar.gz 24131 BLAKE2B 5ddaf5ed6c85905275e206fdd966745ce4dd7296595c488864df291cb7202725ccab722f306dd9d6c27d660f5cb3e43bf9ab2fe50e8aa5a7232c2615dddbdfd0 SHA512 cb90f37f463fbdd3f810eb6d76b4bdaaabe83317de0ad747fcee55980849d691e272884ecdfcbee58851cf536f268f2520caba281d7550fe3250e92c69164434 diff --git a/dev-python/sphinxcontrib-trio/metadata.xml b/dev-python/sphinxcontrib-trio/metadata.xml new file mode 100644 index 000000000000..8d74898b9fec --- /dev/null +++ b/dev-python/sphinxcontrib-trio/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@gentoo.org</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <longdescription lang="en"> +This sphinx extension helps you document Python code that uses async/await, or abstract methods, or context managers, or generators, or … you get the idea. It works by making sphinx’s regular directives for documenting Python functions and methods smarter and more powerful. The name is because it was originally written for the Trio project, and I’m not very creative. But don’t be put off – there’s nothing Trio- or async-specific about this extension; any Python project can benefit. (Though projects using async/await probably benefit the most, since sphinx’s built-in tools are especially inadequate in this case.) + </longdescription> + <upstream> + <remote-id type="github">python-trio/sphinxcontrib-trio</remote-id> + <remote-id type="pypi">sphinxcontrib-trio</remote-id> + </upstream> + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/sphinxcontrib-trio/sphinxcontrib-trio-1.1.2.ebuild b/dev-python/sphinxcontrib-trio/sphinxcontrib-trio-1.1.2.ebuild new file mode 100644 index 000000000000..c9f226cf16a6 --- /dev/null +++ b/dev-python/sphinxcontrib-trio/sphinxcontrib-trio-1.1.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Make Sphinx better at documenting Python functions and methods" +HOMEPAGE=" + https://github.com/python-trio/sphinxcontrib-trio + https://pypi.org/project/sphinxcontrib-trio +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="|| ( Apache-2.0 MIT )" +KEYWORDS="~amd64" +SLOT="0" + +RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]" + +BDEPEND=" + test? ( + dev-python/async_generator[${PYTHON_USEDEP}] + dev-python/contextlib2[${PYTHON_USEDEP}] + dev-python/cssselect[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] +)" + +# AttributeError: 'Sphinx' object has no attribute 'add_stylesheet' +#distutils_enable_sphinx docs/source +distutils_enable_tests pytest + +python_test() { + # https://github.com/python-trio/sphinxcontrib-trio/issues/260 + epytest --deselect tests/test_sphinxcontrib_trio.py::test_end_to_end +} diff --git a/dev-python/textdistance/textdistance-4.2.1-r1.ebuild b/dev-python/textdistance/textdistance-4.2.1-r1.ebuild index 2259757c7395..c99dbd1cae49 100644 --- a/dev-python/textdistance/textdistance-4.2.1-r1.ebuild +++ b/dev-python/textdistance/textdistance-4.2.1-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/life4/textdistance/archive/v.${PV}.tar.gz -> ${P}.ta LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" BDEPEND="test? ( dev-python/abydos[${PYTHON_USEDEP}] diff --git a/dev-python/textdistance/textdistance-4.2.1.ebuild b/dev-python/textdistance/textdistance-4.2.1.ebuild deleted file mode 100644 index c99dbd1cae49..000000000000 --- a/dev-python/textdistance/textdistance-4.2.1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Compute distance between the two texts" -HOMEPAGE="https://github.com/life4/textdistance" -SRC_URI="https://github.com/life4/textdistance/archive/v.${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" - -BDEPEND="test? ( - dev-python/abydos[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/isort[${PYTHON_USEDEP}] - dev-python/jellyfish[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/python-levenshtein[${PYTHON_USEDEP}] - dev-python/pyxDamerauLevenshtein[${PYTHON_USEDEP}] -)" - -S="${WORKDIR}/${PN}-v.${PV}" - -distutils_enable_tests --install pytest - -python_prepare_all() { - # RuntimeError: cannot import distance.hamming - # these optional things are missing at the moment - sed -i -e 's:test_compare:_&:' \ - -e 's:test_qval:_&:' \ - -e 's:test_list_of_numbers:_&:' \ - tests/test_external.py || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest new file mode 100644 index 000000000000..3a72c2dee339 --- /dev/null +++ b/dev-python/trio/Manifest @@ -0,0 +1 @@ +DIST trio-0.19.0.tar.gz 486036 BLAKE2B 052cadb8d251960b20349659b92f4d26c5b65128cbbfafee21a4a4b90463e43d9c9db6b35f3659d2b062c7d0b8b8914b31b38d2faed6c9d948c0ccbe85a0a250 SHA512 5297a3f48b786eac05b686f1e8bb0603a9c0133d6c4872a307cdc8f1e37aedb57d668b61c2568c82b7d1058b6604a22d2c5c2298f13d13f0daf8e9259aa76d7c diff --git a/dev-python/trio/metadata.xml b/dev-python/trio/metadata.xml new file mode 100644 index 000000000000..e5ac62141631 --- /dev/null +++ b/dev-python/trio/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@gentoo.org</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <longdescription lang="en"> +The Trio project's goal is to produce a production-quality, permissively licensed, async/await-native I/O library for Python. Like all async libraries, its main purpose is to help you write programs that do multiple things at the same time with parallelized I/O. A web spider that wants to fetch lots of pages in parallel, a web server that needs to juggle lots of downloads and websocket connections at the same time, a process supervisor monitoring multiple subprocesses... that sort of thing. Compared to other libraries, Trio attempts to distinguish itself with an obsessive focus on usability and correctness. Concurrency is complicated; we try to make it easy to get things right. + +Trio was built from the ground up to take advantage of the latest Python features, and draws inspiration from many sources, in particular Dave Beazley's Curio. The resulting design is radically simpler than older competitors like asyncio and Twisted, yet just as capable. Trio is the Python I/O library I always wanted; I find it makes building I/O-oriented programs easier, less error-prone, and just plain more fun. Perhaps you'll find the same. + +This project is young and still somewhat experimental: the overall design is solid and the existing features are fully tested and documented, but you may encounter missing functionality or rough edges. We do encourage you to use it, but you should read and subscribe to issue #1 to get warning and a chance to give feedback about any compatibility-breaking changes. + </longdescription> + <upstream> + <remote-id type="github">python-trio/trio</remote-id> + <remote-id type="pypi">trio</remote-id> + </upstream> + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/trio/trio-0.19.0.ebuild b/dev-python/trio/trio-0.19.0.ebuild new file mode 100644 index 000000000000..1db2e453412b --- /dev/null +++ b/dev-python/trio/trio-0.19.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Python library for async concurrency and I/O" +HOMEPAGE=" + https://github.com/python-trio/trio + https://pypi.org/project/trio +" +SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/async_generator-1.9[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/outcome[${PYTHON_USEDEP}] + dev-python/sniffio[${PYTHON_USEDEP}] + dev-python/sortedcontainers[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/astor-0.8.0[${PYTHON_USEDEP}] + >=dev-python/immutables-0.6[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + >=dev-python/jedi-0.18.0[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/pylint[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests --install pytest +distutils_enable_sphinx docs/source \ + dev-python/immutables \ + dev-python/sphinxcontrib-trio \ + dev-python/sphinx_rtd_theme \ + dev-python/towncrier + +python_prepare_all() { + # these tests require internet access + rm trio/tests/test_ssl.py || die + rm trio/tests/test_highlevel_ssl_helpers.py || die + + distutils-r1_python_prepare_all +} |
