diff --git a/dev-python/backrefs/Manifest b/dev-python/backrefs/Manifest new file mode 100644 index 0000000000..9259c90a58 --- /dev/null +++ b/dev-python/backrefs/Manifest @@ -0,0 +1 @@ +DIST backrefs-4.3.0.tar.gz 4927989 BLAKE2B 24e329c2002b471ccb5ec3d4930765b79dd1dd5666a29c55612559d306479e669bae849bacbfd9171a0a027e1bbf258e5a659cf6ba378f528e8abf2517ba72c0 SHA512 40ef55a4cc12d8aaf7307935eef2b89efbe56a567b62d04a543f871d0ebe3448554c567f79473010fba998af32d164cfb95584988918c84794cd86e61cff6b63 diff --git a/dev-python/backrefs/backrefs-4.3.0.ebuild b/dev-python/backrefs/backrefs-4.3.0.ebuild new file mode 100644 index 0000000000..15281ce177 --- /dev/null +++ b/dev-python/backrefs/backrefs-4.3.0.ebuild @@ -0,0 +1,43 @@ +# 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="Wrapper around re or regex that adds additional back references" +HOMEPAGE=" + https://github.com/facelessuser/backrefs + https://pypi.org/project/backrefs +" +SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="doc" + +DEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + doc? ( + >=dev-python/mkdocs-material-2.2.5 + dev-python/pyspelling + ) +" + +distutils_enable_tests pytest + +python_compile_all() { + default + if use doc; then + mkdocs build || die "failed to make docs" + HTML_DOCS="site" + fi +} diff --git a/dev-python/backrefs/metadata.xml b/dev-python/backrefs/metadata.xml new file mode 100644 index 0000000000..98b2deb17d --- /dev/null +++ b/dev-python/backrefs/metadata.xml @@ -0,0 +1,16 @@ + + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + facelessuser/backrefs + backrefs + + +Backrefs is a wrapper around Python's built-in Re and the 3rd party Regex library. Backrefs adds various additional back references (and a couple other features) that are known to some regular expression engines, but not to Python's Re and/or Regex. The supported back references actually vary depending on the regular expression engine being used as the engine may already have support for some. + + diff --git a/dev-python/bracex/Manifest b/dev-python/bracex/Manifest new file mode 100644 index 0000000000..ff829ba005 --- /dev/null +++ b/dev-python/bracex/Manifest @@ -0,0 +1 @@ +DIST bracex-2.0.0.tar.gz 24223 BLAKE2B bbf24e000bc7c2e1055e5a1a9b685c9b44ff49c2678b4b3bc43f9643277d8fba5e721b905f4f133903ef894a37633e1aa07dfd19ebd5396514dd15603bef3887 SHA512 0d8c8334dc6c3546413d5af8f3e10756c9b4a20f2462dff548fca3832968095fbddee9d2e10528960e0739ffacbb2fc475c042764148a45d5134f902b449df7f diff --git a/dev-python/bracex/bracex-2.0.0.ebuild b/dev-python/bracex/bracex-2.0.0.ebuild new file mode 100644 index 0000000000..3f6f564c7e --- /dev/null +++ b/dev-python/bracex/bracex-2.0.0.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_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Bash style brace expansion for Python" +HOMEPAGE=" + https://github.com/facelessuser/bracex + https://pypi.org/project/bracex +" +SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="doc" + +BDEPEND=" + doc? ( + dev-python/mkdocs-git-revision-date-localized-plugin + dev-python/mkdocs_pymdownx_material_extras + dev-python/pyspelling + ) +" + +distutils_enable_tests pytest + +python_compile_all() { + default + if use doc; then + mkdocs build || die "failed to make docs" + HTML_DOCS="site" + fi +} diff --git a/dev-python/bracex/metadata.xml b/dev-python/bracex/metadata.xml new file mode 100644 index 0000000000..c1e63dc335 --- /dev/null +++ b/dev-python/bracex/metadata.xml @@ -0,0 +1,18 @@ + + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + facelessuser/bracex + bracex + + + Why Bracex over other solutions? + + Bracex actually follows pretty closely to how Bash processes braces. It is not a 1:1 implementation of how Bash handles braces, but generally, it follows very closely. Almost all of the test cases are run through Bash first, then our implementation is compared against the results Bash gives. There are a few cases where we have purposely deviated. For instance, we are not handling Bash's command line inputs, so we are not giving special meaning to back ticks and quotes at this time. + + diff --git a/dev-python/curio/curio-0.9.ebuild b/dev-python/curio/curio-0.9.ebuild index 52f0e6b5b2..6c83181a02 100644 --- a/dev-python/curio/curio-0.9.ebuild +++ b/dev-python/curio/curio-0.9.ebuild @@ -7,8 +7,11 @@ PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 -DESCRIPTION="Concurrent I/O" -HOMEPAGE="https://github.com/dabeaz/curio" +DESCRIPTION="Curio is a coroutine-based library for concurrent systems programming" +HOMEPAGE=" + https://github.com/dabeaz/curio + https://pypi.org/project/curio +" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" IUSE="examples" diff --git a/dev-python/curio/metadata.xml b/dev-python/curio/metadata.xml index 628ab20176..949f7699b6 100644 --- a/dev-python/curio/metadata.xml +++ b/dev-python/curio/metadata.xml @@ -2,8 +2,18 @@ - - andrewammerlaan@riseup.net - Andrew Ammerlaan - + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + +Curio is a coroutine-based library for concurrent Python systems programming. It provides standard programming abstractions such as as tasks, sockets, files, locks, and queues. It works on Unix and Windows. You'll find it to be familiar, small, fast, and fun +Core Features + +Curio supports standard synchronization primitives (events, locks, recursive locks, semaphores, and condition variables), queues, subprocesses, as well as running tasks in threads and processes. The task model fully supports cancellation, task groups, timeouts, monitoring, and other features critical to writing reliable code. + + + dabeaz/curio + curio + diff --git a/dev-python/hstspreload/hstspreload-2020.2.1.ebuild b/dev-python/hstspreload/hstspreload-2020.2.1.ebuild index 95c75675a5..de0f99fe87 100644 --- a/dev-python/hstspreload/hstspreload-2020.2.1.ebuild +++ b/dev-python/hstspreload/hstspreload-2020.2.1.ebuild @@ -8,7 +8,11 @@ PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 DESCRIPTION="Chromium HSTS Preload list as a Python package" -HOMEPAGE="https://github.com/sethmlarson/hstspreload" +HOMEPAGE=" + https://hstspreload.org + https://github.com/sethmlarson/hstspreload + https://pypi.org/project/hstspreload +" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" diff --git a/dev-python/hstspreload/metadata.xml b/dev-python/hstspreload/metadata.xml index 628ab20176..83db3e9fd6 100644 --- a/dev-python/hstspreload/metadata.xml +++ b/dev-python/hstspreload/metadata.xml @@ -2,8 +2,15 @@ - - andrewammerlaan@riseup.net - Andrew Ammerlaan - + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + +The package provides a single function: in_hsts_preload() which takes an IDNA-encoded host and returns either True or False regarding whether that host should be only accessed via HTTPS. + + + sethmlarson/hstspreload + hstspreload + diff --git a/dev-python/httptools/httptools-0.1.1.ebuild b/dev-python/httptools/httptools-0.1.1.ebuild index 8ca82f7946..88a4a17473 100644 --- a/dev-python/httptools/httptools-0.1.1.ebuild +++ b/dev-python/httptools/httptools-0.1.1.ebuild @@ -7,8 +7,11 @@ PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) inherit distutils-r1 -DESCRIPTION="Fast HTTP parser" -HOMEPAGE="https://github.com/MagicStack/httptools" +DESCRIPTION="httptools is a Python binding for the nodejs HTTP parser" +HOMEPAGE=" + https://github.com/MagicStack/httptools + https://pypi.org/project/httptools +" SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" diff --git a/dev-python/httptools/metadata.xml b/dev-python/httptools/metadata.xml index a507be0a78..bb86492b21 100644 --- a/dev-python/httptools/metadata.xml +++ b/dev-python/httptools/metadata.xml @@ -2,8 +2,12 @@ - - piotr.staroszczyk@get24.org - Piotr Staroszczyk - + + piotr.staroszczyk@get24.org + Piotr Staroszczyk + + + MagicStack/httptools + httptools + diff --git a/dev-python/httpx/Manifest b/dev-python/httpx/Manifest index c6114ba104..1a91ccbd81 100644 --- a/dev-python/httpx/Manifest +++ b/dev-python/httpx/Manifest @@ -1,2 +1,3 @@ DIST httpx-0.11.1.tar.gz 177579 BLAKE2B a5722e997a79fd9b5c701a862abb4bf70458bf57057d2a9fb9a2dccdbbca2f4f54bf59e91437ed8ff452737a3b01d69dbf4efe3ef03d49e240bc5bf54e51ebea SHA512 4da80a0232092d2423fd95d4549df79d9885e6ce34af0480f1d5a4904c9ca0fdb725b600f603c482179ea3b7c6ee5b584a70b8c0722918ba28f1bcc5c48201ad DIST httpx-0.12.0.tar.gz 186138 BLAKE2B d350a156e1663a197e2f7ab43531735e08da0d5b68df2d75e8cd2396b82095668318ecc0ca0558736f97f56ad72970ebf36fe34706b3d65e6d59fabd0ba75431 SHA512 a50c6a1686f3224ad906383d6d25cde8006d4514a9d079be06e9c255f4efdc9b1859e5523d39be484c09c930d1cf84feb15374d7d0904a6c1d903b62b7caa9f5 +DIST httpx-0.9.3.tar.gz 170954 BLAKE2B 420993bc556e510d8f0d1ff0f3f200d9dce98c1475d40a1f7f5047cd34600bade5e184485d88642169685bf903dedc46d988e608d1f93f718cdb550801c1bb8e SHA512 171e4ea2a19882c90ced9af995e5ecce1ff27308f95f027ddc7197a599624125d94f70f9f0a0672b6a04db0569f1eaa05a935fd8d43f517335fe26b30dc53d1a diff --git a/dev-python/httpx/httpx-0.11.1.ebuild b/dev-python/httpx/httpx-0.11.1.ebuild index e3e5ce27aa..c11a91991d 100644 --- a/dev-python/httpx/httpx-0.11.1.ebuild +++ b/dev-python/httpx/httpx-0.11.1.ebuild @@ -8,8 +8,11 @@ PYTHON_COMPAT=( python3_{6,7} ) inherit distutils-r1 DESCRIPTION="A next generation HTTP client for Python" -HOMEPAGE="https://www.python-httpx.org - https://github.com/encode/httpx" +HOMEPAGE=" + https://www.python-httpx.org + https://github.com/encode/httpx + https://pypi.org/project/httpx +" SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" @@ -38,7 +41,6 @@ DEPEND="test? ( dev-python/brotlipy[${PYTHON_USEDEP}] dev-python/cryptography[${PYTHON_USEDEP}] dev-python/isort[${PYTHON_USEDEP}] - dev-python/flake8[${PYTHON_USEDEP}] dev-python/mypy[${PYTHON_USEDEP}] dev-python/pytest-asyncio[${PYTHON_USEDEP}] dev-python/trio[${PYTHON_USEDEP}] @@ -54,7 +56,7 @@ python_prepare_all() { # requires internet connection sed -i -e 's:test_start_tls_on_tcp_socket_stream:_&:' \ -e 's:test_start_tls_on_uds_socket_stream:_&:' \ - tests/test_concurrency.py || die + tests/test_concurrency.py || die sed -i -e 's:test_http2_live_request:_&:' \ tests/dispatch/test_http2.py || die diff --git a/dev-python/httpx/httpx-0.12.0.ebuild b/dev-python/httpx/httpx-0.12.0.ebuild index e3e5ce27aa..c11a91991d 100644 --- a/dev-python/httpx/httpx-0.12.0.ebuild +++ b/dev-python/httpx/httpx-0.12.0.ebuild @@ -8,8 +8,11 @@ PYTHON_COMPAT=( python3_{6,7} ) inherit distutils-r1 DESCRIPTION="A next generation HTTP client for Python" -HOMEPAGE="https://www.python-httpx.org - https://github.com/encode/httpx" +HOMEPAGE=" + https://www.python-httpx.org + https://github.com/encode/httpx + https://pypi.org/project/httpx +" SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" @@ -38,7 +41,6 @@ DEPEND="test? ( dev-python/brotlipy[${PYTHON_USEDEP}] dev-python/cryptography[${PYTHON_USEDEP}] dev-python/isort[${PYTHON_USEDEP}] - dev-python/flake8[${PYTHON_USEDEP}] dev-python/mypy[${PYTHON_USEDEP}] dev-python/pytest-asyncio[${PYTHON_USEDEP}] dev-python/trio[${PYTHON_USEDEP}] @@ -54,7 +56,7 @@ python_prepare_all() { # requires internet connection sed -i -e 's:test_start_tls_on_tcp_socket_stream:_&:' \ -e 's:test_start_tls_on_uds_socket_stream:_&:' \ - tests/test_concurrency.py || die + tests/test_concurrency.py || die sed -i -e 's:test_http2_live_request:_&:' \ tests/dispatch/test_http2.py || die diff --git a/dev-python/httpx/httpx-0.9.3.ebuild b/dev-python/httpx/httpx-0.9.3.ebuild new file mode 100644 index 0000000000..c21cd73c42 --- /dev/null +++ b/dev-python/httpx/httpx-0.9.3.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 + +DESCRIPTION="A next generation HTTP client for Python" +HOMEPAGE=" + https://www.python-httpx.org + https://github.com/encode/httpx + https://pypi.org/project/httpx +" +SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +IUSE="doc" + +RDEPEND="dev-python/certifi[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/hstspreload[${PYTHON_USEDEP}] + dev-python/hyper-h2[${PYTHON_USEDEP}] + dev-python/h11[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/rfc3986[${PYTHON_USEDEP}] + dev-python/sniffio[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}]" + +BDEPEND=" + doc? ( + dev-python/mkautodoc + dev-python/mkdocs + dev-python/mkdocs-material + ) +" + +DEPEND="test? ( + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/brotlipy[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/isort[${PYTHON_USEDEP}] + dev-python/mypy[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/uvicorn[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +python_prepare_all() { + # do not depend on pytest-cov + sed -i -e '/addopts/d' setup.cfg || die + + # requires internet connection + sed -i -e 's:test_start_tls_on_tcp_socket_stream:_&:' \ + -e 's:test_start_tls_on_uds_socket_stream:_&:' \ + tests/test_concurrency.py || die + + sed -i -e 's:test_http2_live_request:_&:' \ + tests/dispatch/test_http2.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + default + if use doc; then + mkdocs build || die "failed to make docs" + HTML_DOCS="site" + fi +} diff --git a/dev-python/httpx/metadata.xml b/dev-python/httpx/metadata.xml index 628ab20176..dbf80c1e3c 100644 --- a/dev-python/httpx/metadata.xml +++ b/dev-python/httpx/metadata.xml @@ -2,8 +2,43 @@ - - andrewammerlaan@riseup.net - Andrew Ammerlaan - + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + +Features + +HTTPX builds on the well-established usability of requests, and gives you: + + A broadly requests-compatible API. + Standard synchronous interface, but with async support if you need it. + HTTP/1.1 and HTTP/2 support. + Ability to make requests directly to WSGI applications or ASGI applications. + Strict timeouts everywhere. + Fully type annotated. + 99% test coverage. + +Plus all the standard features of requests... + + International Domains and URLs + Keep-Alive & Connection Pooling + Sessions with Cookie Persistence + Browser-style SSL Verification + Basic/Digest Authentication + Elegant Key/Value Cookies + Automatic Decompression + Automatic Content Decoding + Unicode Response Bodies + Multipart File Uploads + HTTP(S) Proxy Support + Connection Timeouts + Streaming Downloads + .netrc Support + Chunked Requests + + + encode/httpx + httpx + diff --git a/dev-python/mkautodoc/metadata.xml b/dev-python/mkautodoc/metadata.xml index 628ab20176..a7b0e8be87 100644 --- a/dev-python/mkautodoc/metadata.xml +++ b/dev-python/mkautodoc/metadata.xml @@ -2,8 +2,12 @@ - - andrewammerlaan@riseup.net - Andrew Ammerlaan - + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + + tomchristie/mkautodoc + mkautodoc + diff --git a/dev-python/mkautodoc/mkautodoc-0.1.0.ebuild b/dev-python/mkautodoc/mkautodoc-0.1.0.ebuild index 42d7ff9dae..bfc7f38cd6 100644 --- a/dev-python/mkautodoc/mkautodoc-0.1.0.ebuild +++ b/dev-python/mkautodoc/mkautodoc-0.1.0.ebuild @@ -7,8 +7,11 @@ PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 -DESCRIPTION="AutoDoc for MarkDown" -HOMEPAGE="https://github.com/tomchristie/mkautodoc" +DESCRIPTION="Auto documentation for MkDocs" +HOMEPAGE=" + https://github.com/tomchristie/mkautodoc + https://pypi.org/project/mkautodoc +" SRC_URI="https://github.com/tomchristie/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/metadata.xml b/dev-python/mkdocs-git-revision-date-localized-plugin/metadata.xml index 628ab20176..4ef13ee537 100644 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/metadata.xml +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/metadata.xml @@ -2,8 +2,12 @@ - - andrewammerlaan@riseup.net - Andrew Ammerlaan - + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + + timvink/mkdocs-git-revision-date-localized-plugin + mkdocs-git-revision-date-localized-plugin + diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-0.4.6.ebuild b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-0.4.6.ebuild index 2fd18f0bcb..54842ded9a 100644 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-0.4.6.ebuild +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-0.4.6.ebuild @@ -10,7 +10,10 @@ DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 DESCRIPTION="Display the localized date of the last git modification of a markdown file" -HOMEPAGE="https://github.com/timvink/mkdocs-git-revision-date-localized-plugin" +HOMEPAGE=" + https://github.com/timvink/mkdocs-git-revision-date-localized-plugin + https://pypi.org/project/mkdocs-git-revision-date-localized-plugin +" SRC_URI="https://github.com/timvink/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" @@ -22,9 +25,9 @@ RESTRICT="test" # fails, mkdocs failed RDEPEND=" >=dev-python/Babel-2.7.0[${PYTHON_USEDEP}] dev-python/GitPython[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] dev-python/mkdocs[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}]" - +" DEPEND=" dev-python/click[${PYTHON_USEDEP}] dev-python/mkdocs-material[${PYTHON_USEDEP}]" diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index 3f204ff1c8..f0210441f0 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -1 +1,3 @@ DIST mkdocs-material-4.6.3.tar.gz 687321 BLAKE2B f3ddf33020f215b4eb9a9841372645dfc5a8bdf6f2bd92fe871d61b71b259af27d1f97e1f06c78e044864d9a715544cdf88ca81050e04a7a09b6e9e0cb50dafb SHA512 8d37e85cfe7f1651cec913285b67e1cf68999af0d214ee2f045c0486cb34bd984c0eef56d0b1d84690f8a5a4caffba7a1178154ab1657eecdfaad6fd3130d34d +DIST mkdocs-material-5.0.0rc2.tar.gz 1376275 BLAKE2B c742fee927aa03438164cf8a582f9723821dca214435f79bd5658bf6d3f55670ec87bb7f3bfce0c5d0865479a3f293a51ed9a2e4ad9ed6229e810db5af712fbc SHA512 a6380a450edfa84478ffc3634e13154efc207373297ac9a25908a6e687cec6ca34ffffd147510c31af5e015f5784d43fdce10ee977c025b49d3d15d6b350bea9 +DIST mkdocs-material-5.0.0rc3.tar.gz 1377499 BLAKE2B f3f38effd05a12516bff5e0047058ca653ce5f22e039c67b4a38f6dbe3e8129858bd29ffecf91e70f2c83e112d80ac90eee5ce736779a892e515925a3f4573b6 SHA512 9f1d2bf0a2c9648d003d4debc9a3e86ae84500198d47e72d4aadba83268514be8691a6a601787421985be011f6efc50d546b596756633ec006251e4703dc08ab diff --git a/dev-python/mkdocs-material/metadata.xml b/dev-python/mkdocs-material/metadata.xml index 628ab20176..a193ecf998 100644 --- a/dev-python/mkdocs-material/metadata.xml +++ b/dev-python/mkdocs-material/metadata.xml @@ -2,8 +2,21 @@ - - andrewammerlaan@riseup.net - Andrew Ammerlaan - + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + +What to expect + + Responsive design and fluid layout for all kinds of screens and devices, designed to serve your project documentation in a user-friendly way in 41 languages with optimal readability. + + Easily customizable primary and accent color, fonts, favicon and logo; straight forward localization through theme extension; integrated with Google Analytics, Disqus and GitHub. + + Well-designed search interface accessible through hotkeys (F or S), intelligent grouping of search results, search term highlighting and lazy loading. + + + squidfunk/mkdocs-material + mkdocs-material + diff --git a/dev-python/mkdocs-material/mkdocs-material-4.6.3.ebuild b/dev-python/mkdocs-material/mkdocs-material-4.6.3.ebuild index 803779addc..68cb2f7aef 100644 --- a/dev-python/mkdocs-material/mkdocs-material-4.6.3.ebuild +++ b/dev-python/mkdocs-material/mkdocs-material-4.6.3.ebuild @@ -10,7 +10,10 @@ DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 DESCRIPTION="A Material Design theme for MkDocs" -HOMEPAGE="https://github.com/squidfunk/mkdocs-material" +HOMEPAGE=" + https://github.com/squidfunk/mkdocs-material + https://pypi.org/project/mkdocs-material +" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" diff --git a/dev-python/mkdocs-material/mkdocs-material-5.0.0_rc2.ebuild b/dev-python/mkdocs-material/mkdocs-material-5.0.0_rc2.ebuild new file mode 100644 index 0000000000..74e2335f60 --- /dev/null +++ b/dev-python/mkdocs-material/mkdocs-material-5.0.0_rc2.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 ) + +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +MYPV="${PV/_/}" + +DESCRIPTION="A Material Design theme for MkDocs" +HOMEPAGE=" + https://github.com/squidfunk/mkdocs-material + https://pypi.org/project/mkdocs-material +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MYPV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/markdown-3.2[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.0.1[${PYTHON_USEDEP}] + >=dev-python/pygments-2.4[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-6.3[${PYTHON_USEDEP}]" + +S="${WORKDIR}/${PN}-${MYPV}" diff --git a/dev-python/mkdocs-material/mkdocs-material-5.0.0_rc3.ebuild b/dev-python/mkdocs-material/mkdocs-material-5.0.0_rc3.ebuild new file mode 100644 index 0000000000..74e2335f60 --- /dev/null +++ b/dev-python/mkdocs-material/mkdocs-material-5.0.0_rc3.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 ) + +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +MYPV="${PV/_/}" + +DESCRIPTION="A Material Design theme for MkDocs" +HOMEPAGE=" + https://github.com/squidfunk/mkdocs-material + https://pypi.org/project/mkdocs-material +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MYPV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/markdown-3.2[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.0.1[${PYTHON_USEDEP}] + >=dev-python/pygments-2.4[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-6.3[${PYTHON_USEDEP}]" + +S="${WORKDIR}/${PN}-${MYPV}" diff --git a/dev-python/mkdocs_pymdownx_material_extras/Manifest b/dev-python/mkdocs_pymdownx_material_extras/Manifest new file mode 100644 index 0000000000..6ae6c8d860 --- /dev/null +++ b/dev-python/mkdocs_pymdownx_material_extras/Manifest @@ -0,0 +1 @@ +DIST mkdocs_pymdownx_material_extras-1.0_beta10.tar.gz 14119 BLAKE2B 6762aae646fcff48492ea1d63b995b614858d18cb0cfcf6c5acc9beed1e6e22fc646287de68a977fc741315b2f44af087fe9a00f084e047d67cad202609abd5d SHA512 a0e54bc280bb1d3621278587b07383c28eec04327f5e07f74b85445314167850a9939c5a58d7fa798618fbce634e8d4f396b2fca8bec1da1176484f12337305b diff --git a/dev-python/mkdocs_pymdownx_material_extras/metadata.xml b/dev-python/mkdocs_pymdownx_material_extras/metadata.xml new file mode 100644 index 0000000000..6dc8515d55 --- /dev/null +++ b/dev-python/mkdocs_pymdownx_material_extras/metadata.xml @@ -0,0 +1,19 @@ + + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + facelessuser/mkdocs_pymdownx_material_extras + mkdocs-pymdownx-material-extras + + +A plugin that for MkDocs and specifically the MkDocs Material Theme. +Adds additional resources that are used in the PyMdown Extensions documentation, and other @facelessuser projects. +While this is not specifically meant for outside consumption, and was originally written for @facelessuser projects, it can be freely used if desired. +Files are copied from the pymdown-extensions project. + + diff --git a/dev-python/mkdocs_pymdownx_material_extras/mkdocs_pymdownx_material_extras-1.0_beta10.ebuild b/dev-python/mkdocs_pymdownx_material_extras/mkdocs_pymdownx_material_extras-1.0_beta10.ebuild new file mode 100644 index 0000000000..a651d1bf29 --- /dev/null +++ b/dev-python/mkdocs_pymdownx_material_extras/mkdocs_pymdownx_material_extras-1.0_beta10.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_6 ) + +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +MYPV="${PV/_beta/b}" + +DESCRIPTION="Custom alterations based on Mkdocs-Material" +HOMEPAGE=" + https://github.com/facelessuser/mkdocs_pymdownx_material_extras + https://pypi.org/project/mkdocs-pymdownx-material-extras" +SRC_URI="https://github.com/facelessuser/${PN}/archive/${MYPV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/mkdocs-material[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-7.0_beta2[${PYTHON_USEDEP}] +" + +S="${WORKDIR}/${PN}-${MYPV}" diff --git a/dev-python/outcome/metadata.xml b/dev-python/outcome/metadata.xml index 628ab20176..a3b7ac9202 100644 --- a/dev-python/outcome/metadata.xml +++ b/dev-python/outcome/metadata.xml @@ -2,8 +2,12 @@ - - andrewammerlaan@riseup.net - Andrew Ammerlaan - + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + + python-trio/outcome + outcome + diff --git a/dev-python/outcome/outcome-1.0.1.ebuild b/dev-python/outcome/outcome-1.0.1.ebuild index ed502c17ee..1b5812726c 100644 --- a/dev-python/outcome/outcome-1.0.1.ebuild +++ b/dev-python/outcome/outcome-1.0.1.ebuild @@ -8,10 +8,13 @@ PYTHON_COMPAT=( python3_{6,7} ) inherit distutils-r1 DESCRIPTION="Capture the outcome of Python function calls" -HOMEPAGE="https://github.com/python-trio/outcome" +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" +LICENSE="|| ( Apache-2.0 MIT )" SLOT="0" KEYWORDS="~amd64 ~x86" diff --git a/dev-python/pymdown-extensions/Manifest b/dev-python/pymdown-extensions/Manifest index c0bed77e7b..54bba7715a 100644 --- a/dev-python/pymdown-extensions/Manifest +++ b/dev-python/pymdown-extensions/Manifest @@ -1 +1,2 @@ DIST pymdown-extensions-6.3.0.tar.gz 551554 BLAKE2B 718c2d98f077dac38049b458a7430e6e9d13c6516e09990c6e2acc89516ebc9717dd48e5449fd49a0f5fcdfccc55649893a6f857f62fa19edb3db3313aeac773 SHA512 08f679e242205bba9cd98de1ffc492b97c5e568ac5246cfc9a88346240058413a5b532ebd9df45fa6e973dc2d40543fe17460eaf456d88140c426f7f42045384 +DIST pymdown-extensions-7.0.0_rc1.tar.gz 576517 BLAKE2B 3987fdce82860776f38ee72cec1fb74cfac12360e6913b9b6ad5b069b0a4320f062ccf3e24755a5fb4e56e96e6bd6981c17efa0eef2b9692537abd82ba388f96 SHA512 467bacc0921e02c04a3209000f65e3600c23408a13ee49bff6fd96fd7b2426ae8a76562d832eaf45a087f98453e54f5294555ece9b42fca0499b57a0f2ebd9f0 diff --git a/dev-python/pymdown-extensions/metadata.xml b/dev-python/pymdown-extensions/metadata.xml index 628ab20176..f9eb75006f 100644 --- a/dev-python/pymdown-extensions/metadata.xml +++ b/dev-python/pymdown-extensions/metadata.xml @@ -2,8 +2,12 @@ - - andrewammerlaan@riseup.net - Andrew Ammerlaan - + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + + facelessuser/pymdown-extensions + pymdown-extensions + diff --git a/dev-python/pymdown-extensions/pymdown-extensions-6.3.0.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-6.3.0.ebuild index 4d79a54420..cebf15bbac 100644 --- a/dev-python/pymdown-extensions/pymdown-extensions-6.3.0.ebuild +++ b/dev-python/pymdown-extensions/pymdown-extensions-6.3.0.ebuild @@ -3,12 +3,15 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 DESCRIPTION="Extensions for Python Markdown." -HOMEPAGE="https://github.com/facelessuser/pymdown-extensions" +HOMEPAGE=" + https://github.com/facelessuser/pymdown-extensions + https://pypi.org/project/pymdown-extensions +" SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" @@ -18,16 +21,21 @@ KEYWORDS="~amd64 ~x86" # Docs require pymdownx.tabbed which is in master on github atm # but not in the 6.3.0 release tarballs for some reason -#IUSE="doc" -#REQUIRED_USE="x86? ( !doc )" -# -#BDEPEND="doc? ( -# dev-python/mkdocs-material -# dev-python/mkdocs-git-revision-date-localized-plugin )" - RDEPEND=">=dev-python/markdown-3.2[${PYTHON_USEDEP}]" -DEPEND="test? ( dev-python/pyyaml[${PYTHON_USEDEP}] )" +# doc? ( +# dev-python/mkdocs-git-revision-date-localized-plugin[${PYTHON_USEDEP}] +# dev-python/mkdocs-material[${PYTHON_USEDEP}] +# dev-python/pymdown-lexers[${PYTHON_USEDEP}] +# dev-python/pyspelling[${PYTHON_USEDEP}] +# ) + +DEPEND=" + ${RDEPEND} + test? ( + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" distutils_enable_tests pytest diff --git a/dev-python/pymdown-extensions/pymdown-extensions-7.0.0_rc1.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-7.0.0_rc1.ebuild new file mode 100644 index 0000000000..126a9ff3f5 --- /dev/null +++ b/dev-python/pymdown-extensions/pymdown-extensions-7.0.0_rc1.ebuild @@ -0,0 +1,52 @@ +# 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 + +MYPV="${PV/_/}" + +DESCRIPTION="Extensions for Python Markdown." +HOMEPAGE=" + https://github.com/facelessuser/pymdown-extensions + https://pypi.org/project/pymdown-extensions +" +SRC_URI="https://github.com/facelessuser/${PN}/archive/${MYPV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="doc" + +RDEPEND=">=dev-python/markdown-3.2[${PYTHON_USEDEP}]" + +BDEPEND=" + doc? ( + dev-python/mkdocs-git-revision-date-localized-plugin + dev-python/mkdocs-material + dev-python/pymdown-lexers + dev-python/pyspelling + ) +" +DEPEND=" + ${RDEPEND} + test? ( + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/${PN}-${MYPV}" + +distutils_enable_tests pytest + +python_compile_all() { + default + if use doc; then + mkdocs build || die "failed to make docs" + HTML_DOCS="site" + fi +} diff --git a/dev-python/pymdown-lexers/Manifest b/dev-python/pymdown-lexers/Manifest new file mode 100644 index 0000000000..ef4d22a2c1 --- /dev/null +++ b/dev-python/pymdown-lexers/Manifest @@ -0,0 +1 @@ +DIST pymdown-lexers-0.2018.9.5.tar.gz 2596 BLAKE2B ff08ac12fbb242ab5b51b80f91d18281cf8cd9bf121b1a6d389ef47a069c614991d6fb99ff05cca9802e68b4dfc2c89d9f6d4b02051a133968ab9ee24943756b SHA512 d0a509cdd9924053b79259b873ec3a3671869b37f7a97112370d21c360f6315961d13610cf08a00e10f58d5e25ac360b3844fc997392dfe724ec14f02a079596 diff --git a/dev-python/pymdown-lexers/metadata.xml b/dev-python/pymdown-lexers/metadata.xml new file mode 100644 index 0000000000..a9ab9c1194 --- /dev/null +++ b/dev-python/pymdown-lexers/metadata.xml @@ -0,0 +1,12 @@ + + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + facelessuser/pymdown-lexers + + diff --git a/dev-python/pymdown-lexers/pymdown-lexers-0.2018.9.5.ebuild b/dev-python/pymdown-lexers/pymdown-lexers-0.2018.9.5.ebuild new file mode 100644 index 0000000000..7d2d57820c --- /dev/null +++ b/dev-python/pymdown-lexers/pymdown-lexers-0.2018.9.5.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_{6,7,8} ) + +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +COMMIT="fa422cb95b794157760259c5c20a1235e4a459be" + +DESCRIPTION="Additional lexers for use in Pygments" +HOMEPAGE="https://github.com/facelessuser/pymdown-lexers" +SRC_URI="https://github.com/facelessuser/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/pygments-2.0.1[${PYTHON_USEDEP}] +" + +S="${WORKDIR}/${PN}-${COMMIT}" diff --git a/dev-python/pyspelling/Manifest b/dev-python/pyspelling/Manifest new file mode 100644 index 0000000000..b851911843 --- /dev/null +++ b/dev-python/pyspelling/Manifest @@ -0,0 +1 @@ +DIST pyspelling-2.6.0.tar.gz 147740 BLAKE2B 277bd24f74fb670d44f027a9fce4fe0e4964318d8f3dccf796e3a6c09490f344fc2d2b9508a77c09aa6eecedf059b9e6bb27baa99bc0b938a8ad58c4fba14824 SHA512 41ca9265931b4c857c719cabbfbb79443a27d93b927941212ba1735eb2ab00643556bbc811fce26ca0b4d2d169d62c1d2ad2f86918daddd10c7636d8c664ca5e diff --git a/dev-python/pyspelling/files/pyspelling-2.6.0-do-not-install-tests.patch b/dev-python/pyspelling/files/pyspelling-2.6.0-do-not-install-tests.patch new file mode 100644 index 0000000000..ac8cc6dafc --- /dev/null +++ b/dev-python/pyspelling/files/pyspelling-2.6.0-do-not-install-tests.patch @@ -0,0 +1,11 @@ +--- a/setup.py 2020-03-28 09:44:36.634469819 +0100 ++++ b/setup.py_fix 2020-03-28 09:48:38.754477130 +0100 +@@ -59,7 +59,7 @@ + author='Isaac Muse', + author_email='Isaac.Muse@gmail.com', + url='https://github.com/facelessuser/pyspelling', +- packages=find_packages(exclude=['tests', 'tools']), ++ packages=find_packages(exclude=('tests*', 'tools*')), + entry_points=entry_points, + install_requires=get_requirements(), + license='MIT License', diff --git a/dev-python/pyspelling/metadata.xml b/dev-python/pyspelling/metadata.xml new file mode 100644 index 0000000000..18b7268e77 --- /dev/null +++ b/dev-python/pyspelling/metadata.xml @@ -0,0 +1,20 @@ + + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + facelessuser/pyspelling + + +PySpelling is a module to help with automating spell checking in a project with Aspell or +Hunspell. It is essentially a wrapper around the command line utility of these two spell +checking tools, and allows you to setup different spelling tasks for different file types. +You can apply specific and different filters and options to each task. PySpelling can also +be used in CI environments to fail the build if there are misspelled words. +Aspell and Hunspell are very good spell checking tools. Aspell particularly comes with a couple of filters, but the filters are limited in types and aren't extremely flexible. PySpelling was created to work around Aspell's and Hunspell's filtering shortcomings by creating a wrapper around them that could be extended to handle more kinds of file formats and provide more advanced filtering. If you need to filter out specific HTML tags with specific IDs or class names, PySpelling can do it. If you want to scan Python files for docstrings, but also avoid specific content within the docstring, you can do that as well. If PySpelling doesn't have a filter you need, with access to so many available Python modules, you can easily write your own. + + diff --git a/dev-python/pyspelling/pyspelling-2.6.0.ebuild b/dev-python/pyspelling/pyspelling-2.6.0.ebuild new file mode 100644 index 0000000000..02fcf91120 --- /dev/null +++ b/dev-python/pyspelling/pyspelling-2.6.0.ebuild @@ -0,0 +1,51 @@ +# 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="Spell checker automation tool" +HOMEPAGE="https://github.com/facelessuser/pyspelling" +SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +#IUSE="doc" + +# Need mkdocs-1.1 for this +#BDEPEND=" +# doc? ( +# dev-python/mkdocs-git-revision-date-localized-plugin +# dev-python/mkdocs_pymdownx_material_extras +# ~dev-python/mkdocs-material-5.0.0_rc2 +# ) +#" + +RDEPEND=" + dev-python/beautifulsoup:4[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/html5lib[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/soupsieve-1.8[${PYTHON_USEDEP}] + >=dev-python/wcmatch-4.0[${PYTHON_USEDEP}] +" + +PATCHES="${FILESDIR}/${P}-do-not-install-tests.patch" + +distutils_enable_tests pytest + +#python_compile_all() { +# default +# if use doc; then +# mkdocs build || die "failed to make docs" +# HTML_DOCS="site" +# fi +#} diff --git a/dev-python/pytest-subtests/pytest-subtests-0.3.0.ebuild b/dev-python/pytest-subtests/pytest-subtests-0.3.0.ebuild index da37383a31..d49e68aa60 100644 --- a/dev-python/pytest-subtests/pytest-subtests-0.3.0.ebuild +++ b/dev-python/pytest-subtests/pytest-subtests-0.3.0.ebuild @@ -20,3 +20,11 @@ SLOT="0" RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" distutils_enable_tests pytest + +python_prepare_all() { + # Failed: nomatch: '*1 passed*' + sed -i -e 's:test_capture_with_fixture:_&:' \ + tests/test_subtests.py || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/sniffio/metadata.xml b/dev-python/sniffio/metadata.xml index 628ab20176..f73ad45539 100644 --- a/dev-python/sniffio/metadata.xml +++ b/dev-python/sniffio/metadata.xml @@ -2,8 +2,19 @@ - - andrewammerlaan@riseup.net - Andrew Ammerlaan - + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + +sniffio: Sniff out which async library your code is running under + +You're writing a library. You've decided to be ambitious, and support multiple async I/O packages, like Trio, and asyncio, and ... You've written a bunch of clever code to handle all the differences. But... how do you know which piece of clever code to run? + +This is a tiny package whose only purpose is to let you detect which async library your code is running under. + + + python-trio/sniffio + sniffio + diff --git a/dev-python/sniffio/sniffio-1.1.0.ebuild b/dev-python/sniffio/sniffio-1.1.0.ebuild index abdb93e26c..98efb71ebb 100644 --- a/dev-python/sniffio/sniffio-1.1.0.ebuild +++ b/dev-python/sniffio/sniffio-1.1.0.ebuild @@ -8,7 +8,10 @@ PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 DESCRIPTION="Sniff out which async library your code is running under" -HOMEPAGE="https://github.com/python-trio/sniffio" +HOMEPAGE=" + https://github.com/python-trio/sniffio + https://pypi.org/project/sniffio +" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="|| ( Apache-2.0 MIT )" diff --git a/dev-python/sphinx-autodoc-typehints/metadata.xml b/dev-python/sphinx-autodoc-typehints/metadata.xml index 628ab20176..34a6533425 100644 --- a/dev-python/sphinx-autodoc-typehints/metadata.xml +++ b/dev-python/sphinx-autodoc-typehints/metadata.xml @@ -2,8 +2,15 @@ - - andrewammerlaan@riseup.net - Andrew Ammerlaan - + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + +This extension allows you to use Python 3 annotations for documenting acceptable argument types and return value types of functions. This allows you to use type hints in a very natural fashion + + + agronholm/sphinx-autodoc-typehints + sphinx-autodoc-typehints + diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.10.3.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.10.3.ebuild index 20e209565e..726281b3e8 100644 --- a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.10.3.ebuild +++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.10.3.ebuild @@ -8,19 +8,24 @@ PYTHON_COMPAT=( python3_{6,7} ) inherit distutils-r1 DESCRIPTION="Type hints support for the Sphinx autodoc extension " -HOMEPAGE="https://github.com/agronholm/sphinx-autodoc-typehints" +HOMEPAGE=" + https://github.com/agronholm/sphinx-autodoc-typehints + https://pypi.org/project/sphinx-autodoc-typehints +" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" -KEYWORDS="~amd64 ~x86 " +KEYWORDS="~amd64 ~x86" SLOT="0" BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]" RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]" -DEPEND="test? ( dev-python/sphobjinv[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] )" +DEPEND="test? ( + dev-python/sphobjinv[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + )" distutils_enable_tests pytest @@ -33,7 +38,7 @@ python_prepare_all() { -e 's:test_format_annotation_both_libs:_&:' \ -e 's:test_format_annotation_both_libs:_&:' \ -e 's:test_format_annotation_both_libs:_&:' \ - tests/test_sphinx_autodoc_typehints.py || die + tests/test_sphinx_autodoc_typehints.py || die distutils-r1_python_prepare_all } diff --git a/dev-python/sphinxcontrib-trio/metadata.xml b/dev-python/sphinxcontrib-trio/metadata.xml index 628ab20176..c43e0ba642 100644 --- a/dev-python/sphinxcontrib-trio/metadata.xml +++ b/dev-python/sphinxcontrib-trio/metadata.xml @@ -2,8 +2,15 @@ - - andrewammerlaan@riseup.net - Andrew Ammerlaan - + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + +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.) + + + python-trio/sphinxcontrib-trio + sphinxcontrib-trio + diff --git a/dev-python/sphinxcontrib-trio/sphinxcontrib-trio-1.1.0.ebuild b/dev-python/sphinxcontrib-trio/sphinxcontrib-trio-1.1.0.ebuild index e592dc2984..c5eee34a40 100644 --- a/dev-python/sphinxcontrib-trio/sphinxcontrib-trio-1.1.0.ebuild +++ b/dev-python/sphinxcontrib-trio/sphinxcontrib-trio-1.1.0.ebuild @@ -8,7 +8,10 @@ PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 DESCRIPTION="Make Sphinx better at documenting Python functions and methods" -HOMEPAGE="https://github.com/python-trio/sphinxcontrib-trio" +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 )" diff --git a/dev-python/sphobjinv/Manifest b/dev-python/sphobjinv/Manifest index d0deee2598..cdbd68e163 100644 --- a/dev-python/sphobjinv/Manifest +++ b/dev-python/sphobjinv/Manifest @@ -1 +1 @@ -DIST v2.0.1.tar.gz 1017678 BLAKE2B 31406b3dd93d1019dddc99464b8860df74bf76c40429aed73b80a95ed475787e1a9c93fe3dd68d1fce22d934bacab92893ca807c0d8d0f8fa4e5debbcbe7732f SHA512 49ad5a62f584b92e14630565b72d17a2f6e85feaf841c5f29e97f90b035c43e8a8a0773d6ec3cab1233f6cc613b04c8af6b48171202c1b9d694d172ed4c4f687 +DIST sphobjinv-2.0.1.tar.gz 1017678 BLAKE2B 31406b3dd93d1019dddc99464b8860df74bf76c40429aed73b80a95ed475787e1a9c93fe3dd68d1fce22d934bacab92893ca807c0d8d0f8fa4e5debbcbe7732f SHA512 49ad5a62f584b92e14630565b72d17a2f6e85feaf841c5f29e97f90b035c43e8a8a0773d6ec3cab1233f6cc613b04c8af6b48171202c1b9d694d172ed4c4f687 diff --git a/dev-python/sphobjinv/metadata.xml b/dev-python/sphobjinv/metadata.xml index 628ab20176..ec6508457f 100644 --- a/dev-python/sphobjinv/metadata.xml +++ b/dev-python/sphobjinv/metadata.xml @@ -2,8 +2,21 @@ - - andrewammerlaan@riseup.net - Andrew Ammerlaan - + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + +Using Sphinx? + +Having trouble writing cross-references? + +sphobjinv (short for ‘sphinx objects.inv’) can help! + +The syntax required for a functional Sphinx cross-reference is highly non-obvious in many cases. Sometimes Sphinx can guess correctly what you mean, but it’s pretty hit-or-miss. The best approach is to provide Sphinx with a completely specified cross-reference, and that’s where sphobjinv comes in. + + + bskinn/sphobjinv + sphobjinv + diff --git a/dev-python/sphobjinv/sphobjinv-2.0.1.ebuild b/dev-python/sphobjinv/sphobjinv-2.0.1.ebuild index 160e9313b0..7fb7dd7cc2 100644 --- a/dev-python/sphobjinv/sphobjinv-2.0.1.ebuild +++ b/dev-python/sphobjinv/sphobjinv-2.0.1.ebuild @@ -10,8 +10,11 @@ DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 DESCRIPTION="Sphinx objects.inv Inspection/Manipulation Tool" -HOMEPAGE="https://github.com/bskinn/sphobjinv" -SRC_URI="https://github.com/bskinn/${PN}/archive/v${PV}.tar.gz" +HOMEPAGE=" + https://github.com/bskinn/sphobjinv + https://pypi.org/project/sphobjinv +" +SRC_URI="https://github.com/bskinn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" KEYWORDS="~amd64 ~x86 " @@ -23,11 +26,14 @@ RDEPEND=" dev-python/fuzzywuzzy[${PYTHON_USEDEP}] dev-python/jsonschema[${PYTHON_USEDEP}]" -DEPEND="test? ( - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytest-subtests[${PYTHON_USEDEP}] - dev-python/timeout-decorator[${PYTHON_USEDEP}] - dev-python/stdio-mgr[${PYTHON_USEDEP}] )" +DEPEND=" + test? ( + dev-python/pytest-subtests[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/stdio-mgr[${PYTHON_USEDEP}] + dev-python/timeout-decorator[${PYTHON_USEDEP}] + ) +" distutils_enable_sphinx doc/source dev-python/sphinx_rtd_theme dev-python/sphinx-issues distutils_enable_tests pytest diff --git a/dev-python/stdio-mgr/metadata.xml b/dev-python/stdio-mgr/metadata.xml index 628ab20176..ebddacad23 100644 --- a/dev-python/stdio-mgr/metadata.xml +++ b/dev-python/stdio-mgr/metadata.xml @@ -2,8 +2,21 @@ - - andrewammerlaan@riseup.net - Andrew Ammerlaan - + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + +Have a CLI Python application? + +Want to automate testing of the actual console input & output of your user-facing components? + +stdio Manager can help. + +While some functionality here is more or less duplicative of redirect_stdout and redirect_stderr in contextlib within the standard library, it provides (i) a much more concise way to mock both stdout and stderr at the same time, and (ii) a mechanism for mocking stdin, which is not available in contextlib. + + + bskinn/stdio-mgr + stdio-mgr + diff --git a/dev-python/stdio-mgr/stdio-mgr-1.0.1.ebuild b/dev-python/stdio-mgr/stdio-mgr-1.0.1.ebuild index e91fe106a5..2ac1cb41d6 100644 --- a/dev-python/stdio-mgr/stdio-mgr-1.0.1.ebuild +++ b/dev-python/stdio-mgr/stdio-mgr-1.0.1.ebuild @@ -3,12 +3,15 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6,7} ) inherit distutils-r1 DESCRIPTION="Context manager for mocking/wrapping stdin/stdout/stderr" -HOMEPAGE="https://github.com/bskinn/stdio-mgr" +HOMEPAGE=" + https://github.com/bskinn/stdio-mgr + https://pypi.org/project/stdio-mgr +" SRC_URI="https://github.com/bskinn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" @@ -16,7 +19,7 @@ KEYWORDS="~amd64 ~x86 " SLOT="0" distutils_enable_tests pytest - -python_test() { - pytest -vv tests || "Tests fail with ${EPYTHON}" -} +# doc directory is not included in the release tarball for some reason +#distutils_enable_sphinx doc \ +# dev-python/sphinxcontrib-programoutput \ +# dev-python/sphinx_rtd_theme diff --git a/dev-python/tekore/tekore-1.5.0.ebuild b/dev-python/tekore/tekore-1.5.0.ebuild index a61bf2ad87..9c3b0c4584 100644 --- a/dev-python/tekore/tekore-1.5.0.ebuild +++ b/dev-python/tekore/tekore-1.5.0.ebuild @@ -23,13 +23,16 @@ RDEPEND=" dev-python/requests[${PYTHON_USEDEP}] ~dev-python/httpx-0.11.1[${PYTHON_USEDEP}] media-sound/spotify - python_targets_python3_6? ( dev-python/dataclasses[python_targets_python3_6] )" + $(python_gen_cond_dep 'dev-python/dataclasses[${PYTHON_USEDEP}]' python3_6) +" DOCS="readme.rst" distutils_enable_tests pytest -distutils_enable_sphinx docs/src dev-python/sphinx_rtd_theme dev-python/sphinx-autodoc-typehints +# doc not working: 'PosixPath' object has no attribute 'rstrip' +#distutils_enable_sphinx docs/src dev-python/sphinx_rtd_theme dev-python/sphinx-autodoc-typehints +#need this, otherwise: no tests ran python_test() { pytest -vv tests/* || die "Tests fail with ${EPYTHON}" } diff --git a/dev-python/timeout-decorator/metadata.xml b/dev-python/timeout-decorator/metadata.xml index 628ab20176..d3bcd15ef8 100644 --- a/dev-python/timeout-decorator/metadata.xml +++ b/dev-python/timeout-decorator/metadata.xml @@ -2,8 +2,12 @@ - - andrewammerlaan@riseup.net - Andrew Ammerlaan - + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + + pnpnpn/timeout-decorator + timeout-decorator + diff --git a/dev-python/timeout-decorator/timeout-decorator-0.4.1.ebuild b/dev-python/timeout-decorator/timeout-decorator-0.4.1.ebuild index e29899db22..9cedbaaa0f 100644 --- a/dev-python/timeout-decorator/timeout-decorator-0.4.1.ebuild +++ b/dev-python/timeout-decorator/timeout-decorator-0.4.1.ebuild @@ -8,7 +8,10 @@ PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 DESCRIPTION="Timeout decorator" -HOMEPAGE="https://github.com/pnpnpn/timeout-decorator" +HOMEPAGE=" + https://github.com/pnpnpn/timeout-decorator + https://pypi.org/project/timeout-decorator +" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" diff --git a/dev-python/trio/metadata.xml b/dev-python/trio/metadata.xml index 628ab20176..d8d9353b59 100644 --- a/dev-python/trio/metadata.xml +++ b/dev-python/trio/metadata.xml @@ -2,8 +2,19 @@ - - andrewammerlaan@riseup.net - Andrew Ammerlaan - + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + +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. + + + python-trio/trio + trio + diff --git a/dev-python/trio/trio-0.13.0.ebuild b/dev-python/trio/trio-0.13.0.ebuild index 1f0862d3bd..092b394131 100644 --- a/dev-python/trio/trio-0.13.0.ebuild +++ b/dev-python/trio/trio-0.13.0.ebuild @@ -8,30 +8,41 @@ PYTHON_COMPAT=( python3_{6,7} ) inherit distutils-r1 linux-info DESCRIPTION="Python library for async concurrency and I/O" -HOMEPAGE="https://github.com/python-trio/trio" +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" +LICENSE="|| ( Apache-2.0 MIT )" SLOT="0" KEYWORDS="~amd64 ~x86" -DEPEND="dev-python/async_generator[${PYTHON_USEDEP}] +RDEPEND=" + dev-python/async_generator[${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}]" - -RDEPEND="${DEPEND} - $(python_gen_cond_dep 'dev-python/contextvars[${PYTHON_USEDEP}]' python3_6)" - -BDEPEND="test? ( >=dev-python/astor-0.8.0[${PYTHON_USEDEP}] + dev-python/sortedcontainers[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/contextvars[${PYTHON_USEDEP}]' python3_6) +" +DEPEND="${RDEPEND} + test? ( + >=dev-python/astor-0.8.0[${PYTHON_USEDEP}] + >=dev-python/immutables-0.6[${PYTHON_USEDEP}] dev-python/jedi[${PYTHON_USEDEP}] dev-python/trustme[${PYTHON_USEDEP}] - dev-python/yapf[${PYTHON_USEDEP}] )" + dev-python/yapf[${PYTHON_USEDEP}] + ) +" distutils_enable_tests pytest -distutils_enable_sphinx docs/source +distutils_enable_sphinx docs/source \ + ">=dev-python/immutables-0.6" \ + dev-python/sphinxcontrib-trio \ + dev-python/sphinx_rtd_theme \ + dev-python/towncrier python_prepare_all() { # Disable tests require IPv6 diff --git a/dev-python/uvicorn/metadata.xml b/dev-python/uvicorn/metadata.xml index 628ab20176..37318dd70d 100644 --- a/dev-python/uvicorn/metadata.xml +++ b/dev-python/uvicorn/metadata.xml @@ -2,8 +2,19 @@ - - andrewammerlaan@riseup.net - Andrew Ammerlaan - + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + +Uvicorn is a lightning-fast ASGI server implementation, using uvloop and httptools. + +Until recently Python has lacked a minimal low-level server/application interface for asyncio frameworks. The ASGI specification fills this gap, and means we're now able to start building a common set of tooling usable across all asyncio frameworks. + +Uvicorn currently supports HTTP/1.1 and WebSockets. Support for HTTP/2 is planned. + + + encode/uvicorn + uvicorn + diff --git a/dev-python/wcmatch/Manifest b/dev-python/wcmatch/Manifest new file mode 100644 index 0000000000..d4809995dd --- /dev/null +++ b/dev-python/wcmatch/Manifest @@ -0,0 +1 @@ +DIST wcmatch-6.0.1.tar.gz 89466 BLAKE2B ccbc397c0c67f6eba55875ba540aa2705f12808e2eb1e57417beed44fc5ee5234023de439d30f966c158d263154bdd3882ce361b77aab12f1365d172f425ad11 SHA512 aec942c1754103d9938189dbb8ea8b62d8621137b8b51e48095fa4d313cfa120764414345aa3b5d263e2fd29219bf7bd1fa1d238f16521421761853d43596bbc diff --git a/dev-python/wcmatch/metadata.xml b/dev-python/wcmatch/metadata.xml new file mode 100644 index 0000000000..85785fc160 --- /dev/null +++ b/dev-python/wcmatch/metadata.xml @@ -0,0 +1,44 @@ + + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + facelessuser/wcmatch + wcmatch + + +Wildcard Match provides an enhanced fnmatch, glob, and pathlib library in order to provide +file matching and globbing that more closely follows the features found in Bash. In some +ways these libraries are similar to Python's builtin libraries as they provide a similar +interface to match, filter, and glob the file system. But they also include a number of +features found in Bash's globbing such as backslash escaping, brace expansion, extended +glob pattern groups, etc. They also add a number of new useful functions as well, such as +globmatch which functions like fnmatch, but for paths. +Wildcard Match also adds a file search utility called wcmatch that is built on top of fnmatch and globmatch. It was +originally written for Rummage, but split out into this project to be used by other +projects that may find its approach useful. +Bash is used as a guide when making decisions on behavior for fnmatch and glob. Behavior may differ from Bash version to Bash version, +but an attempt is made to keep Wildcard Match up with the latest relevant changes. With +all of this said, there may be a few corner cases in which we've intentionally chosen to +not exactly mirror Bash. If an issue is found where Wildcard Match seems to deviate in an +illogical way, we'd love to hear about it in the issue tracker. +Features +A quick overview of Wildcard Match's +Features: + Provides an interface comparable to Python's builtin in fnamtch, glob, and pathlib. + Allows for a much more configurable experience when matching or globbing with many more features. Adds support for ** in glob. + Adds support for escaping characters with \. + Add support for POSIX style character classes inside sequences: [[:alnum:]], etc. The C locale is used for byte strings and Unicode properties for Unicode strings. + Adds support for brace expansion: a{b,{c,d}} --> ab ac ad. + Adds support for expanding ~ or ~username to the appropriate user path. + Adds support for extended match patterns: @(...), +(...), *(...), ?(...), and !(...). + Adds ability to match path names via the path centric globmatch. + Provides a pathlib variant that uses Wildcard Match's glob library instead of Python's default. + Provides an alternative file crawler called wcmatch. + And more... + + diff --git a/dev-python/wcmatch/wcmatch-6.0.1.ebuild b/dev-python/wcmatch/wcmatch-6.0.1.ebuild new file mode 100644 index 0000000000..a056fd861f --- /dev/null +++ b/dev-python/wcmatch/wcmatch-6.0.1.ebuild @@ -0,0 +1,57 @@ +# 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="Wildcard/glob file name matcher" +HOMEPAGE=" + https://github.com/facelessuser/wcmatch + https://pypi.org/project/wcmatch" +SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +#IUSE="doc" + +# Need mkdocs-1.1 for this +#BDEPEND=" +# doc? ( +# dev-python/mkdocs-git-revision-date-localized-plugin +# dev-python/mkdocs_pymdownx_material_extras +# dev-python/pyspelling +# ) +#" + +RDEPEND=" + >=dev-python/backrefs-4.1[${PYTHON_USEDEP}] + >=dev-python/bracex-2.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_prepare_all() { + # no such file or dir ~homedir + sed -i -e 's:test_tilde_user:_&:' \ + tests/test_glob.py || die + + # AssertionError: 0 == 0 + sed -i -e 's:test_tilde_globmatch_no_realpath:_&:' \ + -e 's:test_tilde_globmatch_no_tilde:_&:' \ + tests/test_globmatch.py || die + + distutils-r1_python_prepare_all +} + +#python_compile_all() { +# default +# if use doc; then +# mkdocs build || die "failed to make docs" +# HTML_DOCS="site" +# fi +#} diff --git a/dev-python/webpy/Manifest b/dev-python/webpy/Manifest new file mode 100644 index 0000000000..7c425da5d1 --- /dev/null +++ b/dev-python/webpy/Manifest @@ -0,0 +1,2 @@ +DIST webpy-0.40.tar.gz 103372 BLAKE2B 3c9f9a3a1be57794589321c6845b691e45956cc9a55988e4dd4fe2ba056bb6118258c441ca219ae214a967f27637e26d03c5cc9052e6f869c75e4ce0458b4f20 SHA512 84553c916cdcbf0f994839c9293f881d0eee9450dfbfa571bb208ef47c5308569d8c2b89732ef85be92f9f8c4fb87838e1507566019d5d381fbb51419bfd64f8 +DIST webpy-0.50.tar.gz 105473 BLAKE2B d535016c8e97d06c122e03a3c9888c00415bf9bb12b54812f73d6505eca21ff6f8765d7b3438760ad29f9dbece84e1ccfa5d4aeba8a02298604ca95126643ec5 SHA512 935689e9ee21b41ea942b314c304f934a83dbc522ee99773a74adb7eea2a44bc2fe5e9f28b1c9dfcdd6daa6c6f599b176b31a880520c8f0af64ba89bf76af1f3 diff --git a/dev-python/webpy/metadata.xml b/dev-python/webpy/metadata.xml new file mode 100644 index 0000000000..709f24749c --- /dev/null +++ b/dev-python/webpy/metadata.xml @@ -0,0 +1,16 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + webpy/web.py + + + web.py provides small and simple web framework for + python. It is a convenient tool for small sized + websites. + + diff --git a/dev-python/webpy/webpy-0.40.ebuild b/dev-python/webpy/webpy-0.40.ebuild new file mode 100644 index 0000000000..54ca3edcc4 --- /dev/null +++ b/dev-python/webpy/webpy-0.40.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 + +DESCRIPTION="A web framework for python that is as simple as it is powerful" +HOMEPAGE=" + https://www.webpy.org + https://github.com/webpy/webpy +" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/cheroot[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + test? ( + >=dev-python/pytest-4.6.2[${PYTHON_USEDEP}] + ) +" +# dev-python/dbutils[${PYTHON_USEDEP}] +# >=dev-python/mysql-connector-python-8.0.19[${PYTHON_USEDEP}] +# dev-python/pymysql[${PYTHON_USEDEP}] +# >=dev-python/psycopg-2.8.4[${PYTHON_USEDEP}] + +distutils_enable_tests pytest +distutils_enable_sphinx docs + +src_prepare() { + #tests require postgresql and mysql running + rm tests/test_db.py + default +} diff --git a/dev-python/webpy/webpy-0.50.ebuild b/dev-python/webpy/webpy-0.50.ebuild new file mode 100644 index 0000000000..54ca3edcc4 --- /dev/null +++ b/dev-python/webpy/webpy-0.50.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 + +DESCRIPTION="A web framework for python that is as simple as it is powerful" +HOMEPAGE=" + https://www.webpy.org + https://github.com/webpy/webpy +" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/cheroot[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + test? ( + >=dev-python/pytest-4.6.2[${PYTHON_USEDEP}] + ) +" +# dev-python/dbutils[${PYTHON_USEDEP}] +# >=dev-python/mysql-connector-python-8.0.19[${PYTHON_USEDEP}] +# dev-python/pymysql[${PYTHON_USEDEP}] +# >=dev-python/psycopg-2.8.4[${PYTHON_USEDEP}] + +distutils_enable_tests pytest +distutils_enable_sphinx docs + +src_prepare() { + #tests require postgresql and mysql running + rm tests/test_db.py + default +} diff --git a/dev-python/websockets/metadata.xml b/dev-python/websockets/metadata.xml index 628ab20176..e98572b68a 100644 --- a/dev-python/websockets/metadata.xml +++ b/dev-python/websockets/metadata.xml @@ -2,8 +2,34 @@ - - andrewammerlaan@riseup.net - Andrew Ammerlaan - + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + +What is websockets? + +websockets is a library for building WebSocket servers and clients in Python with a focus on correctness and simplicity. + +Built on top of asyncio, Python's standard asynchronous I/O framework, it provides an elegant coroutine-based API. +Why should I use websockets? + +The development of websockets is shaped by four principles: + + Simplicity: all you need to understand is msg = await ws.recv() and await ws.send(msg); websockets takes care of managing connections so you can focus on your application. + Robustness: websockets is built for production; for example it was the only library to handle backpressure correctly before the issue became widely known in the Python community. + Quality: websockets is heavily tested. Continuous integration fails under 100% branch coverage. Also it passes the industry-standard Autobahn Testsuite. + Performance: memory use is configurable. An extension written in C accelerates expensive operations. It's pre-compiled for Linux, macOS and Windows and packaged in the wheel format for each system and Python version. + +Documentation is a first class concern in the project. Head over to Read the Docs and see for yourself. +Why shouldn't I use websockets? + + If you prefer callbacks over coroutines: websockets was created to provide the best coroutine-based API to manage WebSocket connections in Python. Pick another library for a callback-based API. + If you're looking for a mixed HTTP / WebSocket library: websockets aims at being an excellent implementation of RFC 6455: The WebSocket Protocol and RFC 7692: Compression Extensions for WebSocket. Its support for HTTP is minimal — just enough for a HTTP health check. + If you want to use Python 2: websockets builds upon asyncio which only works on Python 3. websockets requires Python ≥ 3.6.1. + + + aaugustin/websockets + websockets + diff --git a/dev-python/websockets/websockets-8.1.ebuild b/dev-python/websockets/websockets-8.1.ebuild index e6b3c0c7ab..9307bdd1b7 100644 --- a/dev-python/websockets/websockets-8.1.ebuild +++ b/dev-python/websockets/websockets-8.1.ebuild @@ -3,12 +3,15 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 DESCRIPTION="An implementation of the WebSocket Protocol (RFC 6455 & 7692)" -HOMEPAGE="https://github.com/aaugustin/websockets https://pypi.org/project/websockets/" +HOMEPAGE=" + https://github.com/aaugustin/websockets + https://pypi.org/project/websockets/ +" SRC_URI="https://github.com/aaugustin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" @@ -16,7 +19,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86" python_prepare_all() { - # these tests fail, proabably because of + # these tests fail, probably because of # a permission error (no internet) rm tests/test_client_server.py || die rm tests/test_protocol.py || die diff --git a/dev-vcs/git-extras/git-extras-5.1.0.ebuild b/dev-vcs/git-extras/git-extras-5.1.0.ebuild index da362616c1..3ab7c35950 100644 --- a/dev-vcs/git-extras/git-extras-5.1.0.ebuild +++ b/dev-vcs/git-extras/git-extras-5.1.0.ebuild @@ -8,11 +8,11 @@ inherit bash-completion-r1 DESCRIPTION="Little git extras" HOMEPAGE="https://github.com/tj/git-extras" -if [[ $PV == 9999 ]]; then +if [[ "${PV}" == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="${HOMEPAGE}" else - SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/tj/git-extras/archive/${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64" fi @@ -28,9 +28,9 @@ src_install() { rm -rf "${D}"/etc/bash_completion.d - newbashcomp etc/bash_completion.sh ${PN} + newbashcomp etc/bash_completion.sh "${PN}" insinto /usr/share/zsh/site-functions - newins etc/git-extras-completion.zsh _${PN} + newins etc/git-extras-completion.zsh "_${PN}" } diff --git a/dev-vcs/git-extras/git-extras-9999.ebuild b/dev-vcs/git-extras/git-extras-9999.ebuild index da362616c1..3ab7c35950 100644 --- a/dev-vcs/git-extras/git-extras-9999.ebuild +++ b/dev-vcs/git-extras/git-extras-9999.ebuild @@ -8,11 +8,11 @@ inherit bash-completion-r1 DESCRIPTION="Little git extras" HOMEPAGE="https://github.com/tj/git-extras" -if [[ $PV == 9999 ]]; then +if [[ "${PV}" == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="${HOMEPAGE}" else - SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/tj/git-extras/archive/${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64" fi @@ -28,9 +28,9 @@ src_install() { rm -rf "${D}"/etc/bash_completion.d - newbashcomp etc/bash_completion.sh ${PN} + newbashcomp etc/bash_completion.sh "${PN}" insinto /usr/share/zsh/site-functions - newins etc/git-extras-completion.zsh _${PN} + newins etc/git-extras-completion.zsh "_${PN}" } diff --git a/net-wireless/rtl8821ce/Manifest b/net-wireless/rtl8821ce/Manifest index ca5653ce3b..90913498be 100644 --- a/net-wireless/rtl8821ce/Manifest +++ b/net-wireless/rtl8821ce/Manifest @@ -1 +1 @@ -DIST rtl8821ce-20191119.tar.gz 4519557 BLAKE2B e47add6566c68ea0408a34f8a374ca6cec92e68a269991f1e48c5459fea82feae8c6eecb22f06785414dc23e2c1cf889b4bda95ab49210b4edbf93aee1c9ddc5 SHA512 b0a248bfc7abea57163b1ad29946cce509cfac6100c2f8129dfe347539267ff6840bdef845c6939bbf4963707ded107345133b1ec56da95e334d05c67f0e4122 +DIST rtl8821ce-20200224.tar.gz 4519145 BLAKE2B dec8974d16d7a4d136c3a452d182aeec26270ddf6ffc4e5059a8260fa6dbed32aa407925244d4fe543d4156956f54ab464b6502f6f185a83e3b98de003fdc715 SHA512 2946b36d0315db292870d1760d1d68f3135e202c90312bc37619a8de04b1fd60f4acb13d14700e0a5ca3ae4a21aab68306cf0f4a801134a37ff573fcc6a8e11f diff --git a/net-wireless/rtl8821ce/files/32bit.patch b/net-wireless/rtl8821ce/files/32bit.patch deleted file mode 100644 index 8f37af89cf..0000000000 --- a/net-wireless/rtl8821ce/files/32bit.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/hal/rtl8821c/pci/rtl8821ce_halmac.c b/hal/rtl8821c/pci/rtl8821ce_halmac.c -index 1100cdf..f7ae7b0 100755 ---- a/hal/rtl8821c/pci/rtl8821ce_halmac.c -+++ b/hal/rtl8821c/pci/rtl8821ce_halmac.c -@@ -24,7 +24,11 @@ static u8 pci_write_port_not_xmitframe(void *d, u32 size, u8 *pBuf, u8 qsel) - PADAPTER padapter = dvobj_get_primary_adapter(pobj); - u32 page_size = 0; - u8 *txbd; -+#ifdef CONFIG_64BIT - u64 txbd_dma; -+#else -+ dma_addr_t txbd_dma; -+#endif - u8 ret = _SUCCESS; - dma_addr_t mapping; - - diff --git a/net-wireless/rtl8821ce/rtl8821ce-20191119.ebuild b/net-wireless/rtl8821ce/rtl8821ce-20200224.ebuild similarity index 83% rename from net-wireless/rtl8821ce/rtl8821ce-20191119.ebuild rename to net-wireless/rtl8821ce/rtl8821ce-20200224.ebuild index da9bc48a80..b1bec83cf6 100644 --- a/net-wireless/rtl8821ce/rtl8821ce-20191119.ebuild +++ b/net-wireless/rtl8821ce/rtl8821ce-20200224.ebuild @@ -4,7 +4,7 @@ EAPI=7 inherit linux-mod -COMMIT="27f98a55cc48b9a26e6eb4127976c8feb95867d8" +COMMIT="df0c98c00d27508381eb280d568602bd85cd8f69" DESCRIPTION="Realtek RTL8821CE Driver module for Linux kernel" HOMEPAGE="https://github.com/tomaspinho/rtl8821ce" @@ -15,9 +15,6 @@ KEYWORDS="~amd64 ~x86" DEPEND="virtual/linux-sources" -# fix 32bit build -PATCHES="${FILESDIR}/32bit.patch" - S="${WORKDIR}/rtl8821ce-${COMMIT}" MODULE_NAMES="8821ce(net/wireless)" diff --git a/sys-process/iotop-c/metadata.xml b/sys-process/iotop-c/metadata.xml index 4cbc5f620e..a17f7c6275 100644 --- a/sys-process/iotop-c/metadata.xml +++ b/sys-process/iotop-c/metadata.xml @@ -6,8 +6,11 @@ Arthur Zamarin - Top-like UI used to show which process is using the I/O. Ported from the - Python language to C. +Your Linux server is too slow or load is too high? One of the possible causes of such symptoms may be high IO (input/output) waiting time, which basically means that some of your processes need to read or write to a hard drive while it is too slow and not ready yet, serving data for some other processes. + +Common practice is to use iostat -x in order to find out which block device (hard drive) is slow, but such information is not always much helpful. It could help you much more if you knew which process reads or writes the most data from your slow disk, so you could possibly renice it using ionice or even kill it. + +IOTop will identify processes, which use high amount of input/output requests on your machine. It is similar to the well known top utility, but instead of showing you what consumes CPU the most, it lists processes by their IO consumption. Inspired by iotop python script from Guillaume Chazarain, but rewritten to C by Vyacheslav Trushkin so it now runs without python at all. Tomas-M/iotop diff --git a/x11-misc/betterlockscreen/betterlockscreen-3.0.1.ebuild b/x11-misc/betterlockscreen/betterlockscreen-3.0.1.ebuild index d264d7d574..1f008cf2fc 100644 --- a/x11-misc/betterlockscreen/betterlockscreen-3.0.1.ebuild +++ b/x11-misc/betterlockscreen/betterlockscreen-3.0.1.ebuild @@ -6,12 +6,14 @@ EAPI=7 DESCRIPTION="sweet looking lockscreen for linux system" HOMEPAGE="https://github.com/pavanjadhaw/betterlockscreen" -if [[ ${PV} == 9999 ]];then - inherit git-r3 systemd +inherit systemd + +if [[ "${PV}" == 9999 ]];then + inherit git-r3 EGIT_REPO_URI="${HOMEPAGE}" + KEYWORDS="" else - inherit systemd - SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/pavanjadhaw/betterlockscreen/archive/${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64" fi @@ -19,21 +21,21 @@ LICENSE="MIT" SLOT="0" DEPEND=" - >=x11-misc/i3lock-color-2.11:= + media-gfx/feh media-gfx/imagemagick + sys-devel/bc x11-apps/xdpyinfo x11-apps/xrandr - sys-devel/bc - media-gfx/feh + >=x11-misc/i3lock-color-2.11:= " RDEPEND="${DEPEND}" -src_install(){ +src_install() { dobin betterlockscreen dodoc -r examples - if [[ $PV == 9999 ]] ; then + if [[ "${PV}" == 9999 ]] ; then systemd_dounit system/betterlockscreen@.service else systemd_dounit betterlockscreen@.service diff --git a/x11-misc/betterlockscreen/betterlockscreen-9999.ebuild b/x11-misc/betterlockscreen/betterlockscreen-9999.ebuild index d264d7d574..1f008cf2fc 100644 --- a/x11-misc/betterlockscreen/betterlockscreen-9999.ebuild +++ b/x11-misc/betterlockscreen/betterlockscreen-9999.ebuild @@ -6,12 +6,14 @@ EAPI=7 DESCRIPTION="sweet looking lockscreen for linux system" HOMEPAGE="https://github.com/pavanjadhaw/betterlockscreen" -if [[ ${PV} == 9999 ]];then - inherit git-r3 systemd +inherit systemd + +if [[ "${PV}" == 9999 ]];then + inherit git-r3 EGIT_REPO_URI="${HOMEPAGE}" + KEYWORDS="" else - inherit systemd - SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/pavanjadhaw/betterlockscreen/archive/${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64" fi @@ -19,21 +21,21 @@ LICENSE="MIT" SLOT="0" DEPEND=" - >=x11-misc/i3lock-color-2.11:= + media-gfx/feh media-gfx/imagemagick + sys-devel/bc x11-apps/xdpyinfo x11-apps/xrandr - sys-devel/bc - media-gfx/feh + >=x11-misc/i3lock-color-2.11:= " RDEPEND="${DEPEND}" -src_install(){ +src_install() { dobin betterlockscreen dodoc -r examples - if [[ $PV == 9999 ]] ; then + if [[ "${PV}" == 9999 ]] ; then systemd_dounit system/betterlockscreen@.service else systemd_dounit betterlockscreen@.service diff --git a/x11-themes/arc-kde/metadata.xml b/x11-themes/arc-kde/metadata.xml index 4752419083..e9aff023e2 100644 --- a/x11-themes/arc-kde/metadata.xml +++ b/x11-themes/arc-kde/metadata.xml @@ -1,15 +1,29 @@ - - michael.egger@tsn.at - Michael Egger - - - This is a port of the popular GTK theme Arc for Plasma 5 desktop with a few additions and extras. - - - https://github.com/PapirusDevelopmentTeam/arc-kde/issues - https://github.com/PapirusDevelopmentTeam/arc-kde/blob/master/README.md - + + michael.egger@tsn.at + Michael Egger + + +Arc KDE - This is a port of the popular GTK theme Arc for Plasma 5 desktop with a few additions and extras. + +In this repository you'll find: + + Aurorae Themes + Konsole Color Schemes + Konversation Themes + Kvantum Themes + Plasma Color Schemes + Plasma Desktop Themes + Plasma Look-and-Feel Settings + Wallpapers + Yakuake Skins + +NOTE: Plasma theme Arc Color now supports KDE Color Schemes with Papirus icon theme. + + + https://github.com/PapirusDevelopmentTeam/arc-kde/issues + https://github.com/PapirusDevelopmentTeam/arc-kde/blob/master/README.md +