summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-08-11 19:54:22 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-08-11 19:54:22 +0000
commitfd228ff64bdac9ba930b4622597a8c55c6996955 (patch)
tree829f1f1dbd324f0a3e64c12e435c107387348875 /dev-python
parentb57829d2e74fd811e4ee90ed204e280a1badb35d (diff)
downloadbaldeagleos-repo-fd228ff64bdac9ba930b4622597a8c55c6996955.tar.gz
baldeagleos-repo-fd228ff64bdac9ba930b4622597a8c55c6996955.tar.xz
baldeagleos-repo-fd228ff64bdac9ba930b4622597a8c55c6996955.zip
Adding metadata
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/klein/klein-23.12.0-r1.ebuild (renamed from dev-python/klein/klein-23.12.0.ebuild)2
-rw-r--r--dev-python/langdetect/Manifest2
-rw-r--r--dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch13
-rw-r--r--dev-python/langdetect/langdetect-1.0.9.ebuild4
-rw-r--r--dev-python/langdetect/metadata.xml10
-rw-r--r--dev-python/m2crypto/Manifest2
-rw-r--r--dev-python/m2crypto/m2crypto-0.42.0.ebuild (renamed from dev-python/m2crypto/m2crypto-0.40.1.ebuild)34
-rw-r--r--dev-python/oauthlib/oauthlib-3.2.2.ebuild8
-rw-r--r--dev-python/pytest-freezegun/Manifest1
-rw-r--r--dev-python/pytest-freezegun/files/pytest-freezegun-0.4.2-distutils-depr.patch61
-rw-r--r--dev-python/pytest-freezegun/metadata.xml10
-rw-r--r--dev-python/pytest-freezegun/pytest-freezegun-0.4.2-r1.ebuild35
-rw-r--r--dev-python/sounddevice/Manifest2
-rw-r--r--dev-python/sounddevice/sounddevice-0.5.0.ebuild (renamed from dev-python/sounddevice/sounddevice-0.4.6-r3.ebuild)2
-rw-r--r--dev-python/twisted/twisted-24.7.0.ebuild2
15 files changed, 55 insertions, 133 deletions
diff --git a/dev-python/klein/klein-23.12.0.ebuild b/dev-python/klein/klein-23.12.0-r1.ebuild
index 740231ee2ccf..f73cd335bb23 100644
--- a/dev-python/klein/klein-23.12.0.ebuild
+++ b/dev-python/klein/klein-23.12.0-r1.ebuild
@@ -19,7 +19,7 @@ SLOT="0"
KEYWORDS="amd64 ~riscv"
RDEPEND="
- >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]
+ <dev-python/attrs-24[${PYTHON_USEDEP}]
dev-python/hyperlink[${PYTHON_USEDEP}]
dev-python/incremental[${PYTHON_USEDEP}]
dev-python/tubes[${PYTHON_USEDEP}]
diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest
index 37a64204a00a..a11d7c268c91 100644
--- a/dev-python/langdetect/Manifest
+++ b/dev-python/langdetect/Manifest
@@ -1,3 +1 @@
DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db
-EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9b3521c5721afa49a58e0c35267f7d82bb56bd7e1d6d3152be0d36cd220180a526cb20b90b1113fbf0fff4a512137570f0b3bcf864498b7b7cc00403cb61ca27 SHA512 16d311400bf84a5f04e15f3da4b68b2810e4b005009f4d03dc8a487176dfc294403c976c412c83dcfa8084a49ef7b7d5389b43fb2ba446ce107ce4595e3558c6
-MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45
diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch
new file mode 100644
index 000000000000..637368d2f237
--- /dev/null
+++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch
@@ -0,0 +1,13 @@
+Fix "Package 'langdetect.profiles' is absent from the `packages` configuration."
+
+--- a/setup.py
++++ b/setup.py
+@@ -18,7 +18,7 @@ setup(
+ author_email='michal.danilak@gmail.com',
+ url='https://github.com/Mimino666/langdetect',
+ keywords='language detection library',
+- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'],
++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'],
+ include_package_data=True,
+ install_requires=['six'],
+ license='MIT',
diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild
index c09b7356f549..630fe63c6f53 100644
--- a/dev-python/langdetect/langdetect-1.0.9.ebuild
+++ b/dev-python/langdetect/langdetect-1.0.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -19,4 +19,6 @@ KEYWORDS="~amd64"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
+PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" )
+
distutils_enable_tests unittest
diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml
index 020e07f2a3dd..c0f74ac187e2 100644
--- a/dev-python/langdetect/metadata.xml
+++ b/dev-python/langdetect/metadata.xml
@@ -2,11 +2,9 @@
<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
- <email>marcin.deranek@slonko.net</email>
- <name>Marcin Deranek</name>
+ <email>pastalian46@gmail.com</email>
+ <name>Takuya Wakazono</name>
</maintainer>
- <upstream>
- <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to>
- </upstream>
- <origin>slonko-overlay</origin>
+
+ <origin>gentoo-guru-overlay</origin>
</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/m2crypto/Manifest b/dev-python/m2crypto/Manifest
index 1f28ca5b7b67..3887b7d29d0d 100644
--- a/dev-python/m2crypto/Manifest
+++ b/dev-python/m2crypto/Manifest
@@ -1,2 +1,2 @@
-DIST m2crypto-0.40.1.tar.gz 1168233 BLAKE2B dbf851e22de8a9579baabd420584317e290ff804dadaca280e45a50576e67852bb2327202f775c7a19f8e22fa57a98311bb7050618ba7e519d00bd927ee497d5 SHA512 28010d573af9465759d09014ccea84e6131679244e436b55004ab6f23293d4c0be7ec966ee8efe4f88cca3875ba98655fd1a63e66e1b23fe8d58e2a58476fc89
DIST m2crypto-0.41.0.tar.gz 1158682 BLAKE2B 56a6442b451a5c6c5d536ebda88851eba38945128f3a06fc7825524bae90bd6a5b3d5a93234ffb1fe5a22bd1bac0d2ea8e9877529554cf0c4de7e7dc5d442766 SHA512 26a68ae6c7fbb6dde872d8a43e800f46784806353b6b98754ae203b844f82b18a3e428c9c770d95b86032545428caf15739462cb59ceedcf0d1836cb5c5af552
+DIST m2crypto-0.42.0.tar.gz 240072 BLAKE2B 86b9f340eb90a8fc94b09faa20a676a3a63c0c64a0902a6729face72b602a2f55941c156ecb3d522a823457d2514e96b147585264200674e11dfaba3d19790de SHA512 b36fb6d1ca401de9741118ab8d43113511bf27d32f45d2257ed70ea8d3b8a3beaf811731dbbece00a6b990366c43096c6b5f5b12d4649ae923bff98c5fc8e674
diff --git a/dev-python/m2crypto/m2crypto-0.40.1.ebuild b/dev-python/m2crypto/m2crypto-0.42.0.ebuild
index caf38959b059..62f65f72008d 100644
--- a/dev-python/m2crypto/m2crypto-0.40.1.ebuild
+++ b/dev-python/m2crypto/m2crypto-0.42.0.ebuild
@@ -1,8 +1,12 @@
-# Copyright 2021-2023 Liguros Authors
+# Copyright 2021-2024 Liguros Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8,9,10,11,12} )
+PYPI_NO_NORMALIZE=1
+PYPI_PN="M2Crypto"
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1 toolchain-funcs
@@ -13,13 +17,11 @@ SRC_URI="https://gitlab.com/m2crypto/m2crypto/-/archive/${PV}/m2crypto-${PV}.tar
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="libressl test"
-RESTRICT="!test? ( test )"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="libressl"
BDEPEND="
>=dev-lang/swig-2.0.9
- test? ( dev-python/parameterized[${PYTHON_USEDEP}] )
"
RDEPEND="
!libressl? ( dev-libs/openssl:0= )
@@ -27,11 +29,9 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
-PATCHES=(
- "${FILESDIR}/${PN}-libressl-0.38.0-r2.patch"
-)
-
-distutils_enable_tests setup.py
+#PATCHES=(
+# ${FILESDIR}/${PN}-libressl-0.38.0-r2.patch
+#)
swig_define() {
local x
@@ -43,6 +43,13 @@ swig_define() {
}
src_prepare() {
+ if use libressl; then
+ eapply -p0 ${FILESDIR}/patch-src_SWIG__x509_i
+ eapply -p0 ${FILESDIR}/patch-src_SWIG__lib11_compat_i
+ eapply -p0 ${FILESDIR}/patch-src_SWIG__lib_i
+ eapply -p0 ${FILESDIR}/patch-src_SWIG__threads_i
+ fi
+
sed -e 's:test_server_simple_timeouts:_&:' \
-i tests/test_ssl.py || die
distutils-r1_src_prepare
@@ -58,5 +65,10 @@ python_compile() {
# https://bugs.gentoo.org/674112
swig_define __ARM_PCS_VFP
- distutils-r1_python_compile --openssl="${ESYSROOT}"/usr
+ distutils-r1_python_compile
+}
+
+python_test() {
+ "${EPYTHON}" -m unittest -b -v tests.alltests.suite ||
+ die "Tests failed for ${EPYTHON}"
}
diff --git a/dev-python/oauthlib/oauthlib-3.2.2.ebuild b/dev-python/oauthlib/oauthlib-3.2.2.ebuild
index 99d38e83d42d..e540069345f1 100644
--- a/dev-python/oauthlib/oauthlib-3.2.2.ebuild
+++ b/dev-python/oauthlib/oauthlib-3.2.2.ebuild
@@ -25,9 +25,15 @@ RDEPEND="
dev-python/cryptography[${PYTHON_USEDEP}]
"
-distutils_enable_tests unittest
+distutils_enable_tests pytest
PATCHES=(
# https://github.com/oauthlib/oauthlib/commit/fe020db74199d5284c00d7735aa7d4ddc90f5d61
"${FILESDIR}/${P}-py313.patch"
)
+
+EPYTEST_DESELECT=(
+ # exception mismatch
+ # https://github.com/oauthlib/oauthlib/issues/877
+ tests/oauth1/rfc5849/test_signatures.py::SignatureTests::test_rsa_bad_keys
+)
diff --git a/dev-python/pytest-freezegun/Manifest b/dev-python/pytest-freezegun/Manifest
deleted file mode 100644
index d5a9e1592d8c..000000000000
--- a/dev-python/pytest-freezegun/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pytest-freezegun-0.4.2.gh.tar.gz 7058 BLAKE2B 1c89979d85dbdedf87a26de57d1cfe120ed52831e8d69c42b6117ac49c9eb7376bab018a23ca10b582fc583ca61a03930a86878c141b0c5bf4d807552484fe70 SHA512 2bea7746e4e6a7f2a979cbc5c6d7a2576e0e2631a4e1d5abb7f27f76d6c32b0520a277474c092c5e05ce257f2ba19091918f67e28b7a2da1d5829037c6b70c55
diff --git a/dev-python/pytest-freezegun/files/pytest-freezegun-0.4.2-distutils-depr.patch b/dev-python/pytest-freezegun/files/pytest-freezegun-0.4.2-distutils-depr.patch
deleted file mode 100644
index 86b7e32a5c1f..000000000000
--- a/dev-python/pytest-freezegun/files/pytest-freezegun-0.4.2-distutils-depr.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From 1ae2e18b8d71c45defe8f695a3dddd5762a611b2 Mon Sep 17 00:00:00 2001
-From: Hugo van Kemenade <hugovk@users.noreply.github.com>
-Date: Fri, 8 Apr 2022 13:30:42 +0300
-Subject: [PATCH] Require pytest 3.6 to drop dependency on deprecated distutils
-
----
- pytest_freezegun.py | 6 +-----
- setup.cfg | 2 +-
- tox.ini | 2 +-
- 3 files changed, 3 insertions(+), 7 deletions(-)
-
-diff --git a/pytest_freezegun.py b/pytest_freezegun.py
-index a08133f..257c7ca 100644
---- a/pytest_freezegun.py
-+++ b/pytest_freezegun.py
-@@ -2,7 +2,6 @@
-
- import pytest
-
--from distutils.version import LooseVersion
- from freezegun import freeze_time
-
-
-@@ -14,10 +13,7 @@ def get_closest_marker(node, name):
- """
- Get our marker, regardless of pytest version
- """
-- if LooseVersion(pytest.__version__) < LooseVersion('3.6.0'):
-- return node.get_marker('freeze_time')
-- else:
-- return node.get_closest_marker('freeze_time')
-+ return node.get_closest_marker('freeze_time')
-
-
- @pytest.fixture(name=FIXTURE_NAME)
-diff --git a/setup.cfg b/setup.cfg
-index 069ddf7..da06223 100644
---- a/setup.cfg
-+++ b/setup.cfg
-@@ -31,7 +31,7 @@ py_modules =
- pytest_freezegun
- install_requires =
- freezegun>0.3
-- pytest>=3.0.0
-+ pytest>=3.6
-
- [options.entry_points]
- pytest11 =
-diff --git a/tox.ini b/tox.ini
-index 3846fd9..07e916d 100644
---- a/tox.ini
-+++ b/tox.ini
-@@ -6,7 +6,7 @@ envlist = {py35,py36,py37,py38,pypy3}-{pt3,pt4,pt5},py38-ptNext-fgNext,flake8
- deps =
- coverage
- pip >= 19
-- pt3: pytest>=3,<4
-+ pt3: pytest>=3.6,<4
- pt4: pytest>=4,<5
- pt5: pytest>=5,<6
- ptNext: git+https://github.com/pytest-dev/pytest/
diff --git a/dev-python/pytest-freezegun/metadata.xml b/dev-python/pytest-freezegun/metadata.xml
deleted file mode 100644
index a0d4c5913ba0..000000000000
--- a/dev-python/pytest-freezegun/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>python@gentoo.org</email>
- </maintainer>
-
- <origin>gentoo-staging</origin>
- <stabilize-allarches/>
-</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/pytest-freezegun/pytest-freezegun-0.4.2-r1.ebuild b/dev-python/pytest-freezegun/pytest-freezegun-0.4.2-r1.ebuild
deleted file mode 100644
index 7f13d1cd265d..000000000000
--- a/dev-python/pytest-freezegun/pytest-freezegun-0.4.2-r1.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 2020-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Easily freeze time in pytest test + fixtures"
-HOMEPAGE="
- https://pypi.org/project/pytest-freezegun/
- https://github.com/ktosiek/pytest-freezegun/
-"
-SRC_URI="
- https://github.com/ktosiek/pytest-freezegun/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
-
-RDEPEND="
- dev-python/freezegun[${PYTHON_USEDEP}]
- dev-python/pytest[${PYTHON_USEDEP}]
-"
-
-distutils_enable_tests pytest
-
-PATCHES=(
- # https://github.com/ktosiek/pytest-freezegun/pull/38
- "${FILESDIR}"/${P}-distutils-depr.patch
-)
diff --git a/dev-python/sounddevice/Manifest b/dev-python/sounddevice/Manifest
index 2826cf5c7e78..36283ff55932 100644
--- a/dev-python/sounddevice/Manifest
+++ b/dev-python/sounddevice/Manifest
@@ -1,2 +1,2 @@
-DIST sounddevice-0.4.6.tar.gz 51677 BLAKE2B 04edba9eb2cb582c04b94276463bc7ca715f922533ddb3e35d269b70a58116aaa9c7e0c87d24c0ac068b486b1ce27a842ebe64a6e4b373a7291cc828eaf96d3d SHA512 2454e028a6f143869267cdff7578c09b02b1e98c7dfd31617d503772c83bd15670fe21d35ab3e01f06192a2b1649287164028bff712818ab52f30ea150ca59bb
DIST sounddevice-0.4.7.tar.gz 53389 BLAKE2B 37b1bf020645d1f55f0ee0757be3f48bd02ea59154d7f25e84d3f357ba2eedd76d1744637ee9d366e850615a71532ad27d68c643ab922e9e947d5bac6cedf94a SHA512 5d04af8d337c81bbe8dbc52c94478976e52949a3d6c0954e62007b2b2781cd475463ea41bb7bfde63417b8c460452ea7d5ebe64d3aec9faad641d1d3a14e297d
+DIST sounddevice-0.5.0.tar.gz 53661 BLAKE2B 71c9c77446f93cc62262c16213f0225be235637d233777fa03ab4a3b926effb3992efd47dca5b09e98e2f6f543ae5b9b05c31537386cc17ac4a3845af01f914d SHA512 a06966244f0ff54def3ad53839c553523a1e342609af84b8f8d4c0f3ed787f225035f80cf614e521d3642a0bf3e68f7e2924837a7b24d1dcc7d13d4ddac6a4a3
diff --git a/dev-python/sounddevice/sounddevice-0.4.6-r3.ebuild b/dev-python/sounddevice/sounddevice-0.5.0.ebuild
index 2daadec72a86..4e23964bbddc 100644
--- a/dev-python/sounddevice/sounddevice-0.4.6-r3.ebuild
+++ b/dev-python/sounddevice/sounddevice-0.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021-2023 Liguros Authors
+# Copyright 2021-2024 Liguros Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
diff --git a/dev-python/twisted/twisted-24.7.0.ebuild b/dev-python/twisted/twisted-24.7.0.ebuild
index f56606928df6..353e5958c185 100644
--- a/dev-python/twisted/twisted-24.7.0.ebuild
+++ b/dev-python/twisted/twisted-24.7.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI+="
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos"
IUSE="conch http2 serial ssl test"
RESTRICT="!test? ( test )"