summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-05-24 00:44:55 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-05-24 00:44:55 +0000
commit881cd09a27ef1ec8d4d001106cc5a1177a9b9e37 (patch)
tree61a98640ddeef391272dacc003506ad0cc83e45a /dev-python
parent61cd05333ef0165b9d5e9d5d592fdf82e67a76f9 (diff)
downloadbaldeagleos-repo-881cd09a27ef1ec8d4d001106cc5a1177a9b9e37.tar.gz
baldeagleos-repo-881cd09a27ef1ec8d4d001106cc5a1177a9b9e37.tar.xz
baldeagleos-repo-881cd09a27ef1ec8d4d001106cc5a1177a9b9e37.zip
Adding metadata
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pyclip/Manifest2
-rw-r--r--dev-python/pyclip/metadata.xml10
-rw-r--r--dev-python/pyclip/pyclip-0.5.4.ebuild28
-rw-r--r--dev-python/pyclip/pyclip-0.6.0.ebuild31
-rw-r--r--dev-python/pyclip/pyclip-9999.ebuild31
-rw-r--r--dev-python/readability-lxml/Manifest1
-rw-r--r--dev-python/readability-lxml/metadata.xml10
-rw-r--r--dev-python/readability-lxml/readability-lxml-0.6.1.ebuild23
-rw-r--r--dev-python/spyder/Manifest4
-rw-r--r--dev-python/spyder/spyder-5.3.1.ebuild (renamed from dev-python/spyder/spyder-5.3.0-r1.ebuild)16
-rw-r--r--dev-python/typeguard/files/typeguard-2.13.3-test.patch44
-rw-r--r--dev-python/typeguard/typeguard-2.13.3-r1.ebuild5
-rw-r--r--dev-python/whisper/whisper-1.1.10.ebuild9
13 files changed, 198 insertions, 16 deletions
diff --git a/dev-python/pyclip/Manifest b/dev-python/pyclip/Manifest
new file mode 100644
index 000000000000..0d27b94a5b05
--- /dev/null
+++ b/dev-python/pyclip/Manifest
@@ -0,0 +1,2 @@
+DIST pyclip-0.5.4.tar.gz 17056 BLAKE2B e1c29dda7496086cca4782d13fbca4dff7157ef0fdb467e7472ee1e531e53d5d1b1577bfbc3cea30f80d88def20ed34ac71b7a90e2f1728e2cdd9937ce4f2528 SHA512 c0ec789ac7b13e34d9ad91006b3b6369d552d0b79b8fc7de93f4817b0540ca889238a4bbb8ee0ac0b573d644822982f99a3ca2562dc3091440441e8d9c2361dc
+DIST pyclip-0.6.0.tar.gz 17148 BLAKE2B eb67f5f832f80d69ac985a9c16fd1e01edf016c278fc48329af81aa48a98f634835ba018a4d1a278a4117e9550f9d09a2776c353d7a37c77dc3d1f146a7d3af2 SHA512 3666d187fd2a0d107197c4bc9fab9e8e248cdd8607945470b622f1ebeaba7deaf3b30dd2570b36ef82fd5fd729aebbd73da85bc51f1696652ed3ef091e96368f
diff --git a/dev-python/pyclip/metadata.xml b/dev-python/pyclip/metadata.xml
new file mode 100644
index 000000000000..3b743b1cbe69
--- /dev/null
+++ b/dev-python/pyclip/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>flewkey@2a03.party</email>
+ <name>Ryan Fox</name>
+ </maintainer>
+
+ <origin>gentoo-guru-overlay</origin>
+</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/pyclip/pyclip-0.5.4.ebuild b/dev-python/pyclip/pyclip-0.5.4.ebuild
new file mode 100644
index 000000000000..af4a9932b604
--- /dev/null
+++ b/dev-python/pyclip/pyclip-0.5.4.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+DISTUTILS_USE_SETUPTOOLS=bdepend
+
+inherit distutils-r1
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/spyoungtech/pyclip.git"
+else
+ SRC_URI="https://github.com/spyoungtech/pyclip/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Python clipboard module"
+HOMEPAGE="https://pypi.org/project/pyclip/"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+DEPEND=""
+RDEPEND="x11-misc/xclip"
+BDEPEND=""
+
+distutils_enable_tests pytest
diff --git a/dev-python/pyclip/pyclip-0.6.0.ebuild b/dev-python/pyclip/pyclip-0.6.0.ebuild
new file mode 100644
index 000000000000..d79ddb5f74e4
--- /dev/null
+++ b/dev-python/pyclip/pyclip-0.6.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+DISTUTILS_USE_SETUPTOOLS=bdepend
+
+inherit distutils-r1
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/spyoungtech/pyclip.git"
+else
+ SRC_URI="https://github.com/spyoungtech/pyclip/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Python clipboard module"
+HOMEPAGE="https://pypi.org/project/pyclip/"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+DEPEND=""
+RDEPEND="
+ gui-apps/wl-clipboard
+ x11-misc/xclip
+"
+BDEPEND=""
+
+distutils_enable_tests pytest
diff --git a/dev-python/pyclip/pyclip-9999.ebuild b/dev-python/pyclip/pyclip-9999.ebuild
new file mode 100644
index 000000000000..d79ddb5f74e4
--- /dev/null
+++ b/dev-python/pyclip/pyclip-9999.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+DISTUTILS_USE_SETUPTOOLS=bdepend
+
+inherit distutils-r1
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/spyoungtech/pyclip.git"
+else
+ SRC_URI="https://github.com/spyoungtech/pyclip/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Python clipboard module"
+HOMEPAGE="https://pypi.org/project/pyclip/"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+DEPEND=""
+RDEPEND="
+ gui-apps/wl-clipboard
+ x11-misc/xclip
+"
+BDEPEND=""
+
+distutils_enable_tests pytest
diff --git a/dev-python/readability-lxml/Manifest b/dev-python/readability-lxml/Manifest
new file mode 100644
index 000000000000..1fa7d079cd6a
--- /dev/null
+++ b/dev-python/readability-lxml/Manifest
@@ -0,0 +1 @@
+DIST readability-lxml-0.6.1.tar.gz 13741 BLAKE2B 8bae46033e6eb3c171869746291a856267bc8f64ae088969405c5920229447fa470b6e14ea8b32b380c43d30e83ad9371149181d293bbfca6ff13fa271da3d74 SHA512 f7bead871dc84e2cc6dac18ced3f9fa223cd3961204330064e338b2e822ba9af58beb43be42b7f61a7cfb761f7c1d7a339d428c310d6be34b7546328f1eeb276
diff --git a/dev-python/readability-lxml/metadata.xml b/dev-python/readability-lxml/metadata.xml
new file mode 100644
index 000000000000..8c8101bcdb2c
--- /dev/null
+++ b/dev-python/readability-lxml/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>core@liguros.net</email>
+ <name>Development</name>
+ </maintainer>
+
+ <origin>gentoo-guru-overlay</origin>
+</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/readability-lxml/readability-lxml-0.6.1.ebuild b/dev-python/readability-lxml/readability-lxml-0.6.1.ebuild
new file mode 100644
index 000000000000..7ad2ca862484
--- /dev/null
+++ b/dev-python/readability-lxml/readability-lxml-0.6.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=(python2_7 python3_{5,6,7,8,9,10,11})
+inherit distutils-r1
+
+DESCRIPTION="fast python port of arc90's readability tool, updated to match latest readability.js!"
+HOMEPAGE="https://github.com/buriy/python-readability"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ dev-python/chardet[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/cssselect[${PYTHON_USEDEP}]
+"
+RDEPEND=""
diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest
index 2c21c260abaf..c3ae20e49789 100644
--- a/dev-python/spyder/Manifest
+++ b/dev-python/spyder/Manifest
@@ -1,2 +1,2 @@
-DIST spyder-5.3.0.tar.gz 24404638 BLAKE2B 558c0d1ce8cda61786a772bf7ea471eab69755e3852f5701363b3c52cf1cac388a3800d2e59f266ca9e99007c7096582fbd341956752385b23c3af12ef097204 SHA512 c556deb8bed91ad6c59761e70e1e69f2402a216d8c87a57b3fc55f3624418d95114b015f5fc5baf0cb7e405955cd2ae82372105830b405ea52c50d7329ba7f42
-DIST spyder-docs-f99196cc267b07fa7ad56f0134744b545fa21fcd.tar.gz 90037460 BLAKE2B 8d279e2c2e397a63919c4ba8723ce674d2c5660793330dc578b9a6e05034af016085faedd73894f16241c0ffe1f734217d9e237f7589e59fe2186511552cefe1 SHA512 6c7d35274fd2f627b3b9371c7a2a9f0446c8aee3754b7c7dda6c5a2b9fd4ab04e73637648a188960c71d43f348c6f9ef1911979fec4c281515937e1069e68500
+DIST spyder-5.3.1.tar.gz 24415110 BLAKE2B 368179c6ba6d355ca56fe3eb3ed8b24be3e986f1f2d0284f0f5739bdecb21225bce10802883b54dd888da54515bd8477adf6c0d3e38a3c549bb10407534254b0 SHA512 2501ddc45df11671b1a318eb33b50788b334ab10fbafb97a9491775a0efcc6a57814672068ab84314f9cb43961d6fabd9b906fb164cd58c77b6d6ecf0d6621e6
+DIST spyder-docs-d43d6cd46b6eb7675ec690b0dff573ca03f2e301.tar.gz 90037375 BLAKE2B 2faf8d2d07b10aec750534c73ebcfc9146533db4223908ecabafb214d7e0a85416aaaf4359f95768572bbd8806f13bd707124f9585299527af5bd5bc735293d4 SHA512 00f12af5298f5b90eaf9a4ea8706b5bb29445ca344b5117801dbac54508eefa29c807e0d4f36524fb5d8b6208204533dc657da63849cadaf13f4aa3652612cb1
diff --git a/dev-python/spyder/spyder-5.3.0-r1.ebuild b/dev-python/spyder/spyder-5.3.1.ebuild
index 783ecbad08d7..d30bc8dded61 100644
--- a/dev-python/spyder/spyder-5.3.0-r1.ebuild
+++ b/dev-python/spyder/spyder-5.3.1.ebuild
@@ -9,7 +9,7 @@ DISTUTILS_USE_PEP517=setuptools
inherit optfeature xdg distutils-r1
# Commit of documentation to fetch
-DOCS_PV="f99196cc267b07fa7ad56f0134744b545fa21fcd"
+DOCS_PV="d43d6cd46b6eb7675ec690b0dff573ca03f2e301"
DESCRIPTION="The Scientific Python Development Environment"
HOMEPAGE="
@@ -26,11 +26,9 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-# The test suite often hangs or does not work. Technically spyder requires
-# pyqt5<13, which we do not have in ::gentoo any more. Likely this is the reason
-# many of the tests fail or hang. RESTRICTing because IMO it is not worth the
-# several hours I spend every single version bump checking which tests do and
-# do not work. Spyder itself works fine with pyqt5>13.
+# The test suite often hangs or does not work. RESTRICTing because IMO it is
+# not worth the several hours I would have to spend every single version bump
+# checking which tests do and do not work.
RESTRICT="test"
RDEPEND="
@@ -51,17 +49,17 @@ RDEPEND="
>=dev-python/python-lsp-black-1.2.0[${PYTHON_USEDEP}]
>=dev-python/pyls-spyder-0.4.0[${PYTHON_USEDEP}]
>=dev-python/pyxdg-0.26[${PYTHON_USEDEP}]
- >=dev-python/pyzmq-17[${PYTHON_USEDEP}]
+ >=dev-python/pyzmq-22.1.0[${PYTHON_USEDEP}]
>=dev-python/qdarkstyle-3.0.2[${PYTHON_USEDEP}]
<dev-python/qdarkstyle-3.1.0[${PYTHON_USEDEP}]
>=dev-python/qstylizer-0.1.10[${PYTHON_USEDEP}]
>=dev-python/qtawesome-1.0.2[${PYTHON_USEDEP}]
>=dev-python/qtconsole-5.3.0[${PYTHON_USEDEP}]
<dev-python/qtconsole-5.4.0[${PYTHON_USEDEP}]
- >=dev-python/QtPy-2.0.1[${PYTHON_USEDEP},svg,webengine]
+ >=dev-python/QtPy-2.1.0[${PYTHON_USEDEP},svg,webengine]
>=sci-libs/rtree-0.9.7[${PYTHON_USEDEP}]
>=dev-python/sphinx-0.6.6[${PYTHON_USEDEP}]
- >=dev-python/spyder-kernels-2.3.0[${PYTHON_USEDEP}]
+ >=dev-python/spyder-kernels-2.3.1[${PYTHON_USEDEP}]
<dev-python/spyder-kernels-2.4.0[${PYTHON_USEDEP}]
>=dev-python/textdistance-4.2.0[${PYTHON_USEDEP}]
>=dev-python/three-merge-0.1.1[${PYTHON_USEDEP}]
diff --git a/dev-python/typeguard/files/typeguard-2.13.3-test.patch b/dev-python/typeguard/files/typeguard-2.13.3-test.patch
new file mode 100644
index 000000000000..3c01c018ea86
--- /dev/null
+++ b/dev-python/typeguard/files/typeguard-2.13.3-test.patch
@@ -0,0 +1,44 @@
+diff --git a/src/typeguard/__init__.py b/src/typeguard/__init__.py
+index 5684d63..27fa30b 100644
+--- a/src/typeguard/__init__.py
++++ b/src/typeguard/__init__.py
+@@ -61,22 +61,25 @@ except ImportError:
+ from typing import _ForwardRef as ForwardRef
+ evaluate_forwardref = ForwardRef._eval_type
+
+-if sys.version_info >= (3, 10):
+- from typing import is_typeddict
+-else:
+- _typed_dict_meta_types = ()
+- if sys.version_info >= (3, 8):
+- from typing import _TypedDictMeta
+- _typed_dict_meta_types += (_TypedDictMeta,)
++try:
++ from typing_extensions import is_typeddict
++except ImportError:
++ if sys.version_info >= (3, 10):
++ from typing import is_typeddict
++ else:
++ _typed_dict_meta_types = ()
++ if sys.version_info >= (3, 8):
++ from typing import _TypedDictMeta
++ _typed_dict_meta_types += (_TypedDictMeta,)
+
+- try:
+- from typing_extensions import _TypedDictMeta
+- _typed_dict_meta_types += (_TypedDictMeta,)
+- except ImportError:
+- pass
++ try:
++ from typing_extensions import _TypedDictMeta
++ _typed_dict_meta_types += (_TypedDictMeta,)
++ except ImportError:
++ pass
+
+- def is_typeddict(tp) -> bool:
+- return isinstance(tp, _typed_dict_meta_types)
++ def is_typeddict(tp) -> bool:
++ return isinstance(tp, _typed_dict_meta_types)
+
+
+ if TYPE_CHECKING:
diff --git a/dev-python/typeguard/typeguard-2.13.3-r1.ebuild b/dev-python/typeguard/typeguard-2.13.3-r1.ebuild
index eb2a152af46a..0c01326ca13a 100644
--- a/dev-python/typeguard/typeguard-2.13.3-r1.ebuild
+++ b/dev-python/typeguard/typeguard-2.13.3-r1.ebuild
@@ -33,6 +33,11 @@ distutils_enable_tests pytest
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+PATCHES=(
+ # backport from https://github.com/agronholm/typeguard/pull/243
+ "${FILESDIR}"/${P}-test.patch
+)
+
python_test() {
local EPYTEST_IGNORE=(
# mypy changes results from version to version
diff --git a/dev-python/whisper/whisper-1.1.10.ebuild b/dev-python/whisper/whisper-1.1.10.ebuild
index c14f363bcd0b..961156156577 100644
--- a/dev-python/whisper/whisper-1.1.10.ebuild
+++ b/dev-python/whisper/whisper-1.1.10.ebuild
@@ -28,8 +28,7 @@ RDEPEND="
distutils_enable_tests pytest
-EPYTEST_DESELECT=(
- # not a regression (fails the same with the previous version)
- # https://github.com/graphite-project/whisper/issues/321
- test_whisper.py::TestWhisper::test_resize_with_aggregate
-)
+python_test() {
+ local -x TZ=UTC
+ epytest
+}