summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-01-29 07:11:58 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-01-29 07:11:58 +0000
commitf9e0c4a63c8eacef6ef1379be1fee3c5b90f7c0e (patch)
treeafa69a1a16414811ac02a371c18b609bb1dfef67 /dev-python
parente46f9f7404885472380661a8c945d60fb8b14982 (diff)
downloadbaldeagleos-repo-f9e0c4a63c8eacef6ef1379be1fee3c5b90f7c0e.tar.gz
baldeagleos-repo-f9e0c4a63c8eacef6ef1379be1fee3c5b90f7c0e.tar.xz
baldeagleos-repo-f9e0c4a63c8eacef6ef1379be1fee3c5b90f7c0e.zip
Adding metadata
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/Levenshtein/Levenshtein-0.24.0.ebuild48
-rw-r--r--dev-python/Levenshtein/Manifest1
-rw-r--r--dev-python/black/Manifest1
-rw-r--r--dev-python/black/black-24.1.1.ebuild55
-rw-r--r--dev-python/colorthief/Manifest1
-rw-r--r--dev-python/colorthief/colorthief-0.2.1.ebuild20
-rw-r--r--dev-python/colorthief/metadata.xml10
-rw-r--r--dev-python/etcd3/etcd3-0.12.0.ebuild2
-rw-r--r--dev-python/etcd3gw/etcd3gw-1.0.2.ebuild2
-rw-r--r--dev-python/gevent/Manifest1
-rw-r--r--dev-python/gevent/gevent-23.9.1.ebuild27
-rw-r--r--dev-python/gevent/metadata.xml12
-rw-r--r--dev-python/os-client-config/os-client-config-2.1.0-r2.ebuild3
-rw-r--r--dev-python/pifpaf/Manifest1
-rw-r--r--dev-python/pifpaf/metadata.xml13
-rw-r--r--dev-python/pifpaf/pifpaf-3.1.5.ebuild41
-rw-r--r--dev-python/pygal/pygal-3.0.4-r1.ebuild (renamed from dev-python/pygal/pygal-3.0.4.ebuild)5
-rw-r--r--dev-python/pynput/Manifest1
-rw-r--r--dev-python/pynput/metadata.xml10
-rw-r--r--dev-python/pynput/pynput-1.7.6.ebuild20
-rw-r--r--dev-python/pypdf/Manifest1
-rw-r--r--dev-python/pypdf/pypdf-4.0.0.ebuild1
-rw-r--r--dev-python/pypdf/pypdf-4.0.1.ebuild59
-rw-r--r--dev-python/pyside2-tools/pyside2-tools-5.15.12.ebuild2
-rw-r--r--dev-python/pyside2/pyside2-5.15.12.ebuild2
-rw-r--r--dev-python/pytest-asyncio/Manifest1
-rw-r--r--dev-python/pytest-asyncio/pytest-asyncio-0.23.4.ebuild49
-rw-r--r--dev-python/pytest-console-scripts/pytest-console-scripts-1.4.1.ebuild4
-rw-r--r--dev-python/pytest-subtests/pytest-subtests-0.11.0.ebuild4
-rw-r--r--dev-python/pytest-xdist/pytest-xdist-3.5.0.ebuild4
-rw-r--r--dev-python/pythran/pythran-0.15.0.ebuild2
-rw-r--r--dev-python/shiboken2/shiboken2-5.15.12.ebuild2
-rw-r--r--dev-python/xattr/Manifest2
-rw-r--r--dev-python/xattr/metadata.xml4
-rw-r--r--dev-python/xattr/xattr-0.9.9.ebuild20
-rw-r--r--dev-python/xattr/xattr-1.0.0.ebuild53
36 files changed, 394 insertions, 90 deletions
diff --git a/dev-python/Levenshtein/Levenshtein-0.24.0.ebuild b/dev-python/Levenshtein/Levenshtein-0.24.0.ebuild
new file mode 100644
index 000000000000..b136ae4de663
--- /dev/null
+++ b/dev-python/Levenshtein/Levenshtein-0.24.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+# custom wrapper over setuptools
+DISTUTILS_USE_PEP517=standalone
+PYTHON_COMPAT=( python3_{8,9,10,11,12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Functions for fast computation of Levenshtein distance, and edit operations"
+HOMEPAGE="
+ https://pypi.org/project/Levenshtein/
+ https://github.com/rapidfuzz/Levenshtein/
+"
+SRC_URI="
+ https://github.com/rapidfuzz/Levenshtein/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+DEPEND="
+ <dev-cpp/rapidfuzz-cpp-4
+ >=dev-cpp/rapidfuzz-cpp-3.0.0
+"
+RDEPEND="
+ <dev-python/rapidfuzz-4.0.0[${PYTHON_USEDEP}]
+ >=dev-python/rapidfuzz-3.1.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ >=dev-python/cython-3.0.2[${PYTHON_USEDEP}]
+ >=dev-python/scikit-build-0.13.0[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ # sterilize build flags
+ sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die
+
+ distutils-r1_src_prepare
+}
diff --git a/dev-python/Levenshtein/Manifest b/dev-python/Levenshtein/Manifest
index f888dfc497ac..c48000bf8204 100644
--- a/dev-python/Levenshtein/Manifest
+++ b/dev-python/Levenshtein/Manifest
@@ -1 +1,2 @@
DIST Levenshtein-0.23.0.gh.tar.gz 36891 BLAKE2B 847772ee88a76881c0974a1a9c1ef252320308f17b30b227f8251b0a8b8454c2289e02a24b2a9cb225d34183c5b6e4dbf574b22a5d37a1b453596ff0cb6e0aa0 SHA512 137116f337f576534bf2c12dc49d35f81a3b267eb613e5e6cca6cb80e5701dd0adbfd97c1cec4ea8f1bb4dee2bc67deeb19553474348ea78af4e05b79ce01fdf
+DIST Levenshtein-0.24.0.gh.tar.gz 37197 BLAKE2B 75dcce68255b3e14e0ff9cb8e67b0381c7463f8b52f5922fcefc860bc638dc42d070e7a3dec8a870f92981dbb2ac8ec0d238845b5a68561d57f10d1c1721c021 SHA512 b47b903eb5cee3c8dc38fe5a963f20af3bdf1a8df74c1d2ea6d94810ebd37c1fc0c2adbb4bc951245ea72a6196c509dcf18066f3746b94f5b6d5f4414f296a2a
diff --git a/dev-python/black/Manifest b/dev-python/black/Manifest
index b7d566276bc3..cf350c7fb5a6 100644
--- a/dev-python/black/Manifest
+++ b/dev-python/black/Manifest
@@ -1,2 +1,3 @@
DIST black-23.12.1.tar.gz 620809 BLAKE2B 8522183d8004dd094f87fc8efcbbbafede9f94ded2f67d4815059534da91c969067c5c508636c2654894109f91d8fb5b26f23351b5ffff451aeac8ed5d146da4 SHA512 1a90eadbb7ccf1dd6c4c7d858b3360b7c62c04bf1826dd4817ddb8d542c3155fc72a80d53aa3be34375bd7006ab65432e006572bc5d1eeb6ff23cfa460072e93
DIST black-24.1.0.tar.gz 622911 BLAKE2B 371a334df390f758fe482dac42345ab0cd7058c2dcbb49f5ce4337fedfe5b330308ab2644438a447ae76413fc95b65ba0fb0ab68a3a294e12f2fe147cebdfc25 SHA512 f9d2315743b91dcc563f8e57d4bfb3d80aff2b6a8f426d348c84d23cbcc1fe85107b4b3d78f396959d10240b75586e29bb26d7e767d382cc9d977703f2fa8d09
+DIST black-24.1.1.tar.gz 623755 BLAKE2B 32e12a3c1b0ad7cb94970b8d887444e0ff05c8044ce7b843710ad4494b6c1d8d4e74a76ce79178bb468fc1ed813bd4e17d3b1ba24f4fe6a6c3aeaf4bf2afe499 SHA512 507555c330a4ef5869b11d9b3ad19b6234c035bb2a28fa497aac911303bbc2d546601c1d587c8a824403c346eb5b940aaec2989c20dffead6fa881e496be5672
diff --git a/dev-python/black/black-24.1.1.ebuild b/dev-python/black/black-24.1.1.ebuild
new file mode 100644
index 000000000000..62cdfb3bf756
--- /dev/null
+++ b/dev-python/black/black-24.1.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 )
+
+inherit distutils-r1 optfeature pypi
+
+DESCRIPTION="The uncompromising Python code formatter"
+HOMEPAGE="
+ https://black.readthedocs.io/en/stable/
+ https://github.com/psf/black/
+ https://pypi.org/project/black/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+ >=dev-python/click-8.0.0[${PYTHON_USEDEP}]
+ >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}]
+ >=dev-python/packaging-22.0[${PYTHON_USEDEP}]
+ >=dev-python/pathspec-0.9.0[${PYTHON_USEDEP}]
+ >=dev-python/platformdirs-2[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}]
+ ' 3.10)
+"
+BDEPEND="
+ dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}]
+ dev-python/hatch-vcs[${PYTHON_USEDEP}]
+ test? (
+ >=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}]
+ dev-python/aiohttp-cors[${PYTHON_USEDEP}]
+ dev-python/colorama[${PYTHON_USEDEP}]
+ dev-python/parameterized[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # incompatible with xdist
+ tests/test_black.py::TestCaching::test_output_locking_when_writeback_diff
+ tests/test_black.py::TestCaching::test_failed_formatting_does_not_get_cached
+)
+
+pkg_postinst() {
+ optfeature "blackd - HTTP API for black" \
+ "dev-python/aiohttp dev-python/aiohttp-cors"
+}
diff --git a/dev-python/colorthief/Manifest b/dev-python/colorthief/Manifest
new file mode 100644
index 000000000000..035d1c142380
--- /dev/null
+++ b/dev-python/colorthief/Manifest
@@ -0,0 +1 @@
+DIST colorthief-0.2.1.tar.gz 6164 BLAKE2B 7d05951c5ee6b2ab39aa882f871e5e49cf416f134aa696243e0800d1d7f41fbcb96b32374a2a72bdef3a0e01f9d0987b5789658abd1a6b56ed01a75d888d596b SHA512 33d8f048d6e0fb4b6f3b5a6d7fd53ec8156e1ab4b2fe9c8252d49954929a3046547536ae7cb6d7752c43fd2974b36acffabcc61d733ad462a2504ead36c99da7
diff --git a/dev-python/colorthief/colorthief-0.2.1.ebuild b/dev-python/colorthief/colorthief-0.2.1.ebuild
new file mode 100644
index 000000000000..9b83e5608a54
--- /dev/null
+++ b/dev-python/colorthief/colorthief-0.2.1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 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="Module for grabbing the color palette from an image"
+HOMEPAGE="
+ https://github.com/fengsp/color-thief-py
+ https://pypi.org/project/colorthief/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-python/pillow[${PYTHON_USEDEP}]"
diff --git a/dev-python/colorthief/metadata.xml b/dev-python/colorthief/metadata.xml
new file mode 100644
index 000000000000..c0f74ac187e2
--- /dev/null
+++ b/dev-python/colorthief/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>pastalian46@gmail.com</email>
+ <name>Takuya Wakazono</name>
+ </maintainer>
+
+ <origin>gentoo-guru-overlay</origin>
+</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/etcd3/etcd3-0.12.0.ebuild b/dev-python/etcd3/etcd3-0.12.0.ebuild
index 3d1c79ca3500..8ab63200c37a 100644
--- a/dev-python/etcd3/etcd3-0.12.0.ebuild
+++ b/dev-python/etcd3/etcd3-0.12.0.ebuild
@@ -36,7 +36,7 @@ DEPEND="
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
dev-python/grpcio-tools[${PYTHON_USEDEP}]
dev-python/hypothesis[${PYTHON_USEDEP}]
- dev-python/pifpaf[${PYTHON_USEDEP}]
+ dev-util/pifpaf[${PYTHON_USEDEP}]
)
"
diff --git a/dev-python/etcd3gw/etcd3gw-1.0.2.ebuild b/dev-python/etcd3gw/etcd3gw-1.0.2.ebuild
index 15a5102b85b5..e8a25580fb3c 100644
--- a/dev-python/etcd3gw/etcd3gw-1.0.2.ebuild
+++ b/dev-python/etcd3gw/etcd3gw-1.0.2.ebuild
@@ -30,10 +30,10 @@ DEPEND="
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
>=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
- >=dev-python/pifpaf-0.10.0[${PYTHON_USEDEP}]
>=dev-python/nose-1.3.7[${PYTHON_USEDEP}]
>=dev-python/pytest-3.0.0[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.15.1[${PYTHON_USEDEP}]
+ >=dev-util/pifpaf-0.10.0[${PYTHON_USEDEP}]
)
"
diff --git a/dev-python/gevent/Manifest b/dev-python/gevent/Manifest
new file mode 100644
index 000000000000..3f18a7f86531
--- /dev/null
+++ b/dev-python/gevent/Manifest
@@ -0,0 +1 @@
+DIST gevent-23.9.1.tar.gz 5847705 BLAKE2B b1d2f95728e545e4970235c7cd352f2a3ed742f01a4f2421423d6e9fd36d7fadae5ffe1dba326535501ec8179c36d83ec5e5c4aeced70673921db85fc9e1b042 SHA512 c0600a5f9e50040009c3467ad802dda8a48422dca4e781acc9ca3428446399932da2f07d7345936ef634783611cf664d219f614980ed6b936f4a510e56ea753c
diff --git a/dev-python/gevent/gevent-23.9.1.ebuild b/dev-python/gevent/gevent-23.9.1.ebuild
new file mode 100644
index 000000000000..856e5ce96071
--- /dev/null
+++ b/dev-python/gevent/gevent-23.9.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8,9,10,11,12} )
+DISTUTILS_USE_PEP517=standalone
+inherit distutils-r1 pypi
+PYTHON_REQ_USE="ssl(+),threads(+)"
+DESCRIPTION="Coroutine-based network library"
+HOMEPAGE="https://www.gevent.org/ https://pypi.org/project/gevent"
+
+IUSE="monitor recommended test"
+DEPENDENCIES=">=dev-python/greenlet-2.0.0[${PYTHON_USEDEP}]
+ >=dev-python/greenlet-3.0[${PYTHON_USEDEP}]
+ dev-python/zope-event[${PYTHON_USEDEP}]
+ dev-python/zope-interface[${PYTHON_USEDEP}]
+ monitor? ( >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}] )
+ recommended? ( >=dev-python/cffi-1.12.2[${PYTHON_USEDEP}] )
+ recommended? ( >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}] )
+ "
+BDEPEND="${DEPENDENCIES}"
+RDEPEND="${DEPENDENCIES}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
diff --git a/dev-python/gevent/metadata.xml b/dev-python/gevent/metadata.xml
new file mode 100644
index 000000000000..ca9de3b08e7b
--- /dev/null
+++ b/dev-python/gevent/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>1over137@anche.no</email>
+ <name>Shaoyu Tseng</name>
+ </maintainer>
+ <upstream>
+ <doc>https://www.gevent.org/</doc>
+ </upstream>
+ <origin>gentoo-guru-overlay</origin>
+</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/os-client-config/os-client-config-2.1.0-r2.ebuild b/dev-python/os-client-config/os-client-config-2.1.0-r2.ebuild
index bfd4eb2234d1..8e43a4f0ef79 100644
--- a/dev-python/os-client-config/os-client-config-2.1.0-r2.ebuild
+++ b/dev-python/os-client-config/os-client-config-2.1.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -23,6 +23,7 @@ RDEPEND="
BDEPEND="
>dev-python/pbr-2.1.0[${PYTHON_USEDEP}]
test? (
+ >=dev-python/extras-1.0.0[${PYTHON_USEDEP}]
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
>=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
>=dev-python/prometheus-client-0.4.2[${PYTHON_USEDEP}]
diff --git a/dev-python/pifpaf/Manifest b/dev-python/pifpaf/Manifest
deleted file mode 100644
index 11ae766bb962..000000000000
--- a/dev-python/pifpaf/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pifpaf-3.1.5.tar.gz 189903 BLAKE2B 5742e995feeb91af41db20cc605e8a5f5f21f63281d4f66ba8b108310a88d716ab4be0a43e0371f10e7f3f42b693953b3344c648458999348b914e03abe462c8 SHA512 4e0f70740f8260cb3cf801ea97f1fa30e6b87cfc4112b5482389d0635e76bbc7f1561945397e4e6586116c49d11b1e8f721dd61dca82668833bf224f9ba3e94f
diff --git a/dev-python/pifpaf/metadata.xml b/dev-python/pifpaf/metadata.xml
deleted file mode 100644
index a3bf6076a5fe..000000000000
--- a/dev-python/pifpaf/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>lssndrbarbieri@gmail.com</email>
- <name>Alessandro Barbieri</name>
- </maintainer>
- <longdescription lang="en">
-Pifpaf is a suite of fixtures and a command-line tool that allows to start and stop daemons for a quick throw-away usage. This is typically useful when needing these daemons to run integration testing. It originaly evolved from its precussor overtest.
- </longdescription>
-
- <origin>gentoo-guru-overlay</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/pifpaf/pifpaf-3.1.5.ebuild b/dev-python/pifpaf/pifpaf-3.1.5.ebuild
deleted file mode 100644
index 39d690e65c03..000000000000
--- a/dev-python/pifpaf/pifpaf-3.1.5.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-EPYTEST_DESELECT=( pifpaf/tests/test_cli.py::TestCli::test_non_existing_command )
-PYTHON_COMPAT=( python3_{8,9,10,11,12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Python fixtures and daemon managing tools for functional testing"
-HOMEPAGE="
- https://pypi.org/project/pifpaf/
- https://github.com/jd/pifpaf
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
- dev-python/daiquiri[${PYTHON_USEDEP}]
- dev-python/click[${PYTHON_USEDEP}]
- dev-python/pbr[${PYTHON_USEDEP}]
- dev-python/jinja[${PYTHON_USEDEP}]
- dev-python/fixtures[${PYTHON_USEDEP}]
- dev-python/psutil[${PYTHON_USEDEP}]
- dev-python/xattr[${PYTHON_USEDEP}]
-"
-DEPEND="
- ${RDEPEND}
- dev-python/pbr[${PYTHON_USEDEP}]
- test? (
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/testrepository[${PYTHON_USEDEP}]
- dev-python/testtools[${PYTHON_USEDEP}]
- dev-python/mock[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
diff --git a/dev-python/pygal/pygal-3.0.4.ebuild b/dev-python/pygal/pygal-3.0.4-r1.ebuild
index a0c6a36b5f80..30c0c5b411bf 100644
--- a/dev-python/pygal/pygal-3.0.4.ebuild
+++ b/dev-python/pygal/pygal-3.0.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -23,6 +23,9 @@ LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="amd64 arm64 ~riscv x86"
+RDEPEND="
+ dev-python/importlib-metadata[${PYTHON_USEDEP}]
+"
BDEPEND="
test? (
dev-python/lxml[${PYTHON_USEDEP}]
diff --git a/dev-python/pynput/Manifest b/dev-python/pynput/Manifest
new file mode 100644
index 000000000000..42a186bc9f38
--- /dev/null
+++ b/dev-python/pynput/Manifest
@@ -0,0 +1 @@
+DIST pynput-1.7.6.tar.gz 79501 BLAKE2B cb356271ef0688ff6532fb79b858c10fb3a52abc4f6db5f4758948cb16f01e96e9377894ea211952b58f5ff6d997ceeec9ba51a29aef866e65cd83900a9894ae SHA512 66639096a83b7ea7c926bfab67ef6c54b913fc4ffe5814bbc4ace6e4d298237a3623066f4f5c08a2bcf1cc5e40d18dc35b77c18afbd0d00b7b4bf4ed2233d9ff
diff --git a/dev-python/pynput/metadata.xml b/dev-python/pynput/metadata.xml
new file mode 100644
index 000000000000..d5c91acd35e3
--- /dev/null
+++ b/dev-python/pynput/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>1over137@anche.no</email>
+ <name>Shaoyu Tseng</name>
+ </maintainer>
+
+ <origin>gentoo-guru-overlay</origin>
+</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/pynput/pynput-1.7.6.ebuild b/dev-python/pynput/pynput-1.7.6.ebuild
new file mode 100644
index 000000000000..4b40257a9621
--- /dev/null
+++ b/dev-python/pynput/pynput-1.7.6.ebuild
@@ -0,0 +1,20 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8,9,10,11,12} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 pypi
+
+DESCRIPTION="Sends virtual input commands"
+HOMEPAGE="https://github.com/moses-palmer/pynput https://pypi.org/project/pynput"
+RDEPEND="
+ dev-python/python-evdev[${PYTHON_USEDEP}]
+ dev-python/python-xlib[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest
index 86b402ab63b5..691e95ae815b 100644
--- a/dev-python/pypdf/Manifest
+++ b/dev-python/pypdf/Manifest
@@ -1,3 +1,4 @@
DIST pypdf-3.17.4.gh.tar.gz 7976829 BLAKE2B c2b7aef937186aecf525729f336ad6d00a8bf40850be17cb450daba5d0100acc0b0c3f51ef242e3cf7ef710d5c40c9f334db94a372b6d6eb4f2270dc00dde156 SHA512 f687a2032f085dac9b920f881f2df9f96e4da2a8dcdd5f971d3601ab05ae4f9b5528d0155adcb5ef01c6d8ffdc4f3d79077706915851bad7868bf761d28c513a
DIST pypdf-4.0.0.gh.tar.gz 7992828 BLAKE2B 97ab3783ab91ebc638b625fe39c3008516de82f1ac384a45ef27a06bb0b91a86a5fdc24efbb92644a4355743b24e86f68822858eef2df39a3b6415795276c7c4 SHA512 488adffc330bb372df245d2dfdaee357bcd4303cc33d7ee31fd7abc393ce366c78715ca4a6516795ada6b5517ca32fec5f24cdad15e0d2c109fa90ebd2f9b05c
+DIST pypdf-4.0.1.gh.tar.gz 7992979 BLAKE2B a072b50d177a89133bd5c7a74cae1d4f4ed5d6bcb1d78c68573c98f792a28a8ded26b5a82743a70ec2cd41651db8a19580cc48b0376c0dfe2f422826311914c3 SHA512 e9170b75ab00ce86580194bfa64ff3a31eb6fca62adc006478fcee3a78a99df269c75857672838c2b752b78b19174883cecb2eea5586878f81eb75474fabee6d
DIST pypdf-sample-files-964fb47b0fbfa89864680582640ae4eedf143890.gh.tar.gz 11668924 BLAKE2B 0c7d8e7cfb2f9d06d7633d57b691ba473d33cfcb58d2f1f83661cef9d755340d05db8767771a385d0ba88aa904f84b8bc7eafdb5d4f614b7a21a2d138572316f SHA512 28070b575273b6fee3173e797ed5bac618f8e8aca16d0122dcf3b4b16cedbcad69b84a9bc4be65037695597bcc1fa7898cdf766c37915c49f880a0c6ca057e68
diff --git a/dev-python/pypdf/pypdf-4.0.0.ebuild b/dev-python/pypdf/pypdf-4.0.0.ebuild
index 4dd13c1f8f30..77ff24dc1a21 100644
--- a/dev-python/pypdf/pypdf-4.0.0.ebuild
+++ b/dev-python/pypdf/pypdf-4.0.0.ebuild
@@ -31,6 +31,7 @@ BDEPEND="
test? (
dev-python/cryptography[${PYTHON_USEDEP}]
>=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
)
"
diff --git a/dev-python/pypdf/pypdf-4.0.1.ebuild b/dev-python/pypdf/pypdf-4.0.1.ebuild
new file mode 100644
index 000000000000..3bb3100ee06c
--- /dev/null
+++ b/dev-python/pypdf/pypdf-4.0.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( python3_{8,9,10,11,12} )
+
+inherit distutils-r1
+
+SAMPLE_COMMIT=964fb47b0fbfa89864680582640ae4eedf143890
+DESCRIPTION="Python library to work with PDF files"
+HOMEPAGE="
+ https://pypi.org/project/pypdf/
+ https://github.com/py-pdf/pypdf/
+"
+SRC_URI="
+ https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+ test? (
+ https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz
+ -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz
+ )
+"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+BDEPEND="
+ test? (
+ dev-python/cryptography[${PYTHON_USEDEP}]
+ >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ tests/test_reader.py::test_decode_permissions
+ tests/test_workflows.py::test_text_extraction_layout_mode
+ # rely on -Werror
+ tests/test_utils.py::test_deprecate_no_replacement
+ tests/test_workflows.py::test_orientations
+ tests/test_writer.py::test_remove_image_per_type
+)
+
+src_unpack() {
+ default
+ if use test; then
+ mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die
+ fi
+}
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -o addopts= -m "not enable_socket"
+}
diff --git a/dev-python/pyside2-tools/pyside2-tools-5.15.12.ebuild b/dev-python/pyside2-tools/pyside2-tools-5.15.12.ebuild
index 19ce532d0277..e0068cc5fb00 100644
--- a/dev-python/pyside2-tools/pyside2-tools-5.15.12.ebuild
+++ b/dev-python/pyside2-tools/pyside2-tools-5.15.12.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}/sources/${PN}"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
diff --git a/dev-python/pyside2/pyside2-5.15.12.ebuild b/dev-python/pyside2/pyside2-5.15.12.ebuild
index 2409f1220075..a929c8fcb5cd 100644
--- a/dev-python/pyside2/pyside2-5.15.12.ebuild
+++ b/dev-python/pyside2/pyside2-5.15.12.ebuild
@@ -37,7 +37,7 @@ S="${WORKDIR}/${MY_P}/sources/pyside2"
# x11extras (for X)
LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 )"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
IUSE="
3d charts +concurrent datavis designer gles2-only +gui help location
multimedia +network positioning +printsupport qml quick
diff --git a/dev-python/pytest-asyncio/Manifest b/dev-python/pytest-asyncio/Manifest
index 0b19ea50469f..765f24b36da9 100644
--- a/dev-python/pytest-asyncio/Manifest
+++ b/dev-python/pytest-asyncio/Manifest
@@ -1,4 +1,5 @@
DIST pytest-asyncio-0.23.2.tar.gz 44174 BLAKE2B 36dbd0022416eef05c781b9f74fd143bb52fe0583461ca7e52fd4981d552bbefdddd8e3a3399bc229a8ae68b150e199237ae0ce3a375075ab8f7f507bfa59316 SHA512 aa5b5fe8b633b187303dd2958d2ea01561604044507da107e46115d9bf4c1ac3c78826b4b6a6cbf474a6ee4ce0cd1bede87a2c8fe0d35397ddf6a4069437dd84
DIST pytest-asyncio-0.23.3.tar.gz 44841 BLAKE2B f40f18e683ff1c6d905ae81c0a399655d461065f49fc862fe0d57c9d0deb14795e9792d76ea9759ea2b8736f7815de8c1778dbcaa8f477c59cbffd1f991e7ed1 SHA512 209a36de4d74bb3ade486b7c89c58def33b4aca84b3a096012d2ba329946f084a3f70489fb4ba0682e6acd65b6862e2ea4104a8e8912e8693f4f1685de357762
+DIST pytest-asyncio-0.23.4.tar.gz 45162 BLAKE2B 69092bff908beb2b707d281142145edf0508bcb09aa59e4a91d18b3cdb24e5533436a9668e2d243425b4914f2913e6186fa6d8b6c1d187b6bf25191986d27981 SHA512 831c572ae981b8575f97dd4d0d40d960d49cbeeb6b186e1c094eb45b1f48210824780ca14cbf44d1da558b1a17ca1fefc0eda26137461172bbd12f8b25ab8ebb
DIST pytest-asyncio-0.23.4a1.tar.gz 46294 BLAKE2B 6015cc43a8eae8a589311a579196ca9ebb392ff14cf3c68743e10ea3bf7b57958aba59432efae94c3e57e03be3f625a1f0c883e85427af3a20d1f60d634d8946 SHA512 9181a65ad427d2a0f35077019dfa6a46d5714592a754a083a7bb0efb7f97af5776192cd92961d751dba27d84c78a32a9f0c49a46b2d962d24796451311845691
DIST pytest-asyncio-0.23.4a2.tar.gz 45187 BLAKE2B b9c7b48c2ddc29f57e7a175d4cd2a86431047223d23d2a516338b2d2e12951a422eff09736737755777b6fc764e50942b21497d53515319494d8c17100856f9c SHA512 f8d21483935c9d92b50519e71a9f88776bb10ac8d7112fd290d03d35f484177406e9a094be6ab4383a733b40a6166def97dcea881a13e82bbdbe94725aa6a070
diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.23.4.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.23.4.ebuild
new file mode 100644
index 000000000000..9af91a7c12ae
--- /dev/null
+++ b/dev-python/pytest-asyncio/pytest-asyncio-0.23.4.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2019-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Library for testing asyncio code with pytest"
+HOMEPAGE="
+ https://github.com/pytest-dev/pytest-asyncio/
+ https://pypi.org/project/pytest-asyncio/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+ >=dev-python/pytest-5.4.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+ test? (
+ >=dev-python/hypothesis-3.64[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # rely on precise warning counts
+ tests/hypothesis/test_base.py::test_can_use_explicit_event_loop_fixture
+ tests/modes/test_legacy_mode.py
+ tests/modes/test_strict_mode.py::test_strict_mode_ignores_unmarked_fixture
+ tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_fixture_leaves_loop_unclosed
+ tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_test_leaves_loop_unclosed
+ tests/test_pytest_min_version_warning.py
+ tests/trio/test_fixtures.py::test_strict_mode_ignores_trio_fixtures
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ local -x PYTEST_PLUGINS=pytest_asyncio.plugin,_hypothesis_pytestplugin
+ epytest
+}
diff --git a/dev-python/pytest-console-scripts/pytest-console-scripts-1.4.1.ebuild b/dev-python/pytest-console-scripts/pytest-console-scripts-1.4.1.ebuild
index c46ff2d8c339..1cf1c3e5d05b 100644
--- a/dev-python/pytest-console-scripts/pytest-console-scripts-1.4.1.ebuild
+++ b/dev-python/pytest-console-scripts/pytest-console-scripts-1.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -34,6 +34,6 @@ python_test() {
sys.exit(pytest.console_main())
EOF
chmod +x "${script}" || die
- epytest
+ epytest -o tmp_path_retention_count=1
rm "${script}" || die
}
diff --git a/dev-python/pytest-subtests/pytest-subtests-0.11.0.ebuild b/dev-python/pytest-subtests/pytest-subtests-0.11.0.ebuild
index 83a446cc6035..f7c6f8479395 100644
--- a/dev-python/pytest-subtests/pytest-subtests-0.11.0.ebuild
+++ b/dev-python/pytest-subtests/pytest-subtests-0.11.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -35,6 +35,6 @@ distutils_enable_tests pytest
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- local -x PYTEST_PLUGINS=xdist.plugin,xdist.looponfail,pytest_forked,pytest_subtests
+ local -x PYTEST_PLUGINS=xdist.plugin,xdist.looponfail,pytest_subtests
epytest
}
diff --git a/dev-python/pytest-xdist/pytest-xdist-3.5.0.ebuild b/dev-python/pytest-xdist/pytest-xdist-3.5.0.ebuild
index 6e05279a6676..cc774bf37859 100644
--- a/dev-python/pytest-xdist/pytest-xdist-3.5.0.ebuild
+++ b/dev-python/pytest-xdist/pytest-xdist-3.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -40,5 +40,5 @@ python_test() {
# since we disabled autoloading, force loading necessary plugins
local -x PYTEST_PLUGINS=xdist.plugin,xdist.looponfail
- epytest
+ epytest -o tmp_path_retention_count=1
}
diff --git a/dev-python/pythran/pythran-0.15.0.ebuild b/dev-python/pythran/pythran-0.15.0.ebuild
index 60a73ecc92c6..bb641768ba1b 100644
--- a/dev-python/pythran/pythran-0.15.0.ebuild
+++ b/dev-python/pythran/pythran-0.15.0.ebuild
@@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86"
RDEPEND="
dev-libs/boost
diff --git a/dev-python/shiboken2/shiboken2-5.15.12.ebuild b/dev-python/shiboken2/shiboken2-5.15.12.ebuild
index 9341f9eb4aee..9dd291d7fd73 100644
--- a/dev-python/shiboken2/shiboken2-5.15.12.ebuild
+++ b/dev-python/shiboken2/shiboken2-5.15.12.ebuild
@@ -29,7 +29,7 @@ S="${WORKDIR}/${MY_P}/sources/shiboken2"
# arbitrarily relicensed. (TODO)
LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
IUSE="+docstrings numpy test vulkan"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
diff --git a/dev-python/xattr/Manifest b/dev-python/xattr/Manifest
index 7bb05c888cbf..e553ef560e7e 100644
--- a/dev-python/xattr/Manifest
+++ b/dev-python/xattr/Manifest
@@ -1,2 +1,2 @@
DIST xattr-0.10.1.tar.gz 15868 BLAKE2B 424f8c3dfc4312b87fafd5cfecebff1fbf41aa847a09424ee7c65ae2e70acd23b40d3d5829bede31c715780143c2debcf04ce01a4f3a89718473e6f56c06a336 SHA512 41aa839a56958efc211e28331c53b70dec2792e6e29c22dac84a832a17d0ec748ae4ca69a23b7a7152b4bed3c1c0edaf3f05a75f909908ea1f5e35cc0d84d56b
-DIST xattr-0.9.9.tar.gz 15508 BLAKE2B e56c262ca1f390365ed95d746a57a95a39c118ad0c50c7ece556e006d666879d5d318c1e53686b588cb6d8deb9d7f699f3962b15b2440e327b93d840f8765e4b SHA512 1c4c15d77757850290e4434f50d0fae243a9dfe2d190e68310ba35e675e1499a21cd0cd156c4b9f5325b6c2834485527fcf41ec0b255b0bbf2fde4c303f2e325
+DIST xattr-1.0.0.tar.gz 15880 BLAKE2B 4a02743379f9c80658690ee2fa2f204de17cb1f8667c23c43876f8dd88dee974b73d076dc25d46b374d32606190f26cd003b13ffb7ba5f9262e57e71d4228e9d SHA512 0939e341d960f63e181328ed39dd4ab1e8f34d87d25165d646463e793c7a135260f07b106067bbee803838a5eb003a213961137b45f0a340e81dbf659352dbce
diff --git a/dev-python/xattr/metadata.xml b/dev-python/xattr/metadata.xml
index 65c3b9419998..ee6ed379e58f 100644
--- a/dev-python/xattr/metadata.xml
+++ b/dev-python/xattr/metadata.xml
@@ -6,6 +6,10 @@
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
+ <maintainer>
+ <email>bob@redivi.com</email>
+ <name>Bob Ippolito</name>
+ </maintainer>
<bugs-to>https://github.com/xattr/xattr/issues</bugs-to>
</upstream>
<origin>gentoo-guru-overlay</origin>
diff --git a/dev-python/xattr/xattr-0.9.9.ebuild b/dev-python/xattr/xattr-0.9.9.ebuild
deleted file mode 100644
index c6f9ab40953f..000000000000
--- a/dev-python/xattr/xattr-0.9.9.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8,9,10,11,12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Python wrapper for extended filesystem attributes"
-HOMEPAGE="https://github.com/xattr/xattr"
-
-SLOT="0"
-LICENSE="Apache-2.0"
-KEYWORDS="~amd64"
-
-RDEPEND=">=dev-python/cffi-1.0.0[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}"
-
-distutils_enable_tests setup.py
diff --git a/dev-python/xattr/xattr-1.0.0.ebuild b/dev-python/xattr/xattr-1.0.0.ebuild
new file mode 100644
index 000000000000..82e0c364c114
--- /dev/null
+++ b/dev-python/xattr/xattr-1.0.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_EXT=1
+PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python wrapper for extended filesystem attributes"
+HOMEPAGE="
+ https://pypi.org/project/xattr/
+ https://github.com/xattr/xattr
+"
+
+SLOT="0"
+LICENSE="Apache-2.0"
+KEYWORDS="~amd64"
+
+BDEPEND="
+ $(python_gen_cond_dep '
+ >=dev-python/cffi-1.16.0[${PYTHON_USEDEP}]
+ ' 'python*')
+ test? ( sys-apps/attr )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ cd "${T}" || die
+ epytest "${S}"/tests
+}
+
+check_xattr() {
+ touch tt || die
+
+ setfattr -n "user.testAttr" -v "attribute value" tt || return 1
+ getfattr -n "user.testAttr" tt >/dev/null || return 1
+
+ rm -f tt
+ return 0
+}
+
+src_test() {
+ if ! check_xattr; then
+ ewarn "Extended attributes not supported on your filesystem, skipping tests"
+ return 0
+ fi
+
+ distutils-r1_src_test
+}