Sync with portage [Wed May 10 08:13:21 MSK 2023].

master 2427
root 12 months ago
parent 4a92e9026b
commit 26cf50aa34

Binary file not shown.

Binary file not shown.

@ -1,2 +1 @@
DIST ansible-molecule-4.0.1.tar.gz 301517 BLAKE2B 73cf7a2257368c737b9003236bf77011de167dd6f692166702e7948c136202b33bcce1c70893b61a95af9baa90e7b5266a5fa889e3bba0e5a8c9c1e6f48fec9a SHA512 7515e07bf791d5586e1f5fb4ce0d2f731c94c8268c589155340b2bdc1528534084870e66e492b2d883f9e9764293c93799a4c75478523502a2f37ad0642a472d
DIST molecule-4.0.4.tar.gz 337260 BLAKE2B 14c493fa8aaa15466ebca19af9e5325ddb824c151d07d800136dcb714a430ea2dc42b38c9ec6e805e29ec3226376a532793d51c5d0544d6d5105510e5365ca8c SHA512 d7c1ceefbf74cbc27a397e7a40d855b23325bbde31a4cd1920961413a7db950e9fc530fec180de877eb37984bac8603033aa5a582e68e7f4c4ac2a10721c6630

@ -1,77 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_10 )
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 optfeature
MY_PN="${PN#ansible-}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="A toolkit designed to aid in the development and testing of Ansible roles"
HOMEPAGE="https://pypi.org/project/molecule/ https://github.com/ansible-community/molecule/"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~riscv"
IUSE="selinux"
RDEPEND="$(python_gen_cond_dep '
>=dev-python/ansible-compat-2.2.0[${PYTHON_USEDEP}]
dev-python/cerberus[${PYTHON_USEDEP}]
>=dev-python/click-8.0[${PYTHON_USEDEP}]
>=dev-python/click-help-colors-0.9[${PYTHON_USEDEP}]
>=dev-python/enrich-1.2.7[${PYTHON_USEDEP}]
>=dev-python/jinja-2.11.3[${PYTHON_USEDEP}]
>=dev-python/jsonschema-4.9.1[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
<dev-python/pluggy-2.0[${PYTHON_USEDEP}]
>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
>=dev-python/rich-9.5.1[${PYTHON_USEDEP}]
>=dev-util/cookiecutter-1.7.3[${PYTHON_USEDEP}]
selinux? ( sys-libs/libselinux[python,${PYTHON_USEDEP}] )
')"
BDEPEND="$(python_gen_cond_dep '
>=dev-python/setuptools-scm-3.5.0[${PYTHON_USEDEP}]
>=dev-python/setuptools_scm_git_archive-1.1[${PYTHON_USEDEP}]
doc? (
app-admin/ansible-core[${PYTHON_USEDEP}]
dev-python/ansible-pygments[${PYTHON_USEDEP}]
>=dev-python/simplejson-3.17.2[${PYTHON_USEDEP}]
)
test? (
>=dev-python/ansi2html-1.6.0[${PYTHON_USEDEP}]
dev-python/filelock[${PYTHON_USEDEP}]
<dev-python/pexpect-5[${PYTHON_USEDEP}]
>=dev-python/pytest-mock-3.3.1[${PYTHON_USEDEP}]
>=dev-python/pytest-plus-0.2[${PYTHON_USEDEP}]
>=dev-python/pytest-testinfra-6.1.0[${PYTHON_USEDEP}]
>=dev-python/pytest-xdist-2.1.0[${PYTHON_USEDEP}]
dev-util/yamllint
)
')"
S="${WORKDIR}"/${MY_P}
# test_role.py doesn't play nicely with FEATURES=usersandbox. As for test_command.py:
# - quite a few of these tests use the network;
# - test_command_dependency[shell] only works if Molecule has previously been installed;
# - tests involving creation of a new scenario fail on ansible-lint errors, even though
# a config file is deployed which should skip expected issues.
EPYTEST_DESELECT=(
src/molecule/test/functional/test_command.py
src/molecule/test/unit/command/init/test_role.py
)
distutils_enable_sphinx docs '>=dev-python/sphinx-notfound-page-0.7.1' '<dev-python/sphinx_ansible_theme-0.10.0'
distutils_enable_tests pytest
pkg_postinst() {
optfeature_header "Some optional packages commonly used in Molecule scenarios:"
optfeature "checking playbooks for practices and behaviour that can be improved" app-admin/ansible-lint
}

@ -3,3 +3,4 @@ DIST aws-cli-1.27.126.gh.tar.gz 2415804 BLAKE2B f6c9c76320ce2bd7c03009d01e569a45
DIST aws-cli-1.27.127.gh.tar.gz 2416842 BLAKE2B 6d1917695f9404a0edf1e9d1720606478e904615e46c775a5b65bab207a1b0ebfd1741daa2202e4567c0d4aa0d0eb6bfaf89210a6ccce542c7ee2c556c21c3b3 SHA512 32ac6f8e00434047acf46cd0dad80618e7c1926fa02cdc365005eccb3744f8ea2d67e11c7155a0ce88e6388668ec3aa0cd0bad33df8a7540bfd0cc1c9dcd52af
DIST aws-cli-1.27.129.gh.tar.gz 2417079 BLAKE2B d1de37906ba0e541ef968aac5d7a7718167b6b8683d655f9b7ec91ab1e5ed289bff46dbb56c1a6a5c4e0ce56eb4fd9ebeac386d0ec38e855bfbd3076bcac2aa9 SHA512 cd3f57c1734d73964d712a7a5d03c83d3168f2197011b014a04088fb05090948463d95c7d9321e1ae1e21992e18013fdd260b640f342681bca70f2e33e423f88
DIST aws-cli-1.27.130.gh.tar.gz 2418752 BLAKE2B 5c8ad7c3af4312d2ed37fb36270efd4a5fee676ea956cfb33a90e4714226b3a2e7e8abc3de5d1ce8eb159b94f37bf796a38cf276c1eb66e0ebc061cac04dc682 SHA512 2b76d803a646d73d0b63a9c42404c00b98b95b98cf2bc4bba714441b065bbbc41d81a3859a362451512c0936caadae9a06790c56b886e235804a4c962aced622
DIST aws-cli-1.27.131.gh.tar.gz 2420246 BLAKE2B 3590493c0707ec80a74acca1a7c103eaa34e81c27cefbdc6b577eed044e553d35f0c727bfda163cf9c8344ab6550758fe69611acdada524d30f96f49fb330eba SHA512 4fb706f1a606c53a940c7c9d9c67cbfc8d9352a6c9d0c2c9dfa0bf9f46e75f1b102a32c38250a31aa3fd29956a099f69a5c2dc0e93777b5f3301e1fca1143174

@ -0,0 +1,80 @@
# 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..11} )
inherit bash-completion-r1 distutils-r1 multiprocessing
MY_P=aws-cli-${PV}
DESCRIPTION="Universal Command Line Environment for AWS"
HOMEPAGE="
https://github.com/aws/aws-cli/
https://pypi.org/project/awscli/
"
SRC_URI="
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
# botocore is x.(y+2).z
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
RDEPEND="
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
dev-python/colorama[${PYTHON_USEDEP}]
dev-python/docutils[${PYTHON_USEDEP}]
dev-python/rsa[${PYTHON_USEDEP}]
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
!app-admin/awscli-bin
"
BDEPEND="
test? (
dev-python/pytest-forked[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
src_prepare() {
# do not rely on bundled deps in botocore (sic!)
find -name '*.py' -exec sed -i \
-e 's:from botocore[.]vendored import:import:' \
-e 's:from botocore[.]vendored[.]:from :' \
{} + || die
# strip overzealous upper bounds on requirements
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
distutils-r1_src_prepare
}
python_test() {
local EPYTEST_DESELECT=(
# TODO
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
)
# integration tests require AWS credentials and Internet access
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
}
python_install_all() {
newbashcomp bin/aws_bash_completer aws
insinto /usr/share/zsh/site-functions
newins bin/aws_zsh_completer.sh _aws
distutils-r1_python_install_all
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
}

@ -1,2 +1,2 @@
DIST hcloud-1.31.1.tar.xz 1735560 BLAKE2B 66b2deaefbf61a72bf6a9e004c29d1198e5cfd40956e9936d5db27903aff5f8151c230da61b33ce4231885613d53ba5c96f99fb10df03fdcc241ec32fa465de5 SHA512 b61683ea54455be1db0ae196615642d0247e56ca51f3848847fba09124a45606aea2495f4408694acc5e819d9dc79ffdb2b9ce4e85aade7dea0335be94461066
DIST hcloud-1.33.1.tar.xz 1815372 BLAKE2B 06cdf9082a842f1103d9c446979f230ad6d2f59779321dee5a6fa1eddfb372ac7576cca411a4b296c1fda5f14b7e43c9debe6dc2542256d28a1fa7c64429ef77 SHA512 e0a09b347c9baf955a631d8ab04c7da4ea8add86006522a7551375bbf86f8b30a13d463dce12990c08ef606d2f536c5b632b4880288192cec1db9ee07416eeeb
DIST hcloud-1.33.2.tar.xz 1812292 BLAKE2B bc5483ab900c22635f9ecff39d358a5440547ded505caa8b7449d14e9bcdc74b5b0034a72681ec42d5d660e59d2b46e450665c59241c7cd8a2df5e57956e6e09 SHA512 e6ebdc37ad12387101f3e42b605a17669bc90d02cd55e6d419aec22d47cd2dfcc42ca349c37d6730a5fd56f3d236337fcdc1c7bdf93ff956bbc6a86fb9d142e5

@ -12,7 +12,7 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="dev-lang/go:="
DEPEND=">=dev-lang/go-1.18:="
RESTRICT="strip"
QA_FLAGS_IGNORED=".*"

@ -10,7 +10,7 @@ S=${WORKDIR}/${P}
LICENSE="CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
KEYWORDS="amd64 ppc x86"
RDEPEND="app-admin/tripwire"

@ -10,7 +10,7 @@ S="${WORKDIR}/${PN}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc sparc x86"
KEYWORDS="amd64 ppc sparc x86"
RDEPEND="virtual/perl-Digest-MD5"

Binary file not shown.

@ -18,6 +18,8 @@ fi
LICENSE="BSD-2"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="
app-arch/zstd:=
@ -25,3 +27,11 @@ DEPEND="
dev-libs/openssl:=
"
RDEPEND="${DEPEND}"
src_configure() {
local emesonargs=(
$(meson_use test tests)
)
meson_src_configure
}

@ -13,11 +13,13 @@ if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/zchunk/zchunk.git"
else
SRC_URI="https://github.com/zchunk/zchunk/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="BSD-2"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="
app-arch/zstd:=
@ -25,3 +27,11 @@ DEPEND="
dev-libs/openssl:=
"
RDEPEND="${DEPEND}"
src_configure() {
local emesonargs=(
$(meson_use test tests)
)
meson_src_configure
}

Binary file not shown.

@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/project/jedit/jedit/${PV}/jedit${PV}source.tar.bz2
S="${WORKDIR}/jEdit"
LICENSE="BSD GPL-2"
KEYWORDS="~amd64 ~ppc64 ~x86"
KEYWORDS="amd64 ppc64 x86"
SLOT="0"
CP_DEPEND="dev-java/jsr305:0"

@ -4,3 +4,6 @@ DIST vscode-1.77.3-arm64.tar.gz 121682734 BLAKE2B f9428cd9ebf921bee3797e4b3a8169
DIST vscode-1.78.0-amd64.tar.gz 134687218 BLAKE2B f29366cd55661fbdcdeeb5344ff55fa8924fcdd8bb9df77a83caded61dc51999b69effbfc758bde98a04e48c926a6671969d978fd98d5a5c706f54cafc8dbd6e SHA512 214b198f21b663b001667280627a99deca07409220565355eaf21d74ddf0524aec5ceff3cf7f97bf60e12657bd88a394ffcc5b9decb379b8e2323ff37b243b6e
DIST vscode-1.78.0-arm.tar.gz 119254165 BLAKE2B 5ddf5372f1ef21e99463d742cb73f2d889f03f5feba6753ea11f5eb48f19772bcdb951a3f291cb6820bfb9892b4ea5c01a73854c202903685f28b28d088b752b SHA512 f1d03a494442e49d591c11f618abaa976e63c2ecb8927d8a45bcde37ee9e9380b2fa621754b4ece0efdf524aabaeedfa6442f476a06edce30a13aeba98d6901c
DIST vscode-1.78.0-arm64.tar.gz 130765917 BLAKE2B 8ed333530481ed1067163a8e27bf619e47504429051408d581cdaec8095ba8648c0045f59d8907f5cfec1ac2cc51acdc6022cf97e57a98c68483e8f725f9c89d SHA512 dffe7761eb961e9d2584fb5ca42e56fdcff1dfed858a5a098309c7f9311d79949c9bbc00be94258d052e541b27be2e45b935f2b7a1afc498898e1bfde084e304
DIST vscode-1.78.1-amd64.tar.gz 134680069 BLAKE2B a8e631e9fa6ad49dd0e116558240b60ae626f8f4b40849be5a2c67b129029bd581ef177e6ba4d93bf514779e2048e6ea22b3a4a3f6073fb71608931d17782e53 SHA512 af16eff2925c0e39b94ab61e18a6c37e9553cb77477a567db8a1545a6dce13b51ef7f428603cf518b1c733c2856d4050a47b00cc4a7bab614553c46e2546c37f
DIST vscode-1.78.1-arm.tar.gz 119244941 BLAKE2B 9657a126e1666e6cb65043d84d182643c94ab61f587c6818fd7e0c7f9f7be773cb2206da5c62cf6dfc2fe5943ddd3fdff918cc31878e99cca8e3706713e9be9b SHA512 6f82501408c1db3339271e90e3ffb4ad604d92760c32311bd4f928f4be140a1a49d8c9033b9287e60a8dfadb41aba11c8f96041872802eb7f3dbbdbcec1dd6df
DIST vscode-1.78.1-arm64.tar.gz 130770767 BLAKE2B 9b178f3bfcd88253e22a85787556922ab8f3673216dd90a346c7184f8673b81a8e05f59dff3c2307f673db1e47cbaa7cacd01abb7bf908d56c29f7f0f5868052 SHA512 43ecef29ddce595d0ae0f4913570947531cc7a2f5e489e24e3d82ffdf36498272d40e353c12159ae831513817194153ba9900e1d37f75c0414e45809e86b8219

@ -0,0 +1,122 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop pax-utils xdg optfeature
DESCRIPTION="Multiplatform Visual Studio Code from Microsoft"
HOMEPAGE="https://code.visualstudio.com"
SRC_URI="
amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz )
arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz )
arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz )
"
S="${WORKDIR}"
RESTRICT="mirror strip bindist"
LICENSE="
Apache-2.0
BSD
BSD-1
BSD-2
BSD-4
CC-BY-4.0
ISC
LGPL-2.1+
Microsoft-vscode
MIT
MPL-2.0
openssl
PYTHON
TextMate-bundle
Unlicense
UoI-NCSA
W3C
"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm ~arm64"
RDEPEND="
>=app-accessibility/at-spi2-core-2.46.0:2
app-crypt/libsecret[crypt]
dev-libs/expat
dev-libs/glib:2
dev-libs/nspr
dev-libs/nss
media-libs/alsa-lib
media-libs/mesa
net-print/cups
sys-apps/util-linux
sys-apps/dbus
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
x11-libs/libdrm
x11-libs/libX11
x11-libs/libxcb
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libxkbcommon
x11-libs/libxkbfile
x11-libs/libXrandr
x11-libs/libxshmfence
x11-libs/pango
"
QA_PREBUILT="
/opt/vscode/bin/code-tunnel
/opt/vscode/chrome_crashpad_handler
/opt/vscode/chrome-sandbox
/opt/vscode/code
/opt/vscode/libEGL.so
/opt/vscode/libffmpeg.so
/opt/vscode/libGLESv2.so
/opt/vscode/libvk_swiftshader.so
/opt/vscode/libvulkan.so*
/opt/vscode/resources/app/extensions/*
/opt/vscode/resources/app/node_modules.asar.unpacked/*
/opt/vscode/swiftshader/libEGL.so
/opt/vscode/swiftshader/libGLESv2.so
"
src_install() {
if use amd64; then
cd "${WORKDIR}/VSCode-linux-x64" || die
elif use arm; then
cd "${WORKDIR}/VSCode-linux-armhf" || die
elif use arm64; then
cd "${WORKDIR}/VSCode-linux-arm64" || die
else
die "Visual Studio Code only supports amd64, arm and arm64"
fi
# Cleanup
rm -r ./resources/app/LICENSES.chromium.html ./resources/app/LICENSE.rtf ./resources/app/licenses || die
# Disable update server
sed -e "/updateUrl/d" -i ./resources/app/product.json || die
# Install
pax-mark m code
mkdir -p "${ED}/opt/${PN}" || die
cp -r . "${ED}/opt/${PN}" || die
fperms 4711 /opt/${PN}/chrome-sandbox
dosym -r "/opt/${PN}/bin/code" "usr/bin/vscode"
dosym -r "/opt/${PN}/bin/code" "usr/bin/code"
dosym -r "/opt/${PN}/bin/code-tunnel" "usr/bin/code-tunnel"
domenu "${FILESDIR}/vscode.desktop"
domenu "${FILESDIR}/vscode-url-handler.desktop"
domenu "${FILESDIR}/vscode-wayland.desktop"
domenu "${FILESDIR}/vscode-url-handler-wayland.desktop"
newicon "resources/app/resources/linux/code.png" "vscode.png"
}
pkg_postinst() {
xdg_pkg_postinst
optfeature "keyring support inside vscode" "gnome-base/gnome-keyring"
}

Binary file not shown.

@ -12,7 +12,7 @@ SRC_URI="https://github.com/skk-dev/${PN}/archive/${P}_Neppu.tar.gz -> ${P}.tar.
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="ruby"
RESTRICT="test"

Binary file not shown.

@ -8,4 +8,7 @@
<use>
<flag name="smartcard">Enable smartcard remoting using <pkg>app-emulation/libcacard</pkg></flag>
</use>
<upstream>
<remote-id type="freedesktop-gitlab">spice/spice</remote-id>
</upstream>
</pkgmetadata>

@ -4,6 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{9,10,11} )
# Port to meson once https://gitlab.freedesktop.org/spice/spice/-/issues/75 is fixed
inherit autotools python-any-r1 readme.gentoo-r1 xdg-utils
DESCRIPTION="SPICE server"

Binary file not shown.

@ -11,7 +11,7 @@ SRC_URI="https://github.com/aide/aide/releases/download/v${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"
KEYWORDS="amd64 ~arm64 x86"
IUSE="acl audit curl e2fs mhash selinux xattr"
DEPEND="

Binary file not shown.

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -33,7 +33,7 @@ S="${WORKDIR}/${MY_P}"
LICENSE="IDPL Interbase-1.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="doc examples +server xinetd"
BDEPEND="

Binary file not shown.

@ -0,0 +1,49 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PV="$(ver_rs 1 '-')"
MY_P=${PN}${MY_PV}
DESCRIPTION="An ANSI C library for parsing GNU-style command-line options with minimal fuss"
HOMEPAGE="https://argtable.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
S="${WORKDIR}"/${MY_P}
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="doc debug examples static-libs"
PATCHES=(
"${FILESDIR}"/${PN}-2.13-Fix-implicit-function-declaration.patch
"${FILESDIR}"/${PN}-2.13-Fix-undeclared-library-function.patch
)
src_configure() {
econf \
$(use_enable debug) \
$(use_enable static-libs static)
}
src_install() {
default
rm -rf "${ED}"/usr/share/doc/${PF}/
if use doc ; then
cd "${S}"/doc || die
dodoc *.pdf *.ps
docinto html
dodoc *.html *.gif
fi
if use examples ; then
cd "${S}"/example || die
docinto examples
dodoc Makefile *.[ch] README.txt
fi
find "${ED}" -name "*.la" -delete || die "failed to delete .la files"
}

@ -0,0 +1,28 @@
From 519609d844f1e5bbf37407de8e43fa2d2be03262 Mon Sep 17 00:00:00 2001
From: Brahmajit Das <brahmajit.xyz@gmail.com>
Date: Sun, 7 May 2023 00:03:40 +0530
Subject: [PATCH] Fix undeclared library function strcmp
Bug: https://bugs.gentoo.org/885609
--- a/tests/fntests.c
+++ b/tests/fntests.c
@@ -1,5 +1,6 @@
#include "../src/argtable2.h"
#include <assert.h>
+#include <string.h>
/* for memory leak debugging */
#ifdef DMALLOC
--- a/tests/test_file.c
+++ b/tests/test_file.c
@@ -21,6 +21,7 @@ USA.
#include "../src/argtable2.h"
#include <stdlib.h>
+#include <string.h>
/* for memory leak debugging */
#ifdef DMALLOC
--
2.40.1

@ -1,2 +1,3 @@
DIST bemenu-0.6.10.tar.gz 129568 BLAKE2B f81e84e6457175abf11b9dc6c426cb02121b4f101bdef55361c539f6d51144539129d2e2898e506c12f32d8f45a27fb0159083b5b964b33a0fc73485ebe41b00 SHA512 b8aadbe2cd11f7cc713ce683fcc9ce4779cd0050ee8cf41c4d3bca9f299ac99b9cd3b7611d87d27d7f7439f16fc2618671f2bec8878ad2ab65fade54f24ca92f
DIST bemenu-0.6.14.tar.gz 133229 BLAKE2B 6e83143f7cf808002d6f74b37922b96232c13b884b07c1901e483fd4263db2047394914d8bfe5292907e8a89674d9eed7966722cac4deeac36e5c39ada6eab75 SHA512 8d4fabc962e7d2b6ad23012d172292f74e46d3af68f070222e55a748e4b7a14c42f30f78acad14f5bb73abfa6b7932aff25c24b346908ce780ea00f577a848d9
DIST bemenu-0.6.15.tar.gz 134318 BLAKE2B 0739f3bdf5ad7bcc5b5e75577848965b848df8c8c407d574fcad81fe437d14ade11cc86a81bb2ea5b13faac1a035911f7590013ffbbb7366935c33d171fbf479 SHA512 2de6967ce337b37c943585e3aad0efa1cc7161b0f9666298e0e1f2570f13f3c0b9edef1ab80346e906cd8f53056a7b1a019de7240d2766584031d7b8d76276ab

@ -45,7 +45,10 @@ DEPEND="
dev-libs/wayland-protocols
)
"
BDEPEND="doc? ( app-doc/doxygen )"
BDEPEND="
app-text/scdoc
doc? ( app-doc/doxygen )
"
src_compile() {
tc-export CC

@ -0,0 +1,62 @@
# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="dmenu clone for wayland"
HOMEPAGE="https://github.com/Cloudef/bemenu"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Cloudef/bemenu.git"
else
SRC_URI="https://github.com/Cloudef/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE="doc ncurses wayland X"
# Require at least one backend be built
REQUIRED_USE="|| ( ncurses wayland X )"
RDEPEND="
ncurses? ( sys-libs/ncurses:= )
wayland? (
dev-libs/wayland
x11-libs/cairo
x11-libs/pango
x11-libs/libxcb
)
X? (
x11-libs/libxcb
x11-libs/libXext
x11-libs/libX11
x11-libs/cairo[X]
x11-libs/pango[X]
x11-libs/libXinerama
)
"
DEPEND="
${RDEPEND}
wayland? (
dev-libs/wayland-protocols
)
"
BDEPEND="
app-text/scdoc
doc? ( app-doc/doxygen )
"
src_compile() {
tc-export CC
emake clients $(usex ncurses curses "") $(usex X x11 "") $(usex wayland wayland "") PREFIX=/usr libdir=/$(get_libdir)
use doc && emake doxygen PREFIX=/usr libdir=/$(get_libdir)
}
src_install() {
emake install PREFIX="${D}"/usr libdir=/$(get_libdir)
}

@ -45,7 +45,10 @@ DEPEND="
dev-libs/wayland-protocols
)
"
BDEPEND="doc? ( app-doc/doxygen )"
BDEPEND="
app-text/scdoc
doc? ( app-doc/doxygen )
"
src_compile() {
tc-export CC

@ -0,0 +1,32 @@
https://bugs.gentoo.org/905912
https://gitlab.freedesktop.org/libbsd/libbsd/-/merge_requests/24
From c36c29f014b0ef56a3aef984fa40b0e100b6f419 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 15 Dec 2022 09:02:22 -0800
Subject: [PATCH] funopen: Replace off64_t with off_t in funopen_seek
AC_SYS_LARGEFILE in configure.ac is setting needed defines to make
64bit off_t on relevant platforms.
Fixes build on musl
| ../../../../../../../../workspace/sources/libbsd/src/funopen.c:68:28: error: unknown type name 'off64_t'; did you mean 'off_t'?
| funopen_seek(void *cookie, off64_t *offset, int whence)
| ^~~~~~~
| off_t
Signed-off-by: Khem Raj <raj.khem@gmail.com>
--- a/src/funopen.c
+++ b/src/funopen.c
@@ -65,7 +65,7 @@ funopen_write(void *cookie, const char *buf, size_t size)
}
static int
-funopen_seek(void *cookie, off64_t *offset, int whence)
+funopen_seek(void *cookie, off_t *offset, int whence)
{
struct funopen_cookie *cookiewrap = cookie;
off_t soff = *offset;
--
GitLab

@ -24,6 +24,7 @@ BDEPEND="verify-sig? ( sec-keys/openpgp-keys-guillemjover )"
PATCHES=(
"${FILESDIR}/libbsd-build-Fix-version-script-linker-support-detection.patch"
"${FILESDIR}/libbsd-0.11.7-musl-lfs.patch"
)
src_prepare() {

@ -1 +1,2 @@
DIST libxslt-1.1.37.tar.xz 1588572 BLAKE2B 096d93dd7178bf4483207514b1435f5bf426eea4952ffab7cc00c3e85aa736534c4acb5377af9647aa77a0cd793205194509d997a7bb5cae692f65e326566cd8 SHA512 a4e477d2bb918b7d01945e2c7491c3a4aae799dc1602bbd13de55c8a5052e210a20bc45115347eae44473c8b1d03dbc5e4a2aa18c2218f1fdfd376d87cd501ca
DIST libxslt-1.1.38.tar.xz 1576676 BLAKE2B 9397be8b223bd68b326b954fe6a749a269e969b4669747678715728f553916c23475232fc2894a5e4230e15b031981423adeb8f83407f4db8075a784c7e6a55b SHA512 2836bd2990b95680db0960ac4c465d0c6c28a293ad095a224c05021a1c8d2576a45e41da8947a31f4ef3e6ef368cbda65243661e311c9886c19694be5a7c9a8e

@ -0,0 +1,125 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# Note: Please bump this in sync with dev-libs/libxml2.
PYTHON_COMPAT=( python3_{10..11} )
inherit flag-o-matic python-r1 multilib-minimal
DESCRIPTION="XSLT libraries and tools"
HOMEPAGE="https://gitlab.gnome.org/GNOME/libxslt"
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/libxslt"
inherit autotools git-r3
else
inherit libtool gnome.org
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
LICENSE="MIT"
SLOT="0"
IUSE="crypt debug examples python static-libs"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
BDEPEND=">=virtual/pkgconfig-1"
RDEPEND="
>=dev-libs/libxml2-2.9.11:2[${MULTILIB_USEDEP}]
crypt? ( >=dev-libs/libgcrypt-1.5.3:0=[${MULTILIB_USEDEP}] )
python? ( ${PYTHON_DEPS} )
"
DEPEND="${RDEPEND}"
MULTILIB_CHOST_TOOLS=(
/usr/bin/xslt-config
)
MULTILIB_WRAPPED_HEADERS=(
/usr/include/libxslt/xsltconfig.h
)
src_prepare() {
default
if [[ ${PV} == 9999 ]] ; then
eautoreconf
else
# Prefix always needs elibtoolize if not eautoreconf'd.
elibtoolize
fi
}
multilib_src_configure() {
# Remove this after upstream merge request to add AC_SYS_LARGEFILE lands:
# https://gitlab.gnome.org/GNOME/libxslt/-/merge_requests/55
append-lfs-flags
libxslt_configure() {
ECONF_SOURCE="${S}" econf \
--without-python \
$(use_with crypt crypto) \
$(use_with debug) \
$(use_with debug mem-debug) \
$(use_enable static-libs static) \
"$@"
}
# Build Python bindings separately
libxslt_configure --without-python
if multilib_is_native_abi && use python ; then
NATIVE_BUILD_DIR="${BUILD_DIR}"
python_foreach_impl run_in_build_dir libxslt_configure --with-python
fi
}
libxslt_py_emake() {
pushd "${BUILD_DIR}"/python >/dev/null || die
emake top_builddir="${NATIVE_BUILD_DIR}" "$@"
popd >/dev/null || die
}
multilib_src_compile() {
default
if multilib_is_native_abi && use python ; then
python_foreach_impl run_in_build_dir libxslt_py_emake all
fi
}
multilib_src_test() {
default
if multilib_is_native_abi && use python ; then
python_foreach_impl run_in_build_dir libxslt_py_emake test
fi
}
multilib_src_install() {
# "default" does not work here - docs are installed by multilib_src_install_all
emake DESTDIR="${D}" install
if multilib_is_native_abi && use python; then
python_foreach_impl run_in_build_dir libxslt_py_emake \
DESTDIR="${D}" \
install
# Hack until automake release is made for the optimise fix
# https://git.savannah.gnu.org/cgit/automake.git/commit/?id=bde43d0481ff540418271ac37012a574a4fcf097
python_foreach_impl python_optimize
fi
}
multilib_src_install_all() {
einstalldocs
if ! use examples ; then
rm -rf "${ED}"/usr/share/doc/${PF}/tutorial{,2} || die
rm -rf "${ED}"/usr/share/doc/${PF}/python/examples || die
fi
find "${ED}" -type f -name "*.la" -delete || die
}

@ -5,7 +5,7 @@ EAPI=8
# Note: Please bump this in sync with dev-libs/libxml2.
PYTHON_COMPAT=( python3_{9..11} )
PYTHON_COMPAT=( python3_{10..11} )
inherit python-r1 multilib-minimal
DESCRIPTION="XSLT libraries and tools"

@ -1 +1,2 @@
DIST miniaudio-0.11.11.tar.gz 1419564 BLAKE2B 63f23637b2a53e5438695b71d60b76ca16fdb63e08fbf17df7701e4c20aaffa7f635368e6bc21e2564da52b3f51127e76145ed8b7492b6f3f8f0b493dd459f05 SHA512 396608d8326777adfffb50216322198b9f86d73c6a83c5886dc9eaef93b82a4e8f44f446192990b7b9fabac53fad073546214692a000415307e70812a50fb0c2
DIST miniaudio-0.11.15.tar.gz 1465008 BLAKE2B 3c2ddcb765f44b0367462dd5ca466ade3a91e69f2132790fc2a9753ef11bfd2238f221d063d3e76cc0ac18567acb11af537887bac9aaa33adbca65f3882d8587 SHA512 1866c14396e9ceefe7e1aa6650a505fb1d4f087a77f71eec933c871dce34fda172da7b31621d88ee1e83410d1089f2d7dd0990a70ce8aab101f796b048fd8dcb

@ -0,0 +1,17 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="A single file library for audio playback and capture"
HOMEPAGE="https://miniaudio.io"
SRC_URI="https://github.com/mackron/miniaudio/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( public-domain MIT-0 )"
SLOT="0"
KEYWORDS="~amd64"
src_install() {
insinto /usr/include/${PN}/
doins -r *
}

@ -0,0 +1,15 @@
needed since https://github.com/bminor/musl/commit/25e6fee27f4a293728dd15b659170e7b9c7db9bc
--
diff --git a/nspr/pr/include/md/_unixos.h b/nspr/pr/include/md/_unixos.h
index 7d444cd..0099d2c 100644
--- a/nspr/pr/include/md/_unixos.h
+++ b/nspr/pr/include/md/_unixos.h
@@ -589,7 +589,7 @@ typedef off64_t _MDOff64_t;
#elif defined(_PR_HAVE_OFF64_T)
typedef struct stat64 _MDStat64;
-typedef off64_t _MDOff64_t;
+typedef off_t _MDOff64_t;
#elif defined(_PR_HAVE_LARGE_OFF_T)
typedef struct stat _MDStat64;
typedef off_t _MDOff64_t;

@ -21,9 +21,9 @@ MULTILIB_CHOST_TOOLS=(
)
PATCHES=(
"${FILESDIR}"/${PN}-4.10.6-solaris.patch
"${FILESDIR}"/${PN}-4.23-prtime.patch
"${FILESDIR}"/${PN}-4.7.1-solaris.patch
"${FILESDIR}"/${PN}-4.10.6-solaris.patch
"${FILESDIR}"/${PN}-4.8.4-darwin-install_name.patch
"${FILESDIR}"/${PN}-4.8.9-link-flags.patch
# We do not need to pass -L$libdir via nspr-config --libs
@ -37,7 +37,10 @@ src_prepare() {
default
use elibc_musl && eapply "${FILESDIR}"/${PN}-4.21-ipv6-musl-support.patch
if use elibc_musl; then
eapply "${FILESDIR}"/${PN}-4.21-ipv6-musl-support.patch
eapply "${FILESDIR}"/nspr-4.35-bgo-905998-lfs64-musl.patch
fi
# rename configure.in to configure.ac for new autotools compatibility
if [[ -e "${S}"/nspr/configure.in ]] ; then

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -10,7 +10,9 @@ SRC_URI="https://github.com/OpenSC/${PN}/releases/download/${P}/${P}.tar.bz2"
LICENSE="|| ( BSD GPL-2 )"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
IUSE="doc gnutls nss"
IUSE="doc gnutls nss test"
# Fails trying to load /usr/lib/pkcs11/provider.so?
RESTRICT="!test? ( test ) test"
RDEPEND=">=dev-libs/openssl-0.9.7:=
gnutls? ( >=net-libs/gnutls-1.4.4:= )
@ -29,7 +31,8 @@ src_configure() {
--disable-crypto-engine-mbedtls \
$(use_enable doc) \
$(use_enable gnutls crypto-engine-gnutls) \
$(use_enable nss crypto-engine-nss)
$(use_enable nss crypto-engine-nss) \
$(use_enable test tests)
}
src_install() {

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -90,7 +90,7 @@ src_configure() {
--with-drivers="${myeconfargs_lcd_devices#,}"
)
econf "${myeconfargs[@]}"
CONFIG_SHELL="${BROOT}/bin/bash" econf "${myeconfargs[@]}"
}
src_install() {

Binary file not shown.

@ -1 +1,2 @@
DIST WWW-Curl-4.17-Work-around-a-macro-bug-in-curl-7.87.0.patch 1375 BLAKE2B af3809b0933d127e7f3d9b7992104cdd1334f05d94a0650f60965669c6b750253dc1b936cf7570cb2ab9ddde1820e32fe9553f8f40dd1055455d33d712907e0c SHA512 2d8a32258c12cdc894da31374c751297e0875dd3469a5e9ba2b11efd96a7df3c39e0369eac5749e5f4746d37199440cb1c91e97c51c63c0e9b84850892b3b52f
DIST WWW-Curl-4.17.tar.gz 50917 BLAKE2B 6f07570fb0db535b506b8e4a879a05f1901d4c1a2c0fb8c775ae330fb3ea44c523d921494d30f9e02b8eb84e4a006eb53e8594bbce6615ad162090b0d422edfb SHA512 bc7a75d0e23f5a77578fd7244b56a1e1b81d814993b90ac7132926f0d571232c4c95875bc615cb6239e424ae1d5481d27796efc5376bb0845d1da0ff1137c0d6

@ -0,0 +1,82 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DIST_AUTHOR=SZBALINT
DIST_VERSION=4.17
inherit perl-module
DESCRIPTION="Perl extension interface for libcurl"
LICENSE="|| ( MPL-1.0 MPL-1.1 MIT )"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
RDEPEND="net-misc/curl"
DEPEND="${RDEPEND}"
BDEPEND="${RDEPEND}"
# https://rt.cpan.org/Public/Bug/Display.html?id=145992
SRC_URI+="
https://rt.cpan.org/Public/Ticket/Attachment/2423633/1093328/WWW-Curl-4.17-Work-around-a-macro-bug-in-curl-7.87.0.patch
"
PATCHES=(
"${FILESDIR}"/${PN}-4.150.0-curl-7.50.2.patch
"${FILESDIR}"/${PN}-4.17-dotinc.patch
"${FILESDIR}"/${PN}-4.17-networktests.patch
"${FILESDIR}"/${PN}-4.17-RT117793.patch
"${FILESDIR}"/${PN}-4.17-RT130591.patch
"${FILESDIR}"/${PN}-4.17-RT132197.patch
"${DISTDIR}/WWW-Curl-4.17-Work-around-a-macro-bug-in-curl-7.87.0.patch"
)
src_prepare() {
perl-module_src_prepare
# Makefile.PL does some creative things parsing macros vs defines from curl
# build system
#
# However, it tends to be very fragile and needs lots of patching, so
# instead of multiple patches, make it a variable and hoist it to the
# ebuild.
#
# Use the modifier flags aax means we can write an easier to manage regex as well.
sed -i -r \
-e '/if.*=~.*(OBSOLETE|CURL_EXTERN|CURL_STRICTER)/s,/[^/]+/,/($ENV{_CURL_BUILD_SYM_EXCLUDE})/aax,g' \
"${S}/Makefile.PL"
}
# https://src.fedoraproject.org/rpms/perl-WWW-Curl/blob/rawhide/f/WWW-Curl-4.17-Skip-preprocessor-symbol-only-CURL_STRICTER.patch
# /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|_LAST\z|_LASTENTRY\z)/
#
# files/WWW-Curl-4.17-RT117793.patch
# /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z|_LAST\z|_LASTENTRY\z)/)
#
# files/WWW-Curl-4.17-RT130591.patch
# /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z|_LAST\z|_LASTENTRY\z|^CURLINC_)/
#
# https://rt.cpan.org/Public/Bug/Display.html?id=132197
# /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z|_LAST\z|_LASTENTRY\z|^CURLINC_|^CURL_WIN32\z|^CURLOPT\z)/
#
# https://src.fedoraproject.org/rpms/perl-WWW-Curl/blob/rawhide/f/WWW-Curl-4.17-Adapt-to-curl-7.87.0.patch
# /(OBSOLETE|^CURL_DEPRECATED\z|^CURL_EXTERN|^CURL_IGNORE_DEPRECATION\z|^CURL_STRICTER\z|^CURL_WIN32\z|^CURLOPT\z|^CURLOPTDEPRECATED\z|_LAST\z|_LASTENTRY\z)
#
# If you change this variable, you should probably be bumping the ebuild rev!
export _CURL_BUILD_SYM_EXCLUDE='
__000FORPATCH_WITH_LEADING_SPACE
|^CURL_DEPRECATED\z
|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z
|^CURL_EXTERN
|^CURL_IGNORE_DEPRECATION\z
|^CURLINC_
|^CURLOPTDEPRECATED\z
|^CURLOPT\z
|^CURL_STRICTER\z
|^CURL_WIN32\z
|_LASTENTRY\z
|_LAST\z
|OBSOLETE
'
PERL_RM_FILES=("t/meta.t" "t/pod-coverage.t" "t/pod.t")

Binary file not shown.

@ -1 +1,2 @@
DIST PyGithub-1.58.1.tar.gz 3171074 BLAKE2B e1397db839b2fc194fc67d9ac47adf9faa4a087c9350596e243d8d763a05d50ee1f9b03192bc5b88c0c94893c8d39b798efd07d0c2c8c597072c65306339c03a SHA512 97e316d8bcd47546da2f64afe462b51d183a5385544a57963585a179d844e12865c7b87f08c507c4d3d8c0397a7f98acd84c17f45e9668722459c4c2cc328363
DIST PyGithub-1.58.2.tar.gz 3171156 BLAKE2B 251964d542eff68b16a4b56740ed3753f80e56f56458cbc1b909b082b6f5deaf805088a24002e1bb95dae46fc7dcd54da6dbfdbd43c79c097a55f118c0bcc755 SHA512 91db0db09c4bfd145013c4b0861d12271a83bce9de7865eaa3e8baeb02bbb262218987556e7df435b50fcd14ea178da7bc23225d4d93ccf1714fa9a894cd46bd

@ -0,0 +1,38 @@
# Copyright 1999-2023 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..11} )
inherit distutils-r1 pypi
DESCRIPTION="Python library to access the Github API v3"
HOMEPAGE="
https://github.com/PyGithub/PyGithub/
https://pypi.org/project/PyGithub/
"
LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# cryptography via pyjwt[crypto]
RDEPEND="
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/deprecated[${PYTHON_USEDEP}]
>=dev-python/pyjwt-2.4.0[${PYTHON_USEDEP}]
>=dev-python/pynacl-1.4.0[${PYTHON_USEDEP}]
>=dev-python/requests-2.14.0[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
test? (
>=dev-python/httpretty-0.9.6[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest

@ -3,3 +3,4 @@ DIST boto3-1.26.126.gh.tar.gz 642281 BLAKE2B c7a9130cac15843decf4543d6f749040805
DIST boto3-1.26.127.gh.tar.gz 645245 BLAKE2B fb320e064eae4a6755770653f5519e17ea11aa6f7aa566e0a625b1113cc784440c4d519bb2de544340d66c3fe80a510a1dadba3f724395c186ad7ef68b5ce11f SHA512 df6f9082a159e7ae8033ba92652cde9d73fc8b93e6793d3ce021b75135f825f7e4e102467caa179b36959a42b98376e30ada35d4a3259e359fbf417c92a6e487
DIST boto3-1.26.129.gh.tar.gz 645918 BLAKE2B 2de3833e60f8a8b91a35c863fc67e1b098b4d51e296a20677ab0e35b62809118dd105cf9338ccef60eef454cbf4b443bf06aa56206a1db4720305bc23ef19d42 SHA512 6b97bee6947eb05e972877b8326b83c4fe6fd244c0ef63da3f2aec801a00810083bb5d4998ec262394cd130393c85f4a0f0cc22f58def1a425def2b3780a48bc
DIST boto3-1.26.130.gh.tar.gz 646289 BLAKE2B a93c3806253f1af6cfa385531fc7b9efbaefd403a20155c5033fd4860f19fa845394a73aa5641d21c5a3992abac92245345567c1286370ea7f0029d0159e0ad7 SHA512 1bf0f7d682437cd5564515b7da622b10201a4d91358f52c2c4bff9a80f1c082b881b87c53a21a0eef6c5f5c36ae622efd0d80225b402c4bf93019405f31d1a9f
DIST boto3-1.26.131.gh.tar.gz 646652 BLAKE2B c28edab15296d5b12aa8d423cba491f0665c8c3b87187cc7e75c75b16533b7cc10789833559cb39852257cac0d22d08f901d7459ddd53e2642f7ee8a42d73d64 SHA512 d7b9a215a895c79c3d8f63c4657d9c9ddf733219a36e7b204edd2602695d92826ba0ce4192fe50037dec672395aaceda3b115bad4d48c3437a1e20f52beaaa3d

@ -0,0 +1,66 @@
# 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..11} )
inherit distutils-r1 multiprocessing
DESCRIPTION="The AWS SDK for Python"
HOMEPAGE="
https://github.com/boto/boto3/
https://pypi.org/project/boto3/
"
LICENSE="Apache-2.0"
SLOT="0"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://github.com/boto/boto3"
inherit git-r3
BOTOCORE_PV=${PV}
else
SRC_URI="
https://github.com/boto/boto3/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
# botocore is x.(y+3).z
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
fi
RDEPEND="
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_prepare_all() {
# don't lock versions to narrow ranges
sed -e '/botocore/ d' \
-e '/jmespath/ d' \
-e '/s3transfer/ d' \
-i setup.py || die
# do not rely on bundled deps in botocore (sic!)
find -name '*.py' -exec sed -i \
-e 's:from botocore[.]vendored import:import:' \
-e 's:from botocore[.]vendored[.]:from :' \
{} + || die
distutils-r1_python_prepare_all
}
python_test() {
epytest tests/{functional,unit} -n "$(makeopts_jobs)"
}

@ -3,3 +3,4 @@ DIST botocore-1.29.126.gh.tar.gz 11453877 BLAKE2B 955931ba40d550a12f4cd16cd7f746
DIST botocore-1.29.127.gh.tar.gz 11474348 BLAKE2B 72002e57593e114864bb8d6f0ec30d78fb503a6eee71fd0e61dbe430d976408583e2697db1828e8373bd5ba620b024c2e9bf3e25a69a39625b8ac7f5ae61a63a SHA512 b82f149807970666175222bba27213387782804c41393609011f36564b6a8be209777a575fa088e39440f7bcfe6d47d1183136aa2710ad4315f6f70075cd0ce3
DIST botocore-1.29.129.gh.tar.gz 11476185 BLAKE2B b2601ecd28263e44f4830ccad24402e6c5f62127cd5abbe75fd270bb05fabcc10dee24e6ba8e37629232929990b1f6bd9870eead303642564342da60c3386bda SHA512 c38a8797f7c728755406e334094e0183fd69eb1a7c68e41b065d5d2c999948714390a647c68d0373c1d8a7b6d9d91fd950b10527ee88bca08788921903ff9535
DIST botocore-1.29.130.gh.tar.gz 11473884 BLAKE2B 13d50cd41f690cf1e45324ca311da65f946396ebe3856ff60c06e35edc290d4e1d1b76e2b3bc72c3c0f8578f4cae16a7812f5c742bd8847cc5dfc5e15e98d12d SHA512 0173113f295019bfd968af0651bde9032baa2ebb2018070db8702adc35d73ac98e03a828fed7637ebc76bf5d1ba66b6fadb87a1d2afdae8a23f6279d7d5f10ad
DIST botocore-1.29.131.gh.tar.gz 11477200 BLAKE2B b82be25b352f8d8192e698e06ed7bb5ed56632a355930fef0d3e75eff3cba4ef3b165ad9d9b98a6d2a862fb0ac73b656494e2c33772a8527ee67fc0321ad7ed3 SHA512 b2ebdd6b1abb71a611120413a65b35f27e5962085cb35dc166b7eb04540622e39ef16d2f09f304a41c3692080f4bb8a6593cc60208b7d3f39d01e827a4795067

@ -0,0 +1,72 @@
# 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..11} )
inherit distutils-r1 multiprocessing
DESCRIPTION="Low-level, data-driven core of boto 3"
HOMEPAGE="
https://github.com/boto/botocore/
https://pypi.org/project/botocore/
"
LICENSE="Apache-2.0"
SLOT="0"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://github.com/boto/botocore"
inherit git-r3
else
SRC_URI="
https://github.com/boto/botocore/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
fi
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
<dev-python/jmespath-2[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/jsonschema[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
src_prepare() {
# unpin deps
sed -i -e "s:>=.*':':" setup.py || die
# unbundle deps
rm -r botocore/vendored || die
find -name '*.py' -exec sed -i \
-e 's:from botocore[.]vendored import:import:' \
-e 's:from botocore[.]vendored[.]:from :' \
{} + || die
distutils-r1_src_prepare
}
python_test() {
local EPYTEST_DESELECT=(
# rely on bundled six
tests/functional/test_six_imports.py::test_no_bare_six_imports
tests/functional/test_six_threading.py::test_six_thread_safety
# fails on unrelated warnings
tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME
tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME
# TODO
tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider
)
epytest tests/{functional,unit} -n "$(makeopts_jobs)"
}

@ -1 +1,2 @@
DIST cliff-4.2.0.tar.gz 83168 BLAKE2B ac2d288ac3728f4266d61edb9b6aedc897e9020d3f8a74ebba4721530942a27335564c2a95406a4d6b5374df49e38bc0aa303d3aff12f83c91e48c59f13aa45f SHA512 6f0c31b49603be5289e6d4c9b2572862e977264df21dc14d976289c627909102d672ee8ffa5b6cd79b3a349158ff8f36444a2d2061e18eeb7121ce79b2d5719b
DIST cliff-4.3.0.tar.gz 82652 BLAKE2B 8d4977e3541fd9de21fb637069abcb92cf38b07f47f0d61d329397ab9d42335f18faa6d7d13862b7f188632af39d46118d0f3ebfcf2475b67c258388aa4bbcc2 SHA512 b4ed6fcec05017c999d54188459aa93c9a35660b0ceb505525f22a6bb7632e3548e91d8dc00db381c314a3818be2a457b7aee3307da35915ea7519c1e13091a3

@ -0,0 +1,42 @@
# 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_{9..11} )
inherit distutils-r1 pypi
DESCRIPTION="Command Line Interface Formulation Framework"
HOMEPAGE="
https://opendev.org/openstack/cliff/
https://github.com/openstack/cliff/
https://pypi.org/project/cliff/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86"
RDEPEND="
>=dev-python/autopage-0.4.0[${PYTHON_USEDEP}]
>=dev-python/cmd2-0.8.0[${PYTHON_USEDEP}]
dev-python/prettytable[${PYTHON_USEDEP}]
>=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}]
>=dev-python/stevedore-2.0.1[${PYTHON_USEDEP}]
>=dev-python/pyyaml-3.12.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
>=dev-python/importlib-metadata-4.11.1[${PYTHON_USEDEP}]
' 3.8 3.9)
"
BDEPEND="
>dev-python/pbr-2.1.0[${PYTHON_USEDEP}]
test? (
dev-python/sphinx[${PYTHON_USEDEP}]
>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
)
"
distutils_enable_tests unittest

@ -1,4 +1 @@
DIST coverage-7.2.2.tar.gz 812407 BLAKE2B 901ed01eb8411e01c3386dcecccf975f4ac0e46c14fd2c6086bcf83647ff7e26deccb3926f173a207ef2851c0f8c5f99874659a1ba2e16f85b6eb9a1ac23142c SHA512 7d2ba6540ca42c3a72b65343348a64c58156bac915434249fd8740a6727ebf034590f62a5557f6b2f76e67ed1adc2a153ce61eee71f3bc903538c440e080e3e7
DIST coverage-7.2.3.tar.gz 757154 BLAKE2B eb2d7e9e52dd9480f806556fbb73864884365215834640a1458c06d137706d3a5ca818c0418ecc6646b0722fd23a0348eddb97521a7cd024c218b872072661ea SHA512 2710424b04f812299777497e526d259a3ac35205b425a53973954c8e51cd39e75c30f8be9d60656e7369d3fa2decd810a8cb395dd433381495db4f6a7cd9a600
DIST coverage-7.2.4.tar.gz 759129 BLAKE2B 186f5dcd5abd86634cf6cd3c58be47cc68e8d8417df02b4e55ac3d66703664b2069cb3f94fdff726eca99108fd243f6410b0118cf4a2b21a067653f567f8f013 SHA512 f22d475a64828d0613747cf7315053c4830acb9931acfe58e1c29029028f0a48e9c633649bea92ab6bae3b67daf790eb9cf3d6ea22dec1d1f5dce7df673ff3ae
DIST coverage-7.2.5.tar.gz 759465 BLAKE2B 79670165a2516047ce3b28c331ec62c7c578fbfe14bd1179be65e52c5e57923ffb0d365f9153a78134ed5d95e4e04a8eadb6df3cbc49559659cf8cb77aa9d611 SHA512 3c4ec5aaba06170c860baa23ba61fe6f19b95a433430f045272839c13cc5bf4fb12a2a030d987ad5713202c75273646639da1257c0a618658f090c8a9fee41a7

@ -1,77 +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_{9..11} pypy3 )
PYTHON_REQ_USE="threads(+),sqlite(+)"
inherit distutils-r1 pypi
DESCRIPTION="Code coverage measurement for Python"
HOMEPAGE="
https://coverage.readthedocs.io/en/latest/
https://github.com/nedbat/coveragepy/
https://pypi.org/project/coverage/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
RDEPEND="
$(python_gen_cond_dep '
dev-python/tomli[${PYTHON_USEDEP}]
' 3.{8..10})
"
BDEPEND="
test? (
dev-python/flaky[${PYTHON_USEDEP}]
dev-python/hypothesis[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
>=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
src_prepare() {
sed -i -e '/^addopts/s:-q -n auto::' setup.cfg || die
distutils-r1_src_prepare
}
test_tracer() {
local -x COVERAGE_TEST_TRACER=${1}
einfo " Testing with the ${COVERAGE_TEST_TRACER} tracer ..."
epytest tests
}
python_test() {
local EPYTEST_IGNORE=(
# pip these days insists on fetching build deps from Internet
tests/test_venv.py
)
"${EPYTHON}" igor.py zip_mods || die
local -x COVERAGE_TESTING=True
# TODO: figure out why they can't be imported inside test env
local -x COVERAGE_NO_CONTRACTS=1
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local -x PYTEST_PLUGINS=_hypothesis_pytestplugin,flaky.flaky_pytest_plugin,xdist.plugin
local prev_opt=$(shopt -p nullglob)
shopt -s nullglob
local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so )
${prev_opt}
if [[ -n ${c_ext} ]]; then
cp "${c_ext}" \
coverage/ || die
test_tracer c
rm coverage/*.so || die
else
test_tracer py
fi
}

@ -1,81 +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_{9..11} pypy3 )
PYTHON_REQ_USE="threads(+),sqlite(+)"
inherit distutils-r1 pypi
DESCRIPTION="Code coverage measurement for Python"
HOMEPAGE="
https://coverage.readthedocs.io/en/latest/
https://github.com/nedbat/coveragepy/
https://pypi.org/project/coverage/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
RDEPEND="
$(python_gen_cond_dep '
dev-python/tomli[${PYTHON_USEDEP}]
' 3.{8..10})
"
BDEPEND="
test? (
dev-python/flaky[${PYTHON_USEDEP}]
dev-python/hypothesis[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
>=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
src_prepare() {
sed -i -e '/addopts/s:-q -n auto::' pyproject.toml || die
distutils-r1_src_prepare
}
test_tracer() {
local -x COVERAGE_TEST_TRACER=${1}
einfo " Testing with the ${COVERAGE_TEST_TRACER} tracer ..."
epytest tests
}
python_test() {
local EPYTEST_DESELECT=(
# TODO: fails because of additional "Terminated" print on SIGTERM
tests/test_concurrency.py::SigtermTest::test_sigterm_threading_saves_data
)
local EPYTEST_IGNORE=(
# pip these days insists on fetching build deps from Internet
tests/test_venv.py
)
"${EPYTHON}" igor.py zip_mods || die
local -x COVERAGE_TESTING=True
# TODO: figure out why they can't be imported inside test env
local -x COVERAGE_NO_CONTRACTS=1
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local -x PYTEST_PLUGINS=_hypothesis_pytestplugin,flaky.flaky_pytest_plugin,xdist.plugin
local prev_opt=$(shopt -p nullglob)
shopt -s nullglob
local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so )
${prev_opt}
if [[ -n ${c_ext} ]]; then
cp "${c_ext}" \
coverage/ || die
test_tracer c
rm coverage/*.so || die
else
test_tracer py
fi
}

@ -1,82 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} pypy3 )
PYTHON_REQ_USE="threads(+),sqlite(+)"
inherit distutils-r1 pypi
DESCRIPTION="Code coverage measurement for Python"
HOMEPAGE="
https://coverage.readthedocs.io/en/latest/
https://github.com/nedbat/coveragepy/
https://pypi.org/project/coverage/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
RDEPEND="
$(python_gen_cond_dep '
dev-python/tomli[${PYTHON_USEDEP}]
' 3.{8..10})
"
BDEPEND="
test? (
dev-python/flaky[${PYTHON_USEDEP}]
dev-python/hypothesis[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
>=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
src_prepare() {
sed -i -e '/addopts/s:-q -n auto::' pyproject.toml || die
distutils-r1_src_prepare
}
test_tracer() {
local -x COVERAGE_TEST_TRACER=${1}
einfo " Testing with the ${COVERAGE_TEST_TRACER} tracer ..."
epytest tests
}
python_test() {
local EPYTEST_DESELECT=(
# TODO: fails because of additional "Terminated" print on SIGTERM
tests/test_concurrency.py::SigtermTest::test_sigterm_threading_saves_data
)
local EPYTEST_IGNORE=(
# pip these days insists on fetching build deps from Internet
tests/test_venv.py
)
"${EPYTHON}" igor.py zip_mods || die
local -x COVERAGE_TESTING=True
# TODO: figure out why they can't be imported inside test env
local -x COVERAGE_NO_CONTRACTS=1
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local -x PYTEST_PLUGINS=_hypothesis_pytestplugin,flaky.flaky_pytest_plugin,xdist.plugin
local prev_opt=$(shopt -p nullglob)
shopt -s nullglob
local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so )
${prev_opt}
if [[ -n ${c_ext} ]]; then
cp "${c_ext}" \
coverage/ || die
test_tracer c
rm coverage/*.so || die
else
test_tracer py
fi
}

@ -19,7 +19,7 @@ HOMEPAGE="
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
RDEPEND="
$(python_gen_cond_dep '

@ -1,3 +1,4 @@
DIST hatch-hatchling-v1.13.0.gh.tar.gz 383610 BLAKE2B 0a3dc20f6c1c504c94c09897e23e6ade844318488093cf849e332cf08f7be178ddb3ae61d8ff01af93438c01216b056a3566e9d8758a0151e4d7498447a9524f SHA512 fb14e1d088676dfc2b76dda207aa514232c3c5b8472d7332c0d53e0bd4dbd1d0e3bd1ac9f261f72e1a32610c565485f5e382fc7071e80066735a04eb8cade13e
DIST hatch-hatchling-v1.14.0.gh.tar.gz 378144 BLAKE2B e4fe0b22053e5be1ff330e96ad053e0461aa4e2ad1566313f03f265d42c7b63de8e3e7e7a52fa68639c4bdf4815e22e4040e8511eb43185cb3e7c8cf4d85ff92 SHA512 79a446c327022337c8c9e090c0aea0471fdad0a6c6d384797832bca09ece66c3b854c9626afccbb4fc49a9204ebb1e59a2ee55ff358b0eb1b10b16ddf7b4952a
DIST hatch-hatchling-v1.14.1.gh.tar.gz 378265 BLAKE2B ce990341dd4e41e98dbcc97af8e91bed37d4a4c08da7c86baeefb08b27b293c2d3e9a60c780338959bbbfe784603b762718aaf8721c85d3c0252170209d51235 SHA512 87f01d7bd8cc1be060c73a703cc6fe780ec8ef8ab5f1a883fb2b81a821c1be751bcff2301a21ffaec70a272b05cb47c387edfff97682fab402a142f31439677c
DIST hatch-hatchling-v1.15.0.gh.tar.gz 382326 BLAKE2B 14095fc4355baef2bd7ba6156dccb23d21fca4f3942a35fc4341764d4367b94413dc62e3701c43447883137db8261fd5c08ddb3b9688954102ed11c33767d1d4 SHA512 e8d9d557ce277063048ef49c58e8230fb021487c5b4ffafde9caa00c834e6e84aae3d0c7b2a8cbdbdfb18a177afc432da692fab8437630df539ca149dc2ebfc7

@ -0,0 +1,78 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=standalone
PYTHON_TESTED=( pypy3 python3_{9..11} )
PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
inherit distutils-r1
TAG=${P/-/-v}
MY_P=hatch-${TAG}
DESCRIPTION="Modern, extensible Python build backend"
HOMEPAGE="
https://pypi.org/project/hatchling/
https://github.com/pypa/hatch/
"
SRC_URI="
https://github.com/pypa/hatch/archive/${TAG}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}/backend
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
# deps are listed in backend/src/hatchling/ouroboros.py
RDEPEND="
>=dev-python/editables-0.3[${PYTHON_USEDEP}]
>=dev-python/packaging-21.3[${PYTHON_USEDEP}]
>=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}]
>=dev-python/pluggy-1.0.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
>=dev-python/tomli-1.2.2[${PYTHON_USEDEP}]
' 3.8 3.9 3.10)
dev-python/trove-classifiers[${PYTHON_USEDEP}]
"
BDEPEND="
${RDEPEND}
test? (
$(python_gen_cond_dep '
dev-python/atomicwrites[${PYTHON_USEDEP}]
dev-python/click[${PYTHON_USEDEP}]
dev-python/httpx[${PYTHON_USEDEP}]
dev-python/platformdirs[${PYTHON_USEDEP}]
dev-python/rich[${PYTHON_USEDEP}]
dev-python/tomli-w[${PYTHON_USEDEP}]
dev-python/virtualenv[${PYTHON_USEDEP}]
' "${PYTHON_TESTED[@]}")
)
"
distutils_enable_tests pytest
python_test() {
if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
einfo "Skipping tests on ${EPYTHON}"
return
fi
local -x EPYTEST_DESELECT=(
# these run pip to install stuff
tests/backend/dep/test_core.py::test_dependency_found
tests/backend/dep/test_core.py::test_extra_met
tests/backend/dep/test_core.py::test_extra_no_dependencies
tests/backend/dep/test_core.py::test_extra_unmet
tests/backend/dep/test_core.py::test_unknown_extra
tests/backend/dep/test_core.py::test_version_unmet
)
# top-level "tests" directory contains tests both for hatch
# and hatchling
cd "${WORKDIR}/${MY_P}" || die
local -x PYTHONPATH="src:${PYTHONPATH}"
epytest tests/backend
}

@ -1,2 +1 @@
DIST mkdocs_pymdownx_material_extras-2.4.2.tar.gz 24247 BLAKE2B 1ab9bcc9c6a6f11188305d36c48773ad03d9f03cf95636f6d6eeb292d39d7cce3c4ea155caf6343b636f33dab885dd2320e2f7b12f91b5d7d03e1da1480b2ac1 SHA512 8852fab08e7dc43b005d3ebaaabaed07598751dc7dbf237a9728c1cbf8abf992403e27a515d615bbbe0b753b08a0f32aa8f18cb249b07187319c20c285fdf312
DIST mkdocs_pymdownx_material_extras-2.4.3.tar.gz 24693 BLAKE2B c7b7518d5eaca04dff0373e897f9fb871aa8537a1438841ab58a4f157910070ccf339091340521d56b7b727cedf33dd5b3ca711155e39b505da195f2308ab0e0 SHA512 3659235bf200f2c400892e9223bc6a1465af116f6f5a85c4decedfd951eba57fbbcb70faf6c22ef9d79d049621d66e64790dad2fa95d43a41213f288b27405a9

@ -1,23 +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_{9..11} )
inherit distutils-r1 pypi
DESCRIPTION="Custom alterations based on Mkdocs-Material"
HOMEPAGE="
https://github.com/facelessuser/mkdocs_pymdownx_material_extras/
https://pypi.org/project/mkdocs-pymdownx-material-extras/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~ppc ~riscv x86"
RDEPEND="
>=dev-python/mkdocs-material-8.3.3[${PYTHON_USEDEP}]
"

@ -1,2 +1 @@
DIST mypy-1.1.1.gh.tar.gz 2787425 BLAKE2B e72a4dcb41107e6438b360bb342b7ac42778ab3d6bd557d7fe2a9f92f6427d94d782661ff80bee36aafa676d0cc1553bcfd74cf3e413d4afa525fd8e93e9b87e SHA512 fcd50366837d005f255e2e8ecf20c843374a5d7670d714d1f8cfdaef1c6d44e37e7e84ba91fd1d49513e3aeffc8d5c0ab40ddd7bc9fced75082c9fea60d38f6a
DIST mypy-1.2.0.gh.tar.gz 2815323 BLAKE2B d5cdc1bb31d797c49daf5ea0427fdceaf59a131d02a687dc5e72796a03824bff923c6942c6f01ca44025fe153fea02fdaee3959317fda0d4c562c45638e8c380 SHA512 5bee7a5ae4ac608cb3b3855c0ad100ea6ba512900aa557a153e1ae5f8e779125a8ef61103a81a9584b0585a6d4eea78c3585af61fa62986f984ac2b63e6b89b6

@ -1,63 +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_{9..11} )
inherit distutils-r1 multiprocessing
DESCRIPTION="Optional static typing for Python"
HOMEPAGE="
https://www.mypy-lang.org/
https://github.com/python/mypy/
https://pypi.org/project/mypy/
"
SRC_URI="
https://github.com/python/mypy/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
# stubgen collides with this package: https://bugs.gentoo.org/585594
RDEPEND="
!dev-util/stubgen
>=dev-python/psutil-4[${PYTHON_USEDEP}]
>=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
<dev-python/typed-ast-2[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-3.10[${PYTHON_USEDEP}]
>=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/tomli[${PYTHON_USEDEP}]
' pypy3 python3_{8..10})
"
BDEPEND="
test? (
>=dev-python/attrs-18.0[${PYTHON_USEDEP}]
>=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
>=dev-python/lxml-4.4.0[${PYTHON_USEDEP}]
>=dev-python/pytest-6.1.0[${PYTHON_USEDEP}]
>=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
>=dev-python/py-1.5.2[${PYTHON_USEDEP}]
>=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
>=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]
)
"
distutils_enable_sphinx docs/source \
dev-python/furo
distutils_enable_tests pytest
# this requires packaging a lot of type stubs
export MYPY_USE_MYPYC=0
python_test() {
# Some mypy/test/testcmdline.py::PythonCmdlineSuite tests
# fail with high COLUMNS values
local -x COLUMNS=80
epytest -n "$(makeopts_jobs)"
}

@ -21,7 +21,7 @@ SRC_URI="
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
# stubgen collides with this package: https://bugs.gentoo.org/585594
RDEPEND="

@ -1 +1,2 @@
DIST osc-lib-2.7.0.tar.gz 98224 BLAKE2B 9b0d34b628ca413641413ccd92e2a712938eed5a7124e9bae78a281b705be9b4dd2e3c9f5e322f10712361b3e09cfd3edae593a1c4fec6108ba0e946546141ff SHA512 edeff7097e8869b9ef4c888043c44eabea281b89cdac26da4a54fac708a6c9b3c10c57ea3bc76b8ed735c9d803edbb52c77c13c97a07614ce102cdac24a8eb5a
DIST osc-lib-2.8.0.tar.gz 98870 BLAKE2B 29e312caf968f9a725d114c71a32d4d38ba11c785ac5118fe5dc07633f1d71ba5eb387f6fdbe9d90809088f5a1746ea1aea6cf4e55cc3848fa52462ee7969b0f SHA512 a54e3fa13277808d48f98c46aaf3d90670fe8dce21167816e0a8de21133bb95b87fb8172e0cfa6b1e6076635842569849fcddd9450df7ad2372bc079b37ad519

@ -0,0 +1,51 @@
# Copyright 1999-2023 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_{9..11} )
inherit distutils-r1 pypi
DESCRIPTION="A package of common support modules for writing OSC plugins"
HOMEPAGE="
https://opendev.org/openstack/osc-lib/
https://github.com/openstack/osc-lib/
https://pypi.org/project/osc-lib/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux"
RDEPEND="
>=dev-python/cliff-3.2.0[${PYTHON_USEDEP}]
>=dev-python/keystoneauth1-3.14.0[${PYTHON_USEDEP}]
>=dev-python/openstacksdk-0.15.0[${PYTHON_USEDEP}]
>=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
>=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
>=dev-python/simplejson-3.5.1[${PYTHON_USEDEP}]
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
"
BDEPEND="
>dev-python/pbr-2.1.0[${PYTHON_USEDEP}]
test? (
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
>=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
>=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}]
>=dev-python/statsd-3.3.0[${PYTHON_USEDEP}]
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
)
"
distutils_enable_tests unittest
src_prepare() {
# need to skip all tests under TestTagHelps class
# checks exact help message, based on another unittest runner
sed -e '179,$s/test_add_tag_/_&/' -i osc_lib/tests/utils/test_tags.py || die
distutils-r1_src_prepare
}

@ -1 +1,2 @@
DIST pyfuse3-3.2.2.tar.gz 510868 BLAKE2B a6f11083a3ddec031fdfe5cb810be526cba26d7bc9599a64d28e9a45281aeb04fca8728ff3788e44f1736475c89e64c3c1fd7cb964ff81fc30ce441a5dda7fae SHA512 91787c4198592ff5f0c022141e6c3cb1701108a6635b4d26347c4f7efff2a83aec206e939b44879ad1fd5c6c85aa6731b7465c998ec55ec032a6db024ffee817
DIST pyfuse3-3.2.3.tar.gz 512352 BLAKE2B 1b5826ea42a72fd5d688b4cd7617c2fd08a7f9b69381d52343e8891c90ba51f8c5c79a2b9c7c42944cd20493ea645a00a26e7c04cebec10322f71241b8b12df3 SHA512 2f35ea5e0f05af7184fe83458b976742f4f500d09098c68b71982e4b8c089485677bf1e704536e037d6f690fce3006a4fdb71697c68999ed412cc9d73aef8b13

@ -0,0 +1,40 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1 pypi
DESCRIPTION="Python 3 bindings for libfuse 3 with asynchronous API"
HOMEPAGE="
https://github.com/libfuse/pyfuse3/
https://pypi.org/project/pyfuse3/
"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
DEPEND="
sys-fs/fuse:3
"
RDEPEND="
${DEPEND}
dev-python/trio[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
test? (
dev-python/pytest-trio[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_configure() {
esetup.py build_cython
}

@ -1 +1,2 @@
DIST PyJWT-2.6.0.tar.gz 72984 BLAKE2B d8e9cc85ec80ca8f0414b88bb4bfa4aa93c973e5f3e015dee9433371d8b3c9ba5d701df16073bbacbaca9c9433f8a69259623f2f4e70843dbdf520d4248bb3f3 SHA512 c2f797bbb84469db1332bad61807740d859d0e1fa500ba17981d6c1a7a30a6fab345ff241200e24ce1ffe686591642a858e5eb2e9462fa1ceda7fcd00ae55d30
DIST PyJWT-2.7.0.tar.gz 77902 BLAKE2B ff1e1c5dfd301a86a42eb6b4b2d6d900b15acdf60875bac49aee980b75b724292ff48b169cd2b9708388860ea93fd94f3cbf891f4606bfeb544e07a14c328bb8 SHA512 0aa886dfdc3c668b45e1c649cc3fbe3c2dec7476f46bd361ff74f6e9c7ea0ad40306a8a8ae84bfd63fe1c1364302b8aa69943013c951b32c9f24e4782b94ca8d

@ -0,0 +1,36 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYPI_PN="PyJWT"
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1 optfeature pypi
DESCRIPTION="JSON Web Token implementation in Python"
HOMEPAGE="
https://github.com/jpadilla/pyjwt/
https://pypi.org/project/PyJWT/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
RDEPEND="
!dev-python/python-jwt
"
BDEPEND="
test? (
>=dev-python/cryptography-3.4.0[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
pkg_postinst() {
optfeature "cryptography" dev-python/cryptography
}

@ -2,3 +2,4 @@ DIST ruamel.yaml-0.17.21.tar.xz 184612 BLAKE2B cc7e2a336d3c77a9f2d7e5d7233ceb4d1
DIST ruamel.yaml-0.17.22.tar.xz 185000 BLAKE2B dda8163bfa52b29801d115bc64ef52c35086f186b4795df9dfcd785584e2de338ca055dbf07f3eaac548b14d338ac89bbda4e95196fd113a8fda3ecacb30bc61 SHA512 ac1af1c829c0a5dc65a66926d03b50eede405c9dafd811eae1b9567c81b6bb86b7dd91f4b7c6bf84d7c4833f8b17860dcfddaf7992241ac6673d7ffecf15466f
DIST ruamel.yaml-0.17.23.tar.xz 185900 BLAKE2B ff283c979474f14e2f0231d64d0a609f262c4b87764eedb2b6060a66a09388670514f341809e6c5f36b0fbe15412209dbd5da9fc31fd8bda83a4d857beade48e SHA512 1a9c22357d61e31464cdead9d0c7715f156839861b8d93b94fa78f00b8d75e803d5bd74fc7d36e1d20f5927f807c3a9ed6af79746177a1d5da0622729597807e
DIST ruamel.yaml-0.17.24.tar.xz 186504 BLAKE2B d5bd5240c3ad68309ad9382dd076111f554848a71697ac98015e34449a98c101f37cef0fdead279501976cceb235c8b055675eb63aab4c8121dd30ae5740dd90 SHA512 32fe95c4927197af4f30bc68d26bff956520d69471f802b58be6a07a0c4b2ed45673cd7890a2f49dc2a13791a2dac2fa66a7e6137f5afe813b6d8d56704d0c16
DIST ruamel.yaml-0.17.26.tar.xz 186752 BLAKE2B ce3d914ac27df2d038a882535f3559b47051a1fb1206a3ab6cab7c2ee0ee9fcfb5fc0babfb3a3488e7d074798bcbdb24d67d2a37a00c9d9210e96f13bb5bcdbb SHA512 40a91002f904621632acaa73b5bd3095f933369d354a8e7579a5afe4c171ceefadb76d5ecbdd3ef6202833874ba19ed518ce5ac5c7dbf15b698dd07b95260d33

@ -0,0 +1,58 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{10..11} )
inherit distutils-r1
MY_P="${P/-/.}"
DESCRIPTION="YAML parser/emitter that supports roundtrip comment preservation"
HOMEPAGE="
https://pypi.org/project/ruamel.yaml/
https://sourceforge.net/projects/ruamel-yaml/
"
# PyPI tarballs do not include tests
SRC_URI="mirror://sourceforge/ruamel-dl-tagged-releases/${MY_P}.tar.xz"
S="${WORKDIR}"/${MY_P}
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
RDEPEND="
dev-python/ruamel-yaml-clib[${PYTHON_USEDEP}]
!dev-python/namespace-ruamel
"
BDEPEND="
test? (
dev-python/ruamel-std-pathlib[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_compile() {
distutils-r1_python_compile
find "${BUILD_DIR}" -name '*.pth' -delete || die
}
python_test() {
local EPYTEST_DESELECT=()
[[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=(
_test/test_deprecation.py::test_collections_deprecation
)
local EPYTEST_IGNORE=(
# Old PyYAML tests from lib/ require special set-up and are
# invoked indirectly via test_z_olddata, tell pytest itself
# to leave the subdir alone.
_test/lib/
)
# this is needed to keep the tests working while
# dev-python/namespace-ruamel is still installed
distutils_write_namespace ruamel
epytest
}

Binary file not shown.

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -16,7 +16,8 @@ SRC_URI="mirror://sourceforge/cunit/${MY_P}.tar.bz2"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
IUSE="ncurses static-libs"
IUSE="ncurses static-libs test"
RESTRICT="!test? ( test )"
RDEPEND="ncurses? ( >=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}] )"
DEPEND="${RDEPEND}"
@ -52,7 +53,15 @@ multilib_src_configure() {
econf \
$(use_enable static-libs static) \
--disable-debug \
$(use_enable ncurses curses)
$(use_enable ncurses curses) \
$(use_enable test)
}
multilib_src_test() {
default
cd CUnit/Sources/Test || die
./test_cunit || die
}
multilib_src_install_all() {

@ -1,5 +1,3 @@
DIST ostree-2022.2.tar.xz 2059592 BLAKE2B 73bb563be473f3f62ab2d0e1ec6e2b659c8c12aaba828ae6fd5bab4b6bd3a978ffe5d76e17734e40c0569e3e74f13b85aaf9ae467747c5bbb309c73b373e9909 SHA512 07be16101aa00f541833dc6123f015ee1af65e40e2c237322a129e944fa19791e7cad6f0b29ced3c128adbe23bdb3c8708688fadd4ed80b160acab584b84abfe
DIST ostree-2022.5.tar.xz 2072208 BLAKE2B be12432c87da82362ceb49b61b0cfc2ab77fdd7e55dfd3ca238d3c0f6fa5e64dd953d709c39727a46f82b99ef07bfbebf83b581f5e96a10a08322854e9a0e1f9 SHA512 39abd076491ebab5cd6e23bff6ce0a346fe8d1e6a372abb42626ef5a8643411070b272637513b37393dc37af9b8eaaa42c19e2f1c16b98d441358c2046653654
DIST ostree-2022.6.tar.xz 2124464 BLAKE2B c6ea1f11d08261e8532345ffc18bec9e77d04e63aab0c8e2eb03a4b3d3c2c594bcc9e6c5341e4caefe81fbd06a055cd39b0f2f2b43d3e876837a9bac43c704f5 SHA512 03f6b6947a372e36d3a1ae3bbe47543c562113039ce10db9c6f26a7b4015afb41950bd00bd1931937a5fb3043689ca1046eb87afd890571cfedbfa1ef36219a7
DIST ostree-2022.7.tar.xz 2076728 BLAKE2B 7308be450e4aa9bebe3e8b86031bf75b7d0cd07a2e36d6d11d01aa8e8d19ed02e8560931a83f18856c7d4fc7ae6045d22b6aa4d7f577f3df9e704ae9d7562d3e SHA512 725eff027b2c4c1aec0c222a5fa6059f3a777f4d0c831b82a4021befba0078692aa5ced2c4c609530c70462b4148a3cc33152e3d9dc4a5d6f8cf98f61ef09c2a
DIST ostree-2023.1.tar.xz 2079904 BLAKE2B 993570624cb43684d81fff9f3789a9cee3b998f945a78bc6eb99330eed45739d1e6fb66589cefba10eea608c5cd389cc121a890c27efa773a405a5d8b1f117d9 SHA512 a6a6e47d6cb9ec6826d48a50a2abac69e4a040f2b5830d39e8a006c738a163fb15fde8630bf271d92cec9470601281669cd4bf942e4b7c4d42441bd5d1730572

@ -1,35 +0,0 @@
https://github.com/ostreedev/ostree/pull/2702
From c568073d1e6a5e602a6df29eaa5b7392e076f5d6 Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Tue, 23 Aug 2022 23:37:06 +0100
Subject: [PATCH] buildutil/glibtests.m4: fix bashism
configure scripts need to be runnable with a POSIX-compliant /bin/sh.
On many (but not all!) systems, /bin/sh is provided by Bash, so errors
like this aren't spotted. Notably Debian defaults to /bin/sh provided
by dash which doesn't tolerate such bashisms as '=='.
This retains compatibility with bash.
Fixes configure warnings/errors like:
```
checking whether to build static libraries... no
./configure: 14795: test: unexpected operator
```
Signed-off-by: Sam James <sam@gentoo.org>
--- a/buildutil/glibtests.m4
+++ b/buildutil/glibtests.m4
@@ -25,7 +25,7 @@ AC_DEFUN([GLIB_TESTS],
*) AC_MSG_ERROR([bad value ${enableval} for --enable-always-build-tests]) ;;
esac])
AM_CONDITIONAL([ENABLE_ALWAYS_BUILD_TESTS], test "$ENABLE_ALWAYS_BUILD_TESTS" = "1")
- if test "$ENABLE_INSTALLED_TESTS" == "1"; then
+ if test "$ENABLE_INSTALLED_TESTS" = "1"; then
AC_SUBST(installed_test_metadir, [${datadir}/installed-tests/]AC_PACKAGE_NAME)
AC_SUBST(installed_testdir, [${libexecdir}/installed-tests/]AC_PACKAGE_NAME)
fi

@ -1,127 +0,0 @@
https://bugs.gentoo.org/863689
https://github.com/ostreedev/ostree/commit/edba4b33be10c05253bfa94895dfbc8477e44d76
https://github.com/ostreedev/ostree/commit/0a908a180fcce98c2565b9fb34470e5953918260
From edba4b33be10c05253bfa94895dfbc8477e44d76 Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@verbum.org>
Date: Wed, 3 Aug 2022 10:37:40 -0400
Subject: [PATCH] Remove unused `linux/fs.h` includes
Prep for fixing conflicts introduced by newer glibc.
cc https://github.com/ostreedev/ostree/issues/2685
--- a/src/libostree/ostree-repo-commit.c
+++ b/src/libostree/ostree-repo-commit.c
@@ -30,7 +30,6 @@
#include <sys/xattr.h>
#include <glib/gprintf.h>
#include <sys/ioctl.h>
-#include <linux/fs.h>
#include <ext2fs/ext2_fs.h>
#include "otutil.h"
--- a/src/ostree/ot-main.c
+++ b/src/ostree/ot-main.c
@@ -28,7 +28,6 @@
#include <string.h>
#include <sys/statvfs.h>
#include <sys/mount.h>
-#include <linux/fs.h>
#include "ot-main.h"
#include "ostree.h"
From 0a908a180fcce98c2565b9fb34470e5953918260 Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@verbum.org>
Date: Wed, 3 Aug 2022 10:43:43 -0400
Subject: [PATCH] Move FIFREEZE/FITHAW ioctl invocations into linuxfsutil.c
Should help avoid conflicts between glibc and linux headers.
Closes: https://github.com/ostreedev/ostree/issues/2685
--- a/src/libostree/ostree-linuxfsutil.c
+++ b/src/libostree/ostree-linuxfsutil.c
@@ -24,10 +24,12 @@
#include <fcntl.h>
#include <sys/ioctl.h>
+// This should be the only file including linux/fs.h; see
+// https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E
+// https://github.com/ostreedev/ostree/issues/2685
+#include <linux/fs.h>
#include <ext2fs/ext2_fs.h>
-#include "otutil.h"
-
/**
* _ostree_linuxfs_fd_alter_immutable_flag:
* @fd: A file descriptor
@@ -88,3 +90,21 @@ _ostree_linuxfs_fd_alter_immutable_flag (int fd,
return TRUE;
}
+
+/* Wrapper for FIFREEZE ioctl.
+ * This is split into a separate wrapped API for
+ * reasons around conflicts between glibc and linux/fs.h
+ * includes; see above.
+ */
+int
+_ostree_linuxfs_filesystem_freeze (int fd)
+{
+ return TEMP_FAILURE_RETRY (ioctl (fd, FIFREEZE, 0));
+}
+
+/* Wrapper for FITHAW ioctl. See above. */
+int
+_ostree_linuxfs_filesystem_thaw (int fd)
+{
+ return TEMP_FAILURE_RETRY (ioctl (fd, FITHAW, 0));
+}
--- a/src/libostree/ostree-linuxfsutil.h
+++ b/src/libostree/ostree-linuxfsutil.h
@@ -29,4 +29,7 @@ _ostree_linuxfs_fd_alter_immutable_flag (int fd,
GCancellable *cancellable,
GError **error);
+int _ostree_linuxfs_filesystem_freeze (int fd);
+int _ostree_linuxfs_filesystem_thaw (int fd);
+
G_END_DECLS
--- a/src/libostree/ostree-sysroot-deploy.c
+++ b/src/libostree/ostree-sysroot-deploy.c
@@ -29,7 +29,6 @@
#include <sys/ioctl.h>
#include <stdbool.h>
#include <sys/poll.h>
-#include <linux/fs.h>
#include <err.h>
#ifdef HAVE_LIBMOUNT
@@ -1476,7 +1475,7 @@ fsfreeze_thaw_cycle (OstreeSysroot *self,
* EOPNOTSUPP: If the filesystem doesn't support it
*/
int saved_errno = errno;
- (void) TEMP_FAILURE_RETRY (ioctl (rootfs_dfd, FITHAW, 0));
+ _ostree_linuxfs_filesystem_thaw (rootfs_dfd);
errno = saved_errno;
/* But if we got an error from poll, let's log it */
if (r < 0)
@@ -1517,7 +1516,7 @@ fsfreeze_thaw_cycle (OstreeSysroot *self,
return glnx_throw (error, "aborting due to test-fifreeze");
}
/* Do a freeze/thaw cycle; TODO add a FIFREEZETHAW ioctl */
- if (ioctl (rootfs_dfd, FIFREEZE, 0) != 0)
+ if (_ostree_linuxfs_filesystem_freeze (rootfs_dfd) != 0)
{
/* Not supported, we're running in the unit tests (as non-root), or
* the filesystem is already frozen (EBUSY).
@@ -1539,7 +1538,7 @@ fsfreeze_thaw_cycle (OstreeSysroot *self,
return glnx_throw_errno_prefix (error, "ioctl(FIFREEZE)");
}
/* And finally thaw, then signal our completion to the watchdog */
- if (TEMP_FAILURE_RETRY (ioctl (rootfs_dfd, FITHAW, 0)) != 0)
+ if (_ostree_linuxfs_filesystem_thaw (rootfs_dfd) != 0)
{
/* Warn but don't error if the filesystem was already thawed */
if (errno == EINVAL)

@ -1,107 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools systemd
DESCRIPTION="Operating system and container binary deployment and upgrades"
HOMEPAGE="https://ostreedev.github.io/ostree/"
SRC_URI="https://github.com/ostreedev/ostree/releases/download/v${PV}/lib${P}.tar.xz -> ${P}.tar.xz"
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
LICENSE="LGPL-2+"
SLOT="0"
IUSE="archive +curl doc dracut gnutls +gpg grub +http2 httpd introspection libmount selinux sodium ssl +soup systemd zeroconf"
RESTRICT+=" test"
REQUIRED_USE="
dracut? ( systemd )
http2? ( curl )
httpd? ( || ( curl soup ) )
"
COMMON_DEPEND="
app-arch/xz-utils
dev-libs/libassuan
dev-libs/glib:2
sys-fs/fuse:3
sys-libs/zlib
archive? ( app-arch/libarchive:= )
curl? ( net-misc/curl )
dracut? ( sys-kernel/dracut )
gpg? (
app-crypt/gpgme:=
dev-libs/libgpg-error
)
grub? ( sys-boot/grub:2= )
introspection? ( dev-libs/gobject-introspection )
libmount? ( sys-apps/util-linux )
selinux? ( sys-libs/libselinux )
sodium? ( >=dev-libs/libsodium-1.0.14:= )
soup? ( net-libs/libsoup:2.4 )
ssl? (
gnutls? ( net-libs/gnutls:= )
!gnutls? (
dev-libs/openssl:0=
)
)
systemd? ( sys-apps/systemd:0= )
zeroconf? ( net-dns/avahi[dbus] )"
DEPEND="${COMMON_DEPEND}
app-text/docbook-xsl-stylesheets
dev-libs/libxslt
doc? ( dev-util/gtk-doc )"
RDEPEND="${COMMON_DEPEND}"
BDEPEND="
dev-util/glib-utils
sys-devel/flex
sys-devel/bison
virtual/pkgconfig"
S="${WORKDIR}/lib${P}"
src_prepare() {
sed -Ee 's:(XSLT_STYLESHEET = ).*:\1/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl:' \
-i Makefile.in Makefile-man.am || die
eautoreconf
default
}
src_configure() {
local econfargs=(
--enable-man
--enable-shared
--with-grub2-mkconfig-path=grub-mkconfig
--with-modern-grub
$(use_with archive libarchive)
$(use_with curl)
$(use_with dracut dracut yesbutnoconf) #816867
$(use_enable doc gtk-doc)
$(usex introspection --enable-introspection={,} yes no)
$(use_with gpg gpgme)
$(use_enable http2)
$(use_enable httpd trivial-httpd-cmdline)
$(use_with selinux )
$(use_with soup)
$(use_with libmount)
$(use ssl && { use gnutls && echo --with-crypto=gnutls || echo --with-crypto=openssl; })
$(use_with sodium ed25519-libsodium)
$(use_with systemd libsystemd)
$(use_with zeroconf avahi)
)
if use systemd; then
econfargs+=(--with-systemdsystemunitdir="$(systemd_get_systemunitdir)")
fi
unset ${!XDG_*} #657346 g-ir-scanner sandbox violation
econf "${econfargs[@]}"
}
src_install() {
default
find "${D}" -name '*.la' -delete || die
}

@ -1,114 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools systemd
DESCRIPTION="Operating system and container binary deployment and upgrades"
HOMEPAGE="https://ostreedev.github.io/ostree/"
SRC_URI="https://github.com/ostreedev/ostree/releases/download/v${PV}/lib${P}.tar.xz -> ${P}.tar.xz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
LICENSE="LGPL-2+"
SLOT="0"
IUSE="archive +curl doc dracut gnutls +gpg grub +http2 httpd introspection libmount selinux sodium ssl +soup systemd zeroconf"
RESTRICT+=" test"
REQUIRED_USE="
dracut? ( systemd )
http2? ( curl )
httpd? ( || ( curl soup ) )
"
COMMON_DEPEND="
app-arch/xz-utils
dev-libs/libassuan
dev-libs/glib:2
sys-fs/fuse:3
sys-libs/zlib
archive? ( app-arch/libarchive:= )
curl? ( net-misc/curl )
dracut? ( sys-kernel/dracut )
gpg? (
app-crypt/gpgme:=
dev-libs/libgpg-error
)
grub? ( sys-boot/grub:2= )
introspection? ( dev-libs/gobject-introspection )
libmount? ( sys-apps/util-linux )
selinux? ( sys-libs/libselinux )
sodium? ( >=dev-libs/libsodium-1.0.14:= )
soup? ( net-libs/libsoup:2.4 )
ssl? (
gnutls? ( net-libs/gnutls:= )
!gnutls? (
dev-libs/openssl:0=
)
)
systemd? ( sys-apps/systemd:0= )
zeroconf? ( net-dns/avahi[dbus] )"
DEPEND="${COMMON_DEPEND}
app-text/docbook-xsl-stylesheets
dev-libs/libxslt
doc? ( dev-util/gtk-doc )"
RDEPEND="${COMMON_DEPEND}"
BDEPEND="
dev-util/glib-utils
sys-devel/flex
sys-devel/bison
virtual/pkgconfig"
S="${WORKDIR}/lib${P}"
PATCHES=(
"${FILESDIR}"/${P}-glibc-2.36.patch
"${FILESDIR}"/${P}-bashism.patch
)
src_prepare() {
default
sed -Ee 's:(XSLT_STYLESHEET = ).*:\1/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl:' \
-i Makefile.in Makefile-man.am || die
eautoreconf
}
src_configure() {
local econfargs=(
--enable-man
--enable-shared
--with-grub2-mkconfig-path=grub-mkconfig
--with-modern-grub
$(use_with archive libarchive)
$(use_with curl)
$(use_with dracut dracut yesbutnoconf) #816867
$(use_enable doc gtk-doc)
$(usex introspection --enable-introspection={,} yes no)
$(use_with gpg gpgme)
$(use_enable http2)
$(use_enable httpd trivial-httpd-cmdline)
$(use_with selinux )
$(use_with soup)
$(use_with libmount)
$(use ssl && { use gnutls && echo --with-crypto=gnutls || echo --with-crypto=openssl; })
$(use_with sodium ed25519-libsodium)
$(use_with systemd libsystemd)
$(use_with zeroconf avahi)
)
if use systemd; then
econfargs+=(--with-systemdsystemunitdir="$(systemd_get_systemunitdir)")
fi
unset ${!XDG_*} #657346 g-ir-scanner sandbox violation
econf "${econfargs[@]}"
}
src_install() {
default
find "${D}" -name '*.la' -delete || die
}

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -77,6 +77,9 @@ src_prepare() {
}
src_configure() {
# Needs Bison (bug #884289)
unset YACC
local econfargs=(
--enable-man
--enable-shared

@ -77,6 +77,9 @@ src_prepare() {
}
src_configure() {
# Needs Bison (bug #884289)
unset YACC
local econfargs=(
--enable-man
--enable-shared

@ -77,6 +77,9 @@ src_prepare() {
}
src_configure() {
# Needs Bison (bug #884289)
unset YACC
local econfargs=(
--enable-man
--enable-shared

Binary file not shown.

@ -228,21 +228,12 @@ case ${ECM_QTHELP} in
COMMONDEPEND+=" doc? ( dev-qt/qt-docs:${KFSLOT} )"
BDEPEND+=" doc? (
>=app-doc/doxygen-1.8.13-r1
|| (
(
=dev-qt/qtcore-5.15.9*:5
=dev-qt/qtgui-5.15.9*:5
=dev-qt/qthelp-5.15.9*:5
=dev-qt/qtsql-5.15.9*:5
=dev-qt/qtwidgets-5.15.9*:5
)
(
=dev-qt/qtcore-5.15.8*:5
=dev-qt/qtgui-5.15.8*:5
=dev-qt/qthelp-5.15.8*:5
=dev-qt/qtsql-5.15.8*:5
=dev-qt/qtwidgets-5.15.8*:5
)
(
=dev-qt/qtcore-5.15.9*:5
=dev-qt/qtgui-5.15.9*:5
=dev-qt/qthelp-5.15.9*:5
=dev-qt/qtsql-5.15.9*:5
=dev-qt/qtwidgets-5.15.9*:5
)
)"
;;

@ -1758,6 +1758,9 @@ gcc_do_filter_flags() {
append-flags -O2
fi
# Please use USE=lto instead (bug #906007).
filter-lto
# Avoid shooting self in foot
filter-flags '-mabi*' -m31 -m32 -m64

Binary file not shown.

@ -1 +1,2 @@
DIST zenity-3.44.0.tar.xz 3096684 BLAKE2B bd6cb333e30ca675bd6d49a8117fc81a8d5ffe2870b9d78f897f292b827849cfaee7d92d36ebc9dc784041400b221cca715d40878be0bb2f5aa47ccbf9c10965 SHA512 806fff8f239dfa5da32e75bbc1fc3a6dc50b49ea8e6ca64cead9dd40adfe4741237c25ae5caaac1997ec7f274e9379b6607d254caf8a509aa01f3eba03cb3e7c
DIST zenity-3.92.0.tar.xz 3081408 BLAKE2B 1d7da29a52013104cee35e1ac95823e046c391653d71a30f287bc6f330edf4b5f9d1c1d4fddb67e1447750569cc46810c49871b7f263c88ec6d6b7209bfecc6b SHA512 0e28b5fa60736210ee474ee483bd98b63f17c0d815dc6050532e82bda7d82b560f5227e4882fa6c969352d9e48d19c8addf5587acac8eac8f0fc9ac185edaf76

@ -0,0 +1,597 @@
From db1ad8ee7c3db36a7cca6e998e86719293d37838 Mon Sep 17 00:00:00 2001
From: Logan Rathbone <poprocks@gmail.com>
Date: Mon, 8 May 2023 14:39:53 -0400
Subject: [PATCH] data: Manpage generation changes
Don't automatically generate the manpage from help2man for now. This
creates problems since a display manager is required to run `zenity
--help-all` and `zenity --version` at this time. This should be fixed in
the long term, but for now we're just going to avoid the issue
altogether.
Manual intervention will be required to update the manpage for now, but
hopefully we can rectify this in the future. It is fine for now as the
manpage should not need to be regenerated too frequently.
Also, s/GTK+/GTK in the .roff boilerplate.
---
data/README.manpage | 6 +
data/generate-manpage.sh | 3 +
data/meson.build | 23 +-
data/zenity.1 | 496 +++++++++++++++++++++++++++++++++++++++
data/zenity.roff | 2 +-
5 files changed, 508 insertions(+), 22 deletions(-)
create mode 100644 data/README.manpage
create mode 100755 data/generate-manpage.sh
create mode 100644 data/zenity.1
diff --git a/data/README.manpage b/data/README.manpage
new file mode 100644
index 00000000..5ac64a35
--- /dev/null
+++ b/data/README.manpage
@@ -0,0 +1,6 @@
+In order to generate the manpage for zenity, run the script
+`generate-manpage.sh` after installing zenity.
+
+The `help2man` utility is required. When new command-line arguments are
+added or deleted, this script should be re-run manually and
+git-committed.
diff --git a/data/generate-manpage.sh b/data/generate-manpage.sh
new file mode 100755
index 00000000..84092c77
--- /dev/null
+++ b/data/generate-manpage.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+help2man --no-info --name='display GTK dialogs' --version-string=' ' --section=1 --help-option='--help-all' --include='zenity.roff' --output='zenity.1' zenity
diff --git a/data/meson.build b/data/meson.build
index 6cdfea58..04cfc15d 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -22,25 +22,6 @@ if desktop_file_validate_prg.found()
)
endif
-# manpage -- generated from help2man
+# manpage
-help2man = find_program('help2man', required: false)
-# help2man has to run zenity to generate the man page, which it can't do if
-# we're cross building. We also can't tell help2man what exe wrapper to use.
-if help2man.found() and not meson.is_cross_build()
- help2man_opts = [
- '--no-info',
- '--section=1',
- '--help-option=--help-all',
- '--include=@INPUT@',
- ]
-
- custom_target('zenity.1',
- output: 'zenity.1',
- input: 'zenity.roff',
- command: [
- help2man, help2man_opts, '--output=@OUTPUT@', zenity
- ],
- install: true,
- install_dir: join_paths(zenity_mandir, 'man1'))
-endif
+install_man('zenity.1')
diff --git a/data/zenity.1 b/data/zenity.1
new file mode 100644
index 00000000..9ddf02ff
--- /dev/null
+++ b/data/zenity.1
@@ -0,0 +1,496 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5.
+.TH ZENITY "1" "May 2023" "zenity " "User Commands"
+.SH NAME
+zenity \- display GTK dialogs
+.SH DESCRIPTION
+
+\fBzenity\fP is a program that will display GTK+ dialogs, and return
+(either in the return code, or on standard output) the users
+input. This allows you to present information, and ask for information
+from the user, from all manner of shell scripts.
+.PP
+For example, \fBzenity \-\-question\fP will return either 0, 1 or 5,
+depending on whether the user pressed \fIOK\fP, \fICancel\fP or timeout
+has been reached. \fBzenity \-\-entry\fP will output on standard output
+what the user typed into the text entry field.
+.PP
+Comprehensive documentation is also available in the GNOME Help Browser.
+.SS "Usage:"
+.IP
+zenity [OPTION?]
+.SS "Help Options:"
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+Show help options
+.TP
+\fB\-\-help\-all\fR
+Show all help options
+.TP
+\fB\-\-help\-general\fR
+Show general options
+.TP
+\fB\-\-help\-calendar\fR
+Show calendar options
+.TP
+\fB\-\-help\-entry\fR
+Show text entry options
+.TP
+\fB\-\-help\-error\fR
+Show error options
+.TP
+\fB\-\-help\-info\fR
+Show info options
+.TP
+\fB\-\-help\-file\-selection\fR
+Show file selection options
+.TP
+\fB\-\-help\-list\fR
+Show list options
+.TP
+\fB\-\-help\-notification\fR
+Show notification options
+.TP
+\fB\-\-help\-progress\fR
+Show progress options
+.TP
+\fB\-\-help\-question\fR
+Show question options
+.TP
+\fB\-\-help\-warning\fR
+Show warning options
+.TP
+\fB\-\-help\-scale\fR
+Show scale options
+.TP
+\fB\-\-help\-text\-info\fR
+Show text information options
+.TP
+\fB\-\-help\-color\-selection\fR
+Show color selection options
+.TP
+\fB\-\-help\-password\fR
+Show password dialog options
+.TP
+\fB\-\-help\-forms\fR
+Show forms dialog options
+.TP
+\fB\-\-help\-misc\fR
+Show miscellaneous options
+.PP
+General options
+.TP
+\fB\-\-title\fR=\fI\,TITLE\/\fR
+Set the dialog title
+.TP
+\fB\-\-width\fR=\fI\,WIDTH\/\fR
+Set the width
+.TP
+\fB\-\-height\fR=\fI\,HEIGHT\/\fR
+Set the height
+.TP
+\fB\-\-timeout\fR=\fI\,TIMEOUT\/\fR
+Set dialog timeout in seconds
+.TP
+\fB\-\-ok\-label\fR=\fI\,TEXT\/\fR
+Set the label of the OK button
+.TP
+\fB\-\-cancel\-label\fR=\fI\,TEXT\/\fR
+Set the label of the Cancel button
+.TP
+\fB\-\-extra\-button\fR=\fI\,TEXT\/\fR
+Add an extra button
+.TP
+\fB\-\-modal\fR
+Set the modal hint
+.TP
+\fB\-\-attach\fR=\fI\,WINDOW\/\fR
+DEPRECATED; does nothing
+.PP
+Calendar options
+.TP
+\fB\-\-text\fR=\fI\,TEXT\/\fR
+Set the dialog text
+.TP
+\fB\-\-day\fR=\fI\,DAY\/\fR
+Set the calendar day
+.TP
+\fB\-\-month\fR=\fI\,MONTH\/\fR
+Set the calendar month
+.TP
+\fB\-\-year\fR=\fI\,YEAR\/\fR
+Set the calendar year
+.TP
+\fB\-\-date\-format\fR=\fI\,PATTERN\/\fR
+Set the format for the returned date
+.PP
+Text entry options
+.TP
+\fB\-\-text\fR=\fI\,TEXT\/\fR
+Set the dialog text
+.TP
+\fB\-\-entry\-text\fR=\fI\,TEXT\/\fR
+Set the entry text
+.TP
+\fB\-\-hide\-text\fR
+Hide the entry text
+.PP
+Error options
+.TP
+\fB\-\-text\fR=\fI\,TEXT\/\fR
+Set the dialog text
+.TP
+\fB\-\-icon\fR=\fI\,ICON\-NAME\/\fR
+Set the icon name
+.TP
+\fB\-\-no\-wrap\fR
+Do not enable text wrapping
+.TP
+\fB\-\-no\-markup\fR
+Do not enable Pango markup
+.TP
+\fB\-\-ellipsize\fR
+Enable ellipsizing in the dialog text. This fixes the high window size with long texts
+.PP
+Info options
+.TP
+\fB\-\-text\fR=\fI\,TEXT\/\fR
+Set the dialog text
+.TP
+\fB\-\-icon\fR=\fI\,ICON\-NAME\/\fR
+Set the icon name
+.TP
+\fB\-\-no\-wrap\fR
+Do not enable text wrapping
+.TP
+\fB\-\-no\-markup\fR
+Do not enable Pango markup
+.TP
+\fB\-\-ellipsize\fR
+Enable ellipsizing in the dialog text. This fixes the high window size with long texts
+.PP
+File selection options
+.TP
+\fB\-\-filename\fR=\fI\,FILENAME\/\fR
+Set the filename
+.TP
+\fB\-\-multiple\fR
+Allow multiple files to be selected
+.TP
+\fB\-\-directory\fR
+Activate directory\-only selection
+.TP
+\fB\-\-save\fR
+Activate save mode
+.TP
+\fB\-\-separator\fR=\fI\,SEPARATOR\/\fR
+Set output separator character
+.TP
+\fB\-\-file\-filter\fR=\fI\,NAME\/\fR | PATTERN1 PATTERN2 ...
+Set a filename filter
+.TP
+\fB\-\-confirm\-overwrite\fR
+DEPRECATED; does nothing
+.PP
+List options
+.TP
+\fB\-\-text\fR=\fI\,TEXT\/\fR
+Set the dialog text
+.TP
+\fB\-\-column\fR=\fI\,COLUMN\/\fR
+Set the column header
+.TP
+\fB\-\-checklist\fR
+Use check boxes for the first column
+.TP
+\fB\-\-radiolist\fR
+Use radio buttons for the first column
+.TP
+\fB\-\-imagelist\fR
+Use an image for the first column
+.TP
+\fB\-\-separator\fR=\fI\,SEPARATOR\/\fR
+Set output separator character
+.TP
+\fB\-\-multiple\fR
+Allow multiple rows to be selected
+.TP
+\fB\-\-editable\fR
+Allow changes to text
+.TP
+\fB\-\-print\-column\fR=\fI\,NUMBER\/\fR
+Print a specific column (Default is 1. 'ALL' can be used to print all columns)
+.TP
+\fB\-\-hide\-column\fR=\fI\,NUMBER\/\fR
+Hide a specific column
+.TP
+\fB\-\-hide\-header\fR
+Hide the column headers
+.TP
+\fB\-\-mid\-search\fR
+DEPRECATED; does nothing
+.PP
+Notification options
+.TP
+\fB\-\-text\fR=\fI\,TEXT\/\fR
+Set the notification text
+.TP
+\fB\-\-icon\fR=\fI\,ICON\-NAME\/\fR
+Set the icon name
+.TP
+\fB\-\-listen\fR
+Listen for commands on stdin
+.TP
+\fB\-\-hint\fR=\fI\,TEXT\/\fR
+DEPRECATED; does nothing
+.PP
+Progress options
+.TP
+\fB\-\-text\fR=\fI\,TEXT\/\fR
+Set the dialog text
+.TP
+\fB\-\-percentage\fR=\fI\,PERCENTAGE\/\fR
+Set initial percentage
+.TP
+\fB\-\-pulsate\fR
+Pulsate progress bar
+.TP
+\fB\-\-auto\-close\fR
+Dismiss the dialog when 100% has been reached
+.TP
+\fB\-\-auto\-kill\fR
+Kill parent process if Cancel button is pressed
+.TP
+\fB\-\-no\-cancel\fR
+Hide Cancel button
+.TP
+\fB\-\-time\-remaining\fR
+Estimate when progress will reach 100%
+.PP
+Question options
+.TP
+\fB\-\-text\fR=\fI\,TEXT\/\fR
+Set the dialog text
+.TP
+\fB\-\-icon\fR=\fI\,ICON\-NAME\/\fR
+Set the icon name
+.TP
+\fB\-\-no\-wrap\fR
+Do not enable text wrapping
+.TP
+\fB\-\-no\-markup\fR
+Do not enable Pango markup
+.TP
+\fB\-\-default\-cancel\fR
+Give Cancel button focus by default
+.TP
+\fB\-\-ellipsize\fR
+Enable ellipsizing in the dialog text. This fixes the high window size with long texts
+.TP
+\fB\-\-switch\fR
+Suppress OK and Cancel buttons
+.PP
+Warning options
+.TP
+\fB\-\-text\fR=\fI\,TEXT\/\fR
+Set the dialog text
+.TP
+\fB\-\-icon\fR=\fI\,ICON\-NAME\/\fR
+Set the icon name
+.TP
+\fB\-\-no\-wrap\fR
+Do not enable text wrapping
+.TP
+\fB\-\-no\-markup\fR
+Do not enable Pango markup
+.TP
+\fB\-\-ellipsize\fR
+Enable ellipsizing in the dialog text. This fixes the high window size with long texts
+.PP
+Scale options
+.TP
+\fB\-\-text\fR=\fI\,TEXT\/\fR
+Set the dialog text
+.TP
+\fB\-\-value\fR=\fI\,VALUE\/\fR
+Set initial value
+.TP
+\fB\-\-min\-value\fR=\fI\,VALUE\/\fR
+Set minimum value
+.TP
+\fB\-\-max\-value\fR=\fI\,VALUE\/\fR
+Set maximum value
+.TP
+\fB\-\-step\fR=\fI\,VALUE\/\fR
+Set step size
+.TP
+\fB\-\-print\-partial\fR
+Print partial values
+.TP
+\fB\-\-hide\-value\fR
+Hide value
+.PP
+Text information options
+.TP
+\fB\-\-filename\fR=\fI\,FILENAME\/\fR
+Open file
+.TP
+\fB\-\-editable\fR
+Allow changes to text
+.TP
+\fB\-\-font\fR=\fI\,TEXT\/\fR
+Set the text font
+.TP
+\fB\-\-checkbox\fR=\fI\,TEXT\/\fR
+Enable an I read and agree checkbox
+.TP
+\fB\-\-auto\-scroll\fR
+Auto scroll the text to the end. Only when text is captured from stdin
+.PP
+Color selection options
+.TP
+\fB\-\-color\fR=\fI\,VALUE\/\fR
+Set the color
+.TP
+\fB\-\-show\-palette\fR
+Show the palette
+.PP
+Password dialog options
+.TP
+\fB\-\-username\fR
+Display the username option
+.PP
+Forms dialog options
+.TP
+\fB\-\-add\-entry\fR=\fI\,Field\/\fR name
+Add a new Entry in forms dialog
+.TP
+\fB\-\-add\-password\fR=\fI\,Field\/\fR name
+Add a new Password Entry in forms dialog
+.TP
+\fB\-\-add\-calendar\fR=\fI\,Calendar\/\fR field name
+Add a new Calendar in forms dialog
+.TP
+\fB\-\-add\-list\fR=\fI\,List\/\fR field and header name
+Add a new List in forms dialog
+.TP
+\fB\-\-list\-values\fR=\fI\,List\/\fR of values separated by |
+List of values for List
+.TP
+\fB\-\-column\-values\fR=\fI\,List\/\fR of values separated by |
+List of values for columns
+.TP
+\fB\-\-add\-combo\fR=\fI\,Combo\/\fR box field name
+Add a new combo box in forms dialog
+.TP
+\fB\-\-combo\-values\fR=\fI\,List\/\fR of values separated by |
+List of values for combo box
+.TP
+\fB\-\-show\-header\fR
+Show the columns header
+.TP
+\fB\-\-text\fR=\fI\,TEXT\/\fR
+Set the dialog text
+.TP
+\fB\-\-separator\fR=\fI\,SEPARATOR\/\fR
+Set output separator character
+.TP
+\fB\-\-forms\-date\-format\fR=\fI\,PATTERN\/\fR
+Set the format for the returned date
+.PP
+Miscellaneous options
+.TP
+\fB\-\-about\fR
+About zenity
+.TP
+\fB\-\-version\fR
+Print version
+.SS "Application Options:"
+.TP
+\fB\-\-calendar\fR
+Display calendar dialog
+.TP
+\fB\-\-entry\fR
+Display text entry dialog
+.TP
+\fB\-\-error\fR
+Display error dialog
+.TP
+\fB\-\-info\fR
+Display info dialog
+.TP
+\fB\-\-file\-selection\fR
+Display file selection dialog
+.TP
+\fB\-\-list\fR
+Display list dialog
+.TP
+\fB\-\-notification\fR
+Display notification
+.TP
+\fB\-\-progress\fR
+Display progress indication dialog
+.TP
+\fB\-\-question\fR
+Display question dialog
+.TP
+\fB\-\-warning\fR
+Display warning dialog
+.TP
+\fB\-\-scale\fR
+Display scale dialog
+.TP
+\fB\-\-text\-info\fR
+Display text information dialog
+.TP
+\fB\-\-color\-selection\fR
+Display color selection dialog
+.TP
+\fB\-\-password\fR
+Display password dialog
+.TP
+\fB\-\-forms\fR
+Display forms dialog
+.SH EXAMPLES
+
+Display a file selector with the title \fISelect a file to
+remove\fP. The file selected is returned on standard output.
+.IP
+zenity \-\-title="Select a file to remove" \-\-file-selection
+.PP
+Display a text entry dialog with the title \fISelect Host\fP and the
+text \fISelect the host you would like to flood-ping\fP. The entered
+text is returned on standard output.
+.IP
+zenity \-\-title "Select Host" \-\-entry \-\-text "Select the host you would like to flood-ping"
+.PP
+Display a dialog, asking \fIMicrosoft Windows has been found! Would
+you like to remove it?\fP. The return code will be 0 (true in shell)
+if \fIOK\fP is selected, and 1 (false) if \fICancel\fP is selected.
+.IP
+zenity \-\-question \-\-title "Alert" \-\-text "Microsoft Windows has been found! Would you like to remove it?"
+.PP
+Show the search results in a list dialog with the title \fISearch Results\fP
+and the text \fIFinding all header files...\fP.
+.IP
+find . \-name '*.h' | zenity \-\-list \-\-title "Search Results" \-\-text "Finding all header files.." \-\-column "Files"
+.PP
+Show a passive notification
+.IP
+zenity \-\-notification \-\-icon=software-update-available \-\-text "System update necessary!"
+.PP
+Display a weekly shopping list in a check list dialog with \fIApples\fP and \fIOranges\fP pre selected
+.IP
+zenity \-\-list \-\-checklist \-\-column "Buy" \-\-column "Item" TRUE Apples TRUE Oranges FALSE Pears FALSE Toothpaste
+.PP
+Display a progress dialog while searching for all the postscript files in your home directory
+.P
+find $HOME \-name '*.ps' | zenity \-\-progress \-\-pulsate
+.SH AUTHOR
+
+.PP
+\fBZenity\fP was originally written by Glynn Foster <glynn.foster@sun.com>. It has since been maintained by a number of contributors since then.
+.PP
+This manual page was originally written by Ross Burton <ross@burtonini.com>. It currently contains portions which are automatically generated, and other portions written by its original author.
+.SH "SEE ALSO"
+
+\fBdialog\fP(1)
diff --git a/data/zenity.roff b/data/zenity.roff
index 36d7596c..6063a7a1 100644
--- a/data/zenity.roff
+++ b/data/zenity.roff
@@ -1,6 +1,6 @@
[description]
-\fBzenity\fP is a program that will display GTK+ dialogs, and return
+\fBzenity\fP is a program that will display GTK dialogs, and return
(either in the return code, or on standard output) the users
input. This allows you to present information, and ask for information
from the user, from all manner of shell scripts.
--
GitLab

@ -0,0 +1,53 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome.org gnome2-utils meson xdg
DESCRIPTION="Tool to display dialogs from the commandline and shell scripts"
HOMEPAGE="https://wiki.gnome.org/Projects/Zenity"
LICENSE="LGPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="webkit"
# TODO: X11 dependency is automagically enabled
RDEPEND="
>=gui-libs/libadwaita-1.2:1
webkit? ( >=net-libs/webkit-gtk-2.40.1:6 )
x11-libs/gdk-pixbuf:2
x11-libs/pango
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-util/itstool
>=sys-devel/gettext-0.19.4
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}/${P}"-manpage-generation-changes.patch
)
src_configure() {
local emesonargs=(
$(meson_use webkit webkitgtk)
)
meson_src_configure
}
src_install() {
meson_src_install
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}

Binary file not shown.

@ -1,2 +1,2 @@
DIST bluedevil-5.26.5.tar.xz 318640 BLAKE2B 438e3d838e34b98d097fee3a88062ebbe50f53f451b5d0521dee12c787dad1b028f42a5be88b9b082382b67c8b6277f53bad3295089d7250b47b477a3dff587c SHA512 7bb514056e8329893ec8820441f733e879d09565d724a6e13df1af3daab5f6c976ad8179c58de7e25c4f9082e71b52da31f82ad6510ab78ac02d7afc2e9226ba
DIST bluedevil-5.27.4.tar.xz 364256 BLAKE2B 4dc98b4bd6821182274143f0cb55a3403de617f66e28f4e1b601f871a76de52923f006899dd362f9133c4a2d7db13d162683b58dea051775c45830c92551771a SHA512 1384ff7f3204d3cce0df81d7f2686c7d3648b0f585e2eb83c52403aed1f5d4a7d6a29fcc41d6549115621d3f5b3e0515098c608dd01b551cd948169a022776f8
DIST bluedevil-5.27.5.tar.xz 366000 BLAKE2B b37cc22650d5c5e83519046fa08019c2df9b8767b9061f84657e72d780e90a2bb5ea179ece9fd86aeb8d12cc6bba2be0e78c9990a3d3f1ea81c203d7003a6cb8 SHA512 3daf8b146e30a9bd4fcb1380ed95e2c888a4cf6ae63bf20c86a67e039576d2be136d53da0be72352280c8e767ecd6f550731a4d647dc507a1ff08751ca81d284

@ -4,9 +4,9 @@
EAPI=8
ECM_HANDBOOK="forceoptional"
KFMIN=5.99.0
KFMIN=5.102.0
PVCUT=$(ver_cut 1-3)
QTMIN=5.15.5
QTMIN=5.15.7
inherit ecm plasma.kde.org
DESCRIPTION="Bluetooth stack for KDE Plasma"
@ -14,7 +14,7 @@ HOMEPAGE="https://invent.kde.org/plasma/bluedevil"
LICENSE="GPL-2" # TODO: CHECK
SLOT="5"
KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE=""
# kde-frameworks/kwindowsystem[X]: Unconditional use of KX11Extras

@ -1,2 +1,2 @@
DIST breeze-grub-5.26.5.tar.xz 3147476 BLAKE2B 217836c22ea8b207cfc579d770d785ca8b03dd461d768c17af19e3f70312047fc23731b315df76b37e1fee2ffe10bc1aec24c60e5e07157bf06cde4c67e6c2dc SHA512 d57293b6bd92ebf409bee19a73217fe71fb03c0b0fb1071c9ca6c10ee86f7cb8eae9b9851318c677b6e5406aff90a408d2b0ab2ba047b1d36ef4238b595eade6
DIST breeze-grub-5.27.4.tar.xz 3128976 BLAKE2B af9396d0c012507da45b4ae68d705c8c10f141a3fc69a6303c2699977792420324c27757c108e985731a9f03a447da713fd771a5a3a89404a50d9201e3211699 SHA512 42c90f059fb516ba4188866eb89832869bb274f173b313369818f18ec1962b7755886ce382176bb29f6d1d78cfd45499ed013f9a30cde6dd2c5f198a90eefe65
DIST breeze-grub-5.27.5.tar.xz 3134676 BLAKE2B 4269865722f5d07383c85d124be79522be5a7f3fb2a854b9992cb1db8e2739a02ef63d25dce6e8c75a468885b47f4aa381742932673a00dfc4cc7320b80a222f SHA512 491396be1e63ace07c2589e896dc2ba47c37e10a730afd6b1a457264c1a2a5b6522b7388ad6a5311898ab977f143559447581fce8654cd604b254ee6d5ae8e1a

@ -10,7 +10,7 @@ DESCRIPTION="Breeze theme for GRUB"
LICENSE="GPL-3+"
SLOT="5"
KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE=""
src_prepare() { default; }

@ -1,3 +1,3 @@
DIST breeze-gtk-5.26.5.tar.xz 40312 BLAKE2B aa88c4624c4e8b0aa8211f3023af3a9e44be212a62be9a37ff70c561b00e58254a983bf8eef50b5ebb167a6391476b6b646cd8eea60c8104a7fca896d9f7535c SHA512 ce4ad8900b4147d21765783e5b2ec008734f589701db3dc1323206736d4439db2944b65c86197abe7311500decf6ceb095903bbc7c0f363ee5f46cd753864897
DIST breeze-gtk-5.27.4-patchset-1.tar.xz 4000 BLAKE2B d31bbbed48ef66160efa3c94daecfac7059080b037b6d204a2f332d95a3b2912ab1b620a418ceba0bea8f72e2b6766e54ac5aa1a3598dfb8296fae31bbfd42e8 SHA512 615a945ef7fb72277fa919f0c503922a13ced5cb8f8b1fa9a8451ad40de04089d9331fe541034b32b75078c58d89f9018629e99fd501c7adc7dcdfde8a955aab
DIST breeze-gtk-5.27.4.tar.xz 40576 BLAKE2B 70bacf53c82bb2213f6d3d09f38f09ca00dac329ee53a6e06ca47e9956e45b9125853ebb6420b7f0d713bbaa7d0c686f22503d3d1e551bdc6774e0d825c5a394 SHA512 eeac4aa81a955d84187f0f71c8a684f7773b0f3186879b1966fcc0fe070c5a2a7e08ea15c190a0e9375367e6a2d3dc4fbf1aa3b7ab5c556fb06cfa1705c8b81a
DIST breeze-gtk-5.27.5.tar.xz 40816 BLAKE2B ab39f3c8de12f4d15429992c2c93021d56f48a6c84df3dc0c2ffff7e5815b4784929902555443d69ff01e34fb58f503cb750c0181a679a607e553649ef780275 SHA512 7f66ecf01e28581f621e664f5a6318e26de77681ee70df481548efa5924bf1a0e4f94122e4102b4770f8f97f15914f4d0578d1bad67d71d2d7efe728b3be9305

@ -12,7 +12,7 @@ HOMEPAGE="https://invent.kde.org/plasma/breeze-gtk"
LICENSE="LGPL-2.1+"
SLOT="5"
KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE=""
BDEPEND="${PYTHON_DEPS}
@ -29,10 +29,3 @@ pkg_setup() {
python-any-r1_pkg_setup
ecm_pkg_setup
}
src_configure() {
local mycmakeargs=(
-DPython3_EXECUTABLE="${PYTHON}"
)
ecm_src_configure
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save