summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-05-31 01:38:18 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-05-31 01:38:18 +0000
commit73d7ab23b492b0f258147211056df2f846345072 (patch)
treedaad7282c0bc41b8b49a41643790dfb65752f24a /dev-python
parentdbeff5c12c4f07f751b70f93c82772750db63394 (diff)
downloadbaldeagleos-repo-73d7ab23b492b0f258147211056df2f846345072.tar.gz
baldeagleos-repo-73d7ab23b492b0f258147211056df2f846345072.tar.xz
baldeagleos-repo-73d7ab23b492b0f258147211056df2f846345072.zip
Adding metadata
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/BitVector/BitVector-3.5.0.ebuild20
-rw-r--r--dev-python/BitVector/Manifest1
-rw-r--r--dev-python/apsw/Manifest1
-rw-r--r--dev-python/apsw/apsw-3.35.4_p1.ebuild46
-rw-r--r--dev-python/certifi/Manifest2
-rw-r--r--dev-python/certifi/certifi-2021.05.30.ebuild (renamed from dev-python/certifi/certifi-2020.11.08.ebuild)2
-rw-r--r--dev-python/click-threading/Manifest1
-rw-r--r--dev-python/click-threading/click-threading-0.5.0.ebuild25
-rw-r--r--dev-python/httplib2/httplib2-0.19.1.ebuild2
-rw-r--r--dev-python/hypothesis/Manifest1
-rw-r--r--dev-python/hypothesis/hypothesis-6.13.10.ebuild62
-rw-r--r--dev-python/logfury/logfury-0.1.2-r1.ebuild6
-rw-r--r--dev-python/pylev/Manifest1
-rw-r--r--dev-python/pylev/metadata.xml4
-rw-r--r--dev-python/pylev/pylev-1.4.0.ebuild17
-rw-r--r--dev-python/pyquery/pyquery-1.4.3.ebuild10
-rw-r--r--dev-python/ruamel-yaml/Manifest1
-rw-r--r--dev-python/ruamel-yaml/ruamel-yaml-0.17.5.ebuild50
-rw-r--r--dev-python/send2trash/files/send2trash-1.5.0-fix-broken-tests-on-py2.patch29
-rw-r--r--dev-python/send2trash/metadata.xml2
-rw-r--r--dev-python/send2trash/send2trash-1.5.0-r1.ebuild10
-rw-r--r--dev-python/socketpool/socketpool-0.5.3-r3.ebuild12
-rw-r--r--dev-python/tree-sitter/tree-sitter-0.19.0.ebuild2
-rw-r--r--dev-python/tzlocal/tzlocal-2.1.ebuild4
-rw-r--r--dev-python/webtest/webtest-2.0.35.ebuild6
-rw-r--r--dev-python/wrapt/wrapt-1.12.1.ebuild2
-rw-r--r--dev-python/wsgiproxy2/wsgiproxy2-0.4.6-r1.ebuild7
27 files changed, 258 insertions, 68 deletions
diff --git a/dev-python/BitVector/BitVector-3.5.0.ebuild b/dev-python/BitVector/BitVector-3.5.0.ebuild
new file mode 100644
index 000000000000..f97377feda26
--- /dev/null
+++ b/dev-python/BitVector/BitVector-3.5.0.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8,9,10} )
+inherit distutils-r1
+
+DESCRIPTION="A pure-Python memory-efficient packed representation for bit arrays"
+HOMEPAGE="https://engineering.purdue.edu/kak/dist/ https://pypi.org/project/BitVector/"
+SRC_URI="https://engineering.purdue.edu/kak/dist/${P}.tar.gz"
+
+LICENSE="PSF-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+python_test() {
+ "${PYTHON}" TestBitVector/Test.py || die "Tests fail with ${EPYTHON}"
+}
diff --git a/dev-python/BitVector/Manifest b/dev-python/BitVector/Manifest
index 4b4a3cbaf5cb..f83af38e13d3 100644
--- a/dev-python/BitVector/Manifest
+++ b/dev-python/BitVector/Manifest
@@ -1 +1,2 @@
DIST BitVector-3.4.9.tar.gz 128306 BLAKE2B c9559596dee2d9315e9a906e24d4d67ff74c56e2a0f94ccf7dafd360a5554b46f61a7e7e5bc30fa6a4175c97f6d42022468966ab123250319d36f65b23624079 SHA512 be2144a35990b46aa2cbd71d65db51baac5fec65d4c91a1e2222857b307c96f5551adf1c5a86f145f01fa895465b99bc02a485d5d7a43495dd1e05b9a0d9d513
+DIST BitVector-3.5.0.tar.gz 161704 BLAKE2B 0144d690394f0b9300b6c53429e3062a97a2d04513cf282a6f738bcf721f758c285a739db0c90c4c46bedd382bbd14c910ed59bc660494660151447f11de56b0 SHA512 c303b77f0f6ea4fb80233afb09e0f830e0beb8cbe17d9bff242a4b6465ec34a5621b1003f5cb8e139460a27bb4fb897960e3dce92eb30b95bef55aa6aa5f0827
diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest
index 69937f18959f..a1fb06069251 100644
--- a/dev-python/apsw/Manifest
+++ b/dev-python/apsw/Manifest
@@ -1 +1,2 @@
DIST apsw-3.32.2_p1.zip 679785 BLAKE2B fb58a60f95a677a805b0347a0d8876e49c657092deeadb60a057f4afc62031313faf5a86b600d1d306e42f305c9af599d2439a7051e400cbba2d9185c213d5d1 SHA512 718de699c43eec139747f63c3c26da206aa20f104ec1c478009d29cedff7a432138726131b2458ecd3a67675254af77e94e50e8e96a208600fe2a94aa9d924c7
+DIST apsw-3.35.4_p1.zip 685034 BLAKE2B 5845e5fcb286c587367955c33fbee9aa4b0687af666f1d50f35f5dec8e756a0fbcf0fdbd120dd3c7a78df1f05d8eae5a973a8a71fc8a6f4271fff7d83b399013 SHA512 f420560e5821bd6305705ee6c14174f1770f4811edcfe152cb1f2ceae4295f13c82552386a7ef42c5ce88165e88bd2080b4dc2809484598522914d99f2469135
diff --git a/dev-python/apsw/apsw-3.35.4_p1.ebuild b/dev-python/apsw/apsw-3.35.4_p1.ebuild
new file mode 100644
index 000000000000..00ffeb9d81e4
--- /dev/null
+++ b/dev-python/apsw/apsw-3.35.4_p1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9,10} )
+
+inherit distutils-r1
+
+MY_PV=${PV/_p/-r}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="APSW - Another Python SQLite Wrapper"
+HOMEPAGE="https://github.com/rogerbinns/apsw/"
+SRC_URI="https://github.com/rogerbinns/apsw/releases/download/${MY_PV}/${MY_P}.zip -> ${P}.zip"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+IUSE="doc"
+
+RDEPEND=">=dev-db/sqlite-${PV%_p*}"
+DEPEND="${RDEPEND}"
+BDEPEND="app-arch/unzip"
+
+PATCHES=( "${FILESDIR}/${PN}-3.6.20.1-fix_tests.patch" )
+
+python_prepare_all() {
+ sed -e 's/"gcc/os.environ.get("CC", "gcc") + "/' -i setup.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_compile() {
+ distutils-r1_python_compile --enable=load_extension
+}
+
+python_test() {
+ esetup.py build_test_extension
+ "${EPYTHON}" tests.py -v || die "Tests failed under ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( doc/. )
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/certifi/Manifest b/dev-python/certifi/Manifest
index 68bac107416f..ac47927f7e83 100644
--- a/dev-python/certifi/Manifest
+++ b/dev-python/certifi/Manifest
@@ -1,2 +1,2 @@
-DIST certifi-2020.11.08.tar.gz 155414 BLAKE2B f6b19501db244bed18c2bff1fa4b21a86f1f2ce5c1862b92bfb0dcf9cf507b867f1acf9b8bb634716ef97c09f11d54972955f57919b478f2101dc2842f048bbe SHA512 669435c73a3fc76e9fcae1ed6a8ded67f66cd1e002fc71501ef627170a2349bc8b582e1cedd11101f2e9c49f920dfa81e08702b0369e18dd4184959347abae02
DIST certifi-2020.12.05.tar.gz 148099 BLAKE2B 7a02c04acf7d780984a1fbd89b00d4f8cd5cba26ce0edb844b8a46abf6de2aec8c88c635137d5e08df711540e4896aab4de8c5db173b60e225ab642ba31b4762 SHA512 e4a7059de92ef433feeb82cbf05435de328b8ea8e2a01a756481933599d82c24555188773b8bb15a35a33cfe0b51b7be97dc5b8665ad3640dd8464394bca9827
+DIST certifi-2021.05.30.tar.gz 146102 BLAKE2B dfcdaf668b383bef242834f484fad9dd98ada9bd33eaf3d03310282690c6fcaf62892afba4fd3c2e1d10350dae41f5b456b22605d5c4b7ea43cf1a07a8f08154 SHA512 1f1093e4abd9e5629b4c2266481d8adc3bb942502362cb234c98746fb59c1434f1b6e2b66c26d44aff3c1d954f89a4af7aea1ba82472005539d63b76168a0f3b
diff --git a/dev-python/certifi/certifi-2020.11.08.ebuild b/dev-python/certifi/certifi-2021.05.30.ebuild
index bbe05c401199..5b8e69c131bb 100644
--- a/dev-python/certifi/certifi-2020.11.08.ebuild
+++ b/dev-python/certifi/certifi-2021.05.30.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Liguros Authors
+# Copyright 2021 Liguros Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
diff --git a/dev-python/click-threading/Manifest b/dev-python/click-threading/Manifest
index 0c473ec662f3..fedd7def59a3 100644
--- a/dev-python/click-threading/Manifest
+++ b/dev-python/click-threading/Manifest
@@ -1 +1,2 @@
DIST click-threading-0.4.4-gh.tar.gz 9815 BLAKE2B 57f4cd386c0d1a0ee999ea7ccb91319e8bc2d177e9f52b9979b4a93d68a1c3502f8aa05f163a991a8f78c90692c65d026295a710004035f2c48868453bf2f2a5 SHA512 4a7af23be600cab43dcda267d9d9d3ed0cc885f9829f2412844ac9cd3f0f41d1bea3f157f9e37cc3333c4b0a3d65ab4525edcaeec767850efab5cc037e95e532
+DIST click-threading-0.5.0.gh.tar.gz 9836 BLAKE2B 245c63476e58cd370ec49275a4a8ff8007d71386328c2631970a0bf9ac0b81c14150966a3cab54a7616dfc1fdd5e5b3f601fe1e08d1c9c65ec168b96b6b773d5 SHA512 134daf779a56a18cc36a94cd6818801896f171ad91f0b34995d92de5ccd62ea61b7a4fcb0afe2634e5fe80869a616263952e687c5d8d490f17d1d27d00ab3fe2
diff --git a/dev-python/click-threading/click-threading-0.5.0.ebuild b/dev-python/click-threading/click-threading-0.5.0.ebuild
new file mode 100644
index 000000000000..fe7604cde040
--- /dev/null
+++ b/dev-python/click-threading/click-threading-0.5.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8,9,10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Multithreaded Click apps made easy."
+HOMEPAGE="
+ https://github.com/click-contrib/click-threading/
+ https://pypi.org/project/click-threading/"
+SRC_URI="
+ https://github.com/click-contrib/${PN}/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+RDEPEND=">=dev-python/click-5.0[${PYTHON_USEDEP}]"
+
+DOCS=( README.rst )
+
+distutils_enable_tests pytest
diff --git a/dev-python/httplib2/httplib2-0.19.1.ebuild b/dev-python/httplib2/httplib2-0.19.1.ebuild
index e1bbc77b29d7..e97c13708482 100644
--- a/dev-python/httplib2/httplib2-0.19.1.ebuild
+++ b/dev-python/httplib2/httplib2-0.19.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
RDEPEND="
app-misc/ca-certificates
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
index 13bb1b799c50..93a28dbbd8ef 100644
--- a/dev-python/hypothesis/Manifest
+++ b/dev-python/hypothesis/Manifest
@@ -1,5 +1,6 @@
DIST hypothesis-python-6.10.1.tar.gz 9126246 BLAKE2B cc8cb3436d1de5d3d65a13cb5edefdbaae8bf9daed296eea9111ac46c002c34f43119f10b2ab1f45c5cbca5fe46d00738676290eb0e8437f2c10b5926d9e0915 SHA512 586b7f380cb850089f7d5321f11da92ef4a9b80e2ea925103e29c1f6c6c9da0a2a899a1a45ce77e0a40073f147561bc4fcbd5cb2ce77a9c0c65f6f64dfe4b716
DIST hypothesis-python-6.13.0.tar.gz 9128293 BLAKE2B be618d42639602bc6617f8b5e9374812298e9d6150b6510a8060ca7c489ea69f1d6bd2cf9322c325c9bffc3c3f886fb4a4fb038159fa2c81920541ac4cb668cd SHA512 66fd6e7842b7b257c92cf756db4cf97bfb64006c89e3e58cda154ebe9345302f0264297df8d9de0685033a0f4e43909d65e76495689a8ded9968ecda586b668c
+DIST hypothesis-python-6.13.10.tar.gz 9132876 BLAKE2B fb9b48465fd6e6ce08423384753ef3149aac6e2b57230f44119ad685c530ac68fac0b1a1925f2ab98586265055151e9564fa287262b06aefe68c2a78d8b3ae4d SHA512 f166a025dee3ec31033d8f8a3909e6f9ee4b2e14420ae41777a41163384502cfe9f20632fb134e38797817ee19972a7068e4233e64417fb4cf5af51427a1963c
DIST hypothesis-python-6.13.2.tar.gz 9130008 BLAKE2B 3ca5c306ac402002a1435b8ccbc034f2a7acf1553eb6095e0394ff1ddf778f47ef6f72359cb5219db924edc18623b22732b4a94bd7c269217ec632b8d59adc1c SHA512 8c7e1a5de011ef66f5105009aa82f2b23ff36f0b0906554ae65e2e55e10c4df743c894b6264002c86bae3fc5e1dd7ded7e913f0866ed725e1afd4c9f54022b7c
DIST hypothesis-python-6.13.4.tar.gz 9130435 BLAKE2B eeb78cc647df49ea11fb0e0f4d8412e20095e7c33bb0601dcbaad2b9e9929423729b25b1bfbf2a27b05e87ae38ced4e9aeba5bae4de76cfc81aae2d073248de0 SHA512 93db99bdbe408ddbad4baf983b00b3e7624fd28d15a0d4c1453437328a51b0733db13e3b7b04b40bc60aa05e2e8364ce5b186d81a2d33e50b49f5a406fec95d6
DIST hypothesis-python-6.13.5.tar.gz 9131314 BLAKE2B 3de7ba681ab9c0907920ea7ad562a4434f06009a7bced47b98bf46da5d15aea35085350f4aca24fd41ba9fd14957e4de1d56092d49e757ea60a1575f59371add SHA512 06765607be1a49d92382d426105021ed9dca91c5b41674ba45f0a29ce7cb06537edf706ea7305300f9aae7d8c9b1827bcaf807e3c4aece9594a55b3c0122c622
diff --git a/dev-python/hypothesis/hypothesis-6.13.10.ebuild b/dev-python/hypothesis/hypothesis-6.13.10.ebuild
new file mode 100644
index 000000000000..3858e9c1e208
--- /dev/null
+++ b/dev-python/hypothesis/hypothesis-6.13.10.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 )
+PYTHON_REQ_USE="threads(+),sqlite"
+
+inherit distutils-r1 multiprocessing optfeature
+
+DESCRIPTION="A library for property based testing"
+HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
+SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
+S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+IUSE="cli"
+
+RDEPEND="
+ >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
+ >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
+ cli? (
+ $(python_gen_cond_dep '
+ dev-python/black[${PYTHON_USEDEP}]
+ dev-python/click[${PYTHON_USEDEP}]
+ ' python3_{7..9})
+ )
+"
+BDEPEND="
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/pexpect[${PYTHON_USEDEP}]
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ !!dev-python/pytest-describe
+ !!<dev-python/typing-3.7.4.1
+ )
+"
+
+distutils_enable_tests --install pytest
+
+python_prepare() {
+ if ! use cli || ! has "${EPYTHON}" python3_{7..9}; then
+ sed -i -e '/console_scripts/d' setup.py || die
+ fi
+}
+
+python_test() {
+ distutils_install_for_testing
+ epytest tests/cover tests/pytest tests/quality \
+ -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
+}
+
+pkg_postinst() {
+ optfeature "datetime support" dev-python/pytz
+ optfeature "dateutil support" dev-python/python-dateutil
+ optfeature "numpy support" dev-python/numpy
+ optfeature "django support" dev-python/django dev-python/pytz
+ optfeature "pandas support" dev-python/pandas
+ optfeature "pytest support" dev-python/pytest
+}
diff --git a/dev-python/logfury/logfury-0.1.2-r1.ebuild b/dev-python/logfury/logfury-0.1.2-r1.ebuild
index d1dfd717ffdf..fcf30ec6e94b 100644
--- a/dev-python/logfury/logfury-0.1.2-r1.ebuild
+++ b/dev-python/logfury/logfury-0.1.2-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
PYTHON_COMPAT=( python3_{6,7,8,9,10} )
@@ -21,7 +21,7 @@ PATCHES=(
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
+BDEPEND="${RDEPEND}
test? (
dev-python/testfixtures[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
diff --git a/dev-python/pylev/Manifest b/dev-python/pylev/Manifest
index f84c24144c13..1a351b33e105 100644
--- a/dev-python/pylev/Manifest
+++ b/dev-python/pylev/Manifest
@@ -1 +1,2 @@
DIST pylev-1.2.0.tar.gz 3048 BLAKE2B 3bb8c18350667cd6405ae87afb0bce5c7aa987bb318f6ede0220b268facc2bb06f0c0daedb8cfcc9e7a64f65ac32d75b80e9c2718214925fe9965082f434f47a SHA512 848bda63a3bb5f686944ec1396ad916fe18546fd681a106b7b9641231bed540db6ad9f88f56bbcceb71cedd2c2d7c567295071b1de81f3d10cf115b6459bc793
+DIST pylev-1.4.0.tar.gz 4895 BLAKE2B d49e153d308165dcdc06bad94013afa4ccc6d2a6ecff943a2718a8f9ab71bbacb9c0cf8b604dbf0c77322a8d0cbeba5ffaed13531a31210507f144f716f8e740 SHA512 3999adf04b159499a199b1aa66e2540904c689c50a407bf7e0cc0affe834ea289006d2fc73f65e4fcd486c755c580e9657dc5c67290dccb4704bebc6a4348de3
diff --git a/dev-python/pylev/metadata.xml b/dev-python/pylev/metadata.xml
index 75f7210d3e88..f9aa3637544c 100644
--- a/dev-python/pylev/metadata.xml
+++ b/dev-python/pylev/metadata.xml
@@ -9,6 +9,10 @@
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
<upstream>
<remote-id type="github">toastdriven/pylev</remote-id>
<remote-id type="pypi">pylev</remote-id>
diff --git a/dev-python/pylev/pylev-1.4.0.ebuild b/dev-python/pylev/pylev-1.4.0.ebuild
new file mode 100644
index 000000000000..4800f7e17923
--- /dev/null
+++ b/dev-python/pylev/pylev-1.4.0.ebuild
@@ -0,0 +1,17 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9,10} )
+inherit distutils-r1
+
+DESCRIPTION="Python Levenshtein implementation"
+HOMEPAGE="https://github.com/toastdriven/pylev"
+SRC_URI="https://github.com/toastdriven/pylev/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+distutils_enable_tests unittest
diff --git a/dev-python/pyquery/pyquery-1.4.3.ebuild b/dev-python/pyquery/pyquery-1.4.3.ebuild
index 464ccf1d012a..4b24e47c71e5 100644
--- a/dev-python/pyquery/pyquery-1.4.3.ebuild
+++ b/dev-python/pyquery/pyquery-1.4.3.ebuild
@@ -14,30 +14,28 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~x64-macos"
-IUSE="test"
RDEPEND="
>=dev-python/lxml-2.1[${PYTHON_USEDEP}]
>dev-python/cssselect-0.7.9[${PYTHON_USEDEP}]
>=dev-python/webob-1.1.9[${PYTHON_USEDEP}]"
DEPEND="
- test? ( ${RDEPEND}
+ test? (
dev-python/beautifulsoup[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
- dev-python/nose[${PYTHON_USEDEP}]
dev-python/webtest[${PYTHON_USEDEP}]
)"
-RESTRICT+=" !test? ( test )"
-
PATCHES=(
"${FILESDIR}/pyquery-1.4.1-network-tests.patch"
"${FILESDIR}/pyquery-1.4.1-tests-pypy.patch"
)
+distutils_enable_tests nose
+
python_test() {
# The suite, it appears, requires this hard setting of PYTHONPATH!
- PYTHONPATH=. nosetests || die "Tests fail with ${EPYTHON}"
+ PYTHONPATH=. nosetests -v || die "Tests fail with ${EPYTHON}"
}
pkg_postinst() {
diff --git a/dev-python/ruamel-yaml/Manifest b/dev-python/ruamel-yaml/Manifest
index 69e703c0f935..a37c2ae85412 100644
--- a/dev-python/ruamel-yaml/Manifest
+++ b/dev-python/ruamel-yaml/Manifest
@@ -1,2 +1,3 @@
DIST ruamel-yaml-0.16.13.tar.xz 178756 BLAKE2B 19ee4713786a33853f42256e5cd3187e9e19b931ebd83a133365de3f080721c5a6f5fb41ff3079473461df47a0ab149981c5e94d08321da8b3c9eb311c226945 SHA512 1366fc0b3b5ea2699ca324636403576134ccc7c725b13c21a7752d1b16c644c93c7f7d82ddc337087d2c02947f95263d7a3fdd162f552ac3a78fa36f1f17b3f1
DIST ruamel-yaml-0.17.4.tar.xz 178028 BLAKE2B 24c9f61cf8e158377ae839f73dcceab8fdbb8071d1a792a37bd96158993602625967805f177719bbe88e917ccaf10ba210b6c01e91bb750f4df6bcc8a4a66450 SHA512 4c3d51ff00ace64e00d5bc8314c8cb6bc193da2a90e2cc9b9ed97510a7035778917c56e10b85cafab50f296f2f46d8817ad1abfa01b0498715f4972d91545dd3
+DIST ruamel-yaml-0.17.5.tar.xz 182484 BLAKE2B 8e06b08799a2b8ec8cd5a732e689dd8413bdb3afdc621fbedfc769fea9cee6b06b33434765dfff048840b4b25b5b9784db6b93e22336cc4306103e91b0269e6b SHA512 99c8ea0cfcd3877b9a17fc781e32302359b9e704f72dbb53ede17fd63a78cce7f670de36a35d3ce9bd64f604c14741fba74a2c6c422a5adf484bbe5a31d464b3
diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.17.5.ebuild b/dev-python/ruamel-yaml/ruamel-yaml-0.17.5.ebuild
new file mode 100644
index 000000000000..decbe5e1340b
--- /dev/null
+++ b/dev-python/ruamel-yaml/ruamel-yaml-0.17.5.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 )
+
+inherit distutils-r1
+
+MY_PN="${PN//-/.}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="YAML parser/emitter that supports roundtrip comment preservation"
+HOMEPAGE="
+ https://pypi.org/project/ruamel.yaml/
+ https://sourceforge.net/p/ruamel-yaml/"
+# PyPI tarballs do not include tests
+SRC_URI="mirror://sourceforge/ruamel-dl-tagged-releases/${MY_P}.tar.xz -> ${P}.tar.xz"
+S="${WORKDIR}"/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND="
+ dev-python/namespace-ruamel[${PYTHON_USEDEP}]
+ dev-python/ruamel-yaml-clib[${PYTHON_USEDEP}]"
+BDEPEND="
+ test? (
+ dev-python/ruamel-std-pathlib[${PYTHON_USEDEP}]
+ )"
+
+distutils_enable_tests pytest
+
+# Old PyYAML tests from lib/ require special set-up and are invoked indirectly
+# via test_z_olddata, tell pytest itself to leave the subdir alone.
+python_test() {
+ local deselect=()
+
+ [[ ${EPYTHON} == pypy3 ]] && deselect+=(
+ _test/test_deprecation.py::test_collections_deprecation
+ )
+
+ epytest --ignore _test/lib/ ${deselect[@]/#/--deselect }
+}
+
+python_install() {
+ distutils-r1_python_install --single-version-externally-managed
+ find "${ED}" -name '*.pth' -delete || die
+}
diff --git a/dev-python/send2trash/files/send2trash-1.5.0-fix-broken-tests-on-py2.patch b/dev-python/send2trash/files/send2trash-1.5.0-fix-broken-tests-on-py2.patch
deleted file mode 100644
index 3f2a64ca2a21..000000000000
--- a/dev-python/send2trash/files/send2trash-1.5.0-fix-broken-tests-on-py2.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 74352462f5df2cb5708b96458b81afef3070c800 Mon Sep 17 00:00:00 2001
-From: Virgil Dupras <hsoft@hardcoded.net>
-Date: Thu, 26 Jul 2018 08:30:39 -0400
-Subject: [PATCH] Fix broken tests on py2
-
----
- tests/test_plat_other.py | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/tests/test_plat_other.py b/tests/test_plat_other.py
-index b94295d..ae4f391 100644
---- a/tests/test_plat_other.py
-+++ b/tests/test_plat_other.py
-@@ -6,7 +6,11 @@ from os import path as op
- import send2trash.plat_other
- from send2trash.plat_other import send2trash as s2t
- from send2trash.compat import PY3
--from configparser import ConfigParser
-+try:
-+ from configparser import ConfigParser
-+except ImportError:
-+ # py2
-+ from ConfigParser import ConfigParser
- from tempfile import mkdtemp, NamedTemporaryFile, mktemp
- import shutil
- import stat
---
-2.16.4
-
diff --git a/dev-python/send2trash/metadata.xml b/dev-python/send2trash/metadata.xml
index 9b845f360a4d..f76f1a9a016b 100644
--- a/dev-python/send2trash/metadata.xml
+++ b/dev-python/send2trash/metadata.xml
@@ -7,7 +7,7 @@
</maintainer>
<upstream>
<remote-id type="pypi">Send2Trash</remote-id>
- <remote-id type="github">hsoft/send2trash</remote-id>
+ <remote-id type="github">arsenetar/send2trash</remote-id>
</upstream>
<origin>gentoo-staging</origin>
</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/send2trash/send2trash-1.5.0-r1.ebuild b/dev-python/send2trash/send2trash-1.5.0-r1.ebuild
index a185e69be335..753dabee285f 100644
--- a/dev-python/send2trash/send2trash-1.5.0-r1.ebuild
+++ b/dev-python/send2trash/send2trash-1.5.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -13,7 +13,7 @@ MY_P="${MY_PN}-${PV}"
DESCRIPTION="Sends files to the Trash (or Recycle Bin)"
HOMEPAGE="
https://pypi.org/project/Send2Trash/
- https://github.com/hsoft/send2trash"
+ https://github.com/arsenetar/send2trash/"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
S="${WORKDIR}"/${MY_P}
@@ -21,8 +21,4 @@ SLOT="0"
LICENSE="BSD"
KEYWORDS="amd64 ~arm64 x86"
-distutils_enable_tests setup.py
-
-PATCHES=(
- "${FILESDIR}/${P}-fix-broken-tests-on-py2.patch"
-)
+distutils_enable_tests pytest
diff --git a/dev-python/socketpool/socketpool-0.5.3-r3.ebuild b/dev-python/socketpool/socketpool-0.5.3-r3.ebuild
index 5a745d8e3568..41f494c92590 100644
--- a/dev-python/socketpool/socketpool-0.5.3-r3.ebuild
+++ b/dev-python/socketpool/socketpool-0.5.3-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -20,12 +20,12 @@ RDEPEND="
eventlet? (
$(python_gen_cond_dep '
dev-python/eventlet[${PYTHON_USEDEP}]
- ' 'python3*')
+ ' python3_{7..9})
)
gevent? (
$(python_gen_cond_dep '
dev-python/gevent[${PYTHON_USEDEP}]
- ' 'python*')
+ ' python3_{7..9})
)"
BDEPEND="
@@ -33,10 +33,10 @@ BDEPEND="
!alpha? ( !hppa? ( !ia64? (
$(python_gen_cond_dep '
dev-python/eventlet[${PYTHON_USEDEP}]
- ' 'python3*')
+ ' python3_{7..9})
$(python_gen_cond_dep '
dev-python/gevent[${PYTHON_USEDEP}]
- ' 'python*')
+ ' python3_{7..9})
) ) )
)"
@@ -55,7 +55,7 @@ python_test() {
cp -r examples tests "${BUILD_DIR}" || die
pushd "${BUILD_DIR}" >/dev/null || die
- pytest -vv tests || die "Tests fail with ${EPYTHON}"
+ epytest tests
popd >/dev/null || die
}
diff --git a/dev-python/tree-sitter/tree-sitter-0.19.0.ebuild b/dev-python/tree-sitter/tree-sitter-0.19.0.ebuild
index 828758f8f990..679b0479c491 100644
--- a/dev-python/tree-sitter/tree-sitter-0.19.0.ebuild
+++ b/dev-python/tree-sitter/tree-sitter-0.19.0.ebuild
@@ -15,6 +15,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> py-${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
S="${WORKDIR}/${MY_P}"
diff --git a/dev-python/tzlocal/tzlocal-2.1.ebuild b/dev-python/tzlocal/tzlocal-2.1.ebuild
index 7470bd633b5e..d9277ac1819e 100644
--- a/dev-python/tzlocal/tzlocal-2.1.ebuild
+++ b/dev-python/tzlocal/tzlocal-2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -19,4 +19,4 @@ IUSE=""
RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]"
DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )"
-distutils_enable_tests setup.py
+distutils_enable_tests unittest
diff --git a/dev-python/webtest/webtest-2.0.35.ebuild b/dev-python/webtest/webtest-2.0.35.ebuild
index 298b49f61b63..ac96829a3279 100644
--- a/dev-python/webtest/webtest-2.0.35.ebuild
+++ b/dev-python/webtest/webtest-2.0.35.ebuild
@@ -1,11 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-DISTUTILS_USE_SETUPTOOLS=bdepend
PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 )
-
inherit distutils-r1
MY_PN="WebTest"
@@ -29,7 +27,7 @@ RDEPEND="
>=dev-python/webob-1.2[${PYTHON_USEDEP}]
>=dev-python/waitress-0.8.5[${PYTHON_USEDEP}]
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]"
-BDEPEND="${RDEPEND}
+BDEPEND="
app-arch/unzip
test? (
dev-python/mock[${PYTHON_USEDEP}]
diff --git a/dev-python/wrapt/wrapt-1.12.1.ebuild b/dev-python/wrapt/wrapt-1.12.1.ebuild
index 989dc9b6dcf2..4e2f46b6ad29 100644
--- a/dev-python/wrapt/wrapt-1.12.1.ebuild
+++ b/dev-python/wrapt/wrapt-1.12.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/GrahamDumpleton/${PN}/archive/${PV}.tar.gz -> ${P}.t
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
distutils_enable_tests pytest
distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
diff --git a/dev-python/wsgiproxy2/wsgiproxy2-0.4.6-r1.ebuild b/dev-python/wsgiproxy2/wsgiproxy2-0.4.6-r1.ebuild
index daf3fed9a139..cc34396cc2ba 100644
--- a/dev-python/wsgiproxy2/wsgiproxy2-0.4.6-r1.ebuild
+++ b/dev-python/wsgiproxy2/wsgiproxy2-0.4.6-r1.ebuild
@@ -8,10 +8,10 @@ PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 )
inherit distutils-r1
MY_PN="WSGIProxy2"
-
DESCRIPTION="HTTP proxying tools for WSGI apps"
HOMEPAGE="https://pypi.org/project/WSGIProxy2/"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
@@ -23,16 +23,13 @@ RDEPEND="
dev-python/urllib3[${PYTHON_USEDEP}]
dev-python/webob[${PYTHON_USEDEP}]
"
-BDEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
+BDEPEND="
test? (
>=dev-python/webtest-2.0.17[${PYTHON_USEDEP}]
dev-python/socketpool[${PYTHON_USEDEP}]
)"
# Testing also revealed the suite needs latest webtest
-S="${WORKDIR}/${MY_PN}-${PV}"
-
PATCHES=(
"${FILESDIR}/wsgiproxy2-0.4.6-tests.patch"
)