diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-01-06 01:38:04 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-01-06 01:38:04 +0000 |
| commit | 169336402d196933bb3342cc561866a40e57ec8b (patch) | |
| tree | ba3b77166d1e7f7075bae1effd36f9e1b18e9fc9 /dev-python | |
| parent | ce53ec4b6bb82c8f9325f790f347035aff491f15 (diff) | |
| download | baldeagleos-repo-169336402d196933bb3342cc561866a40e57ec8b.tar.gz baldeagleos-repo-169336402d196933bb3342cc561866a40e57ec8b.tar.xz baldeagleos-repo-169336402d196933bb3342cc561866a40e57ec8b.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
24 files changed, 356 insertions, 16 deletions
diff --git a/dev-python/GitPython/GitPython-3.1.24-r1.ebuild b/dev-python/GitPython/GitPython-3.1.24-r1.ebuild index e469f43c8a2b..be440e237f51 100644 --- a/dev-python/GitPython/GitPython-3.1.24-r1.ebuild +++ b/dev-python/GitPython/GitPython-3.1.24-r1.ebuild @@ -23,7 +23,7 @@ SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-vcs/git diff --git a/dev-python/cython/cython-0.29.25.ebuild b/dev-python/cython/cython-0.29.25.ebuild index 3fdeb265b10a..dade0d65cb52 100644 --- a/dev-python/cython/cython-0.29.25.ebuild +++ b/dev-python/cython/cython-0.29.25.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,7 +15,7 @@ SRC_URI="https://github.com/cython/cython/archive/${PV}.tar.gz -> ${P}.gh.tar.gz LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" IUSE="emacs test" RESTRICT="!test? ( test )" diff --git a/dev-python/ddt/ddt-1.4.4.ebuild b/dev-python/ddt/ddt-1.4.4.ebuild index 2f565faeceb7..b1b1f06b39a2 100644 --- a/dev-python/ddt/ddt-1.4.4.ebuild +++ b/dev-python/ddt/ddt-1.4.4.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND=" test? ( diff --git a/dev-python/fonttools/fonttools-4.28.4.ebuild b/dev-python/fonttools/fonttools-4.28.4.ebuild index 535e01bdf88e..fe27761feed9 100644 --- a/dev-python/fonttools/fonttools-4.28.4.ebuild +++ b/dev-python/fonttools/fonttools-4.28.4.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/fonttools/fonttools/archive/${PV}.tar.gz -> ${P}.tar LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ppc64 ~riscv sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv sparc x86 ~x64-macos" RDEPEND=">=dev-python/fs-2.4.9[${PYTHON_USEDEP}]" BDEPEND=" diff --git a/dev-python/fritzconnection/Manifest b/dev-python/fritzconnection/Manifest index 611df23e43bc..9cde0957db70 100644 --- a/dev-python/fritzconnection/Manifest +++ b/dev-python/fritzconnection/Manifest @@ -1,3 +1,4 @@ DIST fritzconnection-1.7.1.tar.gz 77805 BLAKE2B 4012975205320cc1c65ace64f515e1a934da5e330e9f9090021f20989d300df38f042cc8defd794ab6d4f2935cc2973141b50b1aea74a472d42f2dd5c1b2da57 SHA512 f3ca91b41a6255a743a00d34733e4755f1f675c150414c794bce9c52da292cc267a60520d5bc4e6b0e5ba4dc1ce27b7083fa4e2c226bafa3ca39ee6d63c80ae2 DIST fritzconnection-1.7.2.tar.gz 77880 BLAKE2B bb27d1cc8ccdce17a73ddc6a1f3fcb1187976dcaca28f773a6aad9c07f3dfa80be686d065d060fbf174b60b31bc589f26e6f48ae655a69b4a7ad2864d434156b SHA512 2ab6b010750e7dc7dd010fc51c3fa41ab2eee58c5f310f187e998183950a2ed2668a13a4a4a39bdb27fb1b0a8f69cfff47256ebd3b543128710368689551dc87 DIST fritzconnection-1.8.0.tar.gz 77615 BLAKE2B aedcc3b116b6ce7ce14feb75714ee6e5a5ea667f7cb5e3124caa61e9b638e91e95a2520184869d088ceee7a6fd242c649660e7bb9ca81920f22954fc01ae3682 SHA512 4a65e715151fcd356ece60b9966560d80e4144d53f0684774af8f669fb83aa87124870ec1dfb29cbd381c73a711797f837b09abb620dfbb94722cba007fdf80c +DIST fritzconnection-1.9.0.tar.gz 79389 BLAKE2B 58ffebd4451dea16ec4739d77f02e3e67cda4e332df94688cf6b293f6cb6d15277f4d7231805425782d3214f926f74f51da4b988e60cbea5d336bec7436f664c SHA512 cf6710dffa8e76ecd5217d592824735e2bbcd8e2860a333a64e75530fd18da2cf6578181173614a2169d81c4db17f657708809db6d67e092f740558b8b8fd3fd diff --git a/dev-python/fritzconnection/fritzconnection-1.9.0.ebuild b/dev-python/fritzconnection/fritzconnection-1.9.0.ebuild new file mode 100644 index 000000000000..13a5349498b4 --- /dev/null +++ b/dev-python/fritzconnection/fritzconnection-1.9.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Lib/tool to communicate with AVM FRITZ! devices using TR-064 protocol over UPnP" +HOMEPAGE="https://github.com/kbr/fritzconnection" +LICENSE="MIT" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/kbr/fritzconnection" + inherit git-r3 +else + SRC_URI="https://github.com/kbr/fritzconnection/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +RDEPEND=">=dev-python/requests-2.22[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/gitdb/gitdb-4.0.8.ebuild b/dev-python/gitdb/gitdb-4.0.8.ebuild index d948d0fa4465..eeedd8936df9 100644 --- a/dev-python/gitdb/gitdb-4.0.8.ebuild +++ b/dev-python/gitdb/gitdb-4.0.8.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/smmap-3.0.1[${PYTHON_USEDEP}]" diff --git a/dev-python/httpcore/Manifest b/dev-python/httpcore/Manifest index e7460735ecd9..be406716d1ae 100644 --- a/dev-python/httpcore/Manifest +++ b/dev-python/httpcore/Manifest @@ -1,2 +1,3 @@ DIST httpcore-0.13.7.tar.gz 64734 BLAKE2B e6c4b1720ce4bf62689995d3e1c648c4702bb416f3b3586eb8dd2f0cfd2155046e64181c4c04e65f721a5f0fcbc23b5ffd01c2930c7c69d37ee4c36e37b7d0d4 SHA512 0cc48828d0710066b3ef89998ec85975285763ac63a8b59106952ef2dac5a02dac71e7e106c4b6ea1022eb4d06a9cb5ee3e634eb564bad49c5508beff75279d6 DIST httpcore-0.14.3.tar.gz 64650 BLAKE2B 140c55af60f54ff13db958cecef50af2b8857837c00c2e5b1ec48d8866bc08146f608864a3dcaed0014505ba0ea10b8d457a763ecf434a0d40a2e11debdd4003 SHA512 05e92109839c2e2f7ec81fea9507fb15a12d1bf6ae92048170953b1cb0139237b81c892feff1bc3840e06887e8916cadcc4124725874344524e45e3640a00379 +DIST httpcore-0.14.4.tar.gz 68463 BLAKE2B cc6c17da3b97c2a8fb9edb0aeb6247904240748645f605b2f3c84194fc06bab10f568ce21b8beaf1dee9a8d68166f1691e00f17e44d89efce0a18a6fbd91d5a5 SHA512 4dfb2d0dd10df1de45f4e78ddedddf02bf500a81a0132919894bd5c07f02a2975ce589ba3f6d79dd92ec882128f86f338bd32f35cdecb6618307e446ed369310 diff --git a/dev-python/httpcore/httpcore-0.14.4.ebuild b/dev-python/httpcore/httpcore-0.14.4.ebuild new file mode 100644 index 000000000000..f01c1722c75a --- /dev/null +++ b/dev-python/httpcore/httpcore-0.14.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="A minimal low-level HTTP client" +HOMEPAGE="https://www.encode.io/httpcore/" +SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + =dev-python/anyio-3*[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] + <dev-python/h11-0.13[${PYTHON_USEDEP}] + <dev-python/h2-5[${PYTHON_USEDEP}] + =dev-python/sniffio-1*[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-httpbin[${PYTHON_USEDEP}] + dev-python/pytest-trio[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/mistune/mistune-2.0.1.ebuild b/dev-python/mistune/mistune-2.0.1.ebuild index 06bc82b27e96..466007d9d9b4 100644 --- a/dev-python/mistune/mistune-2.0.1.ebuild +++ b/dev-python/mistune/mistune-2.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,6 +13,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" SLOT="0" LICENSE="BSD" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" distutils_enable_tests pytest diff --git a/dev-python/progressbar2/Manifest b/dev-python/progressbar2/Manifest index 317ad24402e7..fafd0b7acf27 100644 --- a/dev-python/progressbar2/Manifest +++ b/dev-python/progressbar2/Manifest @@ -1 +1,2 @@ DIST progressbar2-3.55.0.tar.gz 371356 BLAKE2B 89034af2cc623063e98c9de1683f159c2eeb491354c66357d9c3fb5a7ac0503b5c9d2dd6ebf36d3e2803558f3841820188eaf6dc931e992c352e0e02fa020f87 SHA512 16dcdffeba6e9cb6696ac41c16701874c5f314432332d7ae2d898d1040e603c428240a8ca5718789d0d431750e2ae923a6f63fe75785213e80494bcc5825aab5 +DIST progressbar2-4.0.0.tar.gz 663046 BLAKE2B 1616f1b9c5f720f370dc9eb02ba37cf83391c853a525fca523fb33af1b580f38647b835a83558674a78dacc33bf7652cb9af8799ad13763f62d33417abaa35cf SHA512 b9b9dabb3093e42bc6f40c0e284caae2d29ebfa450db379c214a5ae39e7ccb8c690655da21a44882d0b68f24d83f55a3342671087a25ada168bce9d236685666 diff --git a/dev-python/progressbar2/progressbar2-4.0.0.ebuild b/dev-python/progressbar2/progressbar2-4.0.0.ebuild new file mode 100644 index 000000000000..58f013c3ca90 --- /dev/null +++ b/dev-python/progressbar2/progressbar2-4.0.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Text progressbar library for python" +HOMEPAGE="https://progressbar-2.readthedocs.io/ https://pypi.org/project/progressbar2/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/python-utils-3.0.0[${PYTHON_USEDEP}] + !dev-python/progressbar +" +BDEPEND=" + test? ( dev-python/freezegun[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/cov/d' pytest.ini || die + default +} + +python_test() { + PYTHONDONTWRITEBYTECODE=1 epytest tests +} diff --git a/dev-python/pycryptodome/pycryptodome-3.12.0.ebuild b/dev-python/pycryptodome/pycryptodome-3.12.0.ebuild index ef9b741281f0..e61bdc8506d5 100644 --- a/dev-python/pycryptodome/pycryptodome-3.12.0.ebuild +++ b/dev-python/pycryptodome/pycryptodome-3.12.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,7 +18,7 @@ SRC_URI=" LICENSE="BSD-2 Unlicense" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="" DEPEND=" diff --git a/dev-python/pygal/pygal-3.0.0-r1.ebuild b/dev-python/pygal/pygal-3.0.0-r1.ebuild new file mode 100644 index 000000000000..ee91e297c1f0 --- /dev/null +++ b/dev-python/pygal/pygal-3.0.0-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 optfeature + +DESCRIPTION="A python SVG charts generator" +HOMEPAGE="https://github.com/Kozea/pygal/" +SRC_URI="https://github.com/Kozea/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pyquery[${PYTHON_USEDEP}] + media-gfx/cairosvg[${PYTHON_USEDEP}] + ) +" + +# CHANGELOG is a symlink to docs/changelog.rst +DOCS=( docs/changelog.rst README.md ) + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +python_prepare_all() { + # Not actually required unless we want to do setup.py test + # https://github.com/Kozea/pygal/issues/430 + sed -i -e "/setup_requires/d" setup.py || die + distutils-r1_python_prepare_all +} + +pkg_postinst() { + optfeature "improving rendering speed" "dev-python/lxml" + optfeature "png rendering" "dev-python/cairosvg" +} diff --git a/dev-python/pylint/pylint-2.12.2.ebuild b/dev-python/pylint/pylint-2.12.2.ebuild index 2034d3dd5648..86bf75d9f35e 100644 --- a/dev-python/pylint/pylint-2.12.2.ebuild +++ b/dev-python/pylint/pylint-2.12.2.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="examples" # Make sure to check https://github.com/PyCQA/pylint/blob/main/setup.cfg#L43 on bumps diff --git a/dev-python/pyzotero/Manifest b/dev-python/pyzotero/Manifest index 103f0f963eaf..5fcc9c6a0857 100644 --- a/dev-python/pyzotero/Manifest +++ b/dev-python/pyzotero/Manifest @@ -1 +1,2 @@ DIST pyzotero-1.4.26.tar.gz 520629 BLAKE2B 7ddcd55a1c21d6dcc4b610a9a29bc86ff002afdf2e2a90513219b9fd13b3d5b504736e122850fc81acf7a4bbca0b8c5da3a92c8eb3a6f07392e3d17a9dc7d73c SHA512 a0b0bf92458746b0dd0c01511efb05dd8fb471434c9e813c9d6dab7741a2eb1a10af2b9c5f68daa4c681353ba8c93cab140ec2da5962d06c76e8a229d4742009 +DIST pyzotero-1.5.gh.tar.gz 520234 BLAKE2B 0bb64710d7cb4701006884417b46d1fe6a76ae8bdcfbd3b30cc413c8cd3ab7ba024318a28cb8c49a1bf280bf3098ece3267a3580a4ecc55af48f47a436476d8b SHA512 9a2080e1e9886c8e4a2410dc7687637d844a2614d40e38403b408bf584f0b1e5d5a4e517bdcba2f4e0602e5a7a3f2a3c9195cfde20242cc9d1da2ca5d3aa8f4c diff --git a/dev-python/pyzotero/pyzotero-1.5.ebuild b/dev-python/pyzotero/pyzotero-1.5.ebuild new file mode 100644 index 000000000000..e79f4223bc1a --- /dev/null +++ b/dev-python/pyzotero/pyzotero-1.5.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="A Python client for the Zotero API" +HOMEPAGE="https://github.com/urschrei/pyzotero" +SRC_URI="https://github.com/urschrei/pyzotero/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + app-text/zotero-bin + dev-python/bibtexparser[${PYTHON_USEDEP}] + dev-python/feedparser[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/httpretty[${PYTHON_USEDEP}] + )" + +distutils_enable_sphinx doc --no-autodoc +distutils_enable_tests pytest diff --git a/dev-python/requests-kerberos/requests-kerberos-0.14.0.ebuild b/dev-python/requests-kerberos/requests-kerberos-0.14.0.ebuild index f8b238f71822..48f89589a953 100644 --- a/dev-python/requests-kerberos/requests-kerberos-0.14.0.ebuild +++ b/dev-python/requests-kerberos/requests-kerberos-0.14.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ SRC_URI="https://github.com/requests/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ISC" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm arm64 x86" RDEPEND=" dev-python/cryptography[${PYTHON_USEDEP}] diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest index 86239771fdbe..8bb180082a03 100644 --- a/dev-python/requests/Manifest +++ b/dev-python/requests/Manifest @@ -1,2 +1,3 @@ DIST requests-2.26.0.tar.gz 104433 BLAKE2B 49872a0602ab0e6b3838c4ff84d6611c5265dd584a1902b51d5903a2fc566b97f7a70973a9244adf190e9249bc6d1fa448a2164a31d125ab6b3dac172ae62e1c SHA512 c3397d77f0d2f1afb05661c4b98adad6c1ddaf360906254150b33ab0d9479fd306905bd6d61b8cf8becd9a40bdcf9b03542e8267c644ef19f03f44bfca0bc461 DIST requests-2.27.0.tar.gz 108487 BLAKE2B a24e9071d39b8677309c5a847910cfb8bf91b22b522bebc8166e9fb3a36ce9783bb23ad725d43aa19da5cf3a1b11bfc21766a2995ba9810b6c973b03a7acdd1b SHA512 9d43c637bebb1b98fc25f895308673153686ef0b97e5d568526fb63c348dc939fab620fd7c550fef0a2977e98a466c8dae0710cef5b969b28b9a4f3a1f9940f5 +DIST requests-2.27.1.tar.gz 106758 BLAKE2B a7fed53998fa61b3d03abd254a0cee76450c5b60d76f80aa6b91f32dca1dae5d2c51987b3d3f2138d72c50790e35c36cb03eb5974554ac4eb1a902eff79b5bdd SHA512 e51916abea8125254c5ee72c97e84a73e6981cab09961486873387522d2ce041ee3fe8fa2ff0b9bbe6707eefdc05145e9adcf127bcd999dea127acdfabd5312f diff --git a/dev-python/requests/requests-2.27.1.ebuild b/dev-python/requests/requests-2.27.1.ebuild new file mode 100644 index 000000000000..23e4abf06d80 --- /dev/null +++ b/dev-python/requests/requests-2.27.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="HTTP library for human beings" +HOMEPAGE="https://requests.readthedocs.io/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="socks5" + +RDEPEND=" + >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}] + dev-python/charset_normalizer[${PYTHON_USEDEP}] + <dev-python/idna-4[${PYTHON_USEDEP}] + <dev-python/urllib3-1.27[${PYTHON_USEDEP}] + socks5? ( >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] ) +" + +BDEPEND=" + test? ( + dev-python/pytest-httpbin[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] + !alpha? ( !hppa? ( !ia64? ( + dev-python/trustme[${PYTHON_USEDEP}] + ) ) ) + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Internet (doctests) + requests/__init__.py::requests + requests/api.py::requests.api.request + requests/models.py::requests.models.PreparedRequest + requests/sessions.py::requests.sessions.Session + # require IPv4 interface in 10.* range + tests/test_requests.py::TestTimeout::test_connect_timeout + tests/test_requests.py::TestTimeout::test_total_timeout_connect + # TODO: openssl? + tests/test_requests.py::TestRequests::test_pyopenssl_redirect + ) + + if ! has_version "dev-python/trustme[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_requests.py::TestRequests::test_https_warnings + ) + fi + + epytest +} diff --git a/dev-python/smmap/smmap-5.0.0.ebuild b/dev-python/smmap/smmap-5.0.0.ebuild index 07469fe940d6..2f614c259483 100644 --- a/dev-python/smmap/smmap-5.0.0.ebuild +++ b/dev-python/smmap/smmap-5.0.0.ebuild @@ -13,7 +13,7 @@ HOMEPAGE=" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86" SLOT="0" distutils_enable_tests unittest diff --git a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.3.0.ebuild b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.3.0.ebuild index 184b45e878e3..5cc9e3af4c9f 100644 --- a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.3.0.ebuild +++ b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/pyenchant[${PYTHON_USEDEP}] diff --git a/dev-python/translate-toolkit/Manifest b/dev-python/translate-toolkit/Manifest index 5d7182fe4dec..071546ca44bf 100644 --- a/dev-python/translate-toolkit/Manifest +++ b/dev-python/translate-toolkit/Manifest @@ -1 +1,2 @@ DIST translate-3.5.1.gh.tar.gz 1147898 BLAKE2B f9fc96065727e0016e61fd581690dafc3021471de9ccc9012b223c24778669b984e0bf0ab5f83a910af0e543b0e4793afa110c5b2ced890a257f72512bcaf58d SHA512 2125e3ab019a6b721327d6979482562d5984df28b04aaa69d11e44b6a7396ee387f79d8242a20a84157f9b62457839b52599eb0fe13abac33c9a312a84d55d30 +DIST translate-3.5.2.gh.tar.gz 1147847 BLAKE2B 6ca8458975018c3645f3fcead99812b5f91c2a3e621060c1cf9599ecd2fdee8914ae1d70b70f8bc76f5d941f43e69e55555a35a5792d0c8c9d9e06458e670617 SHA512 e04c195d0f33aaf9c2368955c4c399be3c23702ce0fcb41705f727b65e129b652b5637a9b56ad2879f836548b77c266382ce41220a23aa9058828ee2f2ba1b3e diff --git a/dev-python/translate-toolkit/translate-toolkit-3.5.2.ebuild b/dev-python/translate-toolkit/translate-toolkit-3.5.2.ebuild new file mode 100644 index 000000000000..5ddff07f6631 --- /dev/null +++ b/dev-python/translate-toolkit/translate-toolkit-3.5.2.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +MY_P=translate-${PV} +DESCRIPTION="Toolkit to convert between many translation formats" +HOMEPAGE="https://github.com/translate/translate" +SRC_URI=" + https://github.com/translate/translate/archive/refs/tags/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+html +ical +ini +subtitles +yaml" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +BDEPEND=">=dev-python/six-1.11.0[${PYTHON_USEDEP}]" +RDEPEND="${BDEPEND} + !dev-python/pydiff + app-text/iso-codes + >=dev-python/chardet-3.0.4[${PYTHON_USEDEP}] + dev-python/cheroot[${PYTHON_USEDEP}] + >=dev-python/lxml-4.3.1[${PYTHON_USEDEP}] + >=dev-python/pycountry-19.8.18[${PYTHON_USEDEP}] + >=dev-python/python-levenshtein-0.12.0[${PYTHON_USEDEP}] + >=dev-python/pyparsing-3[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + sys-devel/gettext + html? ( dev-python/utidylib[${PYTHON_USEDEP}] ) + ical? ( dev-python/vobject[${PYTHON_USEDEP}] ) + ini? ( >=dev-python/iniparse-0.5[${PYTHON_USEDEP}] ) + subtitles? ( media-video/gaupol[${PYTHON_USEDEP}] ) + yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] ) +" +BDEPEND+=" + test? ( dev-python/phply[${PYTHON_USEDEP}] )" + +distutils_enable_sphinx docs \ + dev-python/sphinx-bootstrap-theme +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/translate-toolkit-3.3.0-no-install-docs.patch +) + +python_test() { + local EPYTEST_DESELECT=( + # Fails with network-sandbox (and even with it off but w/ softer fail) + 'tests/xliff_conformance/test_xliff_conformance.py::test_open_office_to_xliff' + 'tests/xliff_conformance/test_xliff_conformance.py::test_po_to_xliff' + ) + local EPYTEST_IGNORE=( + # unpackaged fluent.* + translate/storage/test_fluent.py + ) + + if ! use ini; then + EPYTEST_IGNORE+=( + translate/convert/test_ini2po.py + translate/convert/test_po2ini.py + ) + fi + + if ! use subtitles; then + EPYTEST_IGNORE+=( + translate/storage/test_subtitles.py + ) + fi + + # translate/storage/test_mo.py needs 'pocompile' + distutils_install_for_testing + epytest +} + +python_install_all() { + distutils-r1_python_install_all + + if ! use html; then + rm "${ED}"/usr/bin/{html2po,po2html} || die + fi + if ! use ical; then + rm "${ED}"/usr/bin/{ical2po,po2ical} || die + fi + if ! use ini; then + rm "${ED}"/usr/bin/{ini2po,po2ini} || die + fi + if ! use subtitles; then + rm "${ED}"/usr/bin/{sub2po,po2sub} || die + fi + + python_optimize +} |
