summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-07-26 17:45:24 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-07-26 17:45:24 +0000
commiteff2a561396867717e49b0f16fd7ee7160455ed8 (patch)
treee41fe2761268fa4ff044d3fc1b8e6965ed08b22c /dev-python
parent7c8526b96283211386f1d021eb880530e64609f3 (diff)
downloadbaldeagleos-repo-eff2a561396867717e49b0f16fd7ee7160455ed8.tar.gz
baldeagleos-repo-eff2a561396867717e49b0f16fd7ee7160455ed8.tar.xz
baldeagleos-repo-eff2a561396867717e49b0f16fd7ee7160455ed8.zip
Adding metadata
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/dill/dill-0.3.8-r1.ebuild28
-rw-r--r--dev-python/dill/dill-0.3.8-r2.ebuild2
-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/pygdbmi/pygdbmi-0.11.0.0.ebuild2
-rw-r--r--dev-python/pytzdata/Manifest1
-rw-r--r--dev-python/pytzdata/files/pytzdata-2020.1-system-zoneinfo.patch115
-rw-r--r--dev-python/pytzdata/metadata.xml11
-rw-r--r--dev-python/pytzdata/pytzdata-2020.1-r2.ebuild33
-rw-r--r--dev-python/stripe/Manifest1
-rw-r--r--dev-python/stripe/stripe-10.5.0.ebuild92
13 files changed, 106 insertions, 208 deletions
diff --git a/dev-python/dill/dill-0.3.8-r1.ebuild b/dev-python/dill/dill-0.3.8-r1.ebuild
deleted file mode 100644
index d73dbafb19b5..000000000000
--- a/dev-python/dill/dill-0.3.8-r1.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-# py3.13: https://github.com/uqfoundation/dill/issues/654
-PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Serialize all of Python (almost)"
-HOMEPAGE="
- https://github.com/uqfoundation/dill/
- https://pypi.org/project/dill/
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
-
-RDEPEND="
- !!>=dev-python/numpy-2[${PYTHON_USEDEP}]
-"
-
-python_test() {
- "${EPYTHON}" -m dill.tests || die
-}
diff --git a/dev-python/dill/dill-0.3.8-r2.ebuild b/dev-python/dill/dill-0.3.8-r2.ebuild
index 605d29ca269c..6d8d34eb20ba 100644
--- a/dev-python/dill/dill-0.3.8-r2.ebuild
+++ b/dev-python/dill/dill-0.3.8-r2.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
src_prepare() {
distutils-r1_src_prepare
diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest
index a11d7c268c91..37a64204a00a 100644
--- a/dev-python/langdetect/Manifest
+++ b/dev-python/langdetect/Manifest
@@ -1 +1,3 @@
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
deleted file mode 100644
index 637368d2f237..000000000000
--- a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-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 630fe63c6f53..c09b7356f549 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-2024 Gentoo Authors
+# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -19,6 +19,4 @@ 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 736a1167c898..020e07f2a3dd 100644
--- a/dev-python/langdetect/metadata.xml
+++ b/dev-python/langdetect/metadata.xml
@@ -1,6 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
<pkgmetadata>
-
- <origin>gentoo-guru-overlay</origin>
+ <maintainer type="person">
+ <email>marcin.deranek@slonko.net</email>
+ <name>Marcin Deranek</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to>
+ </upstream>
+ <origin>slonko-overlay</origin>
</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/pygdbmi/pygdbmi-0.11.0.0.ebuild b/dev-python/pygdbmi/pygdbmi-0.11.0.0.ebuild
index 44e4a52a15fa..16beefdb6cbc 100644
--- a/dev-python/pygdbmi/pygdbmi-0.11.0.0.ebuild
+++ b/dev-python/pygdbmi/pygdbmi-0.11.0.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 arm64 ~riscv ~x86"
+KEYWORDS="amd64 arm64 ~ppc64 ~riscv ~x86"
RDEPEND="
>=dev-debug/gdb-9.6
diff --git a/dev-python/pytzdata/Manifest b/dev-python/pytzdata/Manifest
deleted file mode 100644
index 82953886e3f5..000000000000
--- a/dev-python/pytzdata/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pytzdata-2020.1.gh.tar.gz 249045 BLAKE2B 6f07a7577edc87030fd70e720b32146e9044a8c6f74d0bafb9239ad666d0d6fd0ac7c3cca070914701af301b1a3368ace2985f8169b9747937fa6ed066be7302 SHA512 fd154bfbe90ce07a90f769063b772234036d2627c1e6d78a465d9ddbc894e50cb9d821c04ebff1a7cc6a327266f7843fe54e5592d37c41db023329d6e0f668c2
diff --git a/dev-python/pytzdata/files/pytzdata-2020.1-system-zoneinfo.patch b/dev-python/pytzdata/files/pytzdata-2020.1-system-zoneinfo.patch
deleted file mode 100644
index 7a4cced9e720..000000000000
--- a/dev-python/pytzdata/files/pytzdata-2020.1-system-zoneinfo.patch
+++ /dev/null
@@ -1,115 +0,0 @@
-From f0d2c5fd28dbe2aa9ecb59e140ab42b11d677a33 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Fri, 9 Jul 2021 10:15:51 +0200
-Subject: [PATCH] Use system zoneinfo database by default
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Michał Górny <mgorny@gentoo.org>
----
- pytzdata/__init__.py | 2 +-
- tests/test_set_directory.py | 8 +++-----
- tests/test_tz_file.py | 5 ++---
- tests/test_tz_path.py | 5 ++---
- 4 files changed, 8 insertions(+), 12 deletions(-)
-
-diff --git a/pytzdata/__init__.py b/pytzdata/__init__.py
-index 22940da..6c3bcb9 100644
---- a/pytzdata/__init__.py
-+++ b/pytzdata/__init__.py
-@@ -8,7 +8,7 @@ from ._compat import FileNotFoundError
-
-
- DEFAULT_DIRECTORY = os.path.join(
-- os.path.dirname(__file__),
-+ '/usr/share',
- 'zoneinfo'
- )
-
-diff --git a/tests/test_set_directory.py b/tests/test_set_directory.py
-index 430d239..6c078e6 100644
---- a/tests/test_set_directory.py
-+++ b/tests/test_set_directory.py
-@@ -2,7 +2,7 @@
-
- import os
- import pytest
--from pytzdata import set_directory, tz_path, TimezoneNotFound
-+from pytzdata import set_directory, tz_path, TimezoneNotFound, DEFAULT_DIRECTORY
-
-
- fixtures_path = os.path.join(os.path.dirname(__file__), 'fixtures', 'tz')
-@@ -30,9 +30,8 @@ def test_set_directory():
- with pytest.raises(TimezoneNotFound):
- tz_path('America/New_York')
-
-- here = os.path.realpath(os.path.dirname(__file__))
- filepath = os.path.realpath(
-- os.path.join(here, '..', 'pytzdata', 'zoneinfo', 'America', 'New_York')
-+ os.path.join(DEFAULT_DIRECTORY, 'America', 'New_York')
- )
-
- set_directory()
-@@ -51,9 +50,8 @@ def test_env_variable():
-
- del os.environ['PYTZDATA_TZDATADIR']
-
-- here = os.path.realpath(os.path.dirname(__file__))
- filepath = os.path.realpath(
-- os.path.join(here, '..', 'pytzdata', 'zoneinfo', 'America', 'New_York')
-+ os.path.join(DEFAULT_DIRECTORY, 'America', 'New_York')
- )
-
- set_directory()
-diff --git a/tests/test_tz_file.py b/tests/test_tz_file.py
-index 8b912b5..b20c08b 100644
---- a/tests/test_tz_file.py
-+++ b/tests/test_tz_file.py
-@@ -3,7 +3,7 @@
- import os
- import pytest
-
--from pytzdata import tz_file, set_directory
-+from pytzdata import tz_file, set_directory, DEFAULT_DIRECTORY
- from pytzdata.exceptions import TimezoneNotFound
-
-
-@@ -22,9 +22,8 @@ def teardown_module(module):
-
-
- def test_tz_file():
-- here = os.path.realpath(os.path.dirname(__file__))
- filepath = os.path.realpath(
-- os.path.join(here, '..', 'pytzdata', 'zoneinfo', 'Europe', 'Paris')
-+ os.path.join(DEFAULT_DIRECTORY, 'Europe', 'Paris')
- )
-
- with open(filepath) as f1:
-diff --git a/tests/test_tz_path.py b/tests/test_tz_path.py
-index fd4db48..77c8c74 100644
---- a/tests/test_tz_path.py
-+++ b/tests/test_tz_path.py
-@@ -3,7 +3,7 @@
- import os
- import pytest
-
--from pytzdata import tz_path, set_directory
-+from pytzdata import tz_path, set_directory, DEFAULT_DIRECTORY
- from pytzdata.exceptions import TimezoneNotFound
-
-
-@@ -22,9 +22,8 @@ def teardown_module(module):
-
-
- def test_tz_path():
-- here = os.path.realpath(os.path.dirname(__file__))
- filepath = os.path.realpath(
-- os.path.join(here, '..', 'pytzdata', 'zoneinfo', 'Europe', 'Paris')
-+ os.path.join(DEFAULT_DIRECTORY, 'Europe', 'Paris')
- )
-
- assert filepath == tz_path('Europe/Paris')
---
-2.32.0
-
diff --git a/dev-python/pytzdata/metadata.xml b/dev-python/pytzdata/metadata.xml
deleted file mode 100644
index 435852eb93f2..000000000000
--- a/dev-python/pytzdata/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>jsmolic@gentoo.org</email>
- <name>Jakov Smolić</name>
- </maintainer>
-
- <origin>gentoo-staging</origin>
- <stabilize-allarches/>
-</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/pytzdata/pytzdata-2020.1-r2.ebuild b/dev-python/pytzdata/pytzdata-2020.1-r2.ebuild
deleted file mode 100644
index f6e7d33dbf1a..000000000000
--- a/dev-python/pytzdata/pytzdata-2020.1-r2.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="The Olson timezone database for Python"
-HOMEPAGE="
- https://github.com/sdispater/pytzdata/
- https://pypi.org/project/pytzdata/
-"
-SRC_URI="
- https://github.com/sdispater/pytzdata/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-RDEPEND="
- dev-python/cleo[${PYTHON_USEDEP}]
-"
-
-distutils_enable_tests pytest
-
-PATCHES=(
- "${FILESDIR}"/pytzdata-2020.1-system-zoneinfo.patch
-)
diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest
index 977d9284e0bc..f2e334c567e6 100644
--- a/dev-python/stripe/Manifest
+++ b/dev-python/stripe/Manifest
@@ -1,3 +1,4 @@
DIST stripe-10.1.0.tar.gz 1290758 BLAKE2B 0ec51d9189b1d574eb1eb2eb7c3683b2b6b86c9879445c2de60da1a16684e0fe095abbe841cc59ea8daad6862d864550bfb5a9c9dd6a034df42a01c8ec59be4c SHA512 ecac8856ce6993ba5c339a44791b9197f2e1b8a62292d5e9e555e02004007ad90c400dff8d111df2ae1428436ba413a47b59ef9b5e9da445872495c45aa844c3
DIST stripe-10.3.0.tar.gz 1300786 BLAKE2B 626a3c52cbb93aeae3749f6ffedd421557aa4e8085d2b0591ca2c1c866caa64ef78bdf8f0e5c85ee814ffd588d95ee05267748a97f2a50ff89d28a9e501d4da8 SHA512 7353df871f0b83330208e1a3e0fa339d319c3bb1b2e4e90bf045dd691120b22b908e263f3cdae5127b3a1299b950be3685ec631492888884d42570947de70268
DIST stripe-10.4.0.tar.gz 1301246 BLAKE2B 5ec34792d1c89e5bac40b808992ef0f0798fad3d5859cc0777bc3e7ead0857c706d8969bb8c8bea3213db9f5561377fad6c2e5487d84a1e21c26e8b8ba97b4f4 SHA512 e3575c13b3722f8ea56b08ed5c013bebc32da4ef095ac6b809c216734e29d4147ab54c8c78793d7864eee7cb27549cb42368fcf5f771665283f31442f77d4628
+DIST stripe-10.5.0.tar.gz 1301564 BLAKE2B 5cc9175c52bfadb0fc05528b406090f72215d2b27eefa51336508a74dd348d37d51b93e0e898ba22b1102316b95643bad6b0ca0e1ef84c8053b98a34ed496698 SHA512 c320c9f6b77ce38ef4182607168c811d512ba12d080c8f1c4f61fbdef6adaa2c955078e333715343e0bf796826e9d303a45765e1e67aee518a3cd6ffbfb801b4
diff --git a/dev-python/stripe/stripe-10.5.0.ebuild b/dev-python/stripe/stripe-10.5.0.ebuild
new file mode 100644
index 000000000000..b2cab2367687
--- /dev/null
+++ b/dev-python/stripe/stripe-10.5.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-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 pypi
+
+DESCRIPTION="Stripe Python bindings"
+HOMEPAGE="
+ https://github.com/stripe/stripe-python/
+ https://pypi.org/project/stripe/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="telemetry"
+
+RDEPEND="
+ >=dev-python/requests-2.20[${PYTHON_USEDEP}]
+ >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}]
+"
+# please bump dev-util/stripe-mock dep to the latest version on every bump
+BDEPEND="
+ test? (
+ >=dev-util/stripe-mock-0.186.0
+ dev-python/aiohttp[${PYTHON_USEDEP}]
+ dev-python/anyio[${PYTHON_USEDEP}]
+ dev-python/httpx[${PYTHON_USEDEP}]
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ dev-python/trio[${PYTHON_USEDEP}]
+ net-misc/curl
+ )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md )
+
+src_prepare() {
+ distutils-r1_src_prepare
+
+ if ! use telemetry; then
+ sed -i -e '/enable_telemetry/s:True:False:' stripe/__init__.py || die
+ fi
+}
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # exception message mismatch with aiohttp-3.10.0
+ "tests/test_integration.py::TestIntegration::test_async_timeout[asyncio-aiohttp]"
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest tests -p anyio -p pytest_mock
+}
+
+src_test() {
+ local stripe_mock_port=12111
+ local stripe_mock_max_port=12121
+ local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log"
+ # Try to start stripe-mock until we find a free port
+ while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do
+ ebegin "Trying to start stripe-mock on port ${stripe_mock_port}"
+ stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" &
+ local stripe_mock_pid=${!}
+ sleep 2
+ # Did stripe-mock start?
+ curl --fail -u "sk_test_123:" \
+ "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null
+ eend ${?} "Port ${stripe_mock_port} unavailable"
+ if [[ ${?} -eq 0 ]]; then
+ einfo "stripe-mock running on port ${stripe_mock_port}"
+ break
+ fi
+ (( stripe_mock_port++ ))
+ done
+ if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then
+ eerror "Unable to start stripe-mock for tests"
+ die "Please see the logfile located at: ${stripe_mock_logfile}"
+ fi
+
+ local -x STRIPE_MOCK_PORT=${stripe_mock_port}
+ distutils-r1_src_test
+
+ # Tear down stripe-mock
+ kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock"
+}