summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-02-05 22:48:26 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-02-05 22:48:26 +0000
commite9505ab755d38bc1faa052626c18604e93712cb4 (patch)
tree50fbb077b9b14635faf772de38c4e477c8393b75 /dev-python
parent212696df79c7cea812cbadb970e13de3387bd645 (diff)
downloadbaldeagleos-repo-e9505ab755d38bc1faa052626c18604e93712cb4.tar.gz
baldeagleos-repo-e9505ab755d38bc1faa052626c18604e93712cb4.tar.xz
baldeagleos-repo-e9505ab755d38bc1faa052626c18604e93712cb4.zip
Adding metadata
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/ffmpeg-python/ffmpeg-python-0.2.0_p20220711-r1.ebuild (renamed from dev-python/ffmpeg-python/ffmpeg-python-0.2.0_p20220711.ebuild)8
-rw-r--r--dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-collections.patch14
-rw-r--r--dev-python/fsspec/fsspec-2023.12.2.ebuild41
-rw-r--r--dev-python/fsspec/fsspec-2024.2.0.ebuild39
-rw-r--r--dev-python/mautrix/Manifest1
-rw-r--r--dev-python/mautrix/mautrix-0.20.4-r2.ebuild65
-rw-r--r--dev-python/mautrix/mautrix-0.20.4.ebuild39
-rw-r--r--dev-python/mkdocs-git-revision-date-localized-plugin/Manifest1
-rw-r--r--dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.4.ebuild63
-rw-r--r--dev-python/ytmusicapi/Manifest1
-rw-r--r--dev-python/ytmusicapi/ytmusicapi-1.5.2.ebuild23
11 files changed, 214 insertions, 81 deletions
diff --git a/dev-python/ffmpeg-python/ffmpeg-python-0.2.0_p20220711.ebuild b/dev-python/ffmpeg-python/ffmpeg-python-0.2.0_p20220711-r1.ebuild
index 1dce710f89a6..994e5f0bc4cc 100644
--- a/dev-python/ffmpeg-python/ffmpeg-python-0.2.0_p20220711.ebuild
+++ b/dev-python/ffmpeg-python/ffmpeg-python-0.2.0_p20220711-r1.ebuild
@@ -4,6 +4,7 @@
EAPI=8
[[ "${PV}" == *_p20220711 ]] && COMMIT=df129c7ba30aaa9ffffb81a48f53aa7253b0b4e6
+
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8,9,10,11,12} )
@@ -39,17 +40,12 @@ BDEPEND="
PATCHES=(
"${FILESDIR}/${PN}-0.2.0-no-future-795.patch"
+ "${FILESDIR}/${PN}-0.2.0-collections.patch"
)
EPYTEST_DESELECT=(
- ffmpeg/tests/test_ffmpeg.py::test__get_filter_complex_input
- ffmpeg/tests/test_ffmpeg.py::test__input__start_time
- ffmpeg/tests/test_ffmpeg.py::test__multi_output_edge_label_order
ffmpeg/tests/test_ffmpeg.py::test__probe
- ffmpeg/tests/test_ffmpeg.py::test__probe__extra_args
- ffmpeg/tests/test_ffmpeg.py::test_fluent_complex_filter
ffmpeg/tests/test_ffmpeg.py::test_pipe
- ffmpeg/tests/test_ffmpeg.py::test_repeated_args
)
distutils_enable_tests pytest
diff --git a/dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-collections.patch b/dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-collections.patch
new file mode 100644
index 000000000000..fe905e9670b7
--- /dev/null
+++ b/dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-collections.patch
@@ -0,0 +1,14 @@
+--- a/ffmpeg/_utils.py
++++ b/ffmpeg/_utils.py
+@@ -3,6 +3,11 @@ from builtins import str
+ import hashlib
+ import sys
+
++try:
++ from collections.abc import Iterable
++except ImportError:
++ from collections import Iterable
++
+
+ def with_metaclass(meta, *bases):
+ class metaclass(meta):
diff --git a/dev-python/fsspec/fsspec-2023.12.2.ebuild b/dev-python/fsspec/fsspec-2023.12.2.ebuild
index 7a5ba44a530c..619f3c6ce4ab 100644
--- a/dev-python/fsspec/fsspec-2023.12.2.ebuild
+++ b/dev-python/fsspec/fsspec-2023.12.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2023 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -45,21 +45,26 @@ src_test() {
distutils-r1_src_test
}
-EPYTEST_DESELECT=(
- fsspec/tests/test_spec.py::test_find
- # requires s3fs
- fsspec/implementations/tests/test_local.py::test_urlpath_inference_errors
- fsspec/tests/test_core.py::test_mismatch
- # requires pyarrow, fastparquet
- fsspec/implementations/tests/test_reference.py::test_df_single
- fsspec/implementations/tests/test_reference.py::test_df_multi
-)
+python_test() {
+ local EPYTEST_DESELECT=(
+ fsspec/tests/test_spec.py::test_find
+ # requires s3fs
+ fsspec/implementations/tests/test_local.py::test_urlpath_inference_errors
+ fsspec/tests/test_core.py::test_mismatch
+ # requires pyarrow, fastparquet
+ fsspec/implementations/tests/test_reference.py::test_df_single
+ fsspec/implementations/tests/test_reference.py::test_df_multi
+ )
+
+ local EPYTEST_IGNORE=(
+ # sftp and smb require server started via docker
+ fsspec/implementations/tests/test_dbfs.py
+ fsspec/implementations/tests/test_sftp.py
+ fsspec/implementations/tests/test_smb.py
+ # unhappy about dev-python/fuse-python (?)
+ fsspec/tests/test_fuse.py
+ )
-EPYTEST_IGNORE=(
- # sftp and smb require server started via docker
- fsspec/implementations/tests/test_dbfs.py
- fsspec/implementations/tests/test_sftp.py
- fsspec/implementations/tests/test_smb.py
- # unhappy about dev-python/fuse-python (?)
- fsspec/tests/test_fuse.py
-)
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -p asyncio -p pytest_mock -o tmp_path_retention_policy=all
+}
diff --git a/dev-python/fsspec/fsspec-2024.2.0.ebuild b/dev-python/fsspec/fsspec-2024.2.0.ebuild
index 87cd0f83ac9b..4f7ed3f6460d 100644
--- a/dev-python/fsspec/fsspec-2024.2.0.ebuild
+++ b/dev-python/fsspec/fsspec-2024.2.0.ebuild
@@ -45,21 +45,26 @@ src_test() {
distutils-r1_src_test
}
-EPYTEST_DESELECT=(
- fsspec/tests/test_spec.py::test_find
- # requires s3fs
- fsspec/implementations/tests/test_local.py::test_urlpath_inference_errors
- fsspec/tests/test_core.py::test_mismatch
- # requires pyarrow, fastparquet
- fsspec/implementations/tests/test_reference.py::test_df_single
- fsspec/implementations/tests/test_reference.py::test_df_multi
-)
+python_test() {
+ local EPYTEST_DESELECT=(
+ fsspec/tests/test_spec.py::test_find
+ # requires s3fs
+ fsspec/implementations/tests/test_local.py::test_urlpath_inference_errors
+ fsspec/tests/test_core.py::test_mismatch
+ # requires pyarrow, fastparquet
+ fsspec/implementations/tests/test_reference.py::test_df_single
+ fsspec/implementations/tests/test_reference.py::test_df_multi
+ )
+
+ local EPYTEST_IGNORE=(
+ # sftp and smb require server started via docker
+ fsspec/implementations/tests/test_dbfs.py
+ fsspec/implementations/tests/test_sftp.py
+ fsspec/implementations/tests/test_smb.py
+ # unhappy about dev-python/fuse-python (?)
+ fsspec/tests/test_fuse.py
+ )
-EPYTEST_IGNORE=(
- # sftp and smb require server started via docker
- fsspec/implementations/tests/test_dbfs.py
- fsspec/implementations/tests/test_sftp.py
- fsspec/implementations/tests/test_smb.py
- # unhappy about dev-python/fuse-python (?)
- fsspec/tests/test_fuse.py
-)
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -p asyncio -p pytest_mock -o tmp_path_retention_policy=all
+}
diff --git a/dev-python/mautrix/Manifest b/dev-python/mautrix/Manifest
index 1ea104a0ee38..b54fb010f91a 100644
--- a/dev-python/mautrix/Manifest
+++ b/dev-python/mautrix/Manifest
@@ -1,2 +1 @@
DIST mautrix-0.20.4.gh.tar.gz 244467 BLAKE2B adbab30c4b4e08b2def968bc7b85c4402cf32cfa4f15b17c8ba126a93230e2d84c6a43a3cc8bd0fe409d4fd1f9129a65c89d68ae61aaecd869cbf62480ff2883 SHA512 30a1a82fdb6875cd24dc685c567ad9c73eaa2d6a25e188498bdfec452dc530c0efa4373d3a1d2b217c5238ee9f33fc2d892549ea576c2f487f942a38eb8363d5
-DIST mautrix-0.20.4.tar.gz 243441 BLAKE2B 8aadbe0147585dbd8c8d019fdbdbbcdd14f8ff3717ef9894abf431a1fe34e6fc8bc1a0dfb27235a04ff48aea60f19f6ee1d362b5712bfe7a1f2be51f774fa8bc SHA512 57bc8a975702d8ab1f5cc28a2d8556a4fb346b299dd9c6f8c1c55c177aaabb1a0a198c4becb9eb8fd7887b142b7ffd6ca3031859d1ea417307fa265c7e4877ba
diff --git a/dev-python/mautrix/mautrix-0.20.4-r2.ebuild b/dev-python/mautrix/mautrix-0.20.4-r2.ebuild
new file mode 100644
index 000000000000..5eb81ce0714d
--- /dev/null
+++ b/dev-python/mautrix/mautrix-0.20.4-r2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 2022-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} )
+inherit daemons distutils-r1 optfeature
+
+DESCRIPTION="A Python 3 asyncio Matrix framework"
+HOMEPAGE="
+ https://pypi.org/project/mautrix/
+ https://github.com/mautrix/python
+"
+
+# use github tarball for test data
+SRC_URI="https://github.com/mautrix/python/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}/python-${PV}"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="crypt"
+REQUIRED_USE="test? ( crypt )"
+
+RDEPEND="
+ dev-python/aiohttp[${PYTHON_USEDEP}]
+ dev-python/attrs[${PYTHON_USEDEP}]
+ dev-python/yarl[${PYTHON_USEDEP}]
+ crypt? (
+ dev-python/python-olm[${PYTHON_USEDEP}]
+ dev-python/pycryptodome[${PYTHON_USEDEP}]
+ dev-python/unpaddedbase64[${PYTHON_USEDEP}]
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ test? (
+ dev-python/aiosqlite[${PYTHON_USEDEP}]
+ dev-python/asyncpg[${PYTHON_USEDEP}]
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ dev-python/ruamel-yaml[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+daemons_enable postgresql test
+
+# Disabled because of https://bugs.gentoo.org/922488
+#distutils_enable_sphinx docs \
+# dev-python/sphinx-rtd-theme
+
+src_test() {
+ daemons_start postgresql --host 127.0.0.1
+ local -x MEOW_TEST_PG_URL="${POSTGRESQL_URL:?}"
+
+ distutils-r1_src_test
+ daemons_stop postgresql
+}
+
+pkg_postinst() {
+ optfeature "MIME type detection support" dev-python/python-magic
+ optfeature "media transcoding support" media-video/ffmpeg
+}
diff --git a/dev-python/mautrix/mautrix-0.20.4.ebuild b/dev-python/mautrix/mautrix-0.20.4.ebuild
deleted file mode 100644
index 4ad539e05f0f..000000000000
--- a/dev-python/mautrix/mautrix-0.20.4.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 2022-2023 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} )
-
-inherit distutils-r1 optfeature pypi
-
-DESCRIPTION="A Python 3 asyncio Matrix framework"
-HOMEPAGE="https://github.com/mautrix/python/"
-
-LICENSE="MPL-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-python/aiohttp[${PYTHON_USEDEP}]
- dev-python/attrs[${PYTHON_USEDEP}]
- dev-python/python-olm[${PYTHON_USEDEP}]
- dev-python/pycryptodome[${PYTHON_USEDEP}]
- dev-python/unpaddedbase64[${PYTHON_USEDEP}]
- dev-python/yarl[${PYTHON_USEDEP}]
- test? (
- dev-python/aiosqlite[${PYTHON_USEDEP}]
- dev-python/asyncpg[${PYTHON_USEDEP}]
- <dev-python/sqlalchemy-2[${PYTHON_USEDEP}]
- )
-"
-DEPEND="${RDEPEND}"
-
-distutils_enable_tests pytest
-
-pkg_postinst() {
- optfeature "media transcoding" media-video/ffmpeg
-}
diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest
index bc6c35f0ec88..ae71263fa2a1 100644
--- a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest
+++ b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest
@@ -1,3 +1,4 @@
DIST mkdocs-git-revision-date-localized-plugin-1.2.0.gh.tar.gz 378268 BLAKE2B ee4270e60a23b4c040de1b931c1d18f785d95b1947facd66d0b9180452dd30fee518fcdf24840b6523ee4944cf363ebbf9a27c93b09f45cc09daf277d4fd7085 SHA512 627c1b6c955f8c787ac01e9be5827648a8c9bbd1f9449c8a734f47fc83d28e3eba5faad142f69da12291c4ac3f728ae2c090e9b8e0a84b585557977a9fe04241
DIST mkdocs-git-revision-date-localized-plugin-1.2.1.gh.tar.gz 377237 BLAKE2B 86e9b15c79cd9b1a17d3231cefd8ccf86afab8fc013e82ae116a38a5094386c6e450fde8a3fc0ecbc82dfe699c1973c86d9cc0f39f89b67617b0f9f0b37da0cf SHA512 4d2ad4406a2eb1a672ff4ce4b78a4b46a53a4189bbc5bff29d8682e7dbfc95ce5e22cf6f0865dca3941aa430b2f10e6bbd3bd8bddf2076190d14a21ca88e7a10
DIST mkdocs-git-revision-date-localized-plugin-1.2.2.gh.tar.gz 377297 BLAKE2B c6ae0270f37931a0d3c1c1e5f73ec7423be2803ed86819f8c82cae0eea0461945ce6dcea3a61cf88879f879bbfe838d49fa5b314bf69bf707d6159b72b34ecb5 SHA512 23fe871b7688aff7fde54657493076f2371fce10476e5bbdcc1a5efe39aad374b79f865309baefaacff61109fe2489ac326d6975275470eab5edca8ef075eea1
+DIST mkdocs-git-revision-date-localized-plugin-1.2.4.gh.tar.gz 377301 BLAKE2B 1270af27887411088969f086fa5c7426cca7221264c863201cc0fe0a0d3f7a004f9d2ca264d4c4b6e9678c420534d5a18996f5556c3ce3a6761f294e0c629fbd SHA512 24becb98d6f04500935f9f0be21ae1fa39cb8f01afc9d5eb38f320bc3aef4baae345e6d5af768d882fb10b15ffcaba9e2b32fe3430b800ba7097cd27b4ab5657
diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.4.ebuild b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.4.ebuild
new file mode 100644
index 000000000000..cf1f88ff1dd0
--- /dev/null
+++ b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.4.ebuild
@@ -0,0 +1,63 @@
+# 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} )
+
+DOCS_BUILDER="mkdocs"
+DOCS_DEPEND="
+ dev-python/regex
+ dev-python/mkdocs-static-i18n
+ dev-python/mkdocs-material
+ dev-python/mkdocs-git-authors-plugin
+ dev-python/mkdocs-git-revision-date-localized-plugin
+"
+
+inherit distutils-r1 docs
+
+DESCRIPTION="Display the localized date of the last git modification of a markdown file"
+HOMEPAGE="
+ https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/
+ https://pypi.org/project/mkdocs-git-revision-date-localized-plugin/
+"
+SRC_URI="
+ https://github.com/timvink/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+ >=dev-python/Babel-2.7.0[${PYTHON_USEDEP}]
+ dev-python/GitPython[${PYTHON_USEDEP}]
+ >=dev-python/mkdocs-1.0[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/click[${PYTHON_USEDEP}]
+ dev-python/mkdocs-material[${PYTHON_USEDEP}]
+ dev-python/mkdocs-static-i18n[${PYTHON_USEDEP}]
+ dev-vcs/git
+ )
+ doc? ( dev-vcs/git )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # mkdocs-git-revision-date-localized-plugin's tests need git repo
+ if use test || use doc; then
+ git init -q || die
+ git config --global user.email "larry@gentoo.org" || die
+ git config --global user.name "Larry the Cow" || die
+ git add . || die
+ git commit -qm 'init' || die
+ fi
+
+ distutils-r1_python_prepare_all
+}
diff --git a/dev-python/ytmusicapi/Manifest b/dev-python/ytmusicapi/Manifest
index fff4db7b5497..78ff6a69a29a 100644
--- a/dev-python/ytmusicapi/Manifest
+++ b/dev-python/ytmusicapi/Manifest
@@ -1,3 +1,4 @@
DIST ytmusicapi-1.4.2.tar.gz 97077 BLAKE2B fe54fa253dec464b5112eb209b3b16929d87a93c360aded5d7ddd5598614f3c5a6c53be973a0c209d32b185effba81522fb17bed565511c3d7db0517f2bf5f8f SHA512 2fb87aa287c38fc1c5d6709bbcf0385205d2becdf1067ee7f8e50b57c9b8e974b457ab34039b1477e6890f0fc7e79b6291f4f2945dbde09294bb1f8c4822be3d
DIST ytmusicapi-1.5.0.tar.gz 101082 BLAKE2B 682936a7e896cfe229945024a24370595f3e1c269bf15476e03224a62bf17ff38aa21ac9c940a7b2c9ab0dca69d51d560ba28d269489bb1bf3a831e384b79c5d SHA512 64fbac9a8600e86b046f210d677ec2b11349bd2ad9859eb0e67ea3c2b4f664e4087dcf51911911e249af957374fffb05997fc9863c1cbeb15958627e62716548
DIST ytmusicapi-1.5.1.tar.gz 101292 BLAKE2B 335fd7c8eb6869733c20685b360d5b82faf377673579525124b8142a1cdd693e498b8e278074a7344366fc796d4cdee1cb8919aa7c74d7c37b10e10d96478d62 SHA512 3a3015677f2a89a0f0df48c9a70e87fe4cf6890d084a5a3a5de74907bb057c04a99fb826cb2ed603670d5e67b6efe40145fb2c5cc829591406be45eea41934f0
+DIST ytmusicapi-1.5.2.tar.gz 101749 BLAKE2B 5d0a8d99053fa9fa9c8dc360af62dec4241179e3e0f405e860793985742029fb5131b4852306361cbbffa6bb3057285c3e0f7e9cfaaba1054636e15bbaefd1c7 SHA512 8e7424302dfda0a2ad525495368f084af8b1f615d8f301ea347cf27a20305b015f48051915b90280712a151eb7db748cd1d3854c5d81c1d49d53ec6f27117ece
diff --git a/dev-python/ytmusicapi/ytmusicapi-1.5.2.ebuild b/dev-python/ytmusicapi/ytmusicapi-1.5.2.ebuild
new file mode 100644
index 000000000000..006c7e44cb09
--- /dev/null
+++ b/dev-python/ytmusicapi/ytmusicapi-1.5.2.ebuild
@@ -0,0 +1,23 @@
+# 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} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Unofficial API for YouTube Music"
+HOMEPAGE="https://ytmusicapi.readthedocs.io/
+ https://github.com/sigma67/ytmusicapi/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="test"
+
+RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
+
+distutils_enable_sphinx docs/source \
+ dev-python/sphinx-rtd-theme