Merge updates from master

This commit is contained in:
Repository mirror & CI
2024-10-12 07:33:29 +00:00
73 changed files with 28 additions and 1738 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86"
# botocore is x.(y+1).z
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1 )).$(ver_cut 3-)"
+1 -1
View File
@@ -12,7 +12,7 @@ SRC_URI+=" https://gentoo.kropotkin.rocks/go-pkgs/${P}-deps.tar.xz"
LICENSE="Apache-2.0 BSD BSD-2 LGPL-3-with-linking-exception MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
KEYWORDS="amd64 arm ~arm64 ~ppc64 ~riscv x86"
RDEPEND="sys-fs/fuse:0"
DEPEND="${RDEPEND}"
@@ -17,7 +17,7 @@ S="${WORKDIR}/${P}-src"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
KEYWORDS="amd64 arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )"
+1 -1
View File
@@ -17,7 +17,7 @@ S="${WORKDIR}/${P}-src"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )"
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}3-${PV}-src"
LICENSE="Apache-2.0"
SLOT="3.6"
KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris"
KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris"
VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )"
@@ -17,7 +17,7 @@ S="${WORKDIR}/${P}-src"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )"
+1 -1
View File
@@ -11,7 +11,7 @@ SRC_URI="mirror://apache/apr/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="1/${PV%.*}"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="doc old-kernel selinux static-libs +urandom valgrind"
# See bug #815265 for libcrypt dependency
+1 -1
View File
@@ -12,7 +12,7 @@ if [[ "${PV}" == *9999 ]] ; then
EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/ell/ell.git"
else
SRC_URI="https://mirrors.edge.kernel.org/pub/linux/libs/${PN}/${P}.tar.xz"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
fi
LICENSE="LGPL-2.1+"
SLOT="0"
-41
View File
@@ -1,41 +0,0 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="A Python package that generates fake data for you"
HOMEPAGE="
https://github.com/joke2k/faker/
https://pypi.org/project/Faker/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
RDEPEND="
>=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}]
!dev-ruby/faker
"
BDEPEND="
test? (
dev-python/freezegun[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP},tiff]
dev-python/validators[${PYTHON_USEDEP}]
)
"
# note: tests are flaky with xdist
distutils_enable_tests pytest
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local -x PYTEST_PLUGINS=faker.contrib.pytest.plugin
epytest
epytest --exclusive-faker-session tests/pytest/session_overrides
}
-1
View File
@@ -1,4 +1,3 @@
DIST faker-29.0.0.tar.gz 1795098 BLAKE2B 96f6ee6166cc4dde4c6c8e1be2ac9cc1f529c5afe371cbb75c264777fdb390aa6dfaf199e6671b9f3e4658937c7fc0953aa31e548d3ea2e7ae948d8e2ced8e7c SHA512 09f46d2693b611277312cd39a5a6b7a40271c7136fd42c8a02c6d55ab10caeddb8d614db81ea76bc37879b21c6bb53297b04b7169410da7d6d183cb1406f60d9
DIST faker-30.0.0.tar.gz 1795010 BLAKE2B 01e93e39bb22db8220400d28f92ad08f4f1f971b7023cd76c6ae5b965800c6f44a0d67d22b48c4ced732b89efa8b7290e94b1a163f164c3f67d1e830174cba4e SHA512 21bd8d4d2ada7c579cad16ed019bce1187427dd1c5806bc97d055ca9e6a2477bbd2fd5861dc60bb1961ff6613fedabdff9cb59b453434fc80bbb52b336b78f89
DIST faker-30.1.0.tar.gz 1796615 BLAKE2B 448e1361fc397d13898778f32148a0ff6b13dd8ad232a29931ce08a5575986f832adb1167cff5de3a866bfdf5e8b06645bc46643f2b690e82c7d18c721fa84e4 SHA512 53828e30eeff7ffd5ce3b34dbdbe8d0b38b119f58e44dc3f0a5af47df48d8226101fa00dbb08594d03dd0369f7c6067f5f573eaf329133b3a7fdc3846f0e3780
DIST faker-30.3.0.tar.gz 1797350 BLAKE2B 3c8da599ea115637687d168acc299803844ec42d645ea6485f80911becdde4c0e93a1a065f831048651f1c749c74d05f57eb978ddb95f229f58d194710b3fbf8 SHA512 843d7b46ad5585b715a73a831f8f5fb912f545dcec1d12fbf2296278feb8b0838aad613df8f39b1c515657e617737795ce5775eba89d0d4e645325dc2f50b0ad
-1
View File
@@ -1,2 +1 @@
DIST alembic-1.13.2.tar.gz 1206463 BLAKE2B edff3a244fa37556cd656e60940d94e7df75b6c67aa4199b673851b5b06e84dbf51e53f2ac9781465aa923c0019fcd33a9c3b4da90d64f583956e390ca1f5fa7 SHA512 c4952123ba00403bb030606c736dab8d5494b01662d02914fb0d10d0c1d99b27a97cc4a800cdfa32d53870031c46e351f97815e337c71f3a0a824b6403bd75cf
DIST alembic-1.13.3.tar.gz 1921223 BLAKE2B 25f0dcc806e5988e54f2557bce31bdb50ff94ea6a312fa71a82f61114b4b34a5a2b8003c8174d77a4e202c60d84f8cad4b61c048b093e2159a6dd85ca8f38ce1 SHA512 5661098833a4314484a6e7ea4cdea9755ed84982eaa914972265943c8b62e17d5a2831d323d238c4a37d71de61251388d43f5b419e2c592753f6bdc5fc463563
-47
View File
@@ -1,47 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="Database migrations tool, written by the author of SQLAlchemy"
HOMEPAGE="
https://github.com/sqlalchemy/alembic/
https://pypi.org/project/alembic/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm64 ~riscv x86"
IUSE="doc"
RDEPEND="
>=dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}]
dev-python/mako[${PYTHON_USEDEP}]
>=dev-python/python-editor-0.3[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
sys-libs/timezone-data
)
"
EPYTEST_XDIST=1
distutils_enable_tests pytest
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
# setup.cfg contains -p no:warnings in addopts which triggers
# datetime.utcfromtimestamp() deprecation warning as an error in py3.12
epytest -o addopts=
}
python_install_all() {
use doc && local HTML_DOCS=( docs/. )
distutils-r1_python_install_all
}
-2
View File
@@ -1,3 +1 @@
DIST anyio-4.4.0.tar.gz 163930 BLAKE2B a37b8bc05e43cf1a4bc3f15ab399c78c7a76235942d776848307b189898973e46ddfb553bd20da154dc740d8b8bb93050ac460e56607b686bc2936c5a1e09332 SHA512 db8ad7a4faf257269de9975c3a6325023a95255a8bfe1a9642221080f44a2487160f3c0e8b220d637816e9eb3641550393a3c80b23bddafc33fd9ebe9a23b33d
DIST anyio-4.5.0.tar.gz 169376 BLAKE2B be8b68729b9ad3c6ff39844617ebabf2b36facee5b1e4cbc9933fb6315a70daec785d2aebab9dc29d387987bee20bc6bf56f3befa9a997a4caa2ef9d7dffcc23 SHA512 12dbcc59888c555381589a820713c636f0f1a09d7999746ce5fbbdaa9a4cad5644510d036287d202db617ee16d59231a8edc824b003056bad22a189b5863c6f5
DIST anyio-4.6.0.tar.gz 170983 BLAKE2B 686cb9b622cba29d02fe6e440502de80c159dc40547124aed79eb7558fe147fa62f378745c2aa5487ca1ea7c24e1f3c6167f8343236dbb7e0876d95f741c46ec SHA512 4828198d3e2b2924b3490c305dcaddc14b5746b29a0cb36f75913f897254fed0ac46e075a3c04bf164a7d4d597b0dcdd991fe5cb26ffce477d029db7ff924f38
-87
View File
@@ -1,87 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="Compatibility layer for multiple asynchronous event loop implementations"
HOMEPAGE="
https://github.com/agronholm/anyio/
https://pypi.org/project/anyio/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]
>=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
>=dev-python/exceptiongroup-1.2.0[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.1[${PYTHON_USEDEP}]
' 3.10)
"
# On amd64, let's get more test coverage by dragging in uvloop, but let's
# not bother on other arches where uvloop may not be supported.
BDEPEND="
>=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}]
test? (
>=dev-python/exceptiongroup-1.2.0[${PYTHON_USEDEP}]
>=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
>=dev-python/psutil-5.9[${PYTHON_USEDEP}]
>=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
dev-python/trustme[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
>=dev-python/trio-0.23[${PYTHON_USEDEP}]
' 3.{10..13})
amd64? (
$(python_gen_cond_dep '
>=dev-python/uvloop-0.17[${PYTHON_USEDEP}]
' python3_{10..12})
)
)
"
distutils_enable_tests pytest
distutils_enable_sphinx docs \
'>=dev-python/sphinx-rtd-theme-1.2.2' \
dev-python/sphinxcontrib-jquery \
dev-python/sphinx-autodoc-typehints
PATCHES=(
# https://github.com/agronholm/anyio/pull/740
"${FILESDIR}/${P}-py313.patch"
)
python_test() {
local EPYTEST_DESELECT=(
# requires link-local IPv6 interface
tests/test_sockets.py::TestTCPListener::test_bind_link_local
)
local filter=()
if ! has_version ">=dev-python/trio-0.23[${PYTHON_USEDEP}]"; then
filter+=( -k "not trio" )
EPYTEST_DESELECT+=(
tests/test_pytest_plugin.py::test_plugin
tests/test_pytest_plugin.py::test_autouse_async_fixture
tests/test_pytest_plugin.py::test_cancel_scope_in_asyncgen_fixture
)
fi
case ${EPYTHON} in
python3.13)
EPYTEST_DESELECT+=(
'tests/test_fileio.py::TestPath::test_properties[asyncio]'
)
;;
esac
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -m 'not network' "${filter[@]}"
}
-74
View File
@@ -1,74 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="Compatibility layer for multiple asynchronous event loop implementations"
HOMEPAGE="
https://github.com/agronholm/anyio/
https://pypi.org/project/anyio/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]
>=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
>=dev-python/exceptiongroup-1.2.0[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.1[${PYTHON_USEDEP}]
' 3.10)
"
# On amd64, let's get more test coverage by dragging in uvloop, but let's
# not bother on other arches where uvloop may not be supported.
BDEPEND="
>=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}]
test? (
>=dev-python/exceptiongroup-1.2.0[${PYTHON_USEDEP}]
>=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
>=dev-python/psutil-5.9[${PYTHON_USEDEP}]
>=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
dev-python/trustme[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
>=dev-python/trio-0.26.1[${PYTHON_USEDEP}]
' 3.{10..13})
amd64? (
$(python_gen_cond_dep '
>=dev-python/uvloop-0.21.0_beta1[${PYTHON_USEDEP}]
' python3_{10..13})
)
)
"
distutils_enable_tests pytest
distutils_enable_sphinx docs \
'>=dev-python/sphinx-rtd-theme-1.2.2' \
dev-python/sphinxcontrib-jquery \
dev-python/sphinx-autodoc-typehints
python_test() {
local EPYTEST_DESELECT=(
# requires link-local IPv6 interface
tests/test_sockets.py::TestTCPListener::test_bind_link_local
)
local filter=()
if ! has_version ">=dev-python/trio-0.26.1[${PYTHON_USEDEP}]"; then
filter+=( -k "not trio" )
EPYTEST_DESELECT+=(
tests/test_pytest_plugin.py::test_plugin
tests/test_pytest_plugin.py::test_autouse_async_fixture
tests/test_pytest_plugin.py::test_cancel_scope_in_asyncgen_fixture
)
fi
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -m 'not network' "${filter[@]}"
}
@@ -1,90 +0,0 @@
From 8a4d651610abb71da66cef58f350788eab6b0bd1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Alex=20Gr=C3=B6nholm?= <alex.gronholm@nextday.fi>
Date: Tue, 28 May 2024 01:00:49 +0300
Subject: [PATCH 1/3] Added missing Path properties from Python 3.13
Fixes #737.
---
src/anyio/_core/_fileio.py | 24 ++++++++++++++++++++++--
tests/test_fileio.py | 18 ++++++++++++++++++
4 files changed, 47 insertions(+), 4 deletions(-)
diff --git a/src/anyio/_core/_fileio.py b/src/anyio/_core/_fileio.py
index df2057fe..8053dce5 100644
--- a/src/anyio/_core/_fileio.py
+++ b/src/anyio/_core/_fileio.py
@@ -358,8 +358,28 @@ def as_posix(self) -> str:
def as_uri(self) -> str:
return self._path.as_uri()
- def match(self, path_pattern: str) -> bool:
- return self._path.match(path_pattern)
+ if sys.version_info >= (3, 13):
+ parser = pathlib.Path.parser # type: ignore[attr-defined]
+
+ @classmethod
+ def from_uri(cls, uri: str) -> Path:
+ return Path(pathlib.Path.from_uri(uri)) # type: ignore[attr-defined]
+
+ def full_match(
+ self, path_pattern: str, *, case_sensitive: bool | None = None
+ ) -> bool:
+ return self._path.full_match( # type: ignore[attr-defined]
+ path_pattern, case_sensitive=case_sensitive
+ )
+
+ def match(
+ self, path_pattern: str, *, case_sensitive: bool | None = None
+ ) -> bool:
+ return self._path.match(path_pattern, case_sensitive=case_sensitive)
+ else:
+
+ def match(self, path_pattern: str) -> bool:
+ return self._path.match(path_pattern)
def is_relative_to(self, other: str | PathLike[str]) -> bool:
try:
diff --git a/tests/test_fileio.py b/tests/test_fileio.py
index bcd7fe1d..ff9178e0 100644
--- a/tests/test_fileio.py
+++ b/tests/test_fileio.py
@@ -186,6 +186,15 @@ def test_as_uri(self) -> None:
else:
assert Path("/foo/bar").as_uri() == "file:///foo/bar"
+ @pytest.mark.skipif(
+ sys.version_info < (3, 13),
+ reason="Path.from_uri() is only available on Python 3.13+",
+ )
+ def test_from_uri(self) -> None:
+ path = Path.from_uri("file:///foo/bar")
+ assert isinstance(path, Path)
+ assert path.as_uri() == "file:///foo/bar"
+
async def test_cwd(self) -> None:
result = await Path.cwd()
assert isinstance(result, Path)
@@ -269,6 +278,7 @@ async def test_is_mount(self) -> None:
assert not await Path("/gfobj4ewiotj").is_mount()
assert await Path("/").is_mount()
+ @pytest.mark.filterwarnings("ignore::DeprecationWarning")
def test_is_reserved(self) -> None:
expected_result = platform.system() == "Windows"
assert Path("nul").is_reserved() == expected_result
@@ -339,6 +349,14 @@ def test_joinpath(self) -> None:
path = Path("/foo").joinpath("bar")
assert path == Path("/foo/bar")
+ @pytest.mark.skipif(
+ sys.version_info < (3, 13),
+ reason="Path.full_match() is only available on Python 3.13+",
+ )
+ def test_fullmatch(self) -> None:
+ assert Path("/foo/bar").full_match("/foo/*")
+ assert not Path("/foo/bar").full_match("/baz/*")
+
def test_match(self) -> None:
assert Path("/foo/bar").match("/foo/*")
assert not Path("/foo/bar").match("/baz/*")
+1 -1
View File
@@ -20,7 +20,7 @@ SRC_URI="
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
RDEPEND="
>=dev-python/botocore-${PV}[${PYTHON_USEDEP}]
+1 -1
View File
@@ -20,7 +20,7 @@ SRC_URI="
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
RDEPEND="
<dev-python/jmespath-2[${PYTHON_USEDEP}]
+1 -1
View File
@@ -20,7 +20,7 @@ SRC_URI="
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~loong ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~loong ~mips ppc ~ppc64 ~riscv ~s390 ~sparc x86"
IUSE="test-rust"
RDEPEND="
@@ -12,7 +12,7 @@ S=${DISTDIR}
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
RDEPEND="
!<dev-python/ensurepip-wheels-100
+1 -1
View File
@@ -22,7 +22,7 @@ SRC_URI="
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86"
IUSE="+native-extensions"
RDEPEND="
@@ -1,4 +1,3 @@
DIST google_api_python_client-2.146.0.tar.gz 11690645 BLAKE2B 850f8b5b383ab8485b4b8aef77e94a18971498b51e1689aa707997931ba908e97e590681900beec42fc0f50adcbe8488657fbf0be0d8d5c6a55dc424a49ed86c SHA512 5789e69f1d279f8e53d40348af770aa03738853ebf19cfd4e50f23dca3412ca7d360993e4e00c4f0e654c65b3dbddfc2ffca069ebb26cc13b674bd622e90ae2a
DIST google_api_python_client-2.147.0.tar.gz 11729279 BLAKE2B 319442376870b780cf9c42e6e9c7d25f5f2b4b1ecda33f3179773cb18c9c447748528e575dfd122cb5153870c7fc26900e092d24a9362deacb905fc6fa740205 SHA512 5a4abdfbaebfeee4c2ded84f19e1f5b4f888179964e76b7cc88c75b7dbe75c735d0a024f068a5fa8f0994b56671c94c60d9bd81648c123309e1c1087329b1a2f
DIST google_api_python_client-2.148.0.tar.gz 11762466 BLAKE2B b075c0379896460e0550dfee3fdc015f1a31dc3e30387a5c5e231c6f4b7ec3b922e0e4f6ad56da4c37773a03e791725679f8e29e200c4c9b08321d8dd39186e6 SHA512 3dcad3530a46095979fcdbbffa97a74e48d2fc4cff35863c65f6d0994a7e92ad884f533f41ce3744fdcb4a5fe5fd61ba04eabeeb40e9dd7a826ac9c4ccdb8a60
DIST google_api_python_client-2.149.0.tar.gz 11791789 BLAKE2B b4397d1e0a6b064b9c7aa7b4ada816a76871de089776f6aab4cc1f962171a427ecd1e4c1ba9e43455becaddd31cfa50082aa498a1443d2116f0acb678d221549 SHA512 3602a9d5f9fd5e00605a2b12114a81770662ac1ad168c65160d6c64340d8ea3f3da2765a5cc5959ef09f5b72725baa493a0686d976e3d22add49bb86b21626e7
@@ -1,50 +0,0 @@
# 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_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="Google API Client for Python"
HOMEPAGE="
https://github.com/googleapis/google-api-python-client/
https://pypi.org/project/google-api-python-client/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86"
RDEPEND="
>=dev-python/httplib2-0.15[${PYTHON_USEDEP}]
<dev-python/httplib2-1[${PYTHON_USEDEP}]
>=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}]
>=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}]
>=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}]
>=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}]
<dev-python/uritemplate-5[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pandas[${PYTHON_USEDEP}]
dev-python/parameterized[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_test() {
local EPYTEST_DESELECT=(
# require Internet access (and credentials)
tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive
tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object
tests/test_discovery.py::Universe::test_client_options_universe_configured_with_mtls
tests/test_discovery.py::Universe::test_universe_env_var_configured_with_mtls
)
epytest tests
}
-1
View File
@@ -1,3 +1,2 @@
DIST importlib_metadata-7.1.0.tar.gz 52120 BLAKE2B a43a1f0724b3197f51c055d36d31700d67b3bcae849fd648c7cd1ac158a410fdf05a27f2c7003a30e566f86ec5dcbf7cf386ebe4e0ed0a1ce2e89e280ab9e1d3 SHA512 e75db6da03c251acc690ceef6ab2b668acfcf5499032cff370a574b31a5fd7afcbf9756bc20e44e6e649767c1609c7ebb40203aa6406ec5341f27fba886d208e
DIST importlib_metadata-8.4.0.tar.gz 54320 BLAKE2B fc8912dd432e05c5ad82428f47b6265588d6b20c364321bea5ffb1653f2f9d6b2aff3d35b399d1d8237d328414bc77697bd4dcbd56611f39fd002779328c78b6 SHA512 97d904225f478bf9877a62e2d1a43dc88e2d9d74ac4488ddbdd2371066b08429d11e10a5a9bb484a93e86a01f13404b57e0350726c1c13c6cb1b2424970da2be
DIST importlib_metadata-8.5.0.tar.gz 55304 BLAKE2B 801d7edaed5a42ef5c871830286e698620cd06cde43178c1ab65a5d35f6055fdd2a02b0f14bada94704a13a6708ea3091e634548e534df2df92d942c83192c3b SHA512 86ceb3ff408705565628b71a740a9e9123eee4b49e2ad029b9ee204548a78257dfefe9756194ce660939806f75983dd4b858dacd642b40fddc4188e699ef4e19
@@ -1,51 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
EAPI=8
DISTUTILS_USE_PEP517=flit
# NB: this package extends beyond built-in importlib stuff in py3.8+
# new entry_point API not yet included in cpython release
PYTHON_COMPAT=( pypy3 python3_{10..12} )
inherit distutils-r1 pypi
DESCRIPTION="Read metadata from Python packages"
HOMEPAGE="
https://github.com/python/importlib_metadata/
https://pypi.org/project/importlib-metadata/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
RDEPEND="
dev-python/zipp[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/jaraco-test-5.4[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/pyfakefs[${PYTHON_USEDEP}]
)
"
distutils_enable_tests unittest
src_configure() {
grep -q 'build-backend = "setuptools' pyproject.toml ||
die "Upstream changed build-backend, recheck"
# write a custom pyproject.toml to ease setuptools bootstrap
cat > pyproject.toml <<-EOF || die
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "importlib_metadata"
version = "${PV}"
description = "Read metadata from Python packages"
EOF
}
-3
View File
@@ -1,4 +1 @@
DIST keyring-24.3.1.tar.gz 60454 BLAKE2B cb0a9b82163febbbd737f2f25353bf96cbb7b8a87c7db00523960b3fce5595c6af65bc02b7d070b0fa5a466fc53530975de8f7a44ab9a9f783d2db34b1a67901 SHA512 53f26763175c7f1de041d8805062696ef3ef6c79792cdc75ae72621da8e729ac4cbb6e76937db2a0a5ce4bc41ab92c164d62e4627f92edab8c0d0fc02ca4980e
DIST keyring-25.3.0.tar.gz 61495 BLAKE2B 3286c2de8a2113ccdace88c44f40adfebcd42d08cdcc314a2067ea9911e63a193b68947ccce106a521cf4e54b96887db4ba06a76dece536f72af608473ec5f1a SHA512 80f3be5990f18aced25d6f75a8ca2b2033930a6bc622d44ab8732dfdf17343bfc9a19e5818dd170ce5c8a528b87f911522ed94c0237ce8fb2f39f97b6ad2ceda
DIST keyring-25.4.0.tar.gz 62307 BLAKE2B 0f1f6f72f7d844c5a45389b3c6d78459d8c308982c4e86bb7af8e524f758a1c26ad94886eb214f6318485022ee1c46df7060a2ba9d0d0163d68077efd0e2faba SHA512 ac971ab9317866cab85b9507f2b1016c6de6f8523a4c25e866ef2b06b31bd34cffd9f8dfe51c911a0ea791c80f3f40cb3493ae3d35f1ea46f74f1763ddf2f101
DIST keyring-25.4.1.tar.gz 62491 BLAKE2B 48a808185c336493d13c4839346984084881824fc94f6842f7eb4d4a1adddc9b38fe57449e77ddfbf9cb3637c15e31492e9283d2060e7a5960638c9569d83890 SHA512 19df186202220a234ab3d7b3bdb2b31ffc78ccc9c569841a96876048d65d1f7ac5573028f3e6cbf31b598001edf592fa02e19bd036af2f5af9baa7d746175ee7
-46
View File
@@ -1,46 +0,0 @@
# 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_{10..12} pypy3 )
inherit distutils-r1 pypi
DESCRIPTION="Provides access to the system keyring service"
HOMEPAGE="
https://github.com/jaraco/keyring/
https://pypi.org/project/keyring/
"
LICENSE="PSF-2"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
RDEPEND="
>=dev-python/secretstorage-3.2[${PYTHON_USEDEP}]
dev-python/jaraco-classes[${PYTHON_USEDEP}]
>=dev-python/jeepney-0.4.2[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
>=dev-python/importlib-metadata-4.11.4[${PYTHON_USEDEP}]
' 3.10 3.11)
"
BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# this test fails if importlib-metadata returns more than one
# entry, i.e. when keyring is installed already
tests/test_packaging.py::test_entry_point
)
EPYTEST_IGNORE=(
# apparently does not unlock the keyring properly
tests/backends/test_libsecret.py
# hangs
tests/backends/test_kwallet.py
)
-55
View File
@@ -1,55 +0,0 @@
# 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_{10..13} pypy3 )
inherit distutils-r1 pypi
DESCRIPTION="Provides access to the system keyring service"
HOMEPAGE="
https://github.com/jaraco/keyring/
https://pypi.org/project/keyring/
"
LICENSE="PSF-2"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
RDEPEND="
>=dev-python/secretstorage-3.2[${PYTHON_USEDEP}]
dev-python/jaraco-classes[${PYTHON_USEDEP}]
dev-python/jaraco-context[${PYTHON_USEDEP}]
dev-python/jaraco-functools[${PYTHON_USEDEP}]
>=dev-python/jeepney-0.4.2[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
>=dev-python/importlib-metadata-4.11.4[${PYTHON_USEDEP}]
' 3.10 3.11)
"
BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
test? (
dev-python/pyfakefs[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_test() {
local EPYTEST_DESELECT=(
# this test fails if importlib-metadata returns more than one
# entry, i.e. when keyring is installed already
tests/test_packaging.py::test_entry_point
)
local EPYTEST_IGNORE=(
# apparently does not unlock the keyring properly
tests/backends/test_libsecret.py
# hangs
tests/backends/test_kwallet.py
)
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -o addopts=
}
-55
View File
@@ -1,55 +0,0 @@
# 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_{10..13} pypy3 )
inherit distutils-r1 pypi
DESCRIPTION="Provides access to the system keyring service"
HOMEPAGE="
https://github.com/jaraco/keyring/
https://pypi.org/project/keyring/
"
LICENSE="PSF-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
RDEPEND="
>=dev-python/secretstorage-3.2[${PYTHON_USEDEP}]
dev-python/jaraco-classes[${PYTHON_USEDEP}]
dev-python/jaraco-context[${PYTHON_USEDEP}]
dev-python/jaraco-functools[${PYTHON_USEDEP}]
>=dev-python/jeepney-0.4.2[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
>=dev-python/importlib-metadata-4.11.4[${PYTHON_USEDEP}]
' 3.10 3.11)
"
BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
test? (
dev-python/pyfakefs[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_test() {
local EPYTEST_DESELECT=(
# this test fails if importlib-metadata returns more than one
# entry, i.e. when keyring is installed already
tests/test_packaging.py::test_entry_point
)
local EPYTEST_IGNORE=(
# apparently does not unlock the keyring properly
tests/backends/test_libsecret.py
# hangs
tests/backends/test_kwallet.py
)
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -o addopts=
}
-1
View File
@@ -1,2 +1 @@
DIST makefun-1.15.4.tar.gz 72160 BLAKE2B 361e598bf17c3e235934d65de48e638897dae9f93285269c39d97d1202506dd7e0c688b628d1811571fc259c39dbe345e8b269809c5079bf651a9ef09b681331 SHA512 eb6ed268137726ed306c7b118307ada365832d6f17a50da2804cc55708d114ad7e630ed4fdbd15a411d92ce601c4cc10d671d1ade7e270349009c10fd82618d7
DIST makefun-1.15.6.tar.gz 72583 BLAKE2B 00cee1083a5c36d70e9e480af526ab2ee4f62ddc34a2320f6adb8be96a87ea13a8eac261b715c02311fc877d8a25f0779b891c41f1eb9cd4766eb25dc37a8393 SHA512 b495d28d838989cd67a219be1d4b8f3a1b5a03aeceb76c6445074d154b1b7c65a9bbc9ae8a3ee0aa6e991a9572f43ba93ed949bfccb97dc557250e4b735f0c2a
-25
View File
@@ -1,25 +0,0 @@
# 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_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="Small library to dynamically create Python functions"
HOMEPAGE="
https://pypi.org/project/makefun/
https://github.com/smarie/python-makefun/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86"
BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
-1
View File
@@ -1,2 +1 @@
DIST opt_einsum-3.3.0.tar.gz 73951 BLAKE2B c8e39c9589bb6b89150fd5699fafd77c5ac6022f66d1b778a55dd61e606067be4b6df85972dd4078df084e34a39463f5e59d69426b0ed9152e93f93798417eea SHA512 f34c58bd3aa4a15794cfc604167c0e3175b9826da2a2449bb48ea5c3095f8215e3f990daec51e77e505a03204201694df1a09360ee51b8a4a793b9844d9c2d5e
DIST opt_einsum-3.4.0.tar.gz 63004 BLAKE2B ef9174bdcdacc5bdc2a132ee45cac4ebfb57eaf00bf23638254434fdfd9648244fea27e91fc984112b43088876b99119b174c1cc6d7dfacfa46febff1ad072c9 SHA512 1f1dda6a6994394db9ad8d48a1cd7a6200ce0c5f8aae06748a199b4e1aa70b60ad69448d3d332d97d41bd3c94420bb00a033d67b4a6b3c2373d6678fec5834a4
@@ -1,34 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi
DESCRIPTION="Optimized Einsum: A tensor contraction order optimizer"
HOMEPAGE="
https://github.com/dgasmith/opt_einsum/
https://pypi.org/project/opt-einsum/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm64 x86"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/versioneer[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
src_prepare() {
# ancient, broken version
rm versioneer.py || die
distutils-r1_src_prepare
}
-2
View File
@@ -1,3 +1 @@
DIST python-phonenumbers-8.13.45.gh.tar.gz 4913395 BLAKE2B 78cf1a38dba34f4c989b39b676fcb0e78369a41cb7882fe59e48b9c36af9471082153a194ba75b72e7b25515eb0bcb7749eb0af78175f49c2933e17efc13c263 SHA512 28abdd0ae5f28b38c5279a850ee36812ddcd8eed6f57c9f1e816406c25896e6fdc547d7802ddd4b97a9253c3962946a8c17aa4c96e6a62823a9ae80c74a16024
DIST python-phonenumbers-8.13.46.gh.tar.gz 4913455 BLAKE2B 1310c5e2c58d1f16c7df4d2e4beb4b9754f00b7adb630691ebe1600a9b4b4ccf4ddbf86c0660daef53bae03f98a79a6856f9e10976c7c69de616f1fdd5dd5241 SHA512 36d6611196e78b02d7c77d8fe1f99f4a02b5a13d1bf5f6d1eac751988ddbd239b28081fbd2b1c582e8ff2d58e792f765070d3cbb5392a9c095faf102ce8c51fb
DIST python-phonenumbers-8.13.47.gh.tar.gz 4913983 BLAKE2B adf167f95ec4817c3adf92ffe4e0e2eab3ff99ce572023d47adc88b03e29414721ed6ed22f4029fb9e56d4f8cf8c5d9cf65e59209c6a4e5ae41e89d24df509e5 SHA512 a25ce93f79f7ec17b4dd3334b3912c8311c8ad0196e91f554c59b2f12b85f2c5936ec280bb2a5048c9ea8e274cdc632e42566153d87992db3601ddb8f93a0eaf
@@ -1,39 +0,0 @@
# 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_{10..13} )
inherit distutils-r1
MY_P=python-${P}
DESCRIPTION="Python port of Google's libphonenumber"
HOMEPAGE="
https://github.com/daviddrysdale/python-phonenumbers/
https://pypi.org/project/phonenumbers/
"
SRC_URI="
https://github.com/daviddrysdale/python-phonenumbers/archive/v${PV}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}/python
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="
test? (
dev-python/protobuf-python[${PYTHON_USEDEP}]
)
"
DOCS=( ../README.md )
python_test() {
"${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}"
}
@@ -1,39 +0,0 @@
# 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_{10..13} )
inherit distutils-r1
MY_P=python-${P}
DESCRIPTION="Python port of Google's libphonenumber"
HOMEPAGE="
https://github.com/daviddrysdale/python-phonenumbers/
https://pypi.org/project/phonenumbers/
"
SRC_URI="
https://github.com/daviddrysdale/python-phonenumbers/archive/v${PV}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}/python
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="
test? (
dev-python/protobuf-python[${PYTHON_USEDEP}]
)
"
DOCS=( ../README.md )
python_test() {
"${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}"
}
-1
View File
@@ -1,2 +1 @@
DIST pipenv-2024.0.1.gh.tar.gz 10805446 BLAKE2B d9fc964cc3a204bb45c299595c238e3d37368e53b39d8be0cdbcadcec3ca395adbb03bf7abaa7d5d729ed47443c40b908f74abbff475e4a99c7e6d4436f04ee8 SHA512 67acff8e4c40e18a60e824420752cd2e5633e50c138b64131ca19cce15e97a1e36b9e685b92fed7378eeccce8154d3d36701134854d60b0fbc47e341b18f945e
DIST pipenv-2024.0.2.gh.tar.gz 10812462 BLAKE2B 450c8027b2720188edf284a2644a705a3004ee481553871781d8906f415af56ef87d6cdb5ebb00df96bd36fd4dce8dad29cfc2480d9afe3be6ed6891458c188d SHA512 a414727d6ce5a1af565870cb75dfd57731a0513b97c818f304654867b87cf3d89e857fed45a898d19acc37d272d32897f838328fcd7b780fb4ba3e235c77bbb5
-124
View File
@@ -1,124 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{10..12} )
inherit distutils-r1 multiprocessing
MY_PV=${PV/_beta/b}
DESCRIPTION="Python Development Workflow for Humans"
HOMEPAGE="https://github.com/pypa/pipenv https://pypi.org/project/pipenv/"
SRC_URI="https://github.com/pypa/pipenv/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}"/${PN}-${MY_PV}
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~riscv"
PATCHES=(
"${FILESDIR}/pipenv-2023.9.8-inject-system-packages.patch"
"${FILESDIR}/pipenv-2023.9.8-append-always-install-to-pip-extra-args.patch"
)
RDEPEND="
dev-python/click[${PYTHON_USEDEP}]
dev-python/click-didyoumean[${PYTHON_USEDEP}]
>=dev-python/colorama-0.4.4[${PYTHON_USEDEP}]
dev-python/dparse[${PYTHON_USEDEP}]
>=dev-python/markupsafe-2.0.1[${PYTHON_USEDEP}]
>=dev-python/pexpect-4.8.0[${PYTHON_USEDEP}]
~dev-python/pipdeptree-2.18.1[${PYTHON_USEDEP}]
~dev-python/plette-0.4.4[${PYTHON_USEDEP}]
>=dev-python/ptyprocess-0.7.0[${PYTHON_USEDEP}]
dev-python/pyparsing[${PYTHON_USEDEP}]
~dev-python/pythonfinder-2.1.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep ' dev-python/tomli[${PYTHON_USEDEP}] ' python3_{9..10})
>=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}]
>=dev-python/python-dotenv-0.21.0[${PYTHON_USEDEP}]
~dev-python/importlib-metadata-8.4.0[${PYTHON_USEDEP}]
>=dev-python/virtualenv-20.0.35[${PYTHON_USEDEP}]
>=dev-python/requests-2.26.0[${PYTHON_USEDEP}]
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
dev-python/shellingham[${PYTHON_USEDEP}]
dev-python/tomli[${PYTHON_USEDEP}]
dev-python/tomlkit[${PYTHON_USEDEP}]
"
BDEPEND="
${RDEPEND}
test? (
dev-python/flaky[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
# IMPORTANT: The following sed command patches the vendor direcotry
# in the pipenv source. Attempts to simply bump the version of the
# package without checking that it works is likely to fail
# The vendored packages should eventually all be removed
# see: https://bugs.gentoo.org/717666
src_prepare() {
sed --in-place -e "s/import click, plette, tomlkit/import click\n\import tomlkit\nfrom pipenv.vendor import plette/g" pipenv/project.py || die "Failed patching pipenv/project.py"
local pkgName
local jobs=$(makeopts_jobs)
local packages=( cerberus colorama click click_didyoumean dotenv dparse markupsafe \
pexpect pep517 pipdeptree plette ptyprocess pydantic pyparsing pythonfinder \
requests urllib3 shellingham tomli tomlkit importlib_metadata )
for pkgName in ${packages[@]}; do
find ./ -type f -print0 | \
xargs --max-procs="${jobs}" --null \
sed --in-place \
-e "s/from pipenv.vendor import ${pkgName}/import ${pkgName}/g" \
-e "s/from pipenv.vendor.${pkgName}\(.*\) import \(\w*\)/from ${pkgName}\1 import \2/g"\
-e "s/import pipenv.vendor.${pkgName} as ${pkgName}/import ${pkgName}/g" \
-e "s/from .vendor import ${pkgName}/import ${pkgName}/g" \
-e "s/from .vendor.${pkgName}/from ${pkgName}/g" || die "Failed to sed for ${pkgName}"
done
distutils-r1_src_prepare
# remove vendored versions
for pkgName in ${packages[@]}; do
find ./pipenv/vendor -regextype posix-extended -regex ".*${pkgName}$" -prune -exec rm -rvf {} + || die
# package names can be foo-bar, their module will be however foo_bar
find ./pipenv/vendor -regextype posix-extended -regex ".*${pkgName/_/-}" -prune -exec rm -rvf {} + || die
done
find ./pipenv/vendor -regextype posix-extended -regex '.*cached[_-]property.*' -prune -exec rm -rvf {} + || die
find ./ -type f -print0 | \
xargs --max-procs="${jobs}" --null \
sed --in-place \
-e "s/from pipenv\.vendor import plette, toml, tomlkit, vistir/from pipenv\.vendor import plette, toml, vistir\\nimport tomlkit/g"
# remove python ruaml yaml
sed --in-place -e \
"s/from pipenv\.vendor\.ruamel\.yaml import YAML/from ruamel\.yaml import YAML/g" \
pipenv/patched/safety/util.py || die "Failed sed in ruaml-yaml"
sed --in-place -e \
"s/from pipenv\.vendor\.ruamel\.yaml\.error import MarkedYAMLError/from ruamel\.yaml\.error import MarkedYAMLError/g" \
pipenv/patched/safety/util.py || die "Failed sed in ruamel-yaml"
rm -vR pipenv/vendor/ruamel || die "Failed removing ruamel-yaml from vendor"
for fname in Makefile README.md ruamel.*.LICENSE vendor.txt; do
rm -v pipenv/vendor/$fname || die "Failed removing pipenv/vendor/${fname}"
done
sed --in-place -e "s/pipenv.vendor.pythonfinder.utils.get_python_version/pythonfinder.utils.get_python_version/g" tests/unit/test_utils.py || die "Failed patching tests"
rm -Rfv pipenv/vendor || die "Could not vendor"
rm -Rfv examples || die "Could not remove examples"
rm -Rfv docs || die "Could not remove docs"
}
python_test() {
epytest -m "not cli and not needs_internet" tests/unit/
}
-124
View File
@@ -1,124 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{10..12} )
inherit distutils-r1 multiprocessing
MY_PV=${PV/_beta/b}
DESCRIPTION="Python Development Workflow for Humans"
HOMEPAGE="https://github.com/pypa/pipenv https://pypi.org/project/pipenv/"
SRC_URI="https://github.com/pypa/pipenv/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}"/${PN}-${MY_PV}
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~riscv"
PATCHES=(
"${FILESDIR}/pipenv-2023.9.8-inject-system-packages.patch"
"${FILESDIR}/pipenv-2023.9.8-append-always-install-to-pip-extra-args.patch"
)
RDEPEND="
dev-python/click[${PYTHON_USEDEP}]
dev-python/click-didyoumean[${PYTHON_USEDEP}]
>=dev-python/colorama-0.4.4[${PYTHON_USEDEP}]
dev-python/dparse[${PYTHON_USEDEP}]
>=dev-python/markupsafe-2.0.1[${PYTHON_USEDEP}]
>=dev-python/pexpect-4.8.0[${PYTHON_USEDEP}]
~dev-python/pipdeptree-2.18.1[${PYTHON_USEDEP}]
~dev-python/plette-0.4.4[${PYTHON_USEDEP}]
>=dev-python/ptyprocess-0.7.0[${PYTHON_USEDEP}]
dev-python/pyparsing[${PYTHON_USEDEP}]
~dev-python/pythonfinder-2.1.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep ' dev-python/tomli[${PYTHON_USEDEP}] ' python3_{9..10})
>=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}]
>=dev-python/python-dotenv-0.21.0[${PYTHON_USEDEP}]
~dev-python/importlib-metadata-7.1.0[${PYTHON_USEDEP}]
>=dev-python/virtualenv-20.0.35[${PYTHON_USEDEP}]
>=dev-python/requests-2.26.0[${PYTHON_USEDEP}]
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
dev-python/shellingham[${PYTHON_USEDEP}]
dev-python/tomli[${PYTHON_USEDEP}]
dev-python/tomlkit[${PYTHON_USEDEP}]
"
BDEPEND="
${RDEPEND}
test? (
dev-python/flaky[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
# IMPORTANT: The following sed command patches the vendor direcotry
# in the pipenv source. Attempts to simply bump the version of the
# package without checking that it works is likely to fail
# The vendored packages should eventually all be removed
# see: https://bugs.gentoo.org/717666
src_prepare() {
sed --in-place -e "s/import click, plette, tomlkit/import click\n\import tomlkit\nfrom pipenv.vendor import plette/g" pipenv/project.py || die "Failed patching pipenv/project.py"
local pkgName
local jobs=$(makeopts_jobs)
local packages=( cerberus colorama click click_didyoumean dotenv dparse markupsafe \
pexpect pep517 pipdeptree plette ptyprocess pydantic pyparsing pythonfinder \
requests urllib3 shellingham tomli tomlkit importlib_metadata )
for pkgName in ${packages[@]}; do
find ./ -type f -print0 | \
xargs --max-procs="${jobs}" --null \
sed --in-place \
-e "s/from pipenv.vendor import ${pkgName}/import ${pkgName}/g" \
-e "s/from pipenv.vendor.${pkgName}\(.*\) import \(\w*\)/from ${pkgName}\1 import \2/g"\
-e "s/import pipenv.vendor.${pkgName} as ${pkgName}/import ${pkgName}/g" \
-e "s/from .vendor import ${pkgName}/import ${pkgName}/g" \
-e "s/from .vendor.${pkgName}/from ${pkgName}/g" || die "Failed to sed for ${pkgName}"
done
distutils-r1_src_prepare
# remove vendored versions
for pkgName in ${packages[@]}; do
find ./pipenv/vendor -regextype posix-extended -regex ".*${pkgName}$" -prune -exec rm -rvf {} + || die
# package names can be foo-bar, their module will be however foo_bar
find ./pipenv/vendor -regextype posix-extended -regex ".*${pkgName/_/-}" -prune -exec rm -rvf {} + || die
done
find ./pipenv/vendor -regextype posix-extended -regex '.*cached[_-]property.*' -prune -exec rm -rvf {} + || die
find ./ -type f -print0 | \
xargs --max-procs="${jobs}" --null \
sed --in-place \
-e "s/from pipenv\.vendor import plette, toml, tomlkit, vistir/from pipenv\.vendor import plette, toml, vistir\\nimport tomlkit/g"
# remove python ruaml yaml
sed --in-place -e \
"s/from pipenv\.vendor\.ruamel\.yaml import YAML/from ruamel\.yaml import YAML/g" \
pipenv/patched/safety/util.py || die "Failed sed in ruaml-yaml"
sed --in-place -e \
"s/from pipenv\.vendor\.ruamel\.yaml\.error import MarkedYAMLError/from ruamel\.yaml\.error import MarkedYAMLError/g" \
pipenv/patched/safety/util.py || die "Failed sed in ruamel-yaml"
rm -vR pipenv/vendor/ruamel || die "Failed removing ruamel-yaml from vendor"
for fname in Makefile README.md ruamel.*.LICENSE vendor.txt; do
rm -v pipenv/vendor/$fname || die "Failed removing pipenv/vendor/${fname}"
done
sed --in-place -e "s/pipenv.vendor.pythonfinder.utils.get_python_version/pythonfinder.utils.get_python_version/g" tests/unit/test_utils.py || die "Failed patching tests"
rm -Rfv pipenv/vendor || die "Could not vendor"
rm -Rfv examples || die "Could not remove examples"
rm -Rfv docs || die "Could not remove docs"
}
python_test() {
epytest -m "not cli and not needs_internet" tests/unit/
}
-2
View File
@@ -1,4 +1,2 @@
DIST plette-0.4.4.gh.tar.gz 36359 BLAKE2B dc630b9e98db9a8f6047fe0bb31c2ab29d695745b59d457c9cac218922c0d578a474f80ddc419364fb8ef92c5952c5cea33ee571cce2d698015466edb738885a SHA512 c4342ce040966730d2eba638c718c1db9340051baa89238b99e64cf8ef734fe448f0aaeae224e9f6b51c9e38458e9caeb2c8d6abbd5db76249529aaee90ed5c0
DIST plette-1.0.0.gh.tar.gz 54297 BLAKE2B 7ade29df8bfc20d5c98f5f3290acea2f5e884f71b13c0950373f41240de54f3ea672d16c0557fef2e1be25aef0da68d4a7449ebea2f206d92901d7f11f6cc2bb SHA512 72a3f270f76dbf32cb418628f1b24046111a46633603b07fd44fd4ed50d946653afaec070bce8e67a1ecff3ec8607f2476d3b25760c76726218873898bef97ed
DIST plette-2.0.2.tar.gz 12905 BLAKE2B 48d8e50b24a2b61a12f798467ed443a7a043bd6efca7cb99ce35e5e05edb44af327e3a2e5bdfde0e6db4a4be527ab668edd6433c195fe4f72975170bcb6acbed SHA512 9f273af721b29b81ef8921fa9bf42856711242cef04372c5e1c632e907d889554beeb4d85c47cc9f2003984004dfa97a239643d9307389be9a6710dec26b5b28
DIST plette-2.1.0.tar.gz 12908 BLAKE2B 7e710826374f12317d93cd7410006059ecffe82095ecb05f5e30d3b1db56802ce44fb31ac5ef9fd6c6a1a83578cd69ae87c324a470a532557eed69f8c73923ba SHA512 ce75385d958be6c0adc0e11a8431484a91eb7b7e237218b37e073411551813bfbad4872fe6f1b3d5980f9da5f0465c66de4e19646d11716079a6be67b2c138a5
-31
View File
@@ -1,31 +0,0 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{10..12} )
inherit distutils-r1 pypi
DESCRIPTION="Structured Pipfile and Pipfile.lock models"
HOMEPAGE="
https://github.com/sarugaku/plette/
https://pypi.org/project/plette/
"
# pypi tarballs are missing test data
SRC_URI="
https://github.com/sarugaku/${PN}/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~riscv"
RDEPEND="
dev-python/cerberus[${PYTHON_USEDEP}]
dev-python/tomlkit[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
-26
View File
@@ -1,26 +0,0 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="Structured Pipfile and Pipfile.lock models"
HOMEPAGE="
https://github.com/sarugaku/plette/
https://pypi.org/project/plette/
"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~riscv"
RDEPEND="
dev-python/cerberus[${PYTHON_USEDEP}]
dev-python/tomlkit[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
-1
View File
@@ -1,2 +1 @@
DIST prometheus_client-0.20.0.tar.gz 78278 BLAKE2B ae7dea79a2c4f7b6870da9f749e9be09c353e062e744beb98538eba45d0394ef2ce5b99a696e40620b38ea228711dff30a2a571d09d7e1b4a3d75ca713938f92 SHA512 9e5aed628b052790af8954eee7914b6480226368229bb0dade2f8c3f88ab04971d2a8a55558fd7dbb125894f30cea56363cc670deb0aa6822f31562437031fb2
DIST prometheus_client-0.21.0.tar.gz 78634 BLAKE2B 878c6b3948ebb45fced9ceb24ef5ebb07b2538117712dc2b0a6365282fa1bd0e732f5c79bf496aa54386cc42ced458202b1537c6706e3906a6c48d71a3709437 SHA512 ad86e7d7eb1919bda77c5fe80e800721c6d93f8b849955903ec346c2c6d35130f7e179b470c261aba3d8aa2f2cb10c43dcc5e8c06024dcd79fac5818b87f76c5
@@ -1,35 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="Python client for the Prometheus monitoring system"
HOMEPAGE="
https://github.com/prometheus/client_python/
https://pypi.org/project/prometheus-client/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
RDEPEND="
dev-python/twisted[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
python_test() {
local EPYTEST_IGNORE=(
# optional tests, broken with >=dev-python/asgiref-3.8
tests/test_asgi.py
)
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest
}
-1
View File
@@ -1,2 +1 @@
DIST prompt_toolkit-3.0.47.tar.gz 425859 BLAKE2B fa12151c48126c971b2dc468a6e1de4ede49ade08f637e9c02d2284f74f07cbcf4d3167447e616af3385eef0355f8928bfc50632f0cf61138320d7e75777c07e SHA512 c27dc03929f0bd373e41bf70e19f82f97c8f0a6308e51e079e89d6233f1e638c34703cc056fe8c86cc9b63f91b5d345c28ce0e418f79f6e450ca06bcda5820fd
DIST prompt_toolkit-3.0.48.tar.gz 424684 BLAKE2B 2b22cebfaf66c07bf9e2ba2677be4c36436c0b5679e01cf39b7335f1898e33f7bb5b4f3a147a39feca37bd3921b8cbe8db98c948d2819c0e7269cca5e2b71d26 SHA512 f999c0d6df94a1a640d735e4b6f4bebd496693b8ae7267c4a8561c726a8148f937781b07f8e76a045ac0b90fa1d98fb767c153c3a96e25bc5e610c873f8e76c3
@@ -1,30 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="Building powerful interactive command lines in Python"
HOMEPAGE="
https://pypi.org/project/prompt-toolkit/
https://github.com/prompt-toolkit/python-prompt-toolkit/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos"
RDEPEND="
dev-python/wcwidth[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
EPYTEST_IGNORE=(
# requires tree-sitter-languages
src/prompt_toolkit/lexers/tree_sitter_test.py
)
-4
View File
@@ -1,6 +1,2 @@
DIST pyproject_metadata-0.8.0.tar.gz 14862 BLAKE2B 03c9a7fc9c53c56b27ea5c72789db10aa045d239c81bf30e926c0ed44d6b61028a27c4dbe02a40eb4ae7ce4a93efb24c63dd4b66f2e98f185fc68d96e96c350a SHA512 e3ec79bcb066fd952a7e88b62534775746b20a52b9952a303e80466c465e394264b8984ca30a1461cd8437334ae7b1a299be7d8036e99e3dcf59828d70650442
DIST pyproject_metadata-0.8.1.tar.gz 15404 BLAKE2B 1f2ab911043b0511b2e13e78d1e208643a3d29d4b7152d305d432827d32402f0ae944e74eadc41faff7d641c642dfbc4482ce3c8aad6dfae385ff6c7df465465 SHA512 a9677d7d8d6004a86c92d3eb44c37494e2a4709c1ffcaad444d0f0e573ae56c753e6ec27efab6def03f89c357db7966f7dc9a819bf2cab02af2ee8718e7b5a39
DIST pyproject_metadata-0.9.0b4.tar.gz 21975 BLAKE2B c80494dcb30bc40c5b64522a79343151750324907382448fedc449830ef14ea9cd74a2fb4a8ce663a95052b91b04354b736274d7149eb116862bd4757b6b9a09 SHA512 f8e023a88fe60278924fd839c69b3c9def8707c5a619aa24898677b9d1aec79c8b4513dbcbbb80a610dc033621ead8bc23840c921836d1e35d3d0605874be757
DIST pyproject_metadata-0.9.0b5.tar.gz 26016 BLAKE2B 63586f314884f7b088abe9602582131aa45808a624006d508c234c801ada9eb117d42e29f4e3db4e73cc6fcc69e3f3b9f6469749e4614568e6bc25cbe7b36acb SHA512 5e9603d6b826ad52c2490afa107fd22ab8b78fc5e7f3dc220822df69a34f6845ee35c7cf167029250fedf62dea8162203579bcb879e182183485bfaacdc3bb50
DIST pyproject_metadata-0.9.0b6.tar.gz 28932 BLAKE2B f82d1df56056f340a46a11a3a7a293a30b78d5067f52c4308f1e011b281e76fa2c8a191009687961acb808ead1248a90bcdee178ddd23c0571342782734d30ae SHA512 a2aa62e01022b018dc94deb72df6636c036f1484d608455a4751c80543ed91bb62c8f49e1121c0da2e11f85d71ffab3f098afb1e7fdf69b5d6fb834cd7a98d15
DIST pyproject_metadata-0.9.0b7.tar.gz 31008 BLAKE2B 4935b537503b548d17934d2b9addec271e03766401860713382e2acced74a3bf30539bce506ade44e3a622c05104c7efa43058163748fd81e22852c6e47a1f3b SHA512 ef16c5662d8bb927760ea0a33b52fa2ea2fb60cb35a5a45854fa1f2596c4cdd4dec458dc2aa90b0edbf5f745989774528ad57b41fef0e271a097ddc21622405c
@@ -1,32 +0,0 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{10..13} pypy3 )
inherit distutils-r1 pypi
DESCRIPTION="PEP 621 metadata parsing"
HOMEPAGE="
https://github.com/pypa/pyproject-metadata/
https://pypi.org/project/pyproject-metadata/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos"
RDEPEND="
>=dev-python/packaging-19[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
$(python_gen_cond_dep '
>=dev-python/tomli-1.0.0[${PYTHON_USEDEP}]
' 3.10)
)
"
distutils_enable_tests pytest
@@ -1,32 +0,0 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{10..13} pypy3 )
inherit distutils-r1 pypi
DESCRIPTION="PEP 621 metadata parsing"
HOMEPAGE="
https://github.com/pypa/pyproject-metadata/
https://pypi.org/project/pyproject-metadata/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
RDEPEND="
>=dev-python/packaging-19[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
$(python_gen_cond_dep '
>=dev-python/tomli-1.0.0[${PYTHON_USEDEP}]
' 3.10)
)
"
distutils_enable_tests pytest
@@ -1,32 +0,0 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{10..13} pypy3 )
inherit distutils-r1 pypi
DESCRIPTION="PEP 621 metadata parsing"
HOMEPAGE="
https://github.com/pypa/pyproject-metadata/
https://pypi.org/project/pyproject-metadata/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
RDEPEND="
>=dev-python/packaging-19[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
$(python_gen_cond_dep '
>=dev-python/tomli-1.0.0[${PYTHON_USEDEP}]
' 3.10)
)
"
distutils_enable_tests pytest
@@ -1,32 +0,0 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{10..13} pypy3 )
inherit distutils-r1 pypi
DESCRIPTION="PEP 621 metadata parsing"
HOMEPAGE="
https://github.com/pypa/pyproject-metadata/
https://pypi.org/project/pyproject-metadata/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
RDEPEND="
>=dev-python/packaging-19[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
$(python_gen_cond_dep '
>=dev-python/tomli-1.0.0[${PYTHON_USEDEP}]
' 3.10)
)
"
distutils_enable_tests pytest
-1
View File
@@ -1,2 +1 @@
DIST pytest-bdd-7.2.0.gh.tar.gz 81301 BLAKE2B e47ec5873546596e913453f86d7c0654b8212de74b0bfa46022da093fa87191c9303559ec670bd37f94e282973192596c77a1f7293a608ae8dedbd863fc245c2 SHA512 d0991feb446f264f0f114693dccb67682a10a427cb5fda28dccafd67cc37810e00c34e3235bb38d02b7fa1edabf1359c6c119be9cfdce0ccf00235ca3dde337b
DIST pytest-bdd-7.3.0.gh.tar.gz 81595 BLAKE2B 80c5323ba3c50fae17bb57ec26b968ca7d7b673d2aeb2716dee02e3543916ca8b5752d9af56d3d250f3a4b0a857a3dc760de615f0650eaf379380fb24a5b7c2a SHA512 e7c309552714a77d47e437a825e661dbf201a6945e84f4b611b5c3da3d0b4ceb535bde4809fc9633b82a74e2b52cc69c7e14b27a27032c7e4400727498442e29
@@ -1,43 +0,0 @@
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1
DESCRIPTION="BDD library for the pytest runner"
HOMEPAGE="https://pytest-bdd.readthedocs.io/"
SRC_URI="
https://github.com/pytest-dev/pytest-bdd/archive/refs/tags/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm64 ~x86"
RDEPEND="
dev-python/mako[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/parse[${PYTHON_USEDEP}]
dev-python/parse-type[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
DOCS=( AUTHORS.rst CHANGES.rst README.rst )
src_test() {
# terminal_reporter test needs exact wrapping
local -x COLUMNS=80
# hooks output parsing may be affected by other pytest-*, e.g. tornasync
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local -x PYTEST_PLUGINS=pytest_bdd.plugin
distutils-r1_src_test
}
-1
View File
@@ -1,2 +1 @@
DIST python-bugzilla-3.2.0.tar.gz 114279 BLAKE2B 4d2d7bfaab08dfeb4334462334f23f952b43255e656b0e39eff29bfc206529062c86c79b8c83110fbc5c3970bba40663318b65e208c1b10fb04ab6fb474eeb95 SHA512 215945a0ffd637be5567839303a738a0eef74427838bf0074a5f0ab6022306f47fc0dd5c43a3513b627fb458711f38046321ee9c2c3d43b61ffc577d6dd12375
DIST python_bugzilla-3.3.0.tar.gz 120711 BLAKE2B 29b6b52c3907606ea474b2f21276fcc6ee307aec315787fe7910e2df16b8e571cff78e133326520f28574bce8d99fc2331e6341fd8fe09edbc9d61d4dcc72856 SHA512 e8e015575a4d2540e351628099642d586bfeefdc8fca0b1e2de802db4ef91b26952d84b5073ef39a6e3a54b181b1937f169c4477267f777f5a9551a5757cacbf
@@ -1,33 +0,0 @@
# Copyright 1999-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_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="A python module for interacting with Bugzilla over XMLRPC"
HOMEPAGE="
https://github.com/python-bugzilla/python-bugzilla/
https://pypi.org/project/python-bugzilla/
"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86"
RDEPEND="
|| (
dev-python/python-magic[${PYTHON_USEDEP}]
sys-apps/file[python,${PYTHON_USEDEP}]
)
dev-python/requests[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/docutils[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
-1
View File
@@ -1,3 +1,2 @@
DIST python-socks-2.5.1.gh.tar.gz 32387 BLAKE2B a0f488a146b09433bee39382ace3143a31a55d3fccd2db5e5ca6c2a08f3e17abee5839a266f8dc1b1b3ac6add7584cfba988aacba575ed5d21a464f8a2f1464f SHA512 6f2491272d201abc06a0d0a4fae242899ed28f9caeb7bea42c33946daec3280b48a956319b82a89ebeb8ea61ab9c290f9360d6ea85eb4d654525b95faa3ffce0
DIST python-socks-2.5.2.gh.tar.gz 32411 BLAKE2B 4070f7e0ff85881cec6252320a250404b1279b707719f41aa1b8bf8e8cd52c653a4a778baa4408977013e0c659f667152b902449bc32e84c4502067e240a901b SHA512 ec342b81d88192817eded048a8d6ed556ddfbb108bb945681cb33c05c4c53e39f01bac7cacb2bd1cecf907c53e49cce18d8bc237b625efa1067dd765bf648933
DIST python-socks-2.5.3.gh.tar.gz 32399 BLAKE2B 39360537311683cb4ec6d1d9850e51877ab9d5f2319d83eefbee7362af1d0061bf7fba0fea9ebc74d24b9fab3a46ba78722ca4629c783406e935758f393d8183 SHA512 fd6351adf611e019298d2885d97d4ecdf1b9c9160297621d61bc770568eb5e20652507c7590b72de11e1e7505a60326139329d979ae325cba4abc81947ad6189
@@ -1,46 +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_{10..13} pypy3 )
inherit distutils-r1
DESCRIPTION="SOCKS4, SOCKS5, HTTP tunneling functionality for Python"
HOMEPAGE="
https://github.com/romis2012/python-socks/
https://pypi.org/project/python-socks/
"
SRC_URI="
https://github.com/romis2012/python-socks/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86"
# curio is not packaged
# asyncio is the only backend we have, so dep on its deps unconditionally
# TODO: revisit
RDEPEND="
dev-python/async-timeout[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/anyio-3.4.0[${PYTHON_USEDEP}]
>=dev-python/async-timeout-3.0.1[${PYTHON_USEDEP}]
>=dev-python/flask-1.1.2[${PYTHON_USEDEP}]
>=dev-python/pytest-asyncio-0.18.3[${PYTHON_USEDEP}]
>=dev-python/pytest-trio-0.7.0[${PYTHON_USEDEP}]
>=dev-python/tiny-proxy-0.1.1[${PYTHON_USEDEP}]
>=dev-python/trio-0.16.0[${PYTHON_USEDEP}]
>=dev-python/trustme-0.9.0[${PYTHON_USEDEP}]
>=dev-python/yarl-1.4.2[${PYTHON_USEDEP}]
)
"
# Test markers exist to exclude trio etc if needed
distutils_enable_tests pytest
-1
View File
@@ -1,2 +1 @@
DIST python-utils-3.8.2.tar.gz 30431 BLAKE2B 3c53c02729f601b30e68a26cd4b61e49c29f036a1327c43124e326dae173d1b528035bb0952c349ec43f3cd6e159c2e0d5e82c8c46efd12c95f445dbb20751c0 SHA512 e0de794abe95f3e205fcbde0fd52615f44128ffb702a406ff0d3f7ce2640ff60ac3cc508829245bce750ed191c9d3ae563b8f0619af4c2c43cacde6a1aa0fde4
DIST python_utils-3.9.0.tar.gz 35352 BLAKE2B 8d247d28a1ed797d1058f6bf45469230f5fcf3f8d305e195a49229deef5d41552e07b5c2e7543223f2df608feffa6df2f57828863acc437ff9c3c2a11e797703 SHA512 fe6313b18f53a56d71a9ca9b40f7bfe61629f7c5cf0b9088adf81ed8aa78b1c5a593c59ec178ec6c87424ae0730c9cb15d6eaa1a129d871f75b67d1d4f6938bf
@@ -1,47 +0,0 @@
# Copyright 1999-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_{10..13} pypy3 )
inherit distutils-r1 pypi
DESCRIPTION="Collection of small Python functions & classes"
HOMEPAGE="
https://github.com/WoLpH/python-utils/
https://pypi.org/project/python-utils/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm64 ~x86"
RDEPEND="
dev-python/typing-extensions[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
EPYTEST_IGNORE=(
docs
_python_utils_tests/test_logger.py
python_utils/loguru.py
)
EPYTEST_DESELECT=(
# fragile
_python_utils_tests/test_time.py::test_timeout_generator
)
python_prepare_all() {
sed -i -e '/--cov/d' -e '/--mypy/d' pytest.ini || die
distutils-r1_python_prepare_all
}
+1 -1
View File
@@ -18,7 +18,7 @@ HOMEPAGE="
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86"
# all these are header-only libraries
DEPEND="
+1 -1
View File
@@ -28,7 +28,7 @@ SRC_URI+="
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
KEYWORDS="~amd64 arm ~arm64 ~loong ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="test-rust"
RDEPEND="
@@ -21,7 +21,7 @@ HOMEPAGE="
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
IUSE="test"
RESTRICT="!test? ( test )"
-1
View File
@@ -1,2 +1 @@
DIST sphinx-autoapi-3.3.1.gh.tar.gz 71304 BLAKE2B 0570a26bb22d8a2a37484e28e8d0ff6be9673a49cf8a569ea1808a0a04c6b061c740e0562de8ad351d56966c1e942624486e126f9a1adca0b6790eee2363e79e SHA512 322cba62d37d74ee5ed22787fad2959fbac0885b3066f5213fa57985ba062dfb0be7248356aef695beea371d4090bb591bf604fc0df2e3c56e835fcb6937e3dc
DIST sphinx-autoapi-3.3.2.gh.tar.gz 71874 BLAKE2B ec92e3a4d3a7b2597a7224201e7ea443dbc6408e43933a54a24fdcb4968fe4e5d295374ea310c600ecf0893a3692a5d4645eafec8bf2a12566de057193eef073 SHA512 6532655408bde105377de1d87cb2f392524935499f45b77afefcfe0fb1b04e8251dce71d338e030537469520774fb8155f91fbe747181ea721a4477fcdebfa3a
@@ -1,50 +0,0 @@
# 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_{10..13} )
inherit distutils-r1
DESCRIPTION="A new approach to API documentation in Sphinx"
HOMEPAGE="
https://sphinx-autoapi.readthedocs.io/
https://github.com/readthedocs/sphinx-autoapi/
https://pypi.org/project/sphinx-autoapi/
"
# sdist is missing docs, as of 2.1.0
SRC_URI="
https://github.com/readthedocs/sphinx-autoapi/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
RDEPEND="
>=dev-python/astroid-3.0.0[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
>=dev-python/sphinx-6.1.0[${PYTHON_USEDEP}]
"
BDEPEND+="
test? ( dev-python/beautifulsoup4[${PYTHON_USEDEP}] )
"
DOCS=( README.rst CHANGELOG.rst )
distutils_enable_tests pytest
python_test() {
local EPYTEST_DESELECT=(
# Internet
tests/python/test_pyintegration.py::TestPEP695::test_integration
tests/python/test_pyintegration.py::TestPipeUnionModule::test_integration
"tests/test_integration.py::TestExtensionErrors::test_extension_setup_errors[dotnetexample"
)
distutils-r1_python_test
}
-1
View File
@@ -1,2 +1 @@
DIST tempest-40.0.0.tar.gz 1149624 BLAKE2B e75db763090738032699c35477a5bc5d877c44aed1ed4e9fe7b878af116dc6d53dd7b64cf58be55cd3448f5ebdf8e9a44e3f4deb215f535784a33abfc79fde9d SHA512 12227d4f20045f60e56db7bc1de3e117ddbc3d4b3e30aa26239795675023b23facf15646f1c048b75f43dd9c0ba5e7d475e8ad1c483b2d0e32ef9d8d50e62dfc
DIST tempest-41.0.0.tar.gz 1151830 BLAKE2B 6c732647f49a07d1ae747a4f286779b21c1c64f046a8542cf3f067f79cc839d99fcc6eced01162f5e0415e803c8a2ee0a0e5e5ec92f1088736cff3b341874b9f SHA512 aa5065dbb7431b5cf5d93075083e74eb6c811c759f109ac9ceee7cc45240b84c091f84542a3455cf686f84e359a17f99154ec417ee7003bb01c7ef191f6dcc27
-75
View File
@@ -1,75 +0,0 @@
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 multiprocessing pypi
DESCRIPTION="OpenStack Integration Testing"
HOMEPAGE="
https://pypi.org/project/tempest/
https://docs.openstack.org/tempest/latest/
https://launchpad.net/tempest/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~riscv x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>dev-python/pbr-2.1.0[${PYTHON_USEDEP}]
>dev-python/cliff-2.9.0[${PYTHON_USEDEP}]
>=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
>=dev-python/paramiko-2.7.0[${PYTHON_USEDEP}]
>=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}]
>=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}]
>=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}]
>=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}]
>=dev-python/oslo-utils-4.7.0[${PYTHON_USEDEP}]
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
>=dev-python/pyyaml-3.12[${PYTHON_USEDEP}]
>=dev-python/subunit-1.0.0[${PYTHON_USEDEP}]
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
>=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}]
>=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
>=dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}]
>=dev-python/fasteners-0.16.0[${PYTHON_USEDEP}]
>=dev-python/testscenarios-0.5.0[${PYTHON_USEDEP}]
"
BDEPEND="
>dev-python/pbr-2.1.0[${PYTHON_USEDEP}]
test? (
>=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
dev-python/stestr[${PYTHON_USEDEP}]
)
"
src_prepare() {
# Small subset of tests, which fail as result of not using specific
# testing environment.
rm -r tempest/tests/lib/services/volume/v3/ || die
# remove dep on hacking
rm tempest/tests/test_hacking.py || die
distutils-r1_src_prepare
}
python_compile() {
distutils-r1_python_compile
mv "${BUILD_DIR}"/install/{usr/,}etc || die
}
python_test() {
local -x OS_LOG_CAPTURE=1 OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1
local -x OS_TEST_TIMEOUT=300
stestr --test-path ./tempest/tests run --concurrency="$(makeopts_jobs)" ||
die "Tests failed for ${EPYTHON}"
}
-1
View File
@@ -1,3 +1,2 @@
DIST translate-3.13.3.gh.tar.gz 1172858 BLAKE2B e7b2f711faec3876fdc082aae02716beaa45934f2ad308433c20020e69b72850e0a9d32c7cb57e32b4fdc8b39334a358b8f289c83744882728616122f07cf8f7 SHA512 f435306b34a2a200df5b648a1354444ac5fd76872f36062704b2c8abf52b8b1e1d570afbcf4b50cb1d815abfcf85b05630e8bc02f908a83f3fea90188c76c6f7
DIST translate-3.13.4.gh.tar.gz 1173494 BLAKE2B 878da77378e4ca1a27c3053812b4f70c1decc55523421daa1716f10c4af9cc1d3d1a601bf076f343eaf34c661355af84dc2d173411779942e83eb4d7e64280f9 SHA512 44d0ee7d5e8b177034385bbc323539b8d53ef7a01d2431ea9c58a8df24ccc5f55af15f245b584db225e194b796d0281dec73ed66f50f8749cf949cb0a4c95277
DIST translate-3.13.5.gh.tar.gz 1173710 BLAKE2B 1b6431cb0ce2643477c352f54dff0b7cbac8a79d3bf1e2a5976cdea649f8bbf3ee23f96ee97db1c5a7e57789ca5b434cddac959aeda92acaa75a0714b04bc507 SHA512 5ae243584f2bc4e3b304c6e0ccba2f4fcd3728964ed8361017241a787124dc24580ec842b3116036cd99f911f066e29559291b56893410f170d59f1e722e81a2
@@ -1,119 +0,0 @@
# 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_{10..12} )
PYTHON_REQ_USE="sqlite"
inherit distutils-r1
MY_P=translate-${PV}
DESCRIPTION="Toolkit to convert between many translation formats"
HOMEPAGE="
https://github.com/translate/translate/
https://pypi.org/project/translate-toolkit/
"
SRC_URI="
https://github.com/translate/translate/archive/${PV}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S="${WORKDIR}"/${MY_P}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm64 x86"
IUSE="+html +ical +ini +subtitles +yaml"
RDEPEND="
app-text/iso-codes
>=dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
dev-python/cheroot[${PYTHON_USEDEP}]
>=dev-python/Levenshtein-0.12.0[${PYTHON_USEDEP}]
>=dev-python/lxml-4.3.1[${PYTHON_USEDEP}]
>=dev-python/mistletoe-1.1.0[${PYTHON_USEDEP}]
>=dev-python/pyparsing-3[${PYTHON_USEDEP}]
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
>=dev-python/wcwidth-0.2.10[${PYTHON_USEDEP}]
sys-devel/gettext
html? ( dev-python/utidylib[${PYTHON_USEDEP}] )
ical? ( dev-python/vobject[${PYTHON_USEDEP}] )
ini? ( >=dev-python/iniparse-0.5[${PYTHON_USEDEP}] )
subtitles? ( media-video/gaupol[${PYTHON_USEDEP}] )
yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] )
"
# Technically, the test suite also has undeclared dependency
# on dev-python/snapshottest but all the tests using it are broken
# anyway, so we skip them.
BDEPEND="
test? (
dev-python/phply[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
src_test() {
# unfortunately, this bad quality package doesn't support XDG_DATA_DIRS
# correctly, so we need to reassemble all data files in a single directory
local -x XDG_DATA_HOME=${T}/share
cp -r translate/share "${T}/" || die
cp -r "${ESYSROOT}/usr/share"/gaupol "${XDG_DATA_HOME}"/ || die
distutils-r1_src_test
}
python_test() {
local EPYTEST_DESELECT=(
# Fails with network-sandbox (and even with it off but w/ softer fail)
'tests/xliff_conformance/test_xliff_conformance.py::test_open_office_to_xliff'
'tests/xliff_conformance/test_xliff_conformance.py::test_po_to_xliff'
# all tests based on snapshottest are broken and I'm too tired
# to figure this out
tests/translate/tools/test_pocount.py::test_{cases,output}
tests/translate/tools/test_junitmsgfmt.py::test_output
)
local EPYTEST_IGNORE=(
# unpackaged fluent.*
tests/translate/storage/test_fluent.py
# changes directory and does not change it back, sigh
tests/odf_xliff/test_odf_xliff.py
)
if ! use ini; then
EPYTEST_IGNORE+=(
translate/convert/test_ini2po.py
translate/convert/test_po2ini.py
)
fi
if ! use subtitles; then
EPYTEST_IGNORE+=(
translate/storage/test_subtitles.py
)
fi
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest
}
python_install_all() {
distutils-r1_python_install_all
insinto /usr
doins -r translate/share
if ! use html; then
rm "${ED}"/usr/bin/{html2po,po2html} || die
fi
if ! use ical; then
rm "${ED}"/usr/bin/{ical2po,po2ical} || die
fi
if ! use ini; then
rm "${ED}"/usr/bin/{ini2po,po2ini} || die
fi
if ! use subtitles; then
rm "${ED}"/usr/bin/{sub2po,po2sub} || die
fi
}
+1 -1
View File
@@ -17,7 +17,7 @@ HOMEPAGE="
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
RDEPEND="
>=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
+1 -1
View File
@@ -13,7 +13,7 @@ if [[ ${PV} == *9999* ]]; then
ELL_EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/ell/ell.git"
else
SRC_URI="https://mirrors.edge.kernel.org/pub/linux/network/wireless/${P}.tar.xz"
KEYWORDS="~alpha amd64 arm ~arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
MYRST2MAN="RST2MAN=:"
fi
+1 -2
View File
@@ -1,3 +1,2 @@
DIST adsf-1.4.6.tar.gz 172010 BLAKE2B ebe73723403f60d6eb98719e3149e401a70016ca4693d452ba02fc67bd48b176507ee67ebee36aed96046b13c2b194ac920f4ad87f069a379bdacdb5899e1d94 SHA512 22c579cb47917ccf85de2b459bd7bac681b77929e89ab5ba701515d2b44897513cf953db12b85b821f56c1594ed20c156498a35d1a463307a7b9959f54dd419d
DIST adsf-1.4.8.tar.gz 174680 BLAKE2B b9b17992d88867e7d1681bec40ab200030f964bd47988661f85bad91492255a093bee393ea17f25acec69395260b0dc93eb0ee4c0e36f9d0b14fc04a00278eea SHA512 2cdb530620fe1f50703ce6a06be2d537b5ca6b9c684964c21ee531fac683655537dfee670f18271c6428a053f12a9cea1247f5deef6b96562b35b3cc20cf61fc
DIST adsf-1.5.0.tar.gz 175804 BLAKE2B d6e0173d9fff05ad089ad8cb5136ddc8dbb506c9f942aea12237d90455acaa959c4e1ae8bfb7f0fda392e34b6dca68a6a02b1c01ab64ae219a13a51ad936e361 SHA512 13fc104c338b762ad690dbeee71effe2c1afde87b3391727fd4553fde3623ba9af6ff46fefb95c92fce10395781e48dc9f3798e9ece885d69f004ecf16947af7
DIST adsf-1.5.2.tar.gz 185809 BLAKE2B c4853e9f182ec97009e78c9675a4f7d40d2612c12a8b488cf0278435c0924a93088a4ad04e8372e9a2b6dacb7c77c917059b6bcc5a0557db3b2bb3cab2f4defb SHA512 df6ccd28432f527836f551d5e441f4bfccc91766ad1039dbcbdb2e6ef03d69d1adea17b146d45892c2fb8fca14c742206736b191b6317762e66d73a4dd45722a
-40
View File
@@ -1,40 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby26 ruby27 ruby30 ruby31 ruby32"
RUBY_FAKEGEM_EXTRADOC="NEWS.md ../README.md"
RUBY_FAKEGEM_RECIPE_DOC="none"
RUBY_FAKEGEM_GEMSPEC="adsf.gemspec"
inherit ruby-fakegem
DESCRIPTION="A Dead Simple Fileserver is a static file server that can launch in a directory"
HOMEPAGE="https://github.com/ddfreyne/adsf/"
SRC_URI="https://github.com/ddfreyne/adsf/archive/${PV}.tar.gz -> ${P}.tar.gz"
RUBY_S="${P}/adsf"
LICENSE="MIT"
KEYWORDS="~amd64 ~riscv"
SLOT="0"
IUSE=""
ruby_add_rdepend ">=dev-ruby/rack-1.0.0:*"
ruby_add_bdepend "test? ( dev-ruby/rack-test )"
all_ruby_prepare() {
sed -i -e '/simplecov/,/SimpleCov.command_name/ s:^:#:' \
-e '/websocket/ s:^:#:' test/helper.rb || die
sed -e '/test_receives_update/,/^ end/ s:^:#:' \
-e '/test_non_local_interfaces/askip "networking"' \
-e '/test_default_config__serve_index_html_in_subdir_missing_slash/askip "encoding"' \
-i test/test_server.rb || die
sed -i -e '/rubocop/I s:^:#:' Rakefile || die
rm -f test/test_version.rb || die
sed -i -e "s:require_relative ':require './:" ${RUBY_FAKEGEM_GEMSPEC} || die
}
@@ -1,8 +1,8 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32"
USE_RUBY="ruby31 ruby32 ruby33"
RUBY_FAKEGEM_EXTRADOC="NEWS.md ../README.md"
@@ -18,11 +18,14 @@ SRC_URI="https://github.com/denisdefreyne/adsf/archive/${PV}.tar.gz -> ${P}.tar.
RUBY_S="${P}/adsf"
LICENSE="MIT"
KEYWORDS="~amd64 ~riscv"
SLOT="0"
IUSE=""
KEYWORDS="~amd64 ~riscv"
IUSE="test"
ruby_add_rdepend ">=dev-ruby/rack-1.0.0:* >=dev-ruby/rackup-2.1:2"
ruby_add_rdepend "
|| ( dev-ruby/rack:3.1 dev-ruby/rack:3.0 dev-ruby/rack:2.2 )
>=dev-ruby/rackup-2.1:2
"
ruby_add_bdepend "test? ( dev-ruby/rack-test )"
@@ -32,6 +35,7 @@ all_ruby_prepare() {
sed -e '/test_receives_update/,/^ end/ s:^:#:' \
-e '/test_non_local_interfaces/askip "networking"' \
-e '/test_default_config__serve_index_html_in_subdir_missing_slash/askip "encoding"' \
-e /'test_auto_extenion__defers_to_subdir_with_index/askip "encoding"' \
-i test/test_server.rb || die
sed -i -e '/rubocop/I s:^:#:' Rakefile || die
rm -f test/test_version.rb || die