summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-07-02 13:34:11 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-07-02 13:34:11 +0000
commit595498e848eeb8e79c453190725aab5c597734d7 (patch)
tree4e328d780851970f129c975bbde994ffc8d68783 /dev-python
parentff303a7972ff8c7eff6e675d14fc66e812c753ed (diff)
downloadbaldeagleos-repo-595498e848eeb8e79c453190725aab5c597734d7.tar.gz
baldeagleos-repo-595498e848eeb8e79c453190725aab5c597734d7.tar.xz
baldeagleos-repo-595498e848eeb8e79c453190725aab5c597734d7.zip
Adding metadata
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/django/django-3.1.13.ebuild2
-rw-r--r--dev-python/django/django-3.2.5.ebuild2
-rw-r--r--dev-python/protobuf-python/protobuf-python-3.17.3.ebuild2
-rw-r--r--dev-python/pybind11/pybind11-2.6.2.ebuild2
-rw-r--r--dev-python/qrcode/Manifest1
-rw-r--r--dev-python/qrcode/qrcode-7.1.ebuild28
-rw-r--r--dev-python/regex/Manifest1
-rw-r--r--dev-python/regex/regex-2021.7.1.ebuild29
-rw-r--r--dev-python/scipy/scipy-1.6.3.ebuild2
-rw-r--r--dev-python/spyder-kernels/spyder-kernels-2.0.4.ebuild4
-rw-r--r--dev-python/spyder/spyder-5.0.5.ebuild6
-rw-r--r--dev-python/werkzeug/files/werkzeug-2.0.1-test-warning.patch75
-rw-r--r--dev-python/werkzeug/werkzeug-2.0.1-r1.ebuild1
13 files changed, 147 insertions, 8 deletions
diff --git a/dev-python/django/django-3.1.13.ebuild b/dev-python/django/django-3.1.13.ebuild
index a6df9a447ab6..8528d5201b25 100644
--- a/dev-python/django/django-3.1.13.ebuild
+++ b/dev-python/django/django-3.1.13.ebuild
@@ -22,7 +22,7 @@ LICENSE+=" Apache-2.0"
# admin icons, jquery, xregexp.js
LICENSE+=" MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos"
+KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~sparc x86 ~x64-macos"
IUSE="doc sqlite test"
RESTRICT="!test? ( test )"
diff --git a/dev-python/django/django-3.2.5.ebuild b/dev-python/django/django-3.2.5.ebuild
index 506506a26cc6..aeb1d9a2b953 100644
--- a/dev-python/django/django-3.2.5.ebuild
+++ b/dev-python/django/django-3.2.5.ebuild
@@ -22,7 +22,7 @@ LICENSE+=" Apache-2.0"
# admin icons, jquery, xregexp.js
LICENSE+=" MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos"
IUSE="doc sqlite test"
RESTRICT="!test? ( test )"
diff --git a/dev-python/protobuf-python/protobuf-python-3.17.3.ebuild b/dev-python/protobuf-python/protobuf-python-3.17.3.ebuild
index 81e0cf65c53d..2e2ad78adb7a 100644
--- a/dev-python/protobuf-python/protobuf-python-3.17.3.ebuild
+++ b/dev-python/protobuf-python/protobuf-python-3.17.3.ebuild
@@ -24,7 +24,7 @@ fi
LICENSE="BSD"
SLOT="0/28"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE=""
BDEPEND="${PYTHON_DEPS}
diff --git a/dev-python/pybind11/pybind11-2.6.2.ebuild b/dev-python/pybind11/pybind11-2.6.2.ebuild
index 90b679bbc68a..3f3b66ae3c88 100644
--- a/dev-python/pybind11/pybind11-2.6.2.ebuild
+++ b/dev-python/pybind11/pybind11-2.6.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pybind/pybind11/archive/v${PV}.tar.gz -> ${P}.tar.gz
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
RDEPEND="
dev-cpp/eigen:3
diff --git a/dev-python/qrcode/Manifest b/dev-python/qrcode/Manifest
index f7a38d61cdb1..6bc76860a717 100644
--- a/dev-python/qrcode/Manifest
+++ b/dev-python/qrcode/Manifest
@@ -1,2 +1,3 @@
DIST qrcode-6.1.tar.gz 29363 BLAKE2B 5f31035b6c548c710d0d8198428612fc52417be7af5b5f412a42d264cb6a3ba96de65651049390107cc77e886df2b139942266aba579896f05692177b394ea11 SHA512 4831553932442f5535cba15d5958a656b399112f0f379c28ad9b610c33d88ec6d0613dc7047a2315606e49f027bfd13a15a332ce86b80040d56e1114a0f62251
DIST qrcode-7.0.tar.gz 34548 BLAKE2B 0a5f06b73f55ecc713aa34249acf5d58f71b29c90e5433411a9208124931bfcf101f016a6f1fbcbab0eddd3ffdef763cdc92fdf09565addaa86120a80d4d0c1f SHA512 2b96528582c1d80ba1bd27b5bb769d52e238bf5a3eda2fa23c4bef90778fa2d478c50a8f2b581d5b83373d778f346c410ae3475250029b878ff527edeae0f323
+DIST qrcode-7.1.tar.gz 36068 BLAKE2B 93f09da56b6e0cf6875250e46ec6b3cd5fc631c5775093317fcfbca72990ce8e4c2d50336e0a1dd67cbd69b787652de7c75d5108430871e0dfdd3cf17e9a1eec SHA512 838496be964ace361cd1b28b3203afafc2f262d1e929fcdcf54e0a632bd85518cd60b2955ed22c003c27cbe5527f89a9298ff912f6b02a75b14f9e5410fbaba6
diff --git a/dev-python/qrcode/qrcode-7.1.ebuild b/dev-python/qrcode/qrcode-7.1.ebuild
new file mode 100644
index 000000000000..389083c86a81
--- /dev/null
+++ b/dev-python/qrcode/qrcode-7.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2021 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="QR Code generator on top of PIL"
+HOMEPAGE="https://pypi.org/project/qrcode/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+# optional deps:
+# - pillow and lxml for svg backend, set as hard deps
+RDEPEND="
+ dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/pillow[${PYTHON_USEDEP}]"
+
+distutils_enable_tests unittest
+
+src_install() {
+ distutils-r1_src_install
+ doman doc/qr.1
+}
diff --git a/dev-python/regex/Manifest b/dev-python/regex/Manifest
index 9ba09870a389..f8099073633d 100644
--- a/dev-python/regex/Manifest
+++ b/dev-python/regex/Manifest
@@ -1 +1,2 @@
DIST regex-2021.4.4.tar.gz 693187 BLAKE2B a13a51a883599f726c20cdbf28d5b0f1a53d8f2eec5f4047da0ede2951694507c5065de5a84152510874db087c342d52f19d920a7b72c034325ddc91f5fb75ac SHA512 2eff9867639f16ad7894997f399262d653a9ef0bb4e8d40bd977e5c55625cf57b4bb593f84504009a0b3cd50b3876d1938c71fd733c0ad1a076de32b6b4b33b9
+DIST regex-2021.7.1.tar.gz 693459 BLAKE2B 484259e14af99d911a20835be73686fea621e501756b02e760128b60a52eb62719efaa0b788ca57026dbdc3dfd55aa321a0feb8e73f6b7435f8711cf465ec2f6 SHA512 7b28e24a829b8ac8f43fdfadf012e833c715b9743d1c9a7cd34eea2789ec54df23d651c8a15aabe8c5d69662402f6302cfdeb23287c49d91b4e9fb3b9452ef73
diff --git a/dev-python/regex/regex-2021.7.1.ebuild b/dev-python/regex/regex-2021.7.1.ebuild
new file mode 100644
index 000000000000..d9556b906515
--- /dev/null
+++ b/dev-python/regex/regex-2021.7.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2021 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 flag-o-matic
+
+DESCRIPTION="Alternative regular expression module to replace re"
+HOMEPAGE="https://bitbucket.org/mrabarnett/mrab-regex"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+IUSE="doc"
+
+distutils_enable_tests unittest
+
+python_test() {
+ eunittest -s "${BUILD_DIR}"/lib
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/Features.html )
+ local DOCS=( README.rst docs/*.rst )
+
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/scipy/scipy-1.6.3.ebuild b/dev-python/scipy/scipy-1.6.3.ebuild
index dd098bd3f1a6..6ea543f6124c 100644
--- a/dev-python/scipy/scipy-1.6.3.ebuild
+++ b/dev-python/scipy/scipy-1.6.3.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc sparse"
DEPEND="
diff --git a/dev-python/spyder-kernels/spyder-kernels-2.0.4.ebuild b/dev-python/spyder-kernels/spyder-kernels-2.0.4.ebuild
index 0e0405c61674..45c22bddd0f1 100644
--- a/dev-python/spyder-kernels/spyder-kernels-2.0.4.ebuild
+++ b/dev-python/spyder-kernels/spyder-kernels-2.0.4.ebuild
@@ -18,11 +18,11 @@ KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-python/cloudpickle[${PYTHON_USEDEP}]
- <dev-python/decorator-5[${PYTHON_USEDEP}]
+ dev-python/decorator[${PYTHON_USEDEP}]
>=dev-python/ipykernel-5.3.0[${PYTHON_USEDEP}]
>=dev-python/ipython-7.6.0[${PYTHON_USEDEP}]
- <dev-python/ipython-7.23.0[${PYTHON_USEDEP}]
>=dev-python/jupyter_client-5.3.4[${PYTHON_USEDEP}]
+ dev-python/matplotlib-inline[${PYTHON_USEDEP}]
>=dev-python/pyzmq-17[${PYTHON_USEDEP}]
>=dev-python/wurlitzer-1.0.3[${PYTHON_USEDEP}]
"
diff --git a/dev-python/spyder/spyder-5.0.5.ebuild b/dev-python/spyder/spyder-5.0.5.ebuild
index 2c4f892099bb..b892a58e7698 100644
--- a/dev-python/spyder/spyder-5.0.5.ebuild
+++ b/dev-python/spyder/spyder-5.0.5.ebuild
@@ -46,7 +46,8 @@ RDEPEND="
>=dev-python/keyring-17.0.0[${PYTHON_USEDEP}]
>=dev-python/nbconvert-4.0[${PYTHON_USEDEP}]
>=dev-python/numpydoc-0.6.0[${PYTHON_USEDEP}]
- ~dev-python/parso-0.7.0[${PYTHON_USEDEP}]
+ >=dev-python/parso-0.7.0[${PYTHON_USEDEP}]
+ <dev-python/parso-0.8.0[${PYTHON_USEDEP}]
>=dev-python/pexpect-4.4.0[${PYTHON_USEDEP}]
>=dev-python/pickleshare-0.4[${PYTHON_USEDEP}]
>=dev-python/psutil-5.3[${PYTHON_USEDEP}]
@@ -145,6 +146,7 @@ python_prepare_all() {
# The original hasn't been update in over 6 months, and spyder upstream is slow
# in making the switch. Because we are running into issues with outdated deps
# and a whole dependency mess as a result, we can no longer wait for upstream.
+ # Also relax the parso dependency to allow parso 0.7.1
find . -name "*.py" -exec sed -i \
-e 's/python-language-server\[all\]>=0.36.2,<1.0.0/python-lsp-server\[all\]>=1.0.0/g' \
-e 's/python-language-server/python-lsp-server/g' \
@@ -158,6 +160,8 @@ python_prepare_all() {
-e 's/pylsp-black/python-lsp-black/g' \
-e 's/>=0.3.2;<0.4.0/>=0.4.0/g' \
-e 's/>=0.36.2;<1.0.0/>=1.0.0/g' \
+ -e "s/'parso==0.7.0'/'parso>=0.7.0,<0.8.0'/g" \
+ -e "s/'=0.7.0'/'>=0.7.0;<0.8.0'/g" \
{} + || die
# do not depend on pyqt5<13
diff --git a/dev-python/werkzeug/files/werkzeug-2.0.1-test-warning.patch b/dev-python/werkzeug/files/werkzeug-2.0.1-test-warning.patch
new file mode 100644
index 000000000000..3bb14ab6ba42
--- /dev/null
+++ b/dev-python/werkzeug/files/werkzeug-2.0.1-test-warning.patch
@@ -0,0 +1,75 @@
+From 4201d0f6d1b337a0e69900a79042215896eede4a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Sat, 19 Jun 2021 09:51:43 +0200
+Subject: [PATCH] Fix warning tests to work correctly without -Werror
+
+Use pytest.warns() instead of pytest.raises() to test for warnings,
+in order to make these tests work correctly without -Werror. This does
+not change the behavior with -Werror.
+
+While -Werror is useful for package maintainers / CI, it is problematic
+for testing on end user systems. For end users, it is important whether
+the particular version of package is going to work on their setup,
+not whether it does not use anything that's deprecated but still
+working.
+---
+ CHANGES.rst | 2 ++
+ tests/test_wrappers.py | 12 ++++++------
+ 2 files changed, 8 insertions(+), 6 deletions(-)
+
+diff --git a/CHANGES.rst b/CHANGES.rst
+index 8fa1e454..9a05145f 100644
+--- a/CHANGES.rst
++++ b/CHANGES.rst
+@@ -5,6 +5,8 @@ Version 2.1.0
+
+ Unreleased
+
++- Fix warning tests to work correctly without -Werror
++
+
+ Version 2.0.2
+ -------------
+diff --git a/tests/test_wrappers.py b/tests/test_wrappers.py
+index 3ac80003..fe8c01f3 100644
+--- a/tests/test_wrappers.py
++++ b/tests/test_wrappers.py
+@@ -1633,29 +1633,29 @@ def test_response_mixins_deprecated(cls):
+ class CheckResponse(cls, wrappers.Response):
+ pass
+
+- with pytest.raises(DeprecationWarning, match=cls.__name__):
++ with pytest.warns(DeprecationWarning, match=cls.__name__):
+ CheckResponse()
+
+
+ def test_check_base_deprecated():
+- with pytest.raises(DeprecationWarning, match=r"issubclass\(cls, Request\)"):
++ with pytest.warns(DeprecationWarning, match=r"issubclass\(cls, Request\)"):
+ assert issubclass(wrappers.Request, wrappers.BaseRequest)
+
+- with pytest.raises(DeprecationWarning, match=r"isinstance\(obj, Request\)"):
++ with pytest.warns(DeprecationWarning, match=r"isinstance\(obj, Request\)"):
+ assert isinstance(
+ wrappers.Request({"SERVER_NAME": "example.org", "SERVER_PORT": "80"}),
+ wrappers.BaseRequest,
+ )
+
+- with pytest.raises(DeprecationWarning, match=r"issubclass\(cls, Response\)"):
++ with pytest.warns(DeprecationWarning, match=r"issubclass\(cls, Response\)"):
+ assert issubclass(wrappers.Response, wrappers.BaseResponse)
+
+- with pytest.raises(DeprecationWarning, match=r"isinstance\(obj, Response\)"):
++ with pytest.warns(DeprecationWarning, match=r"isinstance\(obj, Response\)"):
+ assert isinstance(wrappers.Response(), wrappers.BaseResponse)
+
+
+ def test_response_freeze_no_etag_deprecated():
+- with pytest.raises(DeprecationWarning, match="no_etag"):
++ with pytest.warns(DeprecationWarning, match="no_etag"):
+ Response("Hello, World!").freeze(no_etag=True)
+
+
+--
+2.32.0
+
diff --git a/dev-python/werkzeug/werkzeug-2.0.1-r1.ebuild b/dev-python/werkzeug/werkzeug-2.0.1-r1.ebuild
index 3074fc1d1caf..7a95bc2aa4a7 100644
--- a/dev-python/werkzeug/werkzeug-2.0.1-r1.ebuild
+++ b/dev-python/werkzeug/werkzeug-2.0.1-r1.ebuild
@@ -37,6 +37,7 @@ distutils_enable_tests pytest
PATCHES=(
"${FILESDIR}"/${P}-py310.patch
+ "${FILESDIR}"/${P}-test-warning.patch
)
python_test() {