[gentoo-commits] repo/gentoo:master commit in: dev-python/qiskit-aer/

2024-02-06 Thread Michał Górny
commit: 658f16a665ea69a2ccad743a1b8a3f3062cc2ac4
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  7 07:14:34 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  7 07:39:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=658f16a6

dev-python/qiskit-aer: Bump to 0.13.3

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/qiskit-aer/Manifest |   1 +
 dev-python/qiskit-aer/qiskit-aer-0.13.3.ebuild | 126 +
 2 files changed, 127 insertions(+)

diff --git a/dev-python/qiskit-aer/Manifest b/dev-python/qiskit-aer/Manifest
index 0eb1dde70814..32ebf460ed94 100644
--- a/dev-python/qiskit-aer/Manifest
+++ b/dev-python/qiskit-aer/Manifest
@@ -1,3 +1,4 @@
 DIST qiskit-aer-0.12.2.gh.tar.gz 6979559 BLAKE2B 
c7f12c9b8f53a9031844e123b8ef6d723e0099be028c5cfba03143fb8b3c7269768ade99d3ef3b4b82c0b36756bf8e82971a3f70c0f5735891eb77a78a6d9512
 SHA512 
2a9ed6777e5e4d60a393d5a1b21b44ea3fa90fb791aeafda8bbb4ca8b55c7e8161cd5a275fd14bf968a22537cede099dbd419d1a3c5edebe85fdb82501c4de90
 DIST qiskit-aer-0.13.1.gh.tar.gz 6979392 BLAKE2B 
a49f992a80ef644f34cb570d6cf85e147b7c897004c248ec749c43a64c5b950fe9d7f178c53b79202f73186c03e5bc61f36be76b904e22aa6f82a79b1b255bcf
 SHA512 
45568fc1027bb530121a0c39b3bab7847e481e0dba57a005c1a1afb8f3523c098a11acddf96eac87bc750e19d2f7c4e47d8de797ae2501b464d68b849ec7b809
 DIST qiskit-aer-0.13.2.gh.tar.gz 6981338 BLAKE2B 
583937a3515f3de0714100cf7586f42b028c5918d50e2352fa3658b6e53e185ce5db5dc4a5abbe0ad8cf4634da123a47c77087f9ec53af2fdedc2d6192ef
 SHA512 
f31bb19da67672a9e1cddbf18b35efb4c7cd9033275acb00c5fd4fce80b56f08610addc58d6d5d68d4da1b6a6cdf38fc929c9921d83620e793aaab51fe57
+DIST qiskit-aer-0.13.3.gh.tar.gz 6982603 BLAKE2B 
0ecc1929b0fec476b8e80012d78d9a65fcd8994f7c0fd66880e31c44bc3fa3d050774d696a9b5726f18cd401113dc8068e4391002743936baa09c283e06ba9bf
 SHA512 
53d8741ed025ca3155931be6c66bc10618efc7beda69f0d3a2ba9ce8fea5beedfb6384761b64494e92be34ce64391b0f5f08c52945123431ea583d79fa0083e7

diff --git a/dev-python/qiskit-aer/qiskit-aer-0.13.3.ebuild 
b/dev-python/qiskit-aer/qiskit-aer-0.13.3.ebuild
new file mode 100644
index ..d4258a30ae9e
--- /dev/null
+++ b/dev-python/qiskit-aer/qiskit-aer-0.13.3.ebuild
@@ -0,0 +1,126 @@
+# Copyright 2022-2024 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_{10..11} )
+
+inherit distutils-r1 multiprocessing
+
+DESCRIPTION="High performance simulator for quantum circuits that includes 
noise models"
+HOMEPAGE="
+   https://github.com/Qiskit/qiskit-aer/
+   https://pypi.org/project/qiskit-aer/
+"
+SRC_URI="
+   https://github.com/Qiskit/qiskit-aer/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# The reference implementation of BLAS/CBLAS is not compatible with qiskit-aer 
right now,
+# because importing library causes an error.
+# 
/usr/lib/python3.9/site-packages/qiskit/providers/aer/backends/controller_wrappers.cpython-39-x86_64-linux-gnu.so:
 undefined symbol: slamch_
+# Using sci-libs/openblas instead here,
+# with the option to switch between reference/openblas implementation runtime 
(eselect-ldso).
+#
+# https://github.com/Qiskit/qiskit-aer/issues/1742
+DEPEND="
+   >=dev-python/numpy-1.16.3[${PYTHON_USEDEP}]
+   =dev-cpp/nlohmann_json-3.1.1
+   >=dev-libs/spdlog-1.9.2:=
+   >=dev-cpp/muParserX-4.0.8
+   virtual/cblas[eselect-ldso]
+   sci-libs/openblas[eselect-ldso]
+"
+RDEPEND="
+   ${DEPEND}
+   >=dev-python/psutil-5[${PYTHON_USEDEP}]
+   >=dev-python/qiskit-terra-0.45.0[${PYTHON_USEDEP}]
+   >=dev-python/scipy-1.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   >=dev-build/cmake-3.17
+   >=dev-python/scikit-build-0.11.0[${PYTHON_USEDEP}]
+   >=dev-python/pybind11-2.6[${PYTHON_USEDEP}]
+   test? (
+   dev-python/ddt[${PYTHON_USEDEP}]
+   dev-python/fixtures[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+check_openblas() {
+   local libdir=$(get_libdir) me="openblas"
+
+   # check blas
+   local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2)
+   if [[ ${current_blas} != "${me}" ]]; then
+   eerror "Current eselect: BLAS/CBLAS ($libdir) -> 
[${current_blas}]."
+   eerror "To use qiskit-aer, you have to issue (as root):"
+   eerror "\t eselect blas set ${libdir} ${me}"
+   return 1
+   fi
+   return 0
+}
+
+pkg_setup() {
+   if use test; then
+   check_openblas
+   if [[ $? -ne 0 ]]; then
+   die "Set blas implementation to openblas using 'eselect 
blas set openblas'!"
+   fi
+   fi
+}
+
+python_prepare_all() {
+   export DISABLE_CONAN="ON"
+   export 

[gentoo-commits] repo/gentoo:master commit in: app-doc/python-docs/

2024-02-06 Thread Michał Górny
commit: 9168568af7e619c8dd01b9c681205d3048ac311a
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  7 06:47:36 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  7 07:39:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9168568a

app-doc/python-docs: Bump to 3.12.2

Signed-off-by: Michał Górny  gentoo.org>

 app-doc/python-docs/Manifest  |  1 +
 app-doc/python-docs/python-docs-3.12.2.ebuild | 23 +++
 2 files changed, 24 insertions(+)

diff --git a/app-doc/python-docs/Manifest b/app-doc/python-docs/Manifest
index 6684f4aa9025..fc22eac4ce88 100644
--- a/app-doc/python-docs/Manifest
+++ b/app-doc/python-docs/Manifest
@@ -2,5 +2,6 @@ DIST python-2.7.18-docs-html.tar.bz2 4634932 BLAKE2B 
c48e2dede15d8186231acf65709
 DIST python-3.10.13-docs-html.tar.bz2 7429989 BLAKE2B 
7ddd11dbc4012cebf2f5980653b761ee35b986b75d96d582800f84e4c371aee4b82fcc2001c744e7f14991e766b0930a9ef4cb46869544e0aa403e513c4bd418
 SHA512 
be2cb6a2ece7849b1c259e9d86b7cf5e2a91c30a976b155c4055fc229d35a1762a90321a6227e890b6d5be51ab3377b9059b9662eed683933ec676fc2dc5f9a9
 DIST python-3.11.7-docs-html.tar.bz2 7855621 BLAKE2B 
da23f6fc60a47b0796de1b18190922110383ec6185a76e074608f4c1f18c38b89deefd31f63bcf6ce6f82f1731ef68177b209cc1f6c7145f391d48e8fc79ce6d
 SHA512 
6fe0e7d86af549b0f8c59dd84d90f403ed4e5adee61289fe194d788305059ad492265cdb7b8185030f4f872eb40b2311d6a9250a7343edafa75d318d1dfcf864
 DIST python-3.12.1-docs-html.tar.bz2 8189226 BLAKE2B 
6382c00670872615910e3c645f24872b6417227b172b18fc3f8b3dd3fadb1444056ed0c07088b21fe6ae91f71c7d295aac8031cda48e2be8e39bf8c4b366ea18
 SHA512 
605085ebdac199dfcaf39e909c69cea0c2247aa90dface5c8192312dc2f228ee4ece61eb905e9557e7d1786d338c318eee6a780f6398f07ba4db7d50c4e84bb2
+DIST python-3.12.2-docs-html.tar.bz2 8257814 BLAKE2B 
0544e2b5f37a80be76d34dbf58e6a6a061609ba7032b6701e0bc5c9ea215093d82d509bed0563ccbeb77508ff0245dc4772e6dcbf855d2620763f7b6cd048414
 SHA512 
5605ae38c259e3b4f342755ae0e05c5e76250af401781543fd27611bbd9cde48b416972dbde4f0414b51094c78a269cfb5b563f860040f574496bc0242f8c2f0
 DIST python-3.8.18-docs-html.tar.bz2 6729312 BLAKE2B 
431b8d5029d09fc2f54fdc998799298ccb6571a68c735320c95469a81e62bc7c2a9ec0ec11caa9886ad6a2d643b8d715e6866c398ec153d101b16efb85cda656
 SHA512 
80bdbec04355644f4b114e74da3334b4980d783a52ac8c999ede72f39b6137d94f1aaca248a386cfa02d778a10bdd7919ad82932f0aa000b16c102c8cee67e52
 DIST python-3.9.18-docs-html.tar.bz2 7023072 BLAKE2B 
92273a711cc8c2a35104f7c35bdca50ee0e9794c72aa14e9c4e613298dd6f2ecebbe977a35f1520a8585f1ea3112e8ea8e477c0e3503b025b6cec875fe40033e
 SHA512 
d123266c72db81703c386dc0d436243a36996c39cde382939cebea31ff7a0c049470daa27efc34a3a0d55310bc6fe489ba01572ca961f67ba7a098038f2cb5af

diff --git a/app-doc/python-docs/python-docs-3.12.2.ebuild 
b/app-doc/python-docs/python-docs-3.12.2.ebuild
new file mode 100644
index ..8483ad559ab4
--- /dev/null
+++ b/app-doc/python-docs/python-docs-3.12.2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="HTML documentation for Python"
+HOMEPAGE="https://www.python.org/doc/;
+SRC_URI="https://www.python.org/ftp/python/doc/${PV}/python-${PV}-docs-html.tar.bz2;
+S="${WORKDIR}/python-${PV}-docs-html"
+
+LICENSE="PSF-2"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86"
+
+src_install() {
+   rm -r _sources || die
+   docinto html
+   dodoc -r .
+
+   newenvd - 60python-docs-${SLOT} <<-EOF
+   
PYTHONDOCS_${SLOT//./_}="${EPREFIX}/usr/share/doc/${PF}/html/library"
+   EOF
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/puremagic/

2024-02-06 Thread Michał Górny
commit: 64c8ddbde5c9c2510436865767e33ee596d2ba14
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  7 07:13:27 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  7 07:39:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64c8ddbd

dev-python/puremagic: Bump to 1.20

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/puremagic/Manifest  |  1 +
 dev-python/puremagic/puremagic-1.20.ebuild | 27 +++
 2 files changed, 28 insertions(+)

diff --git a/dev-python/puremagic/Manifest b/dev-python/puremagic/Manifest
index 2c3d8b8d2363..d31e5f5b62ab 100644
--- a/dev-python/puremagic/Manifest
+++ b/dev-python/puremagic/Manifest
@@ -1 +1,2 @@
 DIST puremagic-1.15.gh.tar.gz 295922 BLAKE2B 
b78a691fe5843eec7be4874c11492565ce474a741bd80cb5787bbfacd4522363acf880071d4e9b3beab14287890e851da1e92eeea2aacce1161729287b99ce9e
 SHA512 
46d8ad7e2aa309558e37589b8a9508ef4156a5d6768b738df5f8539cb9edc12d83ac46a2fd46ef48d9323c73dfeff0e6f5eee8046bdd910f6ea14bb5402e477e
+DIST puremagic-1.20.gh.tar.gz 296430 BLAKE2B 
9c10c43edd03ba85d40827e253fe7cbc18ad40e78c0824e653fb47583bf2fe67e5382657e55a4497c982f553f593e21a42bd2b842411e74365dee63a09d5dfee
 SHA512 
a926dbf4957ad78391b8ce9ee77d873593e9c51bc4590d900eafe8162ee1cf75aa3a22679164cdc2fb39adc168c7ecca97dadd7b9d0396dc77d078ef19a0a465

diff --git a/dev-python/puremagic/puremagic-1.20.ebuild 
b/dev-python/puremagic/puremagic-1.20.ebuild
new file mode 100644
index ..bf7bf4cdb98b
--- /dev/null
+++ b/dev-python/puremagic/puremagic-1.20.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Pure python implementation of magic file detection"
+HOMEPAGE="
+   https://github.com/cdgriffith/puremagic/
+   https://pypi.org/project/puremagic/
+"
+SRC_URI="
+   https://github.com/cdgriffith/${PN}/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS=( CHANGELOG.md README.rst )
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgit2/

2024-02-06 Thread Michał Górny
commit: 5e86db1ac9cd8cc4a1cbe4e5cfa2401ea82b6e53
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  7 06:48:46 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  7 07:39:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e86db1a

dev-libs/libgit2: Bump to 1.7.2

Signed-off-by: Michał Górny  gentoo.org>

 dev-libs/libgit2/Manifest |  1 +
 dev-libs/libgit2/libgit2-1.7.2.ebuild | 70 +++
 2 files changed, 71 insertions(+)

diff --git a/dev-libs/libgit2/Manifest b/dev-libs/libgit2/Manifest
index 3e75daddc105..00024bb1bf19 100644
--- a/dev-libs/libgit2/Manifest
+++ b/dev-libs/libgit2/Manifest
@@ -1 +1,2 @@
 DIST libgit2-1.7.1.tar.gz 7548081 BLAKE2B 
9c50d3c25d1cc58e5fab60b4c438c91479dd57138a14a48a8b692bb6b43733f59759172043c94198df63fa1e4eb40c548bb78c94bc57fb99682059be57a5c3e2
 SHA512 
08e60dde0cdf57006cf0c5f27a82220aba8d701bf7d6d709ffe312975ffa5dbef009ccb1e7cbe570b9502f4361d06ace44dbfd9a5f5f8ad08e9b0ca05bef765e
+DIST libgit2-1.7.2.tar.gz 7548186 BLAKE2B 
c27870124c7e63a37794014a802a6fce46c577313f3b6081580f920fa842a65305b5bc56aa6ab02cf87c533d6052afdc37317f96aa1fd67387b07f52415ccbe3
 SHA512 
825737e4a1991fba50ea535f15b0e560ebe76ead752e04aeba36925b944d0da77fe9826a70980a1aa3d0bf9afbedfab79dd92e799c9252931384c89ebec9b012

diff --git a/dev-libs/libgit2/libgit2-1.7.2.ebuild 
b/dev-libs/libgit2/libgit2-1.7.2.ebuild
new file mode 100644
index ..ad67fc2de444
--- /dev/null
+++ b/dev-libs/libgit2/libgit2-1.7.2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit cmake python-any-r1
+
+DESCRIPTION="A linkable library for Git"
+HOMEPAGE="https://libgit2.org/;
+SRC_URI="
+   https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+"
+S=${WORKDIR}/${P/_/-}
+
+LICENSE="GPL-2-with-linking-exception"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 
~ppc-macos"
+IUSE="examples gssapi +ssh test +threads trace"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   dev-libs/libpcre2:=
+   net-libs/http-parser:=
+   sys-libs/zlib
+   dev-libs/openssl:0=
+   gssapi? ( virtual/krb5 )
+   ssh? ( net-libs/libssh2 )
+"
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   virtual/pkgconfig
+"
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_TESTS=$(usex test)
+   -DUSE_SSH=$(usex ssh)
+   -DUSE_GSSAPI=$(usex gssapi ON OFF)
+   -DUSE_HTTP_PARSER=system
+   -DREGEX_BACKEND=pcre2
+   )
+   cmake_src_configure
+}
+
+src_test() {
+   if [[ ${EUID} -eq 0 ]] ; then
+   # repo::iterator::fs_preserves_error fails if run as root
+   # since root can still access dirs with  perms
+   ewarn "Skipping tests: non-root privileges are required for all 
tests to pass"
+   else
+   local TEST_VERBOSE=1
+   cmake_src_test -R offline
+   fi
+}
+
+src_install() {
+   cmake_src_install
+   dodoc docs/*.{md,txt}
+
+   if use examples ; then
+   find examples -name '.gitignore' -delete || die
+   dodoc -r examples
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/slixmpp/

2024-02-06 Thread Michał Górny
commit: ad1cdce986ea7c7008cafff29cafd34c6f143271
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  7 07:15:15 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  7 07:39:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad1cdce9

dev-python/slixmpp: Bump to 1.8.5

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/slixmpp/Manifest |  1 +
 dev-python/slixmpp/slixmpp-1.8.5.ebuild | 52 +
 2 files changed, 53 insertions(+)

diff --git a/dev-python/slixmpp/Manifest b/dev-python/slixmpp/Manifest
index 48f6f10eb714..c73feb7e364a 100644
--- a/dev-python/slixmpp/Manifest
+++ b/dev-python/slixmpp/Manifest
@@ -1 +1,2 @@
 DIST slixmpp-1.8.4.tar.gz 546263 BLAKE2B 
78a7b1b9015f27d63b3c127a292e2794a9de2283fbb9763ef52d03d37cc2d0fcc3f0696beca858a0d120991059a5eced62b5a4a9e87436b81dc17f6bbdc4b106
 SHA512 
afa82670e4cb2c904503a6ef652d3f2ecd59732a18eef05b85e0a55f15112685ecc1b50951b3f717a211d1c9069a4e7c65d913454426441f56688ff05a5c0921
+DIST slixmpp-1.8.5.tar.gz 574560 BLAKE2B 
3ac5b1f41acdf4dd725355cdb06e7642d67b5b51a533e933af1b451df424d3e81267ce945e577b21a07f943578119913a9a42dd4e65426223ff413ad52c3f110
 SHA512 
f2e123bd462097d0b7dc28cd960f723419f4fa2af59c8f5b7d30a05135c2f9fc6982e6d2855ea10b22936bdd4a96faeae73f87a495e2d1f10e6c63cdcb412665

diff --git a/dev-python/slixmpp/slixmpp-1.8.5.ebuild 
b/dev-python/slixmpp/slixmpp-1.8.5.ebuild
new file mode 100644
index ..5d5bcfca4fd5
--- /dev/null
+++ b/dev-python/slixmpp/slixmpp-1.8.5.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2024 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_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python 3 library for XMPP"
+HOMEPAGE="
+   https://codeberg.org/poezio/slixmpp/
+   https://pypi.org/project/slixmpp/
+"
+LICENSE="MIT"
+SLOT="0"
+
+if [[ "${PV}" == "" ]]; then
+   EGIT_REPO_URI="https://codeberg.org/poezio/slixmpp.git;
+   inherit git-r3
+else
+   inherit pypi
+   KEYWORDS="~amd64 ~riscv"
+fi
+
+DEPEND="
+   net-dns/libidn:=
+"
+RDEPEND="
+   dev-python/aiodns[${PYTHON_USEDEP}]
+   dev-python/aiohttp[${PYTHON_USEDEP}]
+   dev-python/cryptography[${PYTHON_USEDEP}]
+   dev-python/defusedxml[${PYTHON_USEDEP}]
+   dev-python/pyasn1-modules[${PYTHON_USEDEP}]
+   dev-python/pyasn1[${PYTHON_USEDEP}]
+   ${DEPEND}
+   $(python_gen_cond_dep '
+   >=dev-lang/python-3.12.1_p1:3.12
+   ' python3_12)
+"
+BDEPEND="
+   dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests unittest
+
+python_test() {
+   rm -rf slixmpp || die
+   eunittest -s tests
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/Faker/

2024-02-06 Thread Michał Górny
commit: a1b07b110e04422c4e64a32893611aaffc58f7e4
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  7 06:57:28 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  7 07:39:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1b07b11

dev-python/Faker: Bump to 23.0.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/Faker/Faker-23.0.0.ebuild | 40 
 dev-python/Faker/Manifest|  1 +
 2 files changed, 41 insertions(+)

diff --git a/dev-python/Faker/Faker-23.0.0.ebuild 
b/dev-python/Faker/Faker-23.0.0.ebuild
new file mode 100644
index ..4a85c701f3c8
--- /dev/null
+++ b/dev-python/Faker/Faker-23.0.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A Python package that generates fake data for you"
+HOMEPAGE="
+   https://github.com/joke2k/faker/
+   https://pypi.org/project/Faker/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}]
+   !dev-ruby/faker
+"
+BDEPEND="
+   test? (
+   dev-python/freezegun[${PYTHON_USEDEP}]
+   dev-python/pillow[${PYTHON_USEDEP},tiff]
+   dev-python/validators[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   local -x PYTEST_PLUGINS=faker.contrib.pytest.plugin
+   epytest
+}

diff --git a/dev-python/Faker/Manifest b/dev-python/Faker/Manifest
index 8e20f6b70284..e4d4b3923410 100644
--- a/dev-python/Faker/Manifest
+++ b/dev-python/Faker/Manifest
@@ -2,3 +2,4 @@ DIST Faker-22.4.0.tar.gz 1702616 BLAKE2B 
1a50724c0c8faaf4b2e72d3b23f242be1986213
 DIST Faker-22.5.1.tar.gz 1703337 BLAKE2B 
603b06512deb04c6e320904aa32b7e210ecbe270ae634814adeaa420d2af342d44744755ad7ae575ef7902bd3ad6d117c88814bb13a1d84952509ec881b402f9
 SHA512 
469cf1af9535be0610c1b8750874b1623b0746b762a995805a86a9bdb54a2a8cd3d4118254b1a75240f24a6294629669aae3b6e062e8b229eba30de56cb2bbf8
 DIST Faker-22.6.0.tar.gz 1703974 BLAKE2B 
b6deb022fd38f52baf9a76e697451ca4ba175e530c3c232d09722f1f809de779d7885b92d1b87be64d9b87da2a7bda80af6cb5968faa55c60547156a5a7c63b7
 SHA512 
100db2723e4e6961ea239bd1c083cc8ed90cec2af3a8fb82c77df4cd2faec10b51f6cc5ff502e3afaf4d53142f6eaf04b1c6bd955ae8173e5c2f7b19bb7cf561
 DIST Faker-22.7.0.tar.gz 1705221 BLAKE2B 
9c41a053de75ca238399140531e7d37148ffa358f3ead37cc1aeb32bab74f096689bdcd160372419aed3a541f1aa367e891735e68d384e1c559634e2630e9659
 SHA512 
38cf655acf23568f0e1b275475461a9272e500c60330d7fc6a0b0db2977d4ea5762bf07cbc24ebe30fcb771cd90579611addce513b80166dbe70554b297c2109
+DIST Faker-23.0.0.tar.gz 1705271 BLAKE2B 
0c83bf26ef1005a00c132e4634a617aef659cfb0ce59d67dd0d63d80371ab58b963417c5e26c5d8ef945bbb1a57db408424f0360327035844654e90338d49eff
 SHA512 
f385c839d3d6cd5103e7a5e92dfda0581e1cd2e5e9270c678524ccaa7b97ddfc666423c2ae02605ed1d2c1c2a04dbda482323e40fb3c9854bf48b3208793f8d6



[gentoo-commits] repo/gentoo:master commit in: dev-python/mkdocs-material/

2024-02-06 Thread Michał Górny
commit: 4141a0adf1dfea50fe68a23e9027369da68a3088
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  7 06:58:31 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  7 07:39:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4141a0ad

dev-python/mkdocs-material: Bump to 9.5.8

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mkdocs-material/Manifest|  1 +
 .../mkdocs-material/mkdocs-material-9.5.8.ebuild   | 67 ++
 2 files changed, 68 insertions(+)

diff --git a/dev-python/mkdocs-material/Manifest 
b/dev-python/mkdocs-material/Manifest
index 7a7a2d38c4cf..7b6e59bb7031 100644
--- a/dev-python/mkdocs-material/Manifest
+++ b/dev-python/mkdocs-material/Manifest
@@ -2,3 +2,4 @@ DIST mkdocs-material-9.5.4.gh.tar.gz 14681148 BLAKE2B 
1b4b652a446a71986256dd53d8
 DIST mkdocs-material-9.5.5.gh.tar.gz 14707046 BLAKE2B 
34c5287ac701a06ddb7713fd1a7b18307cbb62de12f4e455cff6380255bfe7d28249c86e922c394d581dd0b95368309396f5f5055cb3c6edb283345ddd6a7e9c
 SHA512 
73a4a513eed242fb690aae6a338636baf049bb510a7779ded6cefbedcdeb2cd1c681646b3587527d8e2a251315e70fa347acff4aeaa6959a26c9bfabd9ef3a64
 DIST mkdocs-material-9.5.6.gh.tar.gz 14705120 BLAKE2B 
6dc6d8eca86e3f1b2942203dc3abafdf5b961afc9df0e59207809016b0c42b440d1b7e8c083cc9aa43db2095a49d3663e5e60d424f51be268906d09796b21e63
 SHA512 
4746f7e1ffad1e024f62005452e2250a7213c5c97a67446d664abdf68b13af670c61be0b94dda89dab72f9a2375e34e9c9a61ff343632e28182dd36af85ef381
 DIST mkdocs-material-9.5.7.gh.tar.gz 14715071 BLAKE2B 
4eb978e28150b00b925fa151445b459cb048b8a48526aadc1f82b12fab65e8635d1417546b280cfd7af3dc6a9cf4d2ed7984958896bfa910d3d14fa27059c907
 SHA512 
4a5163bb5e5705a1d9bf35ed88746cff1e8bb74e7dfa92b73304a9261702449e6c63fbbcaf7680ff28ba8a344376adf777d74f145f3668076036518c143064e5
+DIST mkdocs-material-9.5.8.gh.tar.gz 14726797 BLAKE2B 
16aa180c5927b29273abcce6a1663c287225ca159c8bfc2dac5a08759bd8b81017e231c7db90c457da881c52d424aaa463880048a9b727ccbda3f825bb64c658
 SHA512 
0d140ef2a5e278d77aaf5aa9fe39fb357abf2da2dd420c16fe24e2e1640ad399f76e0060bc19554fbf7976f2f5947acfc89ba0dd54d2cbb7d01eb8193e663a13

diff --git a/dev-python/mkdocs-material/mkdocs-material-9.5.8.ebuild 
b/dev-python/mkdocs-material/mkdocs-material-9.5.8.ebuild
new file mode 100644
index ..46c2a0851fa9
--- /dev/null
+++ b/dev-python/mkdocs-material/mkdocs-material-9.5.8.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..12} )
+
+DOCS_BUILDER="mkdocs"
+DOCS_DEPEND="
+   dev-python/mkdocs-material-extensions
+   dev-python/mkdocs-minify-plugin
+   dev-python/mkdocs-redirects
+"
+
+inherit distutils-r1 docs
+
+DESCRIPTION="A Material Design theme for MkDocs"
+HOMEPAGE="
+   https://github.com/squidfunk/mkdocs-material/
+   https://pypi.org/project/mkdocs-material/
+"
+SRC_URI="
+   https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="social"
+
+RDEPEND="
+   >=dev-python/Babel-2.10.3[${PYTHON_USEDEP}]
+   >=dev-python/colorama-0.4[${PYTHON_USEDEP}]
+   >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}]
+   >=dev-python/lxml-4.6[${PYTHON_USEDEP}]
+   >=dev-python/markdown-3.2[${PYTHON_USEDEP}]
+   >=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}]
+   >=dev-python/paginate-0.5.6[${PYTHON_USEDEP}]
+   >=dev-python/pygments-2.16[${PYTHON_USEDEP}]
+   >=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}]
+   >=dev-python/readtime-2.0[${PYTHON_USEDEP}]
+   >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.26[${PYTHON_USEDEP}]
+   social? (
+   >=dev-python/pillow-10.2[${PYTHON_USEDEP}]
+   >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}]
+   )
+"
+BDEPEND="
+   >=dev-python/trove-classifiers-2023.10.18[${PYTHON_USEDEP}]
+"
+# mkdocs-material-extensions depends on mkdocs-material creating a circular dep
+PDEPEND="
+   >=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+   # simplify pyproject to remove extra deps for metadata
+   "${FILESDIR}/${PN}-8.5.7-simplify-build.patch"
+)
+
+src_prepare() {
+   echo "__version__ = '${PV}'" > gentoo_version.py || die
+   distutils-r1_src_prepare
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/boto3/

2024-02-06 Thread Michał Górny
commit: 343addd6962a168043ef1ccb466f1cc83d7491ac
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  7 06:33:28 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  7 07:39:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=343addd6

dev-python/boto3: Bump to 1.34.36

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/boto3/Manifest |  1 +
 dev-python/boto3/boto3-1.34.36.ebuild | 58 +++
 2 files changed, 59 insertions(+)

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 45db2b22b784..7b033d3da2ba 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -2,3 +2,4 @@ DIST boto3-1.34.23.gh.tar.gz 766609 BLAKE2B 
d00b010c84c41695f02df58a51d483162af1
 DIST boto3-1.34.29.gh.tar.gz 769654 BLAKE2B 
3eec92f78f343c1806eb7ad96a31b07592ffb355aed5bca75b9cf9bc32cc240a1c254cd43e618d7cba442dddab31035f43f319aa674b5fd6ee99e93d76514389
 SHA512 
1dff0825811b346e1300030770f00dfea9694d3f6c4beccddfb2ff00520503271b617321e124a1d922da8e8fb1d2c2beb08a83f23eb5e5754bf1d519ea994cf3
 DIST boto3-1.34.34.gh.tar.gz 771553 BLAKE2B 
52459e1baefd7986256bb6c89074aac365fb14c8fdd1b04a79bc02b6722e1e8e5f0d59b426e519947ab1795d12defbde2768af97dd3a2cdef576fdb535422567
 SHA512 
d0d9c47550aeb46aa3095d08583931d79fe38da8498a3ece322d7dea07b25c3569f7b44ed2afdb53cae98e4e3c337e8bb91a87c325d88798488e6ba87c73d9cb
 DIST boto3-1.34.35.gh.tar.gz 771771 BLAKE2B 
2126de54d6d7fe94bab546d1f4be4b99f6ecf3b5033e4a9e3c514482c6b954a83992a904d84b3da17ffcb6ee62a147b40669b7264f7d278c81ec35259bdc1326
 SHA512 
a9e6586144f14b5602bf5ab37de433d96b7c713b370dff18922eddad19a8ba0b421008f334d8af2f8eb39f454487cbbea1b83f7141c4afea988d5592251a6c65
+DIST boto3-1.34.36.gh.tar.gz 772161 BLAKE2B 
f5ca23c960e6dda208a17b3c73b169354ecc759508b7aa28ef20150dce540ed813e426854a5c97a30233cc26c4a3d5ad87024f2ab4cace345a0b675ca0958df5
 SHA512 
2c33262aa6513e1f7640738d1b03010f5c5e8f7fceb18e5e055e5bd34845bcd475e80f8e5736e96136b4d176165f2d3ebd9a4c79a9f14ec12c46e3b81c71c465

diff --git a/dev-python/boto3/boto3-1.34.36.ebuild 
b/dev-python/boto3/boto3-1.34.36.ebuild
new file mode 100644
index ..b64e7191fd19
--- /dev/null
+++ b/dev-python/boto3/boto3-1.34.36.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="The AWS SDK for Python"
+HOMEPAGE="
+   https://github.com/boto/boto3/
+   https://pypi.org/project/boto3/
+"
+SRC_URI="
+   https://github.com/boto/boto3/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
+
+RDEPEND="
+   >=dev-python/botocore-${PV}[${PYTHON_USEDEP}]
+   >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
+   >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+
+EPYTEST_XDIST=1
+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() {
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest tests/{functional,unit}
+}



[gentoo-commits] repo/gentoo:master commit in: app-doc/python-docs/

2024-02-06 Thread Michał Górny
commit: 32b289a7dd67776c742ed05d95c22ec87a10caf0
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  7 06:47:59 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  7 07:39:24 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32b289a7

app-doc/python-docs: Bump to 3.11.8

Signed-off-by: Michał Górny  gentoo.org>

 app-doc/python-docs/Manifest  |  1 +
 app-doc/python-docs/python-docs-3.11.8.ebuild | 23 +++
 2 files changed, 24 insertions(+)

diff --git a/app-doc/python-docs/Manifest b/app-doc/python-docs/Manifest
index fc22eac4ce88..b093a6cead9a 100644
--- a/app-doc/python-docs/Manifest
+++ b/app-doc/python-docs/Manifest
@@ -1,6 +1,7 @@
 DIST python-2.7.18-docs-html.tar.bz2 4634932 BLAKE2B 
c48e2dede15d8186231acf65709641e0844c42e924262d6ee21a55e515aaf4d023bf394681bab780ab83998de9f409685e2d5870506810432145acc6422eff9d
 SHA512 
db39390577ec86f13c9b6b57c01cba36fe9fd89092a773dc94f1a6a19d912759d097c4d80e765d3657b572abc731c1da9e7b4cd4c38065cd444606b906744abe
 DIST python-3.10.13-docs-html.tar.bz2 7429989 BLAKE2B 
7ddd11dbc4012cebf2f5980653b761ee35b986b75d96d582800f84e4c371aee4b82fcc2001c744e7f14991e766b0930a9ef4cb46869544e0aa403e513c4bd418
 SHA512 
be2cb6a2ece7849b1c259e9d86b7cf5e2a91c30a976b155c4055fc229d35a1762a90321a6227e890b6d5be51ab3377b9059b9662eed683933ec676fc2dc5f9a9
 DIST python-3.11.7-docs-html.tar.bz2 7855621 BLAKE2B 
da23f6fc60a47b0796de1b18190922110383ec6185a76e074608f4c1f18c38b89deefd31f63bcf6ce6f82f1731ef68177b209cc1f6c7145f391d48e8fc79ce6d
 SHA512 
6fe0e7d86af549b0f8c59dd84d90f403ed4e5adee61289fe194d788305059ad492265cdb7b8185030f4f872eb40b2311d6a9250a7343edafa75d318d1dfcf864
+DIST python-3.11.8-docs-html.tar.bz2 7964849 BLAKE2B 
76d5997ddec028f1123345a713f5d50809e0ea53aca31a6ac9ab2e15b87538abf5a4662da2a1c2404bf2ddd92cca4d5db5753fadb7cf3f83a7256d7f22c138bc
 SHA512 
d56f139977feb14512fe32ff2ed4048ce7bea361822f4d868ec34ca9decd70749153b80c969d4ff4940ce1a2b1adf452204aa91a661e6a37df6329c7ccc35bac
 DIST python-3.12.1-docs-html.tar.bz2 8189226 BLAKE2B 
6382c00670872615910e3c645f24872b6417227b172b18fc3f8b3dd3fadb1444056ed0c07088b21fe6ae91f71c7d295aac8031cda48e2be8e39bf8c4b366ea18
 SHA512 
605085ebdac199dfcaf39e909c69cea0c2247aa90dface5c8192312dc2f228ee4ece61eb905e9557e7d1786d338c318eee6a780f6398f07ba4db7d50c4e84bb2
 DIST python-3.12.2-docs-html.tar.bz2 8257814 BLAKE2B 
0544e2b5f37a80be76d34dbf58e6a6a061609ba7032b6701e0bc5c9ea215093d82d509bed0563ccbeb77508ff0245dc4772e6dcbf855d2620763f7b6cd048414
 SHA512 
5605ae38c259e3b4f342755ae0e05c5e76250af401781543fd27611bbd9cde48b416972dbde4f0414b51094c78a269cfb5b563f860040f574496bc0242f8c2f0
 DIST python-3.8.18-docs-html.tar.bz2 6729312 BLAKE2B 
431b8d5029d09fc2f54fdc998799298ccb6571a68c735320c95469a81e62bc7c2a9ec0ec11caa9886ad6a2d643b8d715e6866c398ec153d101b16efb85cda656
 SHA512 
80bdbec04355644f4b114e74da3334b4980d783a52ac8c999ede72f39b6137d94f1aaca248a386cfa02d778a10bdd7919ad82932f0aa000b16c102c8cee67e52

diff --git a/app-doc/python-docs/python-docs-3.11.8.ebuild 
b/app-doc/python-docs/python-docs-3.11.8.ebuild
new file mode 100644
index ..8483ad559ab4
--- /dev/null
+++ b/app-doc/python-docs/python-docs-3.11.8.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="HTML documentation for Python"
+HOMEPAGE="https://www.python.org/doc/;
+SRC_URI="https://www.python.org/ftp/python/doc/${PV}/python-${PV}-docs-html.tar.bz2;
+S="${WORKDIR}/python-${PV}-docs-html"
+
+LICENSE="PSF-2"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86"
+
+src_install() {
+   rm -r _sources || die
+   docinto html
+   dodoc -r .
+
+   newenvd - 60python-docs-${SLOT} <<-EOF
+   
PYTHONDOCS_${SLOT//./_}="${EPREFIX}/usr/share/doc/${PF}/html/library"
+   EOF
+}



[gentoo-commits] repo/gentoo:master commit in: app-admin/awscli/

2024-02-06 Thread Michał Górny
commit: 82da46cf8547d21d45a359b0df41954329169d47
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  7 06:33:39 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  7 07:39:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82da46cf

app-admin/awscli: Bump to 1.32.36

Signed-off-by: Michał Górny  gentoo.org>

 app-admin/awscli/Manifest  |  1 +
 app-admin/awscli/awscli-1.32.36.ebuild | 90 ++
 2 files changed, 91 insertions(+)

diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
index 8dce300f06a1..4c9def638bc9 100644
--- a/app-admin/awscli/Manifest
+++ b/app-admin/awscli/Manifest
@@ -2,3 +2,4 @@ DIST aws-cli-1.32.23.gh.tar.gz 2627296 BLAKE2B 
b85f77efb7e7f9fac19fc342bcef44def
 DIST aws-cli-1.32.29.gh.tar.gz 2643387 BLAKE2B 
0d07a5478c5a51baf743c97aa613611aee9e84d569af1ae62e0adde56229f2973d17490a9ae287a713c2b8e54149674d416c12b5387f87504d3d1c5133a26789
 SHA512 
221315ab814691dc7cdcdee3fbe702275ad85dde50313249ccd57904d5bdd3266295eed885c7e80228970e04af240dbdfa7f3303c8a84d39633575cd0a579f81
 DIST aws-cli-1.32.34.gh.tar.gz 2647696 BLAKE2B 
e255f5fe68cd9571ea3389f7f9787b95eabd6eab9f9bf196b9e733afecd357e8e68838ae82641c2f41e79595906dda701eaa9f5a109c4a3f86564ec2fb78137b
 SHA512 
9edbde2c2c7aa67d291e3de2046e840b5f90e282e01f8b72412a10ac222e4e916ae384144ddb139b4985d298916507584d60e16cc93df7c927e653423490eb66
 DIST aws-cli-1.32.35.gh.tar.gz 2647830 BLAKE2B 
d2fe6030562088368f387d9eed582125dac5249ae53555d8fa01d5b0b49197a5a03ee7718612f679b4121b2ad44a9c5c6dab86eea2872287674a8b5c032f56b6
 SHA512 
a123a94f1243c69eb1a7e2763ecd07767f97e33e1e1c3667d42a9e072ec1d8491f792376454d47147f2c191da5d8d7615ab02914a1df8bbeb11a463f6dbc4116
+DIST aws-cli-1.32.36.gh.tar.gz 2647891 BLAKE2B 
57c1038cb2052bc3f7b85b3f2b2a7fd701554370dcd6aa9cfa0f2c0d3296b67ca2cf9751457a7181af9f089a710c4deeb155fa6fee3825394dd0ff5957b6ecd8
 SHA512 
fa5d3dab3e52d92c3891283a7b3ea76d23ab986d2234a6cc52822a95c54f8f2f6130d28f197c58d3c37959ccc3eb657b33500740fca77300f60a7c2214e98d82

diff --git a/app-admin/awscli/awscli-1.32.36.ebuild 
b/app-admin/awscli/awscli-1.32.36.ebuild
new file mode 100644
index ..4a677affdbc4
--- /dev/null
+++ b/app-admin/awscli/awscli-1.32.36.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit bash-completion-r1 distutils-r1
+
+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.10.0[${PYTHON_USEDEP}]
+   dev-python/pyyaml[${PYTHON_USEDEP}]
+   !app-admin/awscli-bin
+"
+BDEPEND="
+   test? (
+   dev-python/packaging[${PYTHON_USEDEP}]
+   dev-python/pytest-forked[${PYTHON_USEDEP}]
+   )
+"
+
+EPYTEST_XDIST=1
+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 serial_tests=(
+   
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
+   
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
+   
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_success
+   
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
+   
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
+   
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
+   
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/botocore/

2024-02-06 Thread Michał Górny
commit: ce8a7ae7ba87a5510182910d71d8516179190675
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  7 06:33:13 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  7 07:39:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce8a7ae7

dev-python/botocore: Bump to 1.34.36

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/botocore/Manifest|  1 +
 dev-python/botocore/botocore-1.34.36.ebuild | 63 +
 2 files changed, 64 insertions(+)

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 77f08ed5..5e4d7b69b904 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -2,3 +2,4 @@ DIST botocore-1.34.23.gh.tar.gz 12647072 BLAKE2B 
be20994714a1f31ac5272d5b7be8424
 DIST botocore-1.34.29.gh.tar.gz 12665018 BLAKE2B 
928c27ae62a5e2675dc5476af05a4390cbeaf9d5c64cae6a5af0d5348f703417f48431258fc7c4ad316908fd29f6bfeb5a7c76290ea9622172f3d787f40021c7
 SHA512 
5314900eecf2d31fe08bcb9efbc1a361467fe034129c85f5cb4a678275115292fc5a6a95fbbe3cc06aa0a1387e14dde0f9115a9aa25ba59dba62a02c3b8db43b
 DIST botocore-1.34.34.gh.tar.gz 12682925 BLAKE2B 
514e6946558d1014371ca7ae4c76614b9714e0444e65f9606abe059cff1e1c467e81d913dad849ed9468a557499daafbdb19bbabef7ef3ed1f45607afa1f545a
 SHA512 
4bc0bc57f4b29c461cade471e18d0f04ecf081a33bf966d80ab09832e0a5af2c08808b9fe72be9ea6a04b37e8207cdf38e43ec588c38ab9546740863e7a206ba
 DIST botocore-1.34.35.gh.tar.gz 12683490 BLAKE2B 
4cb287495e77de15803b36755962a0e6446d00aa9a6056c5762261874adf297a55bd8fceb43aa518cb981ac09b5d00e87eb593f0356949b6f8b0cced65936ac0
 SHA512 
82a57540c6fa50957434254ff536bb0a6c73cec313372233c0e4b922a4d7539a7c2150d3c49df9bcd1840c29d2eb22b25d6d8c276a704dfa9a12a32974f17d33
+DIST botocore-1.34.36.gh.tar.gz 12688895 BLAKE2B 
b05dbc906d6f49fe8df7c608cefa85bf08f59f9e086540366b5a46db4baa3edb7bbdb79ecfe3a9e0a8857cd9317f5deb6323b583ad092beadd9b0eb52c8c892f
 SHA512 
6cd8985a729fd36a74ff3211b2021ceef7ea2c9a74ef259117e2df5c2fc97cbdf070539d47224720b33024af92ca9041f979fd7d7e84aba8955e820e22e96e2a

diff --git a/dev-python/botocore/botocore-1.34.36.ebuild 
b/dev-python/botocore/botocore-1.34.36.ebuild
new file mode 100644
index ..3841b2a99c87
--- /dev/null
+++ b/dev-python/botocore/botocore-1.34.36.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Low-level, data-driven core of boto 3"
+HOMEPAGE="
+   https://github.com/boto/botocore/
+   https://pypi.org/project/botocore/
+"
+SRC_URI="
+   https://github.com/boto/botocore/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
+
+RDEPEND="
+   dev-python/six[${PYTHON_USEDEP}]
+   =dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/jsonschema[${PYTHON_USEDEP}]
+   )
+"
+
+EPYTEST_XDIST=1
+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
+   )
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest tests/{functional,unit}
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rmagick/

2024-02-06 Thread Hans de Graaff
commit: 231fa7834f98429b958491cade47bce89a9e0461
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Feb  7 07:33:24 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed Feb  7 07:36:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=231fa783

dev-ruby/rmagick: avoid broken tests

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/rmagick/rmagick-5.3.0.ebuild | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/rmagick/rmagick-5.3.0.ebuild 
b/dev-ruby/rmagick/rmagick-5.3.0.ebuild
index b0939b594a0f..56c9075a402e 100644
--- a/dev-ruby/rmagick/rmagick-5.3.0.ebuild
+++ b/dev-ruby/rmagick/rmagick-5.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -45,6 +45,10 @@ all_ruby_prepare() {
# Squelch harmless warning about imagemagick installation.
sed -i -e '/prefix/ s:ImageMagick:ImageMagick-6:' 
ext/RMagick/extconf.rb || die
 
+   # Avoid some tests that fails due to minor implementation changes in
+   # imagemagick.
+   rm -f spec/rmagick/class_methods/limit_resources_spec.rb 
spec/rmagick/image/gamma_spec.rb || die
+
# Create directory used for a test
mkdir tmp
 }



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/survey/

2024-02-06 Thread Viorel Munteanu
commit: f1d5c2192ced48869b231e2d17450ed1ec449353
Author: Viorel Munteanu  gentoo  org>
AuthorDate: Wed Feb  7 05:50:55 2024 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Wed Feb  7 05:50:55 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f1d5c219

dev-python/survey: drop 5.1.0_alpha

Signed-off-by: Viorel Munteanu  gentoo.org>

 dev-python/survey/Manifest  |  1 -
 dev-python/survey/survey-5.1.0_alpha.ebuild | 32 -
 2 files changed, 33 deletions(-)

diff --git a/dev-python/survey/Manifest b/dev-python/survey/Manifest
index 7a828476be..a3fc7b0f66 100644
--- a/dev-python/survey/Manifest
+++ b/dev-python/survey/Manifest
@@ -1,3 +1,2 @@
 DIST survey-4.5.4.tar.gz 831109 BLAKE2B 
00065211437f4c6c820aca5c511395625da7be9415218d6261005aff946b19a3e65cc31189a6aef755ed88ce81f309ac2eabe23ea7f1e2f359007b4fe9172f96
 SHA512 
045989ca95e3fa9a840ad8d37a040f46bf3f22a858dd7b826fecf88d4e53b6b14e285ef3bf266add496da2d5ffd58971c2456b4375362e24c1a071fc910a03f4
-DIST survey-5.1.0_alpha.gh.tar.gz 1564669 BLAKE2B 
60a98bdf5bb04c5996f45b61b2a88c95a8cc1ba4bee8dedc560acc5d41bcd14540636991042d13b5450f21160e28fd34f69ab06c86f22543e09cfb4bf2b09b69
 SHA512 
df1edc0db49119fc0eb832d9744834005ebcecad1eb42275b19f917ff90b4a5b7087a596cffdfa11748b8a0ec3b1ab1f3e3251259bbeff0ce238e3069ad4adc1
 DIST survey-5.2.0.gh.tar.gz 1564637 BLAKE2B 
7e08c24515ce45ddd3630bbb6d182ec5d27bf80fbd54d6b64c6d9a24da0ab6bc54f74ebad74156622736790b6c45810f949d760ec4a4e32e399f297ff3a64722
 SHA512 
1d822e0597d96a5054547fc41b2a0d480dfe4939945a6fe3206a066b61ae0448c9ff898c251a271f281c97d54d456389df60cb09a9521d5d94a1e1407af4beb7

diff --git a/dev-python/survey/survey-5.1.0_alpha.ebuild 
b/dev-python/survey/survey-5.1.0_alpha.ebuild
deleted file mode 100644
index 7d01432b75..00
--- a/dev-python/survey/survey-5.1.0_alpha.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 2021-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
-
-DESCRIPTION="A simple library for creating beautiful interactive prompts"
-HOMEPAGE="
-   https://github.com/Exahilosys/survey
-   https://pypi.org/project/survey/
-"
-MY_PV=${PV/_/-}
-SRC_URI="https://github.com/Exahilosys/survey/archive/v${MY_PV}.tar.gz -> 
${P}.gh.tar.gz"
-S="${WORKDIR}"/${PN}-${MY_PV}
-
-LICENSE="MIT"
-SLOT="0"
-
-BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]"
-
-distutils_enable_sphinx docs \
-   dev-python/sphinx-autodoc-typehints \
-   dev-python/sphinx-paramlinks \
-   dev-python/sphinx-rtd-theme
-
-src_configure() {
-   distutils-r1_src_configure
-   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
-}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/survey/

2024-02-06 Thread Viorel Munteanu
commit: 4760103cafbb0694bf96a6d850ab478a4f0613da
Author: Viorel Munteanu  gentoo  org>
AuthorDate: Wed Feb  7 05:50:47 2024 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Wed Feb  7 05:50:47 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4760103c

dev-python/survey: add 5.2.0

Signed-off-by: Viorel Munteanu  gentoo.org>

 dev-python/survey/Manifest|  1 +
 dev-python/survey/survey-5.2.0.ebuild | 33 +
 2 files changed, 34 insertions(+)

diff --git a/dev-python/survey/Manifest b/dev-python/survey/Manifest
index 9aabed9e04..7a828476be 100644
--- a/dev-python/survey/Manifest
+++ b/dev-python/survey/Manifest
@@ -1,2 +1,3 @@
 DIST survey-4.5.4.tar.gz 831109 BLAKE2B 
00065211437f4c6c820aca5c511395625da7be9415218d6261005aff946b19a3e65cc31189a6aef755ed88ce81f309ac2eabe23ea7f1e2f359007b4fe9172f96
 SHA512 
045989ca95e3fa9a840ad8d37a040f46bf3f22a858dd7b826fecf88d4e53b6b14e285ef3bf266add496da2d5ffd58971c2456b4375362e24c1a071fc910a03f4
 DIST survey-5.1.0_alpha.gh.tar.gz 1564669 BLAKE2B 
60a98bdf5bb04c5996f45b61b2a88c95a8cc1ba4bee8dedc560acc5d41bcd14540636991042d13b5450f21160e28fd34f69ab06c86f22543e09cfb4bf2b09b69
 SHA512 
df1edc0db49119fc0eb832d9744834005ebcecad1eb42275b19f917ff90b4a5b7087a596cffdfa11748b8a0ec3b1ab1f3e3251259bbeff0ce238e3069ad4adc1
+DIST survey-5.2.0.gh.tar.gz 1564637 BLAKE2B 
7e08c24515ce45ddd3630bbb6d182ec5d27bf80fbd54d6b64c6d9a24da0ab6bc54f74ebad74156622736790b6c45810f949d760ec4a4e32e399f297ff3a64722
 SHA512 
1d822e0597d96a5054547fc41b2a0d480dfe4939945a6fe3206a066b61ae0448c9ff898c251a271f281c97d54d456389df60cb09a9521d5d94a1e1407af4beb7

diff --git a/dev-python/survey/survey-5.2.0.ebuild 
b/dev-python/survey/survey-5.2.0.ebuild
new file mode 100644
index 00..def53569b6
--- /dev/null
+++ b/dev-python/survey/survey-5.2.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+inherit distutils-r1
+
+DESCRIPTION="A simple library for creating beautiful interactive prompts"
+HOMEPAGE="
+   https://github.com/Exahilosys/survey
+   https://pypi.org/project/survey/
+"
+MY_PV=${PV/_/-}
+SRC_URI="https://github.com/Exahilosys/survey/archive/v${MY_PV}.tar.gz -> 
${P}.gh.tar.gz"
+S="${WORKDIR}"/${PN}-${MY_PV}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]"
+
+distutils_enable_sphinx docs \
+   dev-python/sphinx-autodoc-typehints \
+   dev-python/sphinx-paramlinks \
+   dev-python/sphinx-rtd-theme
+
+src_configure() {
+   distutils-r1_src_configure
+   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+}



[gentoo-commits] repo/gentoo:master commit in: app-i18n/fcitx-chewing/

2024-02-06 Thread WANG Xuerui
commit: 510bd401240b4b3ae7f6881486efe90dbdf577a7
Author: Ryan Qian  bitbili  net>
AuthorDate: Fri Feb  2 14:09:09 2024 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Wed Feb  7 05:16:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=510bd401

app-i18n/fcitx-chewing: fix icon collision between slot 4 and 5

Since the corresponding major dependencies app-i18n/fcitx:5 and
app-i18n/fcitx:4 are mutually blocked, it is sufficient to make these
two also mutually blocked.

Closes: https://bugs.gentoo.org/923577
Signed-off-by: Ryan Qian  bitbili.net>
Signed-off-by: WANG Xuerui  gentoo.org>

 app-i18n/fcitx-chewing/fcitx-chewing-5.1.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-i18n/fcitx-chewing/fcitx-chewing-5.1.1.ebuild 
b/app-i18n/fcitx-chewing/fcitx-chewing-5.1.1.ebuild
index 9c30a68cf4fa..7a2ba6c6a106 100644
--- a/app-i18n/fcitx-chewing/fcitx-chewing-5.1.1.ebuild
+++ b/app-i18n/fcitx-chewing/fcitx-chewing-5.1.1.ebuild
@@ -16,6 +16,7 @@ SLOT="5"
 KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
 
 RDEPEND="
+   !app-i18n/fcitx-chewing:4
>=app-i18n/fcitx-5.1.6:5
>=app-i18n/libchewing-0.5.0
 "



[gentoo-commits] repo/gentoo:master commit in: app-i18n/fcitx-table-extra/

2024-02-06 Thread WANG Xuerui
commit: f342541d0b1c0e6a45667fceb479b21b080e03df
Author: Ryan Qian  bitbili  net>
AuthorDate: Fri Feb  2 14:05:25 2024 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Wed Feb  7 05:16:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f342541d

app-i18n/fcitx-table-extra: fix icon collisions between slot 4 and 5

Since the corresponding major dependencies app-i18n/fcitx:5 and
app-i18n/fcitx:4 are mutually blocked, it is sufficient to make these
two also mutually blocked.

Closes: https://bugs.gentoo.org/923580
Signed-off-by: Ryan Qian  bitbili.net>
Signed-off-by: WANG Xuerui  gentoo.org>

 app-i18n/fcitx-table-extra/fcitx-table-extra-5.1.3.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-i18n/fcitx-table-extra/fcitx-table-extra-5.1.3.ebuild 
b/app-i18n/fcitx-table-extra/fcitx-table-extra-5.1.3.ebuild
index 199ff7f064a8..13ba0b2957b7 100644
--- a/app-i18n/fcitx-table-extra/fcitx-table-extra-5.1.3.ebuild
+++ b/app-i18n/fcitx-table-extra/fcitx-table-extra-5.1.3.ebuild
@@ -16,6 +16,7 @@ SLOT="5"
 KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
 
 DEPEND="
+   !app-i18n/fcitx-table-extra:4
app-i18n/fcitx:5
app-i18n/libime
 "



[gentoo-commits] repo/gentoo:master commit in: app-i18n/fcitx-hangul/

2024-02-06 Thread WANG Xuerui
commit: 832091ce9db1197f7b544d44c3cc1adba60fe483
Author: Ryan Qian  bitbili  net>
AuthorDate: Fri Feb  2 14:07:54 2024 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Wed Feb  7 05:16:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=832091ce

app-i18n/fcitx-hangul: fix icon collision between slot 4 and 5

Since the corresponding major dependencies app-i18n/fcitx:5 and
app-i18n/fcitx:4 are mutually blocked, it is sufficient to make these
two also mutually blocked.

Closes: https://bugs.gentoo.org/923578
Signed-off-by: Ryan Qian  bitbili.net>
Signed-off-by: WANG Xuerui  gentoo.org>

 app-i18n/fcitx-hangul/fcitx-hangul-5.1.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-i18n/fcitx-hangul/fcitx-hangul-5.1.1.ebuild 
b/app-i18n/fcitx-hangul/fcitx-hangul-5.1.1.ebuild
index 80cd01264b60..e59e67deae69 100644
--- a/app-i18n/fcitx-hangul/fcitx-hangul-5.1.1.ebuild
+++ b/app-i18n/fcitx-hangul/fcitx-hangul-5.1.1.ebuild
@@ -16,6 +16,7 @@ SLOT="5"
 KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
 
 DEPEND="
+   !app-i18n/fcitx-hangul:4
>=app-i18n/fcitx-5.1.6:5
>=app-i18n/libhangul-0.0.12
virtual/libiconv



[gentoo-commits] repo/gentoo:master commit in: app-i18n/fcitx-anthy/

2024-02-06 Thread WANG Xuerui
commit: 065d965493d80d649a45865c74b472b99f41bbf2
Author: Ryan Qian  bitbili  net>
AuthorDate: Fri Feb  2 14:10:15 2024 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Wed Feb  7 05:16:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=065d9654

app-i18n/fcitx-anthy: fix icon collisions between slot 4 and 5

Since the corresponding major dependencies app-i18n/fcitx:5 and
app-i18n/fcitx:4 are mutually blocked, it is sufficient to make these
two also mutually blocked.

Closes: https://bugs.gentoo.org/923576
Closes: https://github.com/gentoo/gentoo/pull/35148
Signed-off-by: Ryan Qian  bitbili.net>
Signed-off-by: WANG Xuerui  gentoo.org>

 app-i18n/fcitx-anthy/fcitx-anthy-5.1.3.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-i18n/fcitx-anthy/fcitx-anthy-5.1.3.ebuild 
b/app-i18n/fcitx-anthy/fcitx-anthy-5.1.3.ebuild
index dea567bb74f8..0c92f331693c 100644
--- a/app-i18n/fcitx-anthy/fcitx-anthy-5.1.3.ebuild
+++ b/app-i18n/fcitx-anthy/fcitx-anthy-5.1.3.ebuild
@@ -18,6 +18,7 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
+   !app-i18n/fcitx-anthy:4
app-i18n/anthy
>=app-i18n/fcitx-5.1.6:5
 "



[gentoo-commits] repo/gentoo:master commit in: app-i18n/fcitx-rime/

2024-02-06 Thread WANG Xuerui
commit: 50ba2f6c2828198cea145470e93afc99d8b3eebc
Author: Ryan Qian  bitbili  net>
AuthorDate: Fri Feb  2 13:55:07 2024 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Wed Feb  7 05:16:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50ba2f6c

app-i18n/fcitx-rime: fix icon collision between slot 4 and 5

Since the corresponding major dependencies app-i18n/fcitx:5 and
app-i18n/fcitx:4 are mutually blocked, it is sufficient to make these
two also mutually blocked.

Closes: https://bugs.gentoo.org/923579
Signed-off-by: Ryan Qian  bitbili.net>
Signed-off-by: WANG Xuerui  gentoo.org>

 app-i18n/fcitx-rime/fcitx-rime-5.1.4.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-i18n/fcitx-rime/fcitx-rime-5.1.4.ebuild 
b/app-i18n/fcitx-rime/fcitx-rime-5.1.4.ebuild
index e480e0cabd8b..dd6e94808af2 100644
--- a/app-i18n/fcitx-rime/fcitx-rime-5.1.4.ebuild
+++ b/app-i18n/fcitx-rime/fcitx-rime-5.1.4.ebuild
@@ -15,6 +15,7 @@ SLOT="5"
 KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
 
 DEPEND="
+   !app-i18n/fcitx-rime:4
>=app-i18n/fcitx-5.1.2:5
app-i18n/librime
app-i18n/rime-data



[gentoo-commits] repo/proj/guru:dev commit in: net-wireless/rtl8821cu/

2024-02-06 Thread Aleksandr Batyuk
commit: 06d2561117edbdd74795c7b8b9431b3977e15c09
Author: Aleksandr Batyuk  gmail  com>
AuthorDate: Wed Feb  7 05:10:08 2024 +
Commit: Aleksandr Batyuk  gmail  com>
CommitDate: Wed Feb  7 05:10:08 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=06d25611

net-wireless/rtl8821cu: Add support kernel 6.8

Signed-off-by: Aleksandr Batyuk  gmail.com>

 net-wireless/rtl8821cu/Manifest   | 2 +-
 ...{rtl8821cu-0_pre20231126.ebuild => rtl8821cu-0_pre20240121.ebuild} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-wireless/rtl8821cu/Manifest b/net-wireless/rtl8821cu/Manifest
index 282504f95a..4b4c078c6a 100644
--- a/net-wireless/rtl8821cu/Manifest
+++ b/net-wireless/rtl8821cu/Manifest
@@ -1 +1 @@
-DIST rtl8821cu-0_pre20231126.tar.gz 13823204 BLAKE2B 
a19a88e10d6709c7ada9130392d2f173d8f7b303ea4c89b67e209e98e65c9ff3388e7416c021a0d3218428d0aa072660822414827d07eb6bc312fd4a660f1f6c
 SHA512 
d033fb81c1231a30a3440710edfce356d81262c070eb09569506042776c6cc37b8f2e5234772028c9d5d85fc22dd73a39efdae9ab4fa0943a6c2277f47ca87eb
+DIST rtl8821cu-0_pre20240121.tar.gz 13821880 BLAKE2B 
1863c5d12e12bbf9661039cae299cbc211014c0384f9df9ad958bfe712fc3c1ceb1e83c6b44e6a25e6cfaa786e626291d77ec81be28a19730fd7b579bd97696e
 SHA512 
bc3ef3e7f671fce371bd0e8cf74eb7c3561c827a47101e48f88e6ea8849bb70b0b0a275923e52f59e6d0d4dec19ee5d69ea5c3ea00aaa1afd15045ea3e0212e0

diff --git a/net-wireless/rtl8821cu/rtl8821cu-0_pre20231126.ebuild 
b/net-wireless/rtl8821cu/rtl8821cu-0_pre20240121.ebuild
similarity index 86%
rename from net-wireless/rtl8821cu/rtl8821cu-0_pre20231126.ebuild
rename to net-wireless/rtl8821cu/rtl8821cu-0_pre20240121.ebuild
index 907a4addac..8e7ee8bab9 100644
--- a/net-wireless/rtl8821cu/rtl8821cu-0_pre20231126.ebuild
+++ b/net-wireless/rtl8821cu/rtl8821cu-0_pre20240121.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -6,7 +6,7 @@ EAPI=8
 inherit linux-mod-r1
 
 MY_PN="8821cu-20210916"
-COMMIT="eb52ece92607394ecc22e96b41671ec3e5b1fa30"
+COMMIT="5b39398e2de146edeb76716420f3288f508bea61"
 DESCRIPTION="Realtek 8821CU/RTL8811CU module for Linux kernel"
 HOMEPAGE="https://github.com/morrownr/8821cu-20210916;
 SRC_URI="https://github.com/morrownr/${MY_PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"



[gentoo-commits] repo/proj/guru:dev commit in: net-wireless/rtl8821ce/

2024-02-06 Thread Aleksandr Batyuk
commit: 81c81592922d1a0bf8d7c3034f87ac40589f37bc
Author: Aleksandr Batyuk  gmail  com>
AuthorDate: Wed Feb  7 04:56:12 2024 +
Commit: Aleksandr Batyuk  gmail  com>
CommitDate: Wed Feb  7 04:56:12 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=81c81592

net-wireless/rtl8821ce: Add support kernel 6.7

Signed-off-by: Aleksandr Batyuk  gmail.com>

 net-wireless/rtl8821ce/Manifest   | 2 +-
 ...{rtl8821ce-0_pre20231002.ebuild => rtl8821ce-0_pre20240120.ebuild} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-wireless/rtl8821ce/Manifest b/net-wireless/rtl8821ce/Manifest
index d55a8b2528..ec472e928d 100644
--- a/net-wireless/rtl8821ce/Manifest
+++ b/net-wireless/rtl8821ce/Manifest
@@ -1 +1 @@
-DIST rtl8821ce-0_pre20231002.tar.gz 4523465 BLAKE2B 
24fc29856565e5b4a7023aef05f3602c0b0440f3b157ec867965365b1555a4466297505eb6bc655ca5eb3cefb39c794e05619a942f2780dbbb5dd450e18cb11c
 SHA512 
8534a4d7dbece51b569fd243cf4d6be8935c4ecbb01309a798ef43cf38bca41cf019af46c3bde020dce8085563b97f7c30e1b56b225ed064b0c14e18944b200b
+DIST rtl8821ce-0_pre20240120.tar.gz 4522341 BLAKE2B 
ed686786848485674ecb3eccb98557a67fe650b21af74fb02c16451b388cd3c045b169fe0c0b2d14ed302e75cba68d06435e599ef07a039d86691465153ea465
 SHA512 
4a60823236da497b1b9077f4bf76c07b12a94c77fa3de0b03b27d6182c30dea1634d44b5fc0733e0a65142c91387c354bf08d751e655d3bd0d716d573c9308e3

diff --git a/net-wireless/rtl8821ce/rtl8821ce-0_pre20231002.ebuild 
b/net-wireless/rtl8821ce/rtl8821ce-0_pre20240120.ebuild
similarity index 88%
rename from net-wireless/rtl8821ce/rtl8821ce-0_pre20231002.ebuild
rename to net-wireless/rtl8821ce/rtl8821ce-0_pre20240120.ebuild
index 80a233abc3..51ac75fb82 100644
--- a/net-wireless/rtl8821ce/rtl8821ce-0_pre20231002.ebuild
+++ b/net-wireless/rtl8821ce/rtl8821ce-0_pre20240120.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -6,7 +6,7 @@ EAPI=8
 inherit linux-mod-r1
 
 MY_PN="rtl8821ce"
-COMMIT="b5b8a5c1b884b429cd33f627caafe805b9f204e8"
+COMMIT="66983b69120a13699acf40a12979317f29012111"
 DESCRIPTION="Realtek RTL8821CE Driver module for Linux kernel"
 HOMEPAGE="https://github.com/tomaspinho/rtl8821ce;
 SRC_URI="https://github.com/tomaspinho/${MY_PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

2024-02-06 Thread Ionen Wolkens
commit: 66cf57fea836898cc7e76d96e509313173f0b94c
Author: Matoro Mahri  matoro  tk>
AuthorDate: Wed Feb  7 01:34:42 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66cf57fe

media-libs/libpulse: Stabilize 16.99.1 x86, #920968

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 media-libs/libpulse/libpulse-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.99.1.ebuild 
b/media-libs/libpulse/libpulse-16.99.1.ebuild
index e46ac027ec12..cb1cf6ade3da 100644
--- a/media-libs/libpulse/libpulse-16.99.1.ebuild
+++ b/media-libs/libpulse/libpulse-16.99.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/GitPython/

2024-02-06 Thread Ionen Wolkens
commit: 570f75c6b4de4c4c5a61e77dff3fdc34f53ee7e0
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Feb  6 22:35:11 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=570f75c6

dev-python/GitPython: Keyword 3.1.41 mips, #921721

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-python/GitPython/GitPython-3.1.41.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/GitPython/GitPython-3.1.41.ebuild 
b/dev-python/GitPython/GitPython-3.1.41.ebuild
index 49a3cd636cdb..ac7936de936a 100644
--- a/dev-python/GitPython/GitPython-3.1.41.ebuild
+++ b/dev-python/GitPython/GitPython-3.1.41.ebuild
@@ -29,7 +29,7 @@ SRC_URI+="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 
 RDEPEND="
dev-vcs/git



[gentoo-commits] repo/gentoo:master commit in: app-text/epspdf/

2024-02-06 Thread Ionen Wolkens
commit: 8ec847fd60af88c7f2d6e441817abfd6a6537249
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Feb  6 21:11:43 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ec847fd

app-text/epspdf: Stabilize 0.6.5 ppc, #902665

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 app-text/epspdf/epspdf-0.6.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/epspdf/epspdf-0.6.5.ebuild 
b/app-text/epspdf/epspdf-0.6.5.ebuild
index 0949b46f90c0..4c718e6b6e15 100644
--- a/app-text/epspdf/epspdf-0.6.5.ebuild
+++ b/app-text/epspdf/epspdf-0.6.5.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}"/${PN}
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
 IUSE="doc tk"
 
 RDEPEND="!

[gentoo-commits] repo/gentoo:master commit in: sci-libs/linux-gpib-modules/

2024-02-06 Thread Ionen Wolkens
commit: 1a7258f02b1b9407c16b9ba5f1122a203d903862
Author: Matoro Mahri  matoro  tk>
AuthorDate: Wed Feb  7 01:22:38 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a7258f0

sci-libs/linux-gpib-modules: Stabilize 4.3.5-r3 amd64, #920069

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.5-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.5-r3.ebuild 
b/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.5-r3.ebuild
index 0736e0159f4d..d60c35f56f5d 100644
--- a/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.5-r3.ebuild
+++ b/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.5-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ S="${WORKDIR}/linux-gpib-kernel-${PV}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 ~arm ~x86"
 IUSE="debug"
 
 COMMONDEPEND=""



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-02-06 Thread Ionen Wolkens
commit: 47355825ee8ba3730edd7cc6a72cd5e1c6207c30
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Feb  6 19:01:55 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47355825

media-sound/pulseaudio-daemon: Stabilize 16.99.1 arm, #920968

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
index e2c1d3e821ba..6d1ebbc5d791 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: app-text/epspdf/

2024-02-06 Thread Ionen Wolkens
commit: 32120f4e9472861cf2c079e75461c4e27750c559
Author: Matoro Mahri  matoro  tk>
AuthorDate: Wed Feb  7 01:11:44 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32120f4e

app-text/epspdf: Stabilize 0.6.5 x86, #902665

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 app-text/epspdf/epspdf-0.6.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/epspdf/epspdf-0.6.5.ebuild 
b/app-text/epspdf/epspdf-0.6.5.ebuild
index 98afb3c6e259..10eb318fdc5f 100644
--- a/app-text/epspdf/epspdf-0.6.5.ebuild
+++ b/app-text/epspdf/epspdf-0.6.5.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}"/${PN}
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
 IUSE="doc tk"
 
 RDEPEND="!

[gentoo-commits] repo/gentoo:master commit in: x11-misc/xscreensaver/

2024-02-06 Thread Ionen Wolkens
commit: 8efd4ec2a89c5ffc14303f3a4ea88e5b9248ccc6
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Feb  6 17:47:08 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8efd4ec2

x11-misc/xscreensaver: Stabilize 6.08 ppc64, #922669

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 x11-misc/xscreensaver/xscreensaver-6.08.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xscreensaver/xscreensaver-6.08.ebuild 
b/x11-misc/xscreensaver/xscreensaver-6.08.ebuild
index c15e3022bb97..c6d1c25ae6e8 100644
--- a/x11-misc/xscreensaver/xscreensaver-6.08.ebuild
+++ b/x11-misc/xscreensaver/xscreensaver-6.08.ebuild
@@ -27,7 +27,7 @@ SRC_URI="
 #   SpecialElite.ttf -- Apache-2.0
 LICENSE="BSD fonts? ( MIT Apache-2.0 ) systemd? ( ISC )"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="elogind fonts gdm gles glx jpeg +locking logind-idle-hint new-login 
offensive pam +perl selinux suid systemd xinerama"
 REQUIRED_USE="
gles? ( !glx )



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-02-06 Thread Ionen Wolkens
commit: f4020f2f4028e720e97c2c3c96ade6190e1d2948
Author: Matoro Mahri  matoro  tk>
AuthorDate: Wed Feb  7 01:34:42 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4020f2f

media-sound/pulseaudio-daemon: Stabilize 16.99.1 x86, #920968

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
index 88fc5d438a76..39dd1c85ca53 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-02-06 Thread Ionen Wolkens
commit: 36dbb9039f344c9c35b6c5a0609d523ecf7eb071
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Feb  6 17:00:01 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36dbb903

media-sound/pulseaudio-daemon: Stabilize 16.99.1 arm64, #920968

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
index 921922348dea..e2c1d3e821ba 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/

2024-02-06 Thread Ionen Wolkens
commit: b408dc92493d277aa9631397edad5695b6be6617
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Feb  6 21:25:12 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b408dc92

games-emulation/mgba: Stabilize 0.10.3 ppc64, #922751

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 games-emulation/mgba/mgba-0.10.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-emulation/mgba/mgba-0.10.3.ebuild 
b/games-emulation/mgba/mgba-0.10.3.ebuild
index 894d8f295dcc..1ae84af200cd 100644
--- a/games-emulation/mgba/mgba-0.10.3.ebuild
+++ b/games-emulation/mgba/mgba-0.10.3.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} ==  ]] ; then
EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git;
 else
SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm64 ~ppc64 x86"
+   KEYWORDS="amd64 arm64 ppc64 x86"
 fi
 
 DESCRIPTION="Game Boy Advance Emulator"



[gentoo-commits] repo/gentoo:master commit in: app-text/epspdf/

2024-02-06 Thread Ionen Wolkens
commit: 26a05b9c3bde46823d1f7a8da2bd61387fbfb694
Author: Matoro Mahri  matoro  tk>
AuthorDate: Wed Feb  7 00:16:32 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26a05b9c

app-text/epspdf: Stabilize 0.6.5 sparc, #902665

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 app-text/epspdf/epspdf-0.6.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/epspdf/epspdf-0.6.5.ebuild 
b/app-text/epspdf/epspdf-0.6.5.ebuild
index 4c718e6b6e15..98afb3c6e259 100644
--- a/app-text/epspdf/epspdf-0.6.5.ebuild
+++ b/app-text/epspdf/epspdf-0.6.5.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}"/${PN}
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
 IUSE="doc tk"
 
 RDEPEND="!

[gentoo-commits] repo/gentoo:master commit in: dev-python/sumtypes/

2024-02-06 Thread Ionen Wolkens
commit: 0d25f83ed6ccfdd4e0eef4fdca3125425a4e2ed9
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Feb  6 22:35:09 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d25f83e

dev-python/sumtypes: Keyword 0.1_alpha6 mips, #921721

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-python/sumtypes/sumtypes-0.1_alpha6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/sumtypes/sumtypes-0.1_alpha6.ebuild 
b/dev-python/sumtypes/sumtypes-0.1_alpha6.ebuild
index 75d4c84b82bf..d19843050e69 100644
--- a/dev-python/sumtypes/sumtypes-0.1_alpha6.ebuild
+++ b/dev-python/sumtypes/sumtypes-0.1_alpha6.ebuild
@@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 
 RDEPEND="
dev-python/attrs[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xscreensaver/

2024-02-06 Thread Ionen Wolkens
commit: d623758a7373990be04f5ba9f611f0fbce83380f
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Feb  6 19:05:22 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d623758a

x11-misc/xscreensaver: Stabilize 6.08 ppc, #922669

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 x11-misc/xscreensaver/xscreensaver-6.08.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xscreensaver/xscreensaver-6.08.ebuild 
b/x11-misc/xscreensaver/xscreensaver-6.08.ebuild
index c6d1c25ae6e8..9d5469427192 100644
--- a/x11-misc/xscreensaver/xscreensaver-6.08.ebuild
+++ b/x11-misc/xscreensaver/xscreensaver-6.08.ebuild
@@ -27,7 +27,7 @@ SRC_URI="
 #   SpecialElite.ttf -- Apache-2.0
 LICENSE="BSD fonts? ( MIT Apache-2.0 ) systemd? ( ISC )"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="elogind fonts gdm gles glx jpeg +locking logind-idle-hint new-login 
offensive pam +perl selinux suid systemd xinerama"
 REQUIRED_USE="
gles? ( !glx )



[gentoo-commits] repo/gentoo:master commit in: dev-python/sumtypes/

2024-02-06 Thread Ionen Wolkens
commit: 358a7270a7b971aa2cea98d2657ee36e186ae547
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Feb  6 22:10:12 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=358a7270

dev-python/sumtypes: Keyword 0.1_alpha6 ia64, #921721

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-python/sumtypes/sumtypes-0.1_alpha6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/sumtypes/sumtypes-0.1_alpha6.ebuild 
b/dev-python/sumtypes/sumtypes-0.1_alpha6.ebuild
index ff31b26c8879..75d4c84b82bf 100644
--- a/dev-python/sumtypes/sumtypes-0.1_alpha6.ebuild
+++ b/dev-python/sumtypes/sumtypes-0.1_alpha6.ebuild
@@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86"
 
 RDEPEND="
dev-python/attrs[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/GitPython/

2024-02-06 Thread Ionen Wolkens
commit: ce24be52f21199e9e18a817246575c5619eac4b9
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Feb  6 22:10:13 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce24be52

dev-python/GitPython: Keyword 3.1.41 ia64, #921721

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-python/GitPython/GitPython-3.1.41.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/GitPython/GitPython-3.1.41.ebuild 
b/dev-python/GitPython/GitPython-3.1.41.ebuild
index 437b69645192..49a3cd636cdb 100644
--- a/dev-python/GitPython/GitPython-3.1.41.ebuild
+++ b/dev-python/GitPython/GitPython-3.1.41.ebuild
@@ -29,7 +29,7 @@ SRC_URI+="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86"
 
 RDEPEND="
dev-vcs/git



[gentoo-commits] repo/gentoo:master commit in: app-text/epspdf/

2024-02-06 Thread Ionen Wolkens
commit: 488ffdb4d417ba71c3c301e262df3e5c1570b06a
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Feb  6 21:02:34 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=488ffdb4

app-text/epspdf: Stabilize 0.6.5 arm, #902665

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 app-text/epspdf/epspdf-0.6.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/epspdf/epspdf-0.6.5.ebuild 
b/app-text/epspdf/epspdf-0.6.5.ebuild
index 0c3a6c4e3f5f..0949b46f90c0 100644
--- a/app-text/epspdf/epspdf-0.6.5.ebuild
+++ b/app-text/epspdf/epspdf-0.6.5.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}"/${PN}
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
 IUSE="doc tk"
 
 RDEPEND="!

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-02-06 Thread Ionen Wolkens
commit: 6364321b580e9d5b9f6cc4518f1e425acbdcbab0
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Feb  6 19:04:50 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6364321b

media-sound/pulseaudio-daemon: Stabilize 16.99.1 sparc, #920968

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
index 6d1ebbc5d791..88fc5d438a76 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: app-text/epspdf/

2024-02-06 Thread Ionen Wolkens
commit: 71b7044edcd51d6152c6cd8806e1fa886c0650e1
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Feb  6 20:40:13 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71b7044e

app-text/epspdf: Stabilize 0.6.5 ppc64, #902665

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 app-text/epspdf/epspdf-0.6.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/epspdf/epspdf-0.6.5.ebuild 
b/app-text/epspdf/epspdf-0.6.5.ebuild
index ddd7e08b733e..0c3a6c4e3f5f 100644
--- a/app-text/epspdf/epspdf-0.6.5.ebuild
+++ b/app-text/epspdf/epspdf-0.6.5.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}"/${PN}
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
 IUSE="doc tk"
 
 RDEPEND="!

[gentoo-commits] repo/gentoo:master commit in: x11-misc/xscreensaver/

2024-02-06 Thread Ionen Wolkens
commit: 8d2b381eb9400f686cfad432e9d1c1eca2500a3b
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Feb  6 21:03:18 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d2b381e

x11-misc/xscreensaver: Stabilize 6.08 sparc, #922669

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 x11-misc/xscreensaver/xscreensaver-6.08.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xscreensaver/xscreensaver-6.08.ebuild 
b/x11-misc/xscreensaver/xscreensaver-6.08.ebuild
index 9d5469427192..2134da5a04c9 100644
--- a/x11-misc/xscreensaver/xscreensaver-6.08.ebuild
+++ b/x11-misc/xscreensaver/xscreensaver-6.08.ebuild
@@ -27,7 +27,7 @@ SRC_URI="
 #   SpecialElite.ttf -- Apache-2.0
 LICENSE="BSD fonts? ( MIT Apache-2.0 ) systemd? ( ISC )"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 IUSE="elogind fonts gdm gles glx jpeg +locking logind-idle-hint new-login 
offensive pam +perl selinux suid systemd xinerama"
 REQUIRED_USE="
gles? ( !glx )



[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

2024-02-06 Thread Ionen Wolkens
commit: fe1127860c4c92bceb6eedafa21108c1aafd279d
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Feb  6 19:04:51 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe112786

media-libs/libpulse: Stabilize 16.99.1 sparc, #920968

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 media-libs/libpulse/libpulse-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.99.1.ebuild 
b/media-libs/libpulse/libpulse-16.99.1.ebuild
index 3b3195542f5a..e46ac027ec12 100644
--- a/media-libs/libpulse/libpulse-16.99.1.ebuild
+++ b/media-libs/libpulse/libpulse-16.99.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

2024-02-06 Thread Ionen Wolkens
commit: ca4e5f517b004cb8f13e983b37c93e108a51cbc5
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Feb  6 17:00:01 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca4e5f51

media-libs/libpulse: Stabilize 16.99.1 arm64, #920968

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 media-libs/libpulse/libpulse-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.99.1.ebuild 
b/media-libs/libpulse/libpulse-16.99.1.ebuild
index 967bbeb05bd6..afee26536866 100644
--- a/media-libs/libpulse/libpulse-16.99.1.ebuild
+++ b/media-libs/libpulse/libpulse-16.99.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

2024-02-06 Thread Ionen Wolkens
commit: 7be6d91d613e4ccbdc13883829b12dc8f217c0fb
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Feb  6 19:01:56 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7be6d91d

media-libs/libpulse: Stabilize 16.99.1 arm, #920968

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 media-libs/libpulse/libpulse-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.99.1.ebuild 
b/media-libs/libpulse/libpulse-16.99.1.ebuild
index afee26536866..3b3195542f5a 100644
--- a/media-libs/libpulse/libpulse-16.99.1.ebuild
+++ b/media-libs/libpulse/libpulse-16.99.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/proj/guru:dev commit in: net-wireless/rtl8192eu/

2024-02-06 Thread Aleksandr Batyuk
commit: a48f11341fae4c84d1d4810c3377ed2875e3dc5e
Author: Aleksandr Batyuk  gmail  com>
AuthorDate: Wed Feb  7 04:44:20 2024 +
Commit: Aleksandr Batyuk  gmail  com>
CommitDate: Wed Feb  7 04:44:20 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a48f1134

net-wireless/rtl8192eu: Add support kernel 6.7

Signed-off-by: Aleksandr Batyuk  gmail.com>

 net-wireless/rtl8192eu/Manifest | 2 +-
 .../{rtl8192eu-0_pre20230613.ebuild => rtl8192eu-0_pre20240120.ebuild}  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-wireless/rtl8192eu/Manifest b/net-wireless/rtl8192eu/Manifest
index cda718b69c..ac5ed72fcd 100644
--- a/net-wireless/rtl8192eu/Manifest
+++ b/net-wireless/rtl8192eu/Manifest
@@ -1 +1 @@
-DIST rtl8192eu-0_pre20230613.tar.gz 2487558 BLAKE2B 
bcafb96b3558314799aa6234b5b30f01a4b51ea5ffe0ac42046ea851a69a15f851897ef3f2182e589c4b756eca4c70878b808731787a76f8e84ae5a11012fd02
 SHA512 
13f71afcb16cc9bbcb848ef18bc2020c7505c7f517b7698065df67ba549ec9e881e0ac68e5e0e26f6f1eb6476d0cf7d7f66479ee29deb99b2194f36f17abd3c1
+DIST rtl8192eu-0_pre20240120.tar.gz 2488422 BLAKE2B 
d8bb2f6ee06dcafbf5b80c42aac333ab43eb43557184c4e31392e555ce2e0560b6f34823365b10d35f8f17774291bbfff57c89516b310af3b2a1d78ab070f22f
 SHA512 
3ac93b591e30966377a94bec4fb266b623e22514839677209bb6ca3bb58f804ce69ad9b68e2236b5508a932f2dab8222b78d57e8d7b641bf18d9dc78315740ce

diff --git a/net-wireless/rtl8192eu/rtl8192eu-0_pre20230613.ebuild 
b/net-wireless/rtl8192eu/rtl8192eu-0_pre20240120.ebuild
similarity index 93%
rename from net-wireless/rtl8192eu/rtl8192eu-0_pre20230613.ebuild
rename to net-wireless/rtl8192eu/rtl8192eu-0_pre20240120.ebuild
index f2577a1845..7e4da5b83e 100644
--- a/net-wireless/rtl8192eu/rtl8192eu-0_pre20230613.ebuild
+++ b/net-wireless/rtl8192eu/rtl8192eu-0_pre20240120.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 inherit linux-mod-r1
 
 MY_PN="rtl8192eu-linux-driver"
-COMMIT="f2fc8af7ab58d2123eed1aa4428e713cdfc27976"
+COMMIT="3cffd844ecf070346b1b4952164bc6658701c69e"
 DESCRIPTION="Realtek 8192EU driver module for Linux kernel"
 HOMEPAGE="https://github.com/Mange/rtl8192eu-linux-driver;
 SRC_URI="https://github.com/Mange/${MY_PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/systemd/

2024-02-06 Thread Sam James
commit: e6df066556ef4b4329590eb4ef03d436b991f146
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb  7 04:09:57 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb  7 04:09:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6df0665

sys-apps/systemd: Stabilize 255.3 amd64, #923431

Signed-off-by: Sam James  gentoo.org>

 sys-apps/systemd/systemd-255.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/systemd/systemd-255.3.ebuild 
b/sys-apps/systemd/systemd-255.3.ebuild
index 816ec6e0f308..2e6dc0eacdce 100644
--- a/sys-apps/systemd/systemd-255.3.ebuild
+++ b/sys-apps/systemd/systemd-255.3.ebuild
@@ -25,7 +25,7 @@ else

SRC_URI="https://github.com/systemd/${MY_PN}/archive/v${MY_PV}/${MY_P}.tar.gz;
 
if [[ ${PV} != *rc* ]] ; then
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k 
~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips 
~ppc ~ppc64 ~riscv ~s390 sparc ~x86"
fi
 fi
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/bfs/

2024-02-06 Thread Sam James
commit: 9ebf30331f8fe2fef39b05fdb2b78c059187399c
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb  7 03:05:21 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb  7 03:07:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ebf3033

sys-apps/bfs: new package, add 3.1

Signed-off-by: Sam James  gentoo.org>

 sys-apps/bfs/Manifest   |  1 +
 sys-apps/bfs/bfs-3.1.ebuild | 41 +
 sys-apps/bfs/metadata.xml   | 14 ++
 3 files changed, 56 insertions(+)

diff --git a/sys-apps/bfs/Manifest b/sys-apps/bfs/Manifest
new file mode 100644
index ..e73be02918bd
--- /dev/null
+++ b/sys-apps/bfs/Manifest
@@ -0,0 +1 @@
+DIST bfs-3.1.tar.gz 234153 BLAKE2B 
a5b501016b1513dc9a3964ed4167db37c9a810e49a565059275919d234becf4f66300bdade48f3cde69a952ed0a6c68ee7f4adaf0e500e433f8cf75cc76f3db2
 SHA512 
d2be9d931d2a53fb292431551cc881103584a75d444f91d4e7d92dffe781aa9cdeda7281ab0c7598e8bfdd944b1392e345eff4bd2e60ea5ae65491f8860d862d

diff --git a/sys-apps/bfs/bfs-3.1.ebuild b/sys-apps/bfs/bfs-3.1.ebuild
new file mode 100644
index ..773585e25921
--- /dev/null
+++ b/sys-apps/bfs/bfs-3.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Breadth-first version of the UNIX find command"
+HOMEPAGE="https://tavianator.com/projects/bfs.html;
+SRC_URI="https://github.com/tavianator/bfs/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="0BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="acl caps debug io-uring unicode xattr"
+
+DEPEND="
+   acl? ( virtual/acl )
+   caps? ( sys-libs/libcap )
+   io-uring? ( sys-libs/liburing:= )
+   unicode? ( dev-libs/oniguruma:= )
+   xattr? ( sys-apps/attr )
+"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+   tc-export CC
+   use debug || append-cppflags -DNDEBUG
+
+   emake \
+   USE_ACL=$(usev acl '1') \
+   USE_ATTR=$(usev xattr '1') \
+   USE_LIBCAP=$(usev caps '1') \
+   USE_LIBURING=$(usev io-uring '1') \
+   USE_ONIGURUMA=$(usev unicode '1')
+}
+
+src_test() {
+   # -n check gets confused so need manual src_test definition?
+   emake check
+}

diff --git a/sys-apps/bfs/metadata.xml b/sys-apps/bfs/metadata.xml
new file mode 100644
index ..c734443efb54
--- /dev/null
+++ b/sys-apps/bfs/metadata.xml
@@ -0,0 +1,14 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   s...@gentoo.org
+   Sam James
+   
+   
+   tavianator/bfs
+   
+   
+   Use sys-libs/liburing for 
faster async I/O
+   
+



[gentoo-commits] proj/portage:master commit in: lib/portage/

2024-02-06 Thread Zac Medico
commit: 3e10368e52ecead86b75478ca448ef0f59333e3e
Author: Zac Medico  gentoo  org>
AuthorDate: Sun Feb  4 04:34:45 2024 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Feb  7 00:55:46 2024 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=3e10368e

process.spawn: Use _start_proc for returnpid=False

This essentially completes the implementation of bug 916566,
eliminating os.fork() usage when "spawn" becomes the default
multiprocessing start method.

Bug: https://bugs.gentoo.org/916566
Signed-off-by: Zac Medico  gentoo.org>

 lib/portage/process.py | 35 +--
 1 file changed, 17 insertions(+), 18 deletions(-)

diff --git a/lib/portage/process.py b/lib/portage/process.py
index 1ca59ee594..a33e7b4747 100644
--- a/lib/portage/process.py
+++ b/lib/portage/process.py
@@ -586,10 +586,10 @@ def spawn(
 
 # Create a tee process, giving it our stdout and stderr
 # as well as the read end of the pipe.
-mypids.extend(
+mypids.append(
 spawn(
 ("tee", "-i", "-a", logfile),
-returnpid=True,
+returnproc=True,
 fd_pipes={0: pr, 1: fd_pipes[1], 2: fd_pipes[2]},
 )
 )
@@ -634,7 +634,7 @@ def spawn(
 # fork, so that the result is cached in the main process.
 bool(groups)
 
-start_func = _start_proc if returnproc else _start_fork
+start_func = _start_proc if returnproc or not returnpid else _start_fork
 
 pid = start_func(
 _exec_wrapper,
@@ -666,7 +666,7 @@ def spawn(
 # _start_proc returns a MultiprocessingProcess instance.
 return pid
 
-if not isinstance(pid, int):
+if returnpid and not isinstance(pid, int):
 raise AssertionError(f"fork returned non-integer: {repr(pid)}")
 
 # Add the pid to our local and the global pid lists.
@@ -687,6 +687,8 @@ def spawn(
 )
 return mypids
 
+loop = global_event_loop()
+
 # Otherwise we clean them up.
 while mypids:
 # Pull the last reader in the pipe chain. If all processes
@@ -695,25 +697,22 @@ def spawn(
 pid = mypids.pop(0)
 
 # and wait for it.
-retval = os.waitpid(pid, 0)[1]
+retval = loop.run_until_complete(pid.wait())
 
 if retval:
 # If it failed, kill off anything else that
 # isn't dead yet.
 for pid in mypids:
-# With waitpid and WNOHANG, only check the
-# first element of the tuple since the second
-# element may vary (bug #337465).
-if os.waitpid(pid, os.WNOHANG)[0] == 0:
-os.kill(pid, signal.SIGTERM)
-os.waitpid(pid, 0)
-
-# If it got a signal, return the signal that was sent.
-if retval & 0xFF:
-return (retval & 0xFF) << 8
-
-# Otherwise, return its exit code.
-return retval >> 8
+waiter = asyncio.ensure_future(pid.wait(), loop)
+try:
+loop.run_until_complete(
+asyncio.wait_for(asyncio.shield(waiter), 0.001)
+)
+except (TimeoutError, asyncio.TimeoutError):
+pid.terminate()
+loop.run_until_complete(waiter)
+
+return retval
 
 # Everything succeeded
 return 0



[gentoo-commits] proj/portage:master commit in: lib/portage/util/

2024-02-06 Thread Zac Medico
commit: fa8e8f1895ed889aece2f67725df55d6ccf127fb
Author: Zac Medico  gentoo  org>
AuthorDate: Sat Feb  3 23:41:45 2024 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Feb  7 00:55:46 2024 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=fa8e8f18

socks5: Migrate to spawn returnproc parameter

Bug: https://bugs.gentoo.org/916566
Signed-off-by: Zac Medico  gentoo.org>

 lib/portage/util/socks5.py | 36 +++-
 1 file changed, 19 insertions(+), 17 deletions(-)

diff --git a/lib/portage/util/socks5.py b/lib/portage/util/socks5.py
index fedb8599d5..6c68ff4106 100644
--- a/lib/portage/util/socks5.py
+++ b/lib/portage/util/socks5.py
@@ -1,10 +1,9 @@
 # SOCKSv5 proxy manager for network-sandbox
-# Copyright 2015-2021 Gentoo Authors
+# Copyright 2015-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 import errno
 import os
-import signal
 import socket
 
 import portage.data
@@ -22,7 +21,8 @@ class ProxyManager:
 
 def __init__(self):
 self.socket_path = None
-self._pids = []
+self._proc = None
+self._proc_waiter = None
 
 def start(self, settings):
 """
@@ -51,9 +51,9 @@ class ProxyManager:
 spawn_kwargs.update(
 uid=portage_uid, gid=portage_gid, groups=userpriv_groups, 
umask=0o077
 )
-self._pids = spawn(
+self._proc = spawn(
 [_python_interpreter, server_bin, self.socket_path],
-returnpid=True,
+returnproc=True,
 **spawn_kwargs,
 )
 
@@ -61,12 +61,19 @@ class ProxyManager:
 """
 Stop the SOCKSv5 server.
 """
-for p in self._pids:
-os.kill(p, signal.SIGINT)
-os.waitpid(p, 0)
+if self._proc is not None:
+self._proc.terminate()
+loop = asyncio.get_event_loop()
+if self._proc_waiter is None:
+self._proc_waiter = asyncio.ensure_future(self._proc.wait(), 
loop)
+if loop.is_running():
+self._proc_waiter.add_done_callback(lambda future: 
future.result())
+else:
+loop.run_until_complete(self._proc_waiter)
 
 self.socket_path = None
-self._pids = []
+self._proc = None
+self._proc_waiter = None
 
 def is_running(self):
 """
@@ -80,16 +87,11 @@ class ProxyManager:
 """
 Wait for the proxy socket to become ready. This method is a coroutine.
 """
+if self._proc_waiter is None:
+self._proc_waiter = asyncio.ensure_future(self._proc.wait())
 
 while True:
-try:
-wait_retval = os.waitpid(self._pids[0], os.WNOHANG)
-except OSError as e:
-if e.errno == errno.EINTR:
-continue
-raise
-
-if wait_retval is not None and wait_retval != (0, 0):
+if self._proc_waiter.done():
 raise OSError(3, "No such process")
 
 try:



[gentoo-commits] proj/portage:master commit in: lib/_emerge/, lib/portage/

2024-02-06 Thread Zac Medico
commit: a69c1b853a47346192950c91b088163490287350
Author: Zac Medico  gentoo  org>
AuthorDate: Sat Feb  3 21:27:45 2024 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Feb  7 00:49:26 2024 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=a69c1b85

process.spawn: Use multiprocessing.Process for returnproc

Use multiprocessing.Process for returnproc, so that
fork will stop being used when python makes "spawn"
the default multiprocessing start method.

Continue to use _start_fork when returnproc is not
enabled, for backward compatibility. Ultimately,
it can be removed at the same time as the returnpid
parameter.

The _setup_pipes_after_fork wrapper prevents a
"Bad file descriptor" error by making fd_pipes
inheritable on exec for bug 923755. ForkProcess
does not handle this because its target function
does not necessarily exec.

Bug: https://bugs.gentoo.org/916566
Bug: https://bugs.gentoo.org/923755
Signed-off-by: Zac Medico  gentoo.org>

 lib/_emerge/SpawnProcess.py |  4 +-
 lib/portage/process.py  | 92 ++---
 2 files changed, 82 insertions(+), 14 deletions(-)

diff --git a/lib/_emerge/SpawnProcess.py b/lib/_emerge/SpawnProcess.py
index 716e94d665..b63afae01c 100644
--- a/lib/_emerge/SpawnProcess.py
+++ b/lib/_emerge/SpawnProcess.py
@@ -241,7 +241,9 @@ class SpawnProcess(SubProcess):
 got_pty, master_fd, slave_fd = 
_create_pty_or_pipe(copy_term_size=stdout_pipe)
 return (master_fd, slave_fd)
 
-def _spawn(self, args: list[str], **kwargs) -> portage.process.Process:
+def _spawn(
+self, args: list[str], **kwargs
+) -> portage.process.MultiprocessingProcess:
 spawn_func = portage.process.spawn
 
 if self._selinux_type is not None:

diff --git a/lib/portage/process.py b/lib/portage/process.py
index b223ecb887..20327b38bc 100644
--- a/lib/portage/process.py
+++ b/lib/portage/process.py
@@ -19,7 +19,7 @@ import warnings
 
 from dataclasses import dataclass
 from functools import lru_cache
-from typing import Any, Optional, Callable
+from typing import Any, Optional, Callable, Union
 
 from portage import os
 from portage import _encodings
@@ -28,6 +28,7 @@ import portage
 
 portage.proxy.lazyimport.lazyimport(
 globals(),
+"portage.util._async.ForkProcess:ForkProcess",
 "portage.util._eventloop.global_event_loop:global_event_loop",
 "portage.util.futures:asyncio",
 "portage.util:dump_traceback,writemsg,writemsg_level",
@@ -296,12 +297,19 @@ class AbstractProcess:
 
 class Process(AbstractProcess):
 """
-An object that wraps OS processes created by spawn.
-In the future, spawn will return objects of a different type
-but with a compatible interface to this class, in order
-to encapsulate implementation-dependent objects like
-multiprocessing.Process which are designed to manage
-the process lifecycle and need to persist until it exits.
+An object that wraps OS processes which do not have an
+associated multiprocessing.Process instance. Ultimately,
+we need to stop using os.fork() to create these processes
+because it is unsafe for threaded processes as discussed
+in https://github.com/python/cpython/issues/84559.
+
+Note that if subprocess.Popen is used without pass_fds
+or preexec_fn parameters, then it avoids using os.fork()
+by instead using posix_spawn. This approach is not used
+by spawn because it needs to execute python code prior
+to exec, so it instead uses multiprocessing.Process,
+which only uses os.fork() when the multiprocessing start
+method is fork.
 """
 
 def __init__(self, pid: int):
@@ -461,7 +469,7 @@ def spawn(
 unshare_mount=False,
 unshare_pid=False,
 warn_on_large_env=False,
-):
+) -> Union[int, MultiprocessingProcess, list[int]]:
 """
 Spawns a given command.
 
@@ -479,8 +487,8 @@ def spawn(
 @param returnpid: Return the Process IDs for a successful spawn.
 NOTE: This requires the caller clean up all the PIDs, otherwise spawn will 
clean them.
 @type returnpid: Boolean
-@param returnproc: Return a Process object for a successful spawn 
(conflicts with logfile parameter).
-NOTE: This requires the caller to asynchronously wait for the Process.
+@param returnproc: Return a MultiprocessingProcess instance (conflicts 
with logfile parameter).
+NOTE: This requires the caller to asynchronously wait for the 
MultiprocessingProcess instance.
 @type returnproc: Boolean
 @param uid: User ID to spawn as; useful for dropping privilages
 @type uid: Integer
@@ -626,7 +634,9 @@ def spawn(
 # fork, so that the result is cached in the main process.
 bool(groups)
 
-pid = _start_fork(
+start_func = _start_proc if returnproc else _start_fork
+
+pid = start_func(
 _exec_wrapper,
 args=(
 binary,
@@ -652,6 +662,10 @@ def spawn(
 close_fds=close_fds,
 )
 
+  

[gentoo-commits] proj/portage:master commit in: lib/portage/

2024-02-06 Thread Zac Medico
commit: 1ae4f574f69eca3146137ffb40c5afd8a4872777
Author: Zac Medico  gentoo  org>
AuthorDate: Sun Feb  4 00:22:08 2024 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Feb  7 00:55:46 2024 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=1ae4f574

process.spawn: Enable returnpid warning for internals

All internal returnpid consumers have been migrated to
use the new returnproc parameter instead.

Bug: https://bugs.gentoo.org/916566
Signed-off-by: Zac Medico  gentoo.org>

 lib/portage/process.py | 11 +--
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/lib/portage/process.py b/lib/portage/process.py
index 20327b38bc..1ca59ee594 100644
--- a/lib/portage/process.py
+++ b/lib/portage/process.py
@@ -680,12 +680,11 @@ def spawn(
 # If the caller wants to handle cleaning up the processes, we tell
 # it about all processes that were created.
 if returnpid:
-if not portage._internal_caller:
-warnings.warn(
-"The portage.process.spawn returnpid paramenter is deprecated 
and replaced by returnproc",
-UserWarning,
-stacklevel=1,
-)
+warnings.warn(
+"The portage.process.spawn returnpid parameter is deprecated and 
replaced by returnproc",
+UserWarning,
+stacklevel=1,
+)
 return mypids
 
 # Otherwise we clean them up.



[gentoo-commits] proj/portage:master commit in: lib/portage/util/futures/_asyncio/, lib/portage/sync/modules/rsync/

2024-02-06 Thread Zac Medico
commit: 62332ee82b8b88fa5a65aafa7c221ccdaa7d65a8
Author: Zac Medico  gentoo  org>
AuthorDate: Sun Feb  4 00:11:07 2024 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Feb  7 00:55:46 2024 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=62332ee8

RsyncSync: Migrate to spawn returnproc parameter

Bug: https://bugs.gentoo.org/916566
Signed-off-by: Zac Medico  gentoo.org>

 lib/portage/sync/modules/rsync/rsync.py   | 40 +--
 lib/portage/util/futures/_asyncio/__init__.py |  6 +++-
 2 files changed, 24 insertions(+), 22 deletions(-)

diff --git a/lib/portage/sync/modules/rsync/rsync.py 
b/lib/portage/sync/modules/rsync/rsync.py
index 175c7f2e8e..5d442d2626 100644
--- a/lib/portage/sync/modules/rsync/rsync.py
+++ b/lib/portage/sync/modules/rsync/rsync.py
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 import datetime
@@ -708,48 +708,47 @@ class RsyncSync(NewBase):
 command.append(syncuri.rstrip("/") + "/metadata/timestamp.chk")
 command.append(tmpservertimestampfile)
 content = None
-pids = []
+proc = None
+proc_waiter = None
+loop = asyncio.get_event_loop()
 try:
 # Timeout here in case the server is unresponsive.  The
 # --timeout rsync option doesn't apply to the initial
 # connection attempt.
 try:
-if self.rsync_initial_timeout:
-
portage.exception.AlarmSignal.register(self.rsync_initial_timeout)
-
-pids.extend(
-portage.process.spawn(command, returnpid=True, 
**self.spawn_kwargs)
+proc = portage.process.spawn(
+command, returnproc=True, **self.spawn_kwargs
+)
+proc_waiter = asyncio.ensure_future(proc.wait(), loop)
+future = (
+asyncio.wait_for(
+asyncio.shield(proc_waiter), self.rsync_initial_timeout
+)
+if self.rsync_initial_timeout
+else proc_waiter
 )
-exitcode = os.waitpid(pids[0], 0)[1]
+exitcode = loop.run_until_complete(future)
 if self.usersync_uid is not None:
 portage.util.apply_permissions(
 tmpservertimestampfile, uid=os.getuid()
 )
 content = portage.grabfile(tmpservertimestampfile)
 finally:
-if self.rsync_initial_timeout:
-portage.exception.AlarmSignal.unregister()
 try:
 os.unlink(tmpservertimestampfile)
 except OSError:
 pass
-except portage.exception.AlarmSignal:
+except (TimeoutError, asyncio.TimeoutError):
 # timed out
 print("timed out")
 # With waitpid and WNOHANG, only check the
 # first element of the tuple since the second
 # element may vary (bug #337465).
-if pids and os.waitpid(pids[0], os.WNOHANG)[0] == 0:
-os.kill(pids[0], signal.SIGTERM)
-os.waitpid(pids[0], 0)
+if proc_waiter and not proc_waiter.done():
+proc.terminate()
+loop.run_until_complete(proc_waiter)
 # This is the same code rsync uses for timeout.
 exitcode = 30
-else:
-if exitcode != os.EX_OK:
-if exitcode & 0xFF:
-exitcode = (exitcode & 0xFF) << 8
-else:
-exitcode = exitcode >> 8
 
 if content:
 try:
@@ -758,7 +757,6 @@ class RsyncSync(NewBase):
 )
 except (OverflowError, ValueError):
 pass
-del command, pids, content
 
 if exitcode == os.EX_OK:
 if (servertimestamp != 0) and (servertimestamp == timestamp):

diff --git a/lib/portage/util/futures/_asyncio/__init__.py 
b/lib/portage/util/futures/_asyncio/__init__.py
index a5a6cb3a5b..8f1b8e8275 100644
--- a/lib/portage/util/futures/_asyncio/__init__.py
+++ b/lib/portage/util/futures/_asyncio/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 Gentoo Authors
+# Copyright 2018-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 __all__ = (
@@ -15,9 +15,11 @@ __all__ = (
 "set_child_watcher",
 "get_event_loop_policy",
 "set_event_loop_policy",
+"shield",
 "sleep",
 "Task",
 "wait",
+"wait_for",
 )
 
 import types
@@ -33,7 +35,9 @@ from asyncio import (
 FIRST_EXCEPTION,
 Future,
 InvalidStateError,
+shield,
 TimeoutError,
+wait_for,
 )
 
 import threading



[gentoo-commits] proj/portage:master commit in: lib/portage/util/futures/executor/, lib/portage/tests/util/futures/

2024-02-06 Thread Zac Medico
commit: 6c4b542b2a830587869b6180e879b719e97fda66
Author: Zac Medico  gentoo  org>
AuthorDate: Tue Feb  6 04:00:29 2024 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Feb  7 00:49:26 2024 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=6c4b542b

ForkExecutor: multiprocessing spawn compat

Use the AsyncFunction create_pipe=False parameter to avoid issues
in the pipe code triggered with the "spawn" multiprocessing start
method when spawn uses multiprocessing.Process (bug 916566), since
these jobs should inherit stdio streams and run in the foreground
with no log. Also fix RetryForkExecutorTestCase to avoid pickling
issues.

Bug: https://bugs.gentoo.org/923854
Signed-off-by: Zac Medico  gentoo.org>

 lib/portage/tests/util/futures/test_retry.py | 42 ++--
 lib/portage/util/futures/executor/fork.py|  6 ++--
 2 files changed, 31 insertions(+), 17 deletions(-)

diff --git a/lib/portage/tests/util/futures/test_retry.py 
b/lib/portage/tests/util/futures/test_retry.py
index a5b56bdc7f..6bd3f4b64a 100644
--- a/lib/portage/tests/util/futures/test_retry.py
+++ b/lib/portage/tests/util/futures/test_retry.py
@@ -1,4 +1,4 @@
-# Copyright 2018-2023 Gentoo Authors
+# Copyright 2018-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 from concurrent.futures import Future, ThreadPoolExecutor
@@ -9,7 +9,6 @@ import threading
 import weakref
 import time
 
-import portage
 from portage.tests import TestCase
 from portage.util._eventloop.global_event_loop import global_event_loop
 from portage.util.backoff import RandomExponentialBackoff
@@ -229,16 +228,19 @@ class RetryForkExecutorTestCase(RetryTestCase):
 
 @contextlib.contextmanager
 def _wrap_coroutine_func(self, coroutine_func):
+uses_subprocess = isinstance(self._executor, ForkExecutor)
 parent_loop = global_event_loop()
-parent_pid = portage.getpid()
 pending = weakref.WeakValueDictionary()
 
 # Since ThreadPoolExecutor does not propagate cancellation of a
 # parent_future to the underlying coroutine, use kill_switch to
 # propagate task cancellation to wrapper, so that HangForever's
 # thread returns when retry eventually cancels parent_future.
-def wrapper(kill_switch):
-if portage.getpid() == parent_pid:
+if uses_subprocess:
+wrapper = _run_coroutine_in_subprocess(coroutine_func)
+else:
+
+def wrapper(kill_switch):
 # thread in main process
 def done_callback(result):
 result.cancelled() or result.exception() or result.result()
@@ -262,22 +264,19 @@ class RetryForkExecutorTestCase(RetryTestCase):
 else:
 return future.result().result()
 
-# child process
-loop = global_event_loop()
-try:
-return loop.run_until_complete(coroutine_func())
-finally:
-loop.close()
-
 def execute_wrapper():
-kill_switch = threading.Event()
+# Use kill_switch for threads because they can't be killed
+# like processes. Do not pass kill_switch to subprocesses
+# because it is not picklable.
+kill_switch = None if uses_subprocess else threading.Event()
+wrapper_args = [kill_switch] if kill_switch else []
 parent_future = asyncio.ensure_future(
-parent_loop.run_in_executor(self._executor, wrapper, 
kill_switch),
+parent_loop.run_in_executor(self._executor, wrapper, 
*wrapper_args),
 loop=parent_loop,
 )
 
 def kill_callback(parent_future):
-if not kill_switch.is_set():
+if kill_switch is not None and not kill_switch.is_set():
 kill_switch.set()
 
 parent_future.add_done_callback(kill_callback)
@@ -298,6 +297,19 @@ class RetryForkExecutorTestCase(RetryTestCase):
 future.cancelled() or future.exception() or future.result()
 
 
+class _run_coroutine_in_subprocess:
+def __init__(self, coroutine_func):
+self._coroutine_func = coroutine_func
+
+def __call__(self):
+# child process
+loop = global_event_loop()
+try:
+return loop.run_until_complete(self._coroutine_func())
+finally:
+loop.close()
+
+
 class RetryThreadExecutorTestCase(RetryForkExecutorTestCase):
 def _setUpExecutor(self):
 self._executor = ThreadPoolExecutor(max_workers=1)

diff --git a/lib/portage/util/futures/executor/fork.py 
b/lib/portage/util/futures/executor/fork.py
index 61ad6aecfb..1e3d010724 100644
--- a/lib/portage/util/futures/executor/fork.py
+++ b/lib/portage/util/futures/executor/fork.py
@@ -1,4 +1,4 @@
-# Copyright 2018 Gentoo Foundation
+# Copyright 2018-2024 Gentoo Authors
 # Distributed under the 

[gentoo-commits] proj/portage:master commit in: lib/_emerge/, lib/portage/package/ebuild/

2024-02-06 Thread Zac Medico
commit: 190e8ad1a238d20d782235dd1faa6b00d1b3fd4a
Author: Zac Medico  gentoo  org>
AuthorDate: Sat Feb  3 21:24:49 2024 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Feb  7 00:55:45 2024 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=190e8ad1

doebuild: Add returnproc parameter and deprecate returnpid

Raise NotImplementedError if returnproc is enabled for anything
other than the "depend" phase, since corresponding returnpid
support has long been deprecated.

Bug: https://bugs.gentoo.org/916566
Signed-off-by: Zac Medico  gentoo.org>

 lib/_emerge/EbuildMetadataPhase.py |  4 +--
 lib/portage/package/ebuild/doebuild.py | 47 ++
 2 files changed, 39 insertions(+), 12 deletions(-)

diff --git a/lib/_emerge/EbuildMetadataPhase.py 
b/lib/_emerge/EbuildMetadataPhase.py
index a7c9650d74..f4f685e81c 100644
--- a/lib/_emerge/EbuildMetadataPhase.py
+++ b/lib/_emerge/EbuildMetadataPhase.py
@@ -124,7 +124,7 @@ class EbuildMetadataPhase(SubProcess):
 mydbapi=self.portdb,
 tree="porttree",
 fd_pipes=fd_pipes,
-returnpid=True,
+returnproc=True,
 )
 settings.pop("PORTAGE_PIPE_FD", None)
 
@@ -137,7 +137,7 @@ class EbuildMetadataPhase(SubProcess):
 self._async_wait()
 return
 
-self._proc = portage.process.Process(retval[0])
+self._proc = retval
 
 def _output_handler(self):
 while True:

diff --git a/lib/portage/package/ebuild/doebuild.py 
b/lib/portage/package/ebuild/doebuild.py
index e10b884e08..1c89af5ac8 100644
--- a/lib/portage/package/ebuild/doebuild.py
+++ b/lib/portage/package/ebuild/doebuild.py
@@ -19,6 +19,7 @@ import sys
 import tempfile
 from textwrap import wrap
 import time
+from typing import Union
 import warnings
 import zlib
 
@@ -246,14 +247,21 @@ def _doebuild_spawn(phase, settings, actionmap=None, 
**kwargs):
 
 
 def _spawn_phase(
-phase, settings, actionmap=None, returnpid=False, logfile=None, **kwargs
+phase,
+settings,
+actionmap=None,
+returnpid=False,
+returnproc=False,
+logfile=None,
+**kwargs,
 ):
-if returnpid:
+if returnproc or returnpid:
 return _doebuild_spawn(
 phase,
 settings,
 actionmap=actionmap,
 returnpid=returnpid,
+returnproc=returnproc,
 logfile=logfile,
 **kwargs,
 )
@@ -725,7 +733,8 @@ def doebuild(
 prev_mtimes=None,
 fd_pipes=None,
 returnpid=False,
-):
+returnproc=False,
+) -> Union[int, portage.process.MultiprocessingProcess, list[int]]:
 """
 Wrapper function that invokes specific ebuild phases through the spawning
 of ebuild.sh
@@ -762,9 +771,15 @@ def doebuild(
 for example.
 @type fd_pipes: Dictionary
 @param returnpid: Return a list of process IDs for a successful spawn, or
-an integer value if spawn is unsuccessful. NOTE: This requires the
-caller clean up all returned PIDs.
+an integer value if spawn is unsuccessful. This parameter is 
supported
+supported only when mydo is "depend". NOTE: This requires the 
caller clean
+up all returned PIDs.
 @type returnpid: Boolean
+@param returnproc: Return a MultiprocessingProcess instance for a 
successful spawn, or
+an integer value if spawn is unsuccessful. This parameter is 
supported
+supported only when mydo is "depend". NOTE: This requires the 
caller to
+asynchronously wait for the MultiprocessingProcess instance.
+@type returnproc: Boolean
 @rtype: Boolean
 @return:
 1. 0 for success
@@ -867,17 +882,25 @@ def doebuild(
 writemsg("\n", noiselevel=-1)
 return 1
 
-if returnpid and mydo != "depend":
+if (returnproc or returnpid) and mydo != "depend":
 # This case is not supported, since it bypasses the EbuildPhase class
 # which implements important functionality (including post phase hooks
 # and IPC for things like best/has_version and die).
+if returnproc:
+raise NotImplementedError(f"returnproc not implemented for phase 
{mydo}")
 warnings.warn(
 "portage.doebuild() called "
 "with returnpid parameter enabled. This usage will "
 "not be supported in the future.",
-DeprecationWarning,
+UserWarning,
 stacklevel=2,
 )
+elif returnpid:
+warnings.warn(
+"The portage.doebuild() returnpid parameter is deprecated and 
replaced by returnproc",
+UserWarning,
+stacklevel=1,
+)
 
 if mydo == "fetchall":
 fetchall = 1
@@ -1027,10 +1050,14 @@ def doebuild(
 
 # get possible slot information from the deps file
 if mydo == "depend":
-if not returnpid:
-raise 

[gentoo-commits] proj/portage:master commit in: lib/portage/util/_async/

2024-02-06 Thread Zac Medico
commit: 7d7ef237f3dddcf450fedab5aabfd57d1fb3406d
Author: Zac Medico  gentoo  org>
AuthorDate: Tue Feb  6 01:35:25 2024 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Feb  7 00:36:56 2024 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=7d7ef237

ForkProcess: Handle BrokenPipeError in _send_fd_pipes

Convert _send_fd_pipes BrokenPipeError to asyncio.CancelledError,
in order to gracefully handle a concurrently terminated child
process as in testAsynchronousLockWaitCancel. Even if the child
terminated abnormally, then there is no harm in suppressing the
exception here, since the child error should have gone to stderr.

Bug: https://bugs.gentoo.org/923852
Signed-off-by: Zac Medico  gentoo.org>

 lib/portage/util/_async/ForkProcess.py | 25 +
 1 file changed, 17 insertions(+), 8 deletions(-)

diff --git a/lib/portage/util/_async/ForkProcess.py 
b/lib/portage/util/_async/ForkProcess.py
index cb240d0712..ebcbd94107 100644
--- a/lib/portage/util/_async/ForkProcess.py
+++ b/lib/portage/util/_async/ForkProcess.py
@@ -153,15 +153,24 @@ class ForkProcess(SpawnProcess):
 This performs blocking IO, intended for invocation via run_in_executor.
 """
 fd_list = list(set(self._fd_pipes.values()))
-self._files.connection.send(
-(self._fd_pipes, fd_list),
-)
-for fd in fd_list:
-multiprocessing.reduction.send_handle(
-self._files.connection,
-fd,
-self.pid,
+try:
+self._files.connection.send(
+(self._fd_pipes, fd_list),
 )
+for fd in fd_list:
+multiprocessing.reduction.send_handle(
+self._files.connection,
+fd,
+self.pid,
+)
+except BrokenPipeError as e:
+# This case is triggered by testAsynchronousLockWaitCancel
+# when the test case terminates the child process while
+# this thread is still sending the fd_pipes (bug 923852).
+# Even if the child terminated abnormally, then there is
+# no harm in suppressing the exception here, since the
+# child error should have gone to stderr.
+raise asyncio.CancelledError from e
 
 # self._fd_pipes contains duplicates that must be closed.
 for fd in fd_list:



[gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/, profiles/arch/arm64/

2024-02-06 Thread Ionen Wolkens
commit: 1d31c1c2f2808bce35615c3b445c70deaa039032
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Wed Feb  7 01:32:00 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 02:21:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d31c1c2

x11-drivers/nvidia-drivers: move nvidia-powerd behind IUSE=powerd

Mostly due to the openrc service's "need dbus" which is an annoyance
when dbus is missing (preventing from being a runtime-only optfeature),
but even with systemd this now also allows to properly check for
multilib on dbus (used by 32bit glcore/eglcore libraries to communicate
with powerd).

*Technically* needs a revbump given --changed-use does not know it
needs to rebuild here, but given this only cause problems for rare
users without dbus (e.g. headless cuda servers with USE=-tools) and
will propagate with kernel updates+rebuilds let's not bother every
users over this.

Hopefully users of powerd (incl. for systemd which may have more
existing ones) will notice the new USE and enable it.

Also re-arrange arm64 handling, it makes more sense to mask the USE
on arm64 than keep it as a no-op by checking if use !amd64.
Exception to this is 0/550 branch which started to include a arm64
nvidia-powerd build (albeit do not think hardware that need this even
exists yet). Hope did not break installation there given did not test
on arm64, please report if so.

Bug: https://bugs.gentoo.org/923117
Signed-off-by: Ionen Wolkens  gentoo.org>

 profiles/arch/arm64/package.use.mask|  4 
 x11-drivers/nvidia-drivers/metadata.xml |  1 +
 .../nvidia-drivers/nvidia-drivers-525.147.05.ebuild |  9 ++---
 .../nvidia-drivers/nvidia-drivers-535.146.02.ebuild |  9 ++---
 .../nvidia-drivers/nvidia-drivers-535.154.05.ebuild |  9 ++---
 .../nvidia-drivers/nvidia-drivers-535.43.25.ebuild  |  9 ++---
 .../nvidia-drivers/nvidia-drivers-545.29.06-r1.ebuild   |  9 ++---
 .../nvidia-drivers/nvidia-drivers-550.40.07.ebuild  | 17 +++--
 8 files changed, 46 insertions(+), 21 deletions(-)

diff --git a/profiles/arch/arm64/package.use.mask 
b/profiles/arch/arm64/package.use.mask
index 30d7bfd4eb6c..0cb8582d6f5b 100644
--- a/profiles/arch/arm64/package.use.mask
+++ b/profiles/arch/arm64/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Ionen Wolkens  (2024-02-07)
+# nvidia-powerd is only available for arm64 in 550+
+ (2024-01-31)
 # Supports 64-bit NEON
 media-libs/zita-resampler -cpu_flags_arm_neon

diff --git a/x11-drivers/nvidia-drivers/metadata.xml 
b/x11-drivers/nvidia-drivers/metadata.xml
index a8ee1dd7baee..8a3bfb5d3a1b 100644
--- a/x11-drivers/nvidia-drivers/metadata.xml
+++ b/x11-drivers/nvidia-drivers/metadata.xml
@@ -12,6 +12,7 @@

Use the open source variant of drivers 
(Turing/Ampere+ GPUs only, aka GTX 1650+, experimental)
Install the persistence daemon for 
keeping devices state when unused (e.g. for headless)
+   Install the NVIDIA dynamic boost support 
daemon (only useful with specific laptops, ignore if unsure)
Install the XNVCtrl static library for 
accessing sensors and other features
Install additional tools such as 
nvidia-settings


diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-525.147.05.ebuild 
b/x11-drivers/nvidia-drivers/nvidia-drivers-525.147.05.ebuild
index 3b43c86bcab8..8b874970372b 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-525.147.05.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-525.147.05.ebuild
@@ -25,7 +25,7 @@ S=${WORKDIR}
 LICENSE="NVIDIA-r2 BSD BSD-2 GPL-2 MIT ZLIB curl openssl"
 SLOT="0/${PV%%.*}"
 KEYWORDS="-* amd64 ~arm64"
-IUSE="+X abi_x86_32 abi_x86_64 kernel-open persistenced +static-libs +tools 
wayland"
+IUSE="+X abi_x86_32 abi_x86_64 kernel-open persistenced powerd +static-libs 
+tools wayland"
 REQUIRED_USE="kernel-open? ( modules )"
 
 COMMON_DEPEND="
@@ -57,6 +57,7 @@ RDEPEND="
x11-libs/libX11[abi_x86_32(-)?]
x11-libs/libXext[abi_x86_32(-)?]
)
+   powerd? ( sys-apps/dbus[abi_x86_32(-)?] )
wayland? (
gui-libs/egl-gbm
>=gui-libs/egl-wayland-1.1.10
@@ -153,7 +154,8 @@ src_prepare() {
sed 's/__USER__/nvpd/' \

nvidia-persistenced/init/systemd/nvidia-persistenced.service.template \
> "${T}"/nvidia-persistenced.service || die
-   use !amd64 || sed -i "s|/usr|${EPREFIX}/opt|" 
systemd/system/nvidia-powerd.service || die
+   use !powerd || # file is missing on arm64 (masked)
+   sed -i "s|/usr|${EPREFIX}/opt|" 
systemd/system/nvidia-powerd.service || die
 
# use alternative vulkan icd option if USE=-X (bug #909181)
use X || sed -i 's/"libGLX/"libEGL/' nvidia_{layers,icd}.json || die
@@ 

[gentoo-commits] repo/proj/guru:dev commit in: app-text/lorien-bin/

2024-02-06 Thread Gonçalo Negrier Duarte
commit: 669d36bfbb788c7825f1c3f9dbd9040b0ead
Author: Gonçalo Negrier Duarte  gmail  com>
AuthorDate: Wed Feb  7 02:07:41 2024 +
Commit: Gonçalo Negrier Duarte  gmail  com>
CommitDate: Wed Feb  7 02:07:41 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=669d

app-text/lorien-bin: update desktop files after merge/unmerge

Signed-off-by: Gonçalo Negrier Duarte  gmail.com>

 app-text/lorien-bin/lorien-bin-0.6.0.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/app-text/lorien-bin/lorien-bin-0.6.0.ebuild 
b/app-text/lorien-bin/lorien-bin-0.6.0.ebuild
index 4a6f3b9e76..426b11c8a9 100644
--- a/app-text/lorien-bin/lorien-bin-0.6.0.ebuild
+++ b/app-text/lorien-bin/lorien-bin-0.6.0.ebuild
@@ -36,3 +36,7 @@ pkg_postinst() {
ewarn "You also have a copy of the manual in 
/opt/Lorien/manual_v${PV}.md"
ewarn "Note: The manual is writen in Markdown format"
 }
+
+pkg_postrm() {
+   xdg_desktop_database_update
+}



[gentoo-commits] repo/proj/guru:dev commit in: games-util/HeroicGamesLauncher-bin/

2024-02-06 Thread Gonçalo Negrier Duarte
commit: c1cc2e1fc492b82c8854e667de60f87709924802
Author: Gonçalo Negrier Duarte  gmail  com>
AuthorDate: Wed Feb  7 02:06:22 2024 +
Commit: Gonçalo Negrier Duarte  gmail  com>
CommitDate: Wed Feb  7 02:06:22 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c1cc2e1f

games-util/HeroicGamesLauncher-bin: update desktop files after merge/unmerge

Signed-off-by: Gonçalo Negrier Duarte  gmail.com>

 .../HeroicGamesLauncher-bin-2.12.1.ebuild  | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git 
a/games-util/HeroicGamesLauncher-bin/HeroicGamesLauncher-bin-2.12.1.ebuild 
b/games-util/HeroicGamesLauncher-bin/HeroicGamesLauncher-bin-2.12.1.ebuild
index cb30735246..fc645df608 100644
--- a/games-util/HeroicGamesLauncher-bin/HeroicGamesLauncher-bin-2.12.1.ebuild
+++ b/games-util/HeroicGamesLauncher-bin/HeroicGamesLauncher-bin-2.12.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit desktop
+inherit desktop xdg
 
SRC_URI="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases/download/v${PV}/heroic-${PV}.tar.xz;
 DESCRIPTION="A Native GOG and Epic Games Launcher for Linux, Windows and Mac."
 HOMEPAGE="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher;
@@ -57,3 +57,11 @@ src_install() {
domenu "${FILESDIR}/HeroicGamesLauncher-gamescope.desktop"
fi
 }
+
+pkg_postinst() {
+   xdg_desktop_database_update
+}
+
+pkg_postrm() {
+   xdg_desktop_database_update
+}



[gentoo-commits] repo/proj/guru:dev commit in: games-util/HeroicGamesLauncher-bin/

2024-02-06 Thread Gonçalo Negrier Duarte
commit: c8721d0277b628d523bbf0a3a3a1d6b2df49dcd6
Author: Gonçalo Negrier Duarte  gmail  com>
AuthorDate: Wed Feb  7 02:02:35 2024 +
Commit: Gonçalo Negrier Duarte  gmail  com>
CommitDate: Wed Feb  7 02:02:35 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c8721d02

games-util/HeroicGamesLauncher-bin: drop 2.9.2, 2.10.0, add 2.12.1

Signed-off-by: Gonçalo Negrier Duarte  gmail.com>

 ...build => HeroicGamesLauncher-bin-2.12.1.ebuild} |  0
 .../HeroicGamesLauncher-bin-2.9.2.ebuild   | 59 --
 games-util/HeroicGamesLauncher-bin/Manifest|  3 +-
 3 files changed, 1 insertion(+), 61 deletions(-)

diff --git 
a/games-util/HeroicGamesLauncher-bin/HeroicGamesLauncher-bin-2.10.0.ebuild 
b/games-util/HeroicGamesLauncher-bin/HeroicGamesLauncher-bin-2.12.1.ebuild
similarity index 100%
rename from 
games-util/HeroicGamesLauncher-bin/HeroicGamesLauncher-bin-2.10.0.ebuild
rename to 
games-util/HeroicGamesLauncher-bin/HeroicGamesLauncher-bin-2.12.1.ebuild

diff --git 
a/games-util/HeroicGamesLauncher-bin/HeroicGamesLauncher-bin-2.9.2.ebuild 
b/games-util/HeroicGamesLauncher-bin/HeroicGamesLauncher-bin-2.9.2.ebuild
deleted file mode 100644
index cb30735246..00
--- a/games-util/HeroicGamesLauncher-bin/HeroicGamesLauncher-bin-2.9.2.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop
-SRC_URI="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases/download/v${PV}/heroic-${PV}.tar.xz;
-DESCRIPTION="A Native GOG and Epic Games Launcher for Linux, Windows and Mac."
-HOMEPAGE="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher;
-
-LICENSE="GPL-3"
-SLOT="0"
-
-RDEPEND="gamescope? ( gui-wm/gamescope )"
-
-KEYWORDS="~amd64"
-
-S="${WORKDIR}/heroic-${PV}"
-
-IUSE="gamescope"
-
-QA_PREBUILT="
-   opt/heroic/chrome-sandbox
-   opt/heroic/chrome_crashpad_handler
-   opt/heroic/heroic
-   opt/heroic/libEGL.so
-   opt/heroic/libGLESv2.so
-   opt/heroic/libffmpeg.so
-   opt/heroic/libvk_swiftshader.so
-   opt/heroic/libvulkan.so.1
-   opt/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl
-   opt/heroic/resources/app.asar.unpacked/build/bin/linux/legendary
-   opt/heroic/resources/app.asar.unpacked/build/bin/linux/nile
-   opt/heroic/resources/app.asar.unpacked/build/bin/linux/vulkan-helper
-   
opt/heroic/resources/app.asar.unpacked/node_modules/register-scheme/build/Release/register-protocol-handler.node
-   
opt/heroic/resources/app.asar.unpacked/node_modules/register-scheme/build/Release/node-addon-api/src/nothing.a
-   
opt/heroic/resources/app.asar.unpacked/node_modules/register-scheme/build/Release/nothing.a
-"
-
-src_install() {
-   mv "${S}" "${WORKDIR}/heroic"
-   insinto /opt
-   doins -r "${WORKDIR}/heroic"
-   insinto /opt/bin
-   doins "${FILESDIR}/heroic"
-   fperms +x /opt/heroic/heroic /opt/bin/heroic
-
-   #fix login error both EPIC and GOG
-   fperms +x 
/opt/heroic/resources/app.asar.unpacked/build/bin/linux/legendary \
-   /opt/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl \
-   /opt/heroic/resources/app.asar.unpacked/build/bin/linux/nile
-
-   domenu "${FILESDIR}/HeroicGamesLauncher.desktop"
-   newicon "${WORKDIR}/heroic/resources/app.asar.unpacked/build/icon.png" 
heroic.png
-   if use gamescope; then
-   #Start Heroic as gamescope window
-   domenu "${FILESDIR}/HeroicGamesLauncher-gamescope.desktop"
-   fi
-}

diff --git a/games-util/HeroicGamesLauncher-bin/Manifest 
b/games-util/HeroicGamesLauncher-bin/Manifest
index 9aaeaee3e9..35577629c1 100644
--- a/games-util/HeroicGamesLauncher-bin/Manifest
+++ b/games-util/HeroicGamesLauncher-bin/Manifest
@@ -1,2 +1 @@
-DIST heroic-2.10.0.tar.xz 103110396 BLAKE2B 
6f6921f8e75802427cd6f21a7666b33a67b553b79937de2a4ebae0a690cf87657b730b5306f61e909bccab80fd68b923346b14be6cc674d913769d1e4ed9f268
 SHA512 
1748f80341276d6ca9bd3375333c11fb22908413eb69ad47f61b2450fa98015a4e12426d8b825b8113cd218f4a01567faeff6cf41f5aa4b87dbf7c06d7feedad
-DIST heroic-2.9.2.tar.xz 101500808 BLAKE2B 
93776e387e5934b59ad901cad564702a9b519dc40c5782a75cc1da111cd9cc9ec56876387aeed525d03ef425580bd49d1ef6425345c5c1d24c0fd8bbdf3dfde4
 SHA512 
146421dee45d1e93233a7936642146d42db307349551058dea858a869f04f32d2921b3bcc45be3ba041c9a48ae11641dce6d16b72186c4c385a7f25aa3ff19d3
+DIST heroic-2.12.1.tar.xz 105206396 BLAKE2B 
66c6a8889b7bcd91ee0d274337a3bb8adb48b74d7c4537b78ba98f4254c24e143503f8697415eca5fbffd6a1b0744c07a458f4b5aeb1e03029eba0b66d316403
 SHA512 
06dd78477e5288fccca9418cb6cb20f4491ce573f6948f87732f5eb49520259b699f41b0931ba3cf8d740df4b25c25989e0e4f0633e464b91099b348c40abef0



[gentoo-commits] repo/proj/guru:dev commit in: games-util/mangohud/

2024-02-06 Thread Gonçalo Negrier Duarte
commit: 8d4c451d2aa0b9df348d983bf5028b0bc199e38f
Author: Gonçalo Negrier Duarte  gmail  com>
AuthorDate: Wed Feb  7 01:41:44 2024 +
Commit: Gonçalo Negrier Duarte  gmail  com>
CommitDate: Wed Feb  7 01:43:54 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8d4c451d

games-util/mangohud: propragate spdlog fix to 
* improve comments for spdlog fix
* add myself as proxy mantainer

Signed-off-by: Gonçalo Negrier Duarte  gmail.com>

 games-util/mangohud/Manifest |  2 ++
 games-util/mangohud/mangohud-0.7.0-r1.ebuild |  4 +++-
 games-util/mangohud/mangohud-.ebuild | 12 ++--
 games-util/mangohud/metadata.xml |  6 +-
 4 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/games-util/mangohud/Manifest b/games-util/mangohud/Manifest
index 4d69654697..ad59a61752 100644
--- a/games-util/mangohud/Manifest
+++ b/games-util/mangohud/Manifest
@@ -1,6 +1,8 @@
 DIST implot-0.16-1-meson-wrap.zip 1226 BLAKE2B 
4725661fe2c7f7f05e1702c3a871f9feb9fdefdc2a840cdf8a3d56e7e180e950533f830192f9ad19cba97e8094ab53cf73adda2ed6712a83384d4160f6c06b18
 SHA512 
6e54beebef8ac4ec0b3e85d30d7570c9a987d69c03b6a564bc67d105d19d2cec45cb3ab8921ebcbda51e7139d93c3c6dae359fa30b3fcce748cdec8953aabbf7
 DIST implot-0.16.tar.gz 137983 BLAKE2B 
aca328e2fe6049b72601f25a409f313e99971f606e68ca780a1594f8ca42b1606831090add8039fefd013cfb6c057900f0add347d1b80c466a05bd18e455b8d7
 SHA512 
117cb08122d900e7db857897bfec4c9ac3300a1d429c8f0303415bc693840baa991ca3f13853d8efd3a6ebf538b7114401d4fbfe0d067256e58cbdbd4919
 DIST mangohud-0.7.0.tar.gz 14892372 BLAKE2B 
436a7834743aac3f95d55031194fddd79861061010cf5eb25e81cf5eceacf4015b607a191931a85715ca0d58c8e314841d536ce83e7767a39869ab789d376c7a
 SHA512 
1ed43c2ba8a97c8934895450bf1ce152970031e5a5654db91df02d7b44f5eeacb32167f219735d2f0fb3c8ba24fc4386a8af4da99a3cd736af0b0d50ef2fedd7
+DIST spdlog-1.13.0-1-wrap.zip 2959 BLAKE2B 
13744264cfab96ff51f033300182b8937959e7bf74851d7cff26b7e9c05109518b0623a71bfc326951d86c43d104a1bb1700cd45e69ebd41683726e9764f630b
 SHA512 
59c5d50ee1c14a1b43aa3000a591d9fd2bc4c9ff043b23d25be896ca9a34c1c392c26240ed58a5e877231c09fd1b28012f58b3c403d0370cf5dd9169587a8de4
+DIST spdlog-1.13.0.tar.gz 264003 BLAKE2B 
8ffeec847f082a0932f406ab44b4653661fdbe95a15f7b736367ee6d8f45ab36ca2182a9e9c6fba5c0688ab5436c16932b130541a8532cc2e5f4980e6340b929
 SHA512 
44fcb414ad9fbbe2a6d72c29143eeeae477b687ed30ae870d661b032a029ad4214ef43e7ef6350d02791d05504492978ade2d6733fab12ce4884d8f0bc4c6340
 DIST spdlog-1.8.5-1-wrap.zip 2211 BLAKE2B 
709d961280d83a82bbd440bdf4bafd7692227ecef38dbfc5380d971c41168017f927972855617cdd1cd36a1b8d1ed7fbb94c50a16265d593cfd132195a6cd5ab
 SHA512 
580c724059306191a2e0decbb733ffa9e667354edb6cb08a72afb7ca4f2ef6eb2d52952a59ede631f3097394373f412179adc3aaf522067980a67bfa03c71b49
 DIST spdlog-1.8.5.tar.gz 321229 BLAKE2B 
2cdc1902a9e6f51da5c1af02b2961914a5437cfefec13aaaca8b996166c0990f602c811f69569a8812d880f995b401af44457ec4255bc5a0f9e46b51266d1b43
 SHA512 
77cc9df0c40bbdbfe1f3e5818dccf121918bfceac28f2608f39e5bf944968b7e8e24a6fc29f01bc58a9bae41b8892d49cfb59c196935ec9868884320b50f130c
 DIST vulkan-headers-1.2.158-2-meson-wrap.zip 1107 BLAKE2B 
35e4bb1f7410a009243fe7d4a4ba6cede7f01e0b56ad6ff72ad30c00c2452bd6d2a4fb44ab92c296147e2506a92acc6de1f817cb5433b96d66652cbcd8885595
 SHA512 
30cbbb90580399839e1bba8881b9b8cc33fdeead93f37d5f3398c9d53fb3ab050ca2562fd68f376fa4ee0825ee3787f560d70d55a170c780dd575ff2eeb66efd

diff --git a/games-util/mangohud/mangohud-0.7.0-r1.ebuild 
b/games-util/mangohud/mangohud-0.7.0-r1.ebuild
index 67a1c765e9..f6022d6d7a 100644
--- a/games-util/mangohud/mangohud-0.7.0-r1.ebuild
+++ b/games-util/mangohud/mangohud-0.7.0-r1.ebuild
@@ -96,7 +96,8 @@ src_unpack() {
unpack vulkan-headers-${VK_HEADERS_VER}.tar.gz
unpack 
vulkan-headers-${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}-meson-wrap.zip
mv "${WORKDIR}/Vulkan-Headers-${VK_HEADERS_VER}" "${S}/subprojects/" || 
die
-   # fix build error by using specify version of spdlog
+
+   # fix build error by using upstream submodule version of spdlog
unpack spdlog-${SPDLOG_VER}.tar.gz
unpack spdlog-${SPDLOG_VER}-1-wrap.zip
mv "${WORKDIR}/spdlog-${SPDLOG_VER}" "${S}/subprojects/" || die
@@ -112,6 +113,7 @@ src_prepare() {
 }
 
 src_configure() {
+   # disable system spdlog in favor of the submodule version
local emesonargs=(
-Dappend_libdir_mangohud=false
-Duse_system_spdlog=disabled

diff --git a/games-util/mangohud/mangohud-.ebuild 
b/games-util/mangohud/mangohud-.ebuild
index 3fba65ec23..31854ad3e4 100644
--- a/games-util/mangohud/mangohud-.ebuild
+++ b/games-util/mangohud/mangohud-.ebuild
@@ -18,6 +18,7 @@ VK_HEADERS_MESON_WRAP_VER="2"
 
 IMPLOT_VER="0.16"
 IMPLOT_MESON_WRAP_VER="1"
+SPDLOG_VER="1.13.0"
 
 SRC_URI="

https://github.com/KhronosGroup/Vulkan-Headers/archive/v${VK_HEADERS_VER}.tar.gz
@@ -28,6 +29,8 @@ SRC_URI="
  

[gentoo-commits] repo/proj/guru:dev commit in: net-dns/AdGuardHome/files/, net-dns/AdGuardHome/

2024-02-06 Thread Rahil Bhimjiani
commit: e9edd0a0cbb9103f0197359ee81a37a5b7ab6071
Author: Rahil Bhimjiani  rahil  rocks>
AuthorDate: Wed Feb  7 01:41:13 2024 +
Commit: Rahil Bhimjiani  gmail  com>
CommitDate: Wed Feb  7 01:43:01 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e9edd0a0

net-dns/AdGuardHome: add 0.107.44

New opt-out USE flag, 'web' which toggles web UI.

Signed-off-by: Rahil Bhimjiani  rahil.rocks>

 net-dns/AdGuardHome/AdGuardHome-0.107.44.ebuild| 119 +
 net-dns/AdGuardHome/Manifest   |   3 +
 .../AdGuardHome/files/fix-go.mod-0.107.44.patch|  10 ++
 net-dns/AdGuardHome/metadata.xml   |   3 +
 4 files changed, 135 insertions(+)

diff --git a/net-dns/AdGuardHome/AdGuardHome-0.107.44.ebuild 
b/net-dns/AdGuardHome/AdGuardHome-0.107.44.ebuild
new file mode 100644
index 00..f1d2096380
--- /dev/null
+++ b/net-dns/AdGuardHome/AdGuardHome-0.107.44.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fcaps go-module systemd
+
+DESCRIPTION="Network-wide ads & trackers blocking DNS server like Pi-Hole with 
web ui"
+HOMEPAGE="https://github.com/AdguardTeam/AdGuardHome/;
+
+SRC_URI="
+   https://github.com/AdguardTeam/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz
+   
https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz
 -> ${P}-deps.tar.xz
+   web? ( 
https://github.com/AdguardTeam/${PN}/releases/download/v${PV}/AdGuardHome_frontend.tar.gz
 -> ${P}-frontend.tar.gz )
+"
+
+# main
+LICENSE="GPL-3"
+# deps
+LICENSE+=" Apache-2.0 BSD BSD-2 MIT ZLIB"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+IUSE="+web"
+# RESTRICT="test"
+
+# see the patch below
+BDEPEND=">=dev-lang/go-1.21:="
+BDEPEND+=" app-arch/unzip"
+
+FILECAPS=(
+   -m 755 'cap_net_bind_service=+eip cap_net_raw=+eip' usr/bin/${PN}
+)
+
+# otherwise it'll error out saying "update go.mod file"
+# Since dev-lang/go-1.21 is stable i think it's safe to update
+PATCHES=(
+   "${FILESDIR}"/fix-go.mod-0.107.44.patch
+)
+
+src_prepare() {
+   default
+   # move frontend to project directory
+   use web && { rm -v build/gitkeep && mv -v ../build ./ || die ; }
+}
+
+src_compile() {
+   # mimicking 
https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-build.sh
+
+   local MY_LDFLAGS="-s -w"
+   MY_LDFLAGS+=" -X 
github.com/AdguardTeam/AdGuardHome/internal/version.version=${PV}"
+   MY_LDFLAGS+=" -X 
github.com/AdguardTeam/AdGuardHome/internal/version.channel=release"
+   MY_LDFLAGS+=" -X 
github.com/AdguardTeam/AdGuardHome/internal/version.committime=$(date +%s)"
+   if [ "$(go env GOARM)" != '' ]
+   then
+   MY_LDFLAGS+=" -X 
github.com/AdguardTeam/AdGuardHome/internal/version.goarm=$(go env GOARM)"
+   elif [ "$(go env GOMIPS)" != '' ]
+   then
+   MY_LDFLAGS+=" -X 
github.com/AdguardTeam/AdGuardHome/internal/version.gomips=$(go env GOMIPS)"
+   fi
+
+   ego build -ldflags "${MY_LDFLAGS}" -trimpath -v=1 -x=1
+}
+
+src_test() {
+
+   # mimicking 
https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-test.sh
+   count_flags='--count=1'
+   cover_flags='--coverprofile=./coverage.txt'
+   shuffle_flags='--shuffle=on'
+   timeout_flags="--timeout=30s"
+   fuzztime_flags="--fuzztime=20s"
+   readonly count_flags cover_flags shuffle_flags timeout_flags 
fuzztime_flags
+
+   # race only works when pie is disabled
+   export GOFLAGS="${GOFLAGS/-buildmode=pie/}"
+
+   # following test is failing without giving any reason. Tried disabling 
internal/updater internal/whois tests toggling race, but still failing.
+   # ego test\
+   # "$count_flags"\
+   # "$cover_flags"\
+   # "$shuffle_flags"\
+   # --race=1\
+   # "$timeout_flags"\
+   # ./...
+
+   # mimicking 
https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-bench.sh
+   ego test\
+ "$count_flags"\
+ "$shuffle_flags"\
+ --race=0\
+ "$timeout_flags"\
+ --bench='.'\
+ --benchmem\
+ --benchtime=1s\
+ --run='^$'\
+ ./...
+
+   # mimicking 
https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-fuzz.sh
+   ego test\
+ "$count_flags"\
+ "$shuffle_flags"\
+ --race=0\
+ "$timeout_flags"\
+ "$fuzztime_flags"\
+ --fuzz='.'\
+ --run='^$'\
+ ./internal/filtering/rulelist/\
+   ;
+
+}
+
+src_install() {
+   dobin "${PN}"
+   einstalldocs
+
+   systemd_newunit "${FILESDIR}"/AdGuardHome-0.107.43.service 
"${PN}".service
+}


[gentoo-commits] repo/gentoo:master commit in: net-misc/dhcpcd/

2024-02-06 Thread Sam James
commit: 93f007d3302ba6bdd095fdbf8880ca06e1078e0d
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb  7 01:19:09 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb  7 01:19:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93f007d3

net-misc/dhcpcd: Stabilize 10.0.6-r1 hppa, #923514

Signed-off-by: Sam James  gentoo.org>

 net-misc/dhcpcd/dhcpcd-10.0.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/dhcpcd/dhcpcd-10.0.6-r1.ebuild 
b/net-misc/dhcpcd/dhcpcd-10.0.6-r1.ebuild
index a2031cba5efc..cd313329537c 100644
--- a/net-misc/dhcpcd/dhcpcd-10.0.6-r1.ebuild
+++ b/net-misc/dhcpcd/dhcpcd-10.0.6-r1.ebuild
@@ -15,7 +15,7 @@ else

SRC_URI="https://github.com/NetworkConfiguration/dhcpcd/releases/download/v${PV}/${MY_P}.tar.xz;
S="${WORKDIR}/${MY_P}"
 
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client"



[gentoo-commits] repo/gentoo:master commit in: dev-lang/rust-bin/

2024-02-06 Thread Sam James
commit: 310eba4c9ed8383a0980b7d2dc8b627cbea3b25b
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb  7 00:58:45 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb  7 00:58:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=310eba4c

dev-lang/rust-bin: stabilize 1.74.1 for sparc

Bug: https://bugs.gentoo.org/920441
Signed-off-by: Sam James  gentoo.org>

 dev-lang/rust-bin/rust-bin-1.74.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/rust-bin/rust-bin-1.74.1.ebuild 
b/dev-lang/rust-bin/rust-bin-1.74.1.ebuild
index d6e000c39d4c..ee46e6c096f0 100644
--- a/dev-lang/rust-bin/rust-bin-1.74.1.ebuild
+++ b/dev-lang/rust-bin/rust-bin-1.74.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI+=" sparc? ( 
${GENTOO_BIN_BASEURI}/${MY_P}-sparc64-unknown-linux-gnu.tar.
 
 LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4"
 SLOT="stable"
-KEYWORDS="amd64 ~arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc ~x86"
 IUSE="big-endian clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src 
rustfmt"
 
 DEPEND=""



[gentoo-commits] repo/gentoo:master commit in: dev-lang/rust-bin/

2024-02-06 Thread Sam James
commit: a7e39589752aa76857d644436af36b472c7c0b8e
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb  7 00:57:43 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb  7 00:57:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7e39589

dev-lang/rust-bin: keyword 1.74.1 for ~sparc

Followup to 4963f2c57a4991041d9bb9542f5cfa1de310acc6.

Bug: https://bugs.gentoo.org/920441
Signed-off-by: Sam James  gentoo.org>

 dev-lang/rust-bin/rust-bin-1.74.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/rust-bin/rust-bin-1.74.1.ebuild 
b/dev-lang/rust-bin/rust-bin-1.74.1.ebuild
index 9be7858358a7..d6e000c39d4c 100644
--- a/dev-lang/rust-bin/rust-bin-1.74.1.ebuild
+++ b/dev-lang/rust-bin/rust-bin-1.74.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI+=" sparc? ( 
${GENTOO_BIN_BASEURI}/${MY_P}-sparc64-unknown-linux-gnu.tar.
 
 LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4"
 SLOT="stable"
-KEYWORDS="amd64 ~arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc ~x86"
 IUSE="big-endian clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src 
rustfmt"
 
 DEPEND=""



[gentoo-commits] repo/gentoo:master commit in: dev-lang/rust-bin/

2024-02-06 Thread Sam James
commit: 4963f2c57a4991041d9bb9542f5cfa1de310acc6
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb  7 00:55:29 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb  7 00:55:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4963f2c5

dev-lang/rust-bin: add sparc bin for 1.74.1

Signed-off-by: Sam James  gentoo.org>

 dev-lang/rust-bin/Manifest   | 1 +
 dev-lang/rust-bin/rust-bin-1.74.1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-lang/rust-bin/Manifest b/dev-lang/rust-bin/Manifest
index 83a39e31efcc..083136a52ec4 100644
--- a/dev-lang/rust-bin/Manifest
+++ b/dev-lang/rust-bin/Manifest
@@ -125,6 +125,7 @@ DIST rust-1.74.1-riscv64gc-unknown-linux-gnu.tar.xz 
181803248 BLAKE2B cd007830f5
 DIST rust-1.74.1-riscv64gc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 
d19edec415037449fa52b80a804fb505767803a805943d0acf1a9216964d7ec7ca108b3b578621f10c23c37cf71decac0a1451c49525d2d7850d52f18e883b95
 SHA512 
b00a20e466125faec270ff3f96f07133488aa1c9e2e706e0408f3d7ad350812b2b5831226c77657bc5a8d4fc55e5bd13085ea9e33fab88e32b469f9c2179
 DIST rust-1.74.1-s390x-unknown-linux-gnu.tar.xz 200997424 BLAKE2B 
31ba7d46ffc5388b5ebd4be9b2c74873ebaf6a8301d5211823a0677492de4e2ed0562971e41a3825dcbfe4311588091ce062fe1432ed441eb736d64c73f5f0c5
 SHA512 
76bfe267e4b6b59b823f29be175e9c63102f2dc5df060b9b7b5bca2a883c57c113416c531c9fcbf3ceaea0b8955ef864f572e64604b4b816c8e3b3d8d68c7ac1
 DIST rust-1.74.1-s390x-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 
6ea21dedc092abab913973752e6875f6b5a437ea4107d6245d2104c443c8af0f4af64d06211305968fc14ed15a628cee6a5b86701a1da42fcb2ea5afd166bfa9
 SHA512 
e155a6e7936f649eba413fbb07516e21216fdf9183f02eaef040002e2ccaaedbb399003b00dded7d7b54507182296a54455e4b0ab48aae77e7939678a233
+DIST rust-1.74.1-sparc64-unknown-linux-gnu.tar.xz 56648912 BLAKE2B 
ca6b367c1f938e48686880b40eea92edc8e2f22668541de99318bff0812416f6fad02ac381785270bc212e43d578094ae3e34f8c59b648183620e1823de64bbc
 SHA512 
617c1c222f8c2e50c90dfed81a64da8c3bc2079f926ab75d022e3e2fadf7cbda3893ced595ac8235c2e919a98ced5ee7f02163a9d165cff976190749c298e912
 DIST rust-1.74.1-x86_64-unknown-linux-gnu.tar.xz 155438320 BLAKE2B 
e33ac5c6f913e0eba2f92d46fbac255ef3a06a77324cffb1994b713a1b114f008514fd4ad6d9e7fa2ee860e168d90c574b80769f585a6f1f36e0c57313056e82
 SHA512 
08fdce8c9b35ab30e67d7ba932a105edf3a8cddb618dc2e7c5928d01afd086018732dcb87d66d1cab4b1468bd6e0a516459e39beb0514f2b78dd418ce530ecaf
 DIST rust-1.74.1-x86_64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 
5bcfcc084bb7c4e3e95fbd55a8a0d6b64565f50a64e203862b8607eeb6d74cb5d0a6e16b9100a96286b937452b87b56554235a39da2739e7c71933560dcee74f
 SHA512 
e39b200fcef34fc359deb9b0c104853fd33714ca8c417274ff6e2aa5ed76dc98500365455edc4defb4f55172e33912674c2c657eaa40b3d8451e75b7a23b38ba
 DIST rust-1.74.1-x86_64-unknown-linux-musl.tar.xz 235698028 BLAKE2B 
e392e83b7ccade6cddff9c964162836552f90b8f3fd821348bfc0f72137f99e0c29a82b45c74893d22e0a42861c9413b29b97a85802737bfe363b1e694fd4e81
 SHA512 
8fb65ea5538c4a0865ac75561bb8df71d3703f1d4ed603f51752844f1bea02a9a52858587f3ee776a5ec27e793762a1b7c9cd845bceedd8a313d7ce2ad476ca1

diff --git a/dev-lang/rust-bin/rust-bin-1.74.1.ebuild 
b/dev-lang/rust-bin/rust-bin-1.74.1.ebuild
index 3ce571cfa5d9..9be7858358a7 100644
--- a/dev-lang/rust-bin/rust-bin-1.74.1.ebuild
+++ b/dev-lang/rust-bin/rust-bin-1.74.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="$(rust_all_arch_uris ${MY_P})
rust-src? ( ${MY_SRC_URI} )
 "
 # Keep this separate to allow easy commenting out if not yet built
-#SRC_URI+=" sparc? ( 
${GENTOO_BIN_BASEURI}/${MY_P}-sparc64-unknown-linux-gnu.tar.xz ) "
+SRC_URI+=" sparc? ( 
${GENTOO_BIN_BASEURI}/${MY_P}-sparc64-unknown-linux-gnu.tar.xz ) "
 #SRC_URI+=" mips? (
 #  abi_mips_o32? (
 #  big-endian?  ( 
${GENTOO_BIN_BASEURI}/${MY_P}-mips-unknown-linux-gnu.tar.xz )



[gentoo-commits] repo/gentoo:master commit in: app-editors/levee/

2024-02-06 Thread Sam James
commit: 8291f739aeacf3bee2edbf45963bf385aa15f03e
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb  7 00:56:22 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb  7 00:56:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8291f739

app-editors/levee: Keyword 4.0 arm64, #923796

Signed-off-by: Sam James  gentoo.org>

 app-editors/levee/levee-4.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-editors/levee/levee-4.0.ebuild 
b/app-editors/levee/levee-4.0.ebuild
index 6c279b3e38c1..e45cd0871d9c 100644
--- a/app-editors/levee/levee-4.0.ebuild
+++ b/app-editors/levee/levee-4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-patches.
 
 LICENSE="levee"
 SLOT="0"
-KEYWORDS="amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 
 RDEPEND="
!app-text/lv



[gentoo-commits] repo/gentoo:master commit in: sys-libs/timezone-data/

2024-02-06 Thread Sam James
commit: c1fffe65ef962514ca089ad2eca7fa531e50d412
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb  7 00:51:45 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb  7 00:51:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1fffe65

sys-libs/timezone-data: Stabilize 2023d hppa, #923507

Signed-off-by: Sam James  gentoo.org>

 sys-libs/timezone-data/timezone-data-2023d.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/timezone-data/timezone-data-2023d.ebuild 
b/sys-libs/timezone-data/timezone-data-2023d.ebuild
index 2e6109489b5f..92d625f298e2 100644
--- a/sys-libs/timezone-data/timezone-data-2023d.ebuild
+++ b/sys-libs/timezone-data/timezone-data-2023d.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://www.iana.org/time-zones/repository/releases/tzdata${MY_DATA_VER
 
 LICENSE="BSD public-domain"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos ~x64-solaris"
 IUSE="nls leaps-timezone zic-slim"
 
 DEPEND="nls? ( virtual/libintl )"



[gentoo-commits] repo/gentoo:master commit in: app-doc/eclass-manpages/

2024-02-06 Thread Sam James
commit: c3df4d9baae87280866405ff2cda6cc0bc01cc54
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb  7 00:30:08 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb  7 00:48:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3df4d9b

app-doc/eclass-manpages: add 20240207

Signed-off-by: Sam James  gentoo.org>

 app-doc/eclass-manpages/Manifest   |  1 +
 .../eclass-manpages-20240207.ebuild| 24 ++
 2 files changed, 25 insertions(+)

diff --git a/app-doc/eclass-manpages/Manifest b/app-doc/eclass-manpages/Manifest
index e96bf9cbf26c..721b86c54528 100644
--- a/app-doc/eclass-manpages/Manifest
+++ b/app-doc/eclass-manpages/Manifest
@@ -1,3 +1,4 @@
 DIST eclass-manpages-20230601.tar.xz 423088 BLAKE2B 
35ef9f3fad733d6aa363c2808de8e6cc8936f1c965c7181b55cd955c8e3bcc339af7ac070302f220002e77011adf05e9904f38d29f832f7640f3cdc11f4f0a8f
 SHA512 
5ff2dfca210b14a448472d6ea55ae5b321541e09124c74ff43392eea48dab06b22fbad9a7b62b80d5b67f9d07e1055bcca29eb03f77b899be886ada078e2df1f
 DIST eclass-manpages-20230624.tar.xz 420244 BLAKE2B 
867d215a89f7f92e7b9ed9ce52e70e42609bcd038e98074c9d0e6327e227bc010ea4d4fbd19e21d18635138a668cfc98492b3fdcf66bbe9960252474c14fd193
 SHA512 
c0df42ab7648337643de4bc9c204212e0a3563cea689ef8f8e507964bd88a69f0703d7f93c0f3e54dc333b7689c9eeba7dd0ea8525161a88b2605a26c8834e77
 DIST eclass-manpages-20230919.tar.xz 432712 BLAKE2B 
d3b478f9c8ae26d9b0cbddb016861d59af58ff57ffed2e6c5abf423523c33317d1b37167b37925893d068838b1c7509514c51b60b98dfbeda631f8ba7641b8bd
 SHA512 
1e07da85179f04172200b94e5cf5a21d04787fce800ceae83322554d5eb37cdc6073099d5ee5f12e04bbf967de40f63b01321dcb5ac4995e3c2503a94407c2d2
+DIST eclass-manpages-20240207.tar.xz 446596 BLAKE2B 
5d9698a72586a2a33149f02fb70958d44dc20524de104c5c3f3f306d9e3f0f9a027b4365f5426cd261628c5561599a25b325fe2cd63999aaacc19be8c8cb8094
 SHA512 
a94d0da7110a8cdfbac4e7a469ca304f6ed454513294f573edd52cda5de56dc2e78589aa7458804971ba1a92a4c6ec814ec97b78bc7ded0643cb419478975022

diff --git a/app-doc/eclass-manpages/eclass-manpages-20240207.ebuild 
b/app-doc/eclass-manpages/eclass-manpages-20240207.ebuild
new file mode 100644
index ..83b196078ae7
--- /dev/null
+++ b/app-doc/eclass-manpages/eclass-manpages-20240207.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Instructions to make a dist tarball:
+# git clone https://github.com/projg2/eclass-to-manpage.git
+# cd eclass-to-manpage
+# make dist ECLASSDIR=~/g/eclass/
+
+DESCRIPTION="Collection of Gentoo eclass manpages"
+HOMEPAGE="https://github.com/projg2/eclass-to-manpage;
+SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz;
+
+LICENSE="GPL-2"
+SLOT="0"
+# Keep the keywords stable. No need to change to ~arch.
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+BDEPEND="sys-apps/gawk"
+
+src_install() {
+   emake install DESTDIR="${D}" PREFIX="${EPREFIX}/usr"
+}



[gentoo-commits] proj/portage:master commit in: lib/portage/tests/util/futures/asyncio/

2024-02-06 Thread Zac Medico
commit: 66d8f8388e5b9da7e07510f78ec487913e2ceaf5
Author: Zac Medico  gentoo  org>
AuthorDate: Sun Feb  4 00:16:29 2024 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Feb  7 00:36:17 2024 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=66d8f838

ChildWatcherTestCase: Remove obsolete test which uses spawn returnpid

This test was added for bug 649588 when there was still an
internal event loop implementation for python2. It is no
longer relevant and uses the deprecated spawn returnpid
parameter, so remove it.

Bug: https://bugs.gentoo.org/916566
Signed-off-by: Zac Medico  gentoo.org>

 lib/portage/tests/util/futures/asyncio/meson.build |  1 -
 .../util/futures/asyncio/test_child_watcher.py | 50 --
 2 files changed, 51 deletions(-)

diff --git a/lib/portage/tests/util/futures/asyncio/meson.build 
b/lib/portage/tests/util/futures/asyncio/meson.build
index ba727052fc..2de0668d6b 100644
--- a/lib/portage/tests/util/futures/asyncio/meson.build
+++ b/lib/portage/tests/util/futures/asyncio/meson.build
@@ -1,6 +1,5 @@
 py.install_sources(
 [
-'test_child_watcher.py',
 'test_event_loop_in_fork.py',
 'test_pipe_closed.py',
 'test_policy_wrapper_recursion.py',

diff --git a/lib/portage/tests/util/futures/asyncio/test_child_watcher.py 
b/lib/portage/tests/util/futures/asyncio/test_child_watcher.py
deleted file mode 100644
index cd100598b7..00
--- a/lib/portage/tests/util/futures/asyncio/test_child_watcher.py
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 2018-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-import os
-
-from portage.process import find_binary, spawn
-from portage.tests import TestCase
-from portage.util._eventloop.global_event_loop import global_event_loop
-from portage.util.futures import asyncio
-from portage.util.futures.unix_events import DefaultEventLoopPolicy
-
-
-class ChildWatcherTestCase(TestCase):
-def testChildWatcher(self):
-true_binary = find_binary("true")
-self.assertNotEqual(true_binary, None)
-
-initial_policy = asyncio.get_event_loop_policy()
-if not isinstance(initial_policy, DefaultEventLoopPolicy):
-asyncio.set_event_loop_policy(DefaultEventLoopPolicy())
-
-loop = None
-try:
-try:
-asyncio.set_child_watcher(None)
-except NotImplementedError:
-pass
-else:
-self.assertTrue(False)
-
-args_tuple = ("hello", "world")
-
-loop = asyncio._wrap_loop()
-future = loop.create_future()
-
-def callback(pid, returncode, *args):
-future.set_result((pid, returncode, args))
-
-async def watch_pid():
-with asyncio.get_child_watcher() as watcher:
-pids = spawn([true_binary], returnpid=True)
-watcher.add_child_handler(pids[0], callback, *args_tuple)
-self.assertEqual((await future), (pids[0], os.EX_OK, 
args_tuple))
-
-loop.run_until_complete(watch_pid())
-finally:
-asyncio.set_event_loop_policy(initial_policy)
-if loop not in (None, global_event_loop()):
-loop.close()
-self.assertFalse(global_event_loop().is_closed())



[gentoo-commits] proj/portage:master commit in: .github/workflows/

2024-02-06 Thread Zac Medico
commit: b419577c2e5219af9d10c9856449e23fa4d87b24
Author: Zac Medico  gentoo  org>
AuthorDate: Tue Feb  6 05:56:57 2024 +
Commit: Zac Medico  gentoo  org>
CommitDate: Tue Feb  6 08:05:01 2024 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=b419577c

actions: Add muliprocessing start-method to matrix

Add multiprocessing start-method to matrix so that we are prepared
for when python changes to default to spawn. Exclude all python
versions except 3.12-dev for now.

This adds a conditional ci step that patches the sources just for
the spawn start-method. It patches all bin/* scripts with python
shebangs, and also patches the test command in meson.build.

Bug: https://bugs.gentoo.org/914876
Signed-off-by: Zac Medico  gentoo.org>

 .github/workflows/ci.yml | 40 
 1 file changed, 40 insertions(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 3a897dbeec..15da507238 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -11,6 +11,9 @@ jobs:
 runs-on: ubuntu-22.04
 strategy:
   matrix:
+start-method:
+  - 'fork'
+  - 'spawn'
 python-version:
   - '3.9'
   - '3.10'
@@ -18,6 +21,17 @@ jobs:
   - '3.12-dev'
   - '3.13-dev'
   - 'pypy-3.10'
+exclude:
+  - python-version: '3.9'
+start-method: 'spawn'
+  - python-version: '3.10'
+start-method: 'spawn'
+  - python-version: '3.11'
+start-method: 'spawn'
+  - python-version: '3.13-dev'
+start-method: 'spawn'
+  - python-version: 'pypy-3.10'
+start-method: 'spawn'
   fail-fast: false
 steps:
   - uses: actions/checkout@v3
@@ -43,6 +57,32 @@ jobs:
 
   # symlink /bin/true to /usr/bin/getuto (or do we want to grab the 
script from github?)
   sudo ln -s /bin/true /usr/bin/getuto
+  - name: Patch python scripts to set spawn start method
+if: ${{ matrix.start-method == 'spawn' }}
+run: |
+  IFS=''
+  while read -r bin_file; do
+if [[ $(head -n1 "${bin_file}") == '#!/usr/bin/env python' ]]; then
+  mode=top
+  while read -r line; do
+if [[ ${mode} == top ]]; then
+  if [[ ${line} == \#* ]]; then
+echo "${line}"
+  else
+echo "import multiprocessing"
+echo 'multiprocessing.set_start_method("spawn", 
force=True)'
+echo "${line}"
+mode=bottom
+  fi
+else
+  echo "${line}"
+fi
+  done < "${bin_file}" > "${bin_file}.new"
+  chmod +x "${bin_file}.new"
+  mv "${bin_file}"{.new,}
+fi
+  done < <(find bin -maxdepth 1 -type f)
+  sed -i meson.build -e "s|'-m', 'pytest'|'-c', 'import 
multiprocessing, sys, pytest; multiprocessing.set_start_method(\"spawn\", 
force=True); sys.exit(pytest.console_main())'|"
   - name: Test meson install --destdir /tmp/install-root
 run: |
   echo -e "[binaries]\npython = '$(command -v python)'" > 
/tmp/native.ini



[gentoo-commits] repo/gentoo:master commit in: net-misc/openssh-contrib/files/, net-misc/openssh-contrib/

2024-02-06 Thread Patrick McLean
commit: 1dced2a968c2d6c0011604dce4366129ffe4b816
Author: Patrick McLean  gentoo  org>
AuthorDate: Wed Feb  7 00:20:53 2024 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Wed Feb  7 00:21:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dced2a9

net-misc/openssh-contrib: add 9.6_p1

Signed-off-by: Patrick McLean  gentoo.org>

 net-misc/openssh-contrib/Manifest  |   6 +
 .../files/openssh-9.6_p1-hpn-version.patch |  13 +
 .../openssh-contrib/openssh-contrib-9.6_p1.ebuild  | 504 +
 3 files changed, 523 insertions(+)

diff --git a/net-misc/openssh-contrib/Manifest 
b/net-misc/openssh-contrib/Manifest
index 4474bb040ac6..18e3a686869b 100644
--- a/net-misc/openssh-contrib/Manifest
+++ b/net-misc/openssh-contrib/Manifest
@@ -23,3 +23,9 @@ DIST openssh-9.5_p1-hpn-15.2-X509-14.3-glue.patch.xz 5132 
BLAKE2B 82a30622e67fab
 DIST openssh-9.5p1+x509-14.3.diff.gz 1224337 BLAKE2B 
f695711eeab6b40a8660ac897961068738cb5941c799243888d5a90f56cf4b308803dd88d3d97d7932a72b82ebc269e20c7d142076fb3b03def1245491da0497
 SHA512 
a7798e2a40a81df882911c485fa240584713135df59c6dab720597b6ef60ecfac85ebd595983d7c5ce8625b758eeb777fe1462845976a2674cad339dadc0719a
 DIST openssh-9.5p1.tar.gz 1843001 BLAKE2B 
55dbb0a2792b0046c943a19ca090e6e378e77856e94823a1bbbafaa0da94357403765c4c028aebf6543049a0f9bbe0019629be3f92cdadfac1be56def796
 SHA512 
e183fdf7477fd986215b889eea4a945d71385e35305746ccb164e757ecc28166f429c70890a237d8ef4cdcae5132935ba2ecb3b2a658eb73a6afcf6f42277b9c
 DIST openssh-9.5p1.tar.gz.asc 833 BLAKE2B 
abec3d14d9a880008db202be00ed446ccc0a98ce77c16a9e6d6492feac07c8f3284f9cd24f6ee1d904a55f9f23d5cce8a716916975c179a38ef6bde1d36e0acf
 SHA512 
2b6de653420ba02eb99c7e6fba09af3bacfe9c701f3dfc3c94f41a3539c0414954fc5c64cce63c488c5ccd5d4ddb42d3f2184ff7f323342c885c47bf7d426ca1
+DIST openssh-9.6_p1-X509-glue-14.4.2.patch.xz 1516 BLAKE2B 
49f1d100e1b84f051aee599547562bab17b313d097b9b16b7c3ad94fb76e31b04fc101b1824f011507033e9c5744ee0207cb751865576f92501bc442076afe8b
 SHA512 
a09bd2ed9b9d0edfa691c2f99699261c17c9441e188ba870c1f2ceff28817af979a29a7b5c1bbfe9fbeb343241cc00b232099791cc30d665700fcbebdae07139
+DIST openssh-9.6_p1-hpn-15.2-X509-14.4.2-glue.patch.xz 5472 BLAKE2B 
a92ca0746cd48b1580e0a73dcae5d6e141988d3239d09a2f07de376833d14ca2434185b5fdb444fb6821da9ff75ce0c63c86404299e977d3c86050d3a116fc47
 SHA512 
2690f158bf1f5d1512f80c9c8d86006339a461a0bf229e41c62b75d28a9b45cb5392680fbb633415c27c3abfaa1906c170cd1d18679a2be81a1367361fd98afa
+DIST openssh-9.6_p1-hpn-15.2-glue.patch.xz 5028 BLAKE2B 
74970dc9f244eea2e35270c9abe67bdf0f05a3ddb33ffe6ce54056ade3fbec2abe9cb60e92ea889b01be7429dfd754f2986b175cdb014aab721421e1a4952c87
 SHA512 
1edafed18b1fd5d64844a3d121aacbf38dcde2b90adc9b4533f3192f1335365736e9cfd82f7c847980c9b1c1b72ee39470b38d6758b3a8f5ed59796d5005492b
+DIST openssh-9.6p1+x509-14.4.2.diff.gz 1243845 BLAKE2B 
19ed0e174d06f4722b0f244e2c41098422fec88372d77e7c64bed2c00f4d4842b8f517d3f49958febd7a640f0582497fcaf64774fd0a04fbdc8c06b7f0ce5311
 SHA512 
247a088bbe7fe2bced0ec6e7f3d1fc34c3b81ce43ade9312a769c4495c7adf60d8a9ad2afb25e52fdea2f60888330de05375fbe24cd5b86a2f173e160ddb7bb8
+DIST openssh-9.6p1.tar.gz 1857862 BLAKE2B 
dd7f6747fe89f7b386be4faaf7fc43398a9bf439e45608ae61c2126cf8743c64ef7b5af45c75e9007b0bda525f8809261ca0f2fc47ce60177ba769a5324719dd
 SHA512 
0ebf81e39914c3a90da001ec7376a94b37e6024baf3e972c58f0982b7ddef942315f5e01d56c00ff95603b4a20ee561ab918ecc55511df007ac138160509
+DIST openssh-9.6p1.tar.gz.asc 833 BLAKE2B 
9363d02f85457aa90069020827306a2f49d8406e32f5ee1d231844648dd2ffa02fa9b7325b8677a11e46a0ba0d9ffc86d9c989435d691a02f5354a956c49f9f9
 SHA512 
aec5a5bd6ce480a8e5b5879dc55f8186aec90fe61f085aa92ad7d07f324574aa781be09c83b7443a32848d091fd44fb12c1842d49cee77afc351e550ffcc096d

diff --git a/net-misc/openssh-contrib/files/openssh-9.6_p1-hpn-version.patch 
b/net-misc/openssh-contrib/files/openssh-9.6_p1-hpn-version.patch
new file mode 100644
index ..95a69815b822
--- /dev/null
+++ b/net-misc/openssh-contrib/files/openssh-9.6_p1-hpn-version.patch
@@ -0,0 +1,13 @@
+diff --git a/kex.c b/kex.c
+index 34808b5c..88d7ccac 100644
+--- a/kex.c
 b/kex.c
+@@ -1205,7 +1205,7 @@ kex_exchange_identification(struct ssh *ssh, int 
timeout_ms,
+   if (version_addendum != NULL && *version_addendum == '\0')
+   version_addendum = NULL;
+   if ((r = sshbuf_putf(our_version, "SSH-%d.%d-%s%s%s\r\n",
+-  PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION,
++  PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_RELEASE,
+   version_addendum == NULL ? "" : " ",
+   version_addendum == NULL ? "" : version_addendum)) != 0) {
+   oerrno = errno;

diff --git a/net-misc/openssh-contrib/openssh-contrib-9.6_p1.ebuild 
b/net-misc/openssh-contrib/openssh-contrib-9.6_p1.ebuild
new file mode 100644
index ..4f323c2a427c
--- /dev/null
+++ b/net-misc/openssh-contrib/openssh-contrib-9.6_p1.ebuild
@@ -0,0 +1,504 @@
+# 

[gentoo-commits] repo/gentoo:master commit in: net-misc/openssh-contrib/

2024-02-06 Thread Patrick McLean
commit: 35dcf6991efbdb3b23eb97f0580c9d942a173da5
Author: Patrick McLean  gentoo  org>
AuthorDate: Wed Feb  7 00:21:23 2024 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Wed Feb  7 00:21:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35dcf699

net-misc/openssh-contrib: drop 9.3_p1, 9.3_p2, 9.4_p1-r1

Signed-off-by: Patrick McLean  gentoo.org>

 net-misc/openssh-contrib/Manifest  |  17 -
 .../openssh-contrib/openssh-contrib-9.3_p1.ebuild  | 532 -
 .../openssh-contrib/openssh-contrib-9.3_p2.ebuild  | 507 
 .../openssh-contrib-9.4_p1-r1.ebuild   | 506 
 4 files changed, 1562 deletions(-)

diff --git a/net-misc/openssh-contrib/Manifest 
b/net-misc/openssh-contrib/Manifest
index 18e3a686869b..d100d8f8abdc 100644
--- a/net-misc/openssh-contrib/Manifest
+++ b/net-misc/openssh-contrib/Manifest
@@ -1,23 +1,6 @@
-DIST openssh-8_5_P1-hpn-AES-CTR-15.2.diff 30096 BLAKE2B 
f0c020dd2403806c79d4c37a019996d275655b04997301e247f5c4dd7fad35d12b3b7c25afb1b078d915ef2a4ae02f736f0aec9ba2a8c56a405d7ca303bcadf7
 SHA512 
4c2dbf99a9b5953fdb955f700272bbaeaa025f108a8860d2190197962b849f8385327af82c4d6a3a130a7fba35a74a8ec9437d642867601acb29817c49632a8f
 DIST openssh-8_5_P1-hpn-DynWinNoneSwitch-15.2.diff 51428 BLAKE2B 
370b88a7da7f148bf5a4d445f05cf593b486e9df53bba027e2e179726f534b68cf9d94edd6e53024e0b6ff5f20e568727bc9d26c94d0d415603602a80d3ad241
 SHA512 
2d8d887901164b33b2799ff3ec72e86a39ae4a1696e52bcee0872dbae7772fcc534351e6e7f87126ee71b164c74e9091350f14b782f4b242a09f09b4f50d047a
 DIST openssh-8_5_P1-hpn-PeakTput-15.2.diff 2429 BLAKE2B 
849bf3c313719ab7a25c75e82d5dc5ac98365a038b2a66fe58d01eae5b20c258b94b5830e799d6909e75c69753cda05a910f3bdab9606fb7d5efa68e05f1
 SHA512 
c4a56fab55fabd1d902d45f235b603708d43f969920e45c9a57e557dccfa9cade2ec61f26d1ace938f6f73e79f17b12f119b5aea9166cbda8e3435b910500914
-DIST openssh-9.3_p1-X509-glue-14.1.1.patch.xz 936 BLAKE2B 
f1716ff7801a27aa2aad06f1cca2ca6988eef65fb0ddcbde483e5c9205506ca40b658f5c8c40b2625afb38ff9b56e40831eadcf751c8ee1c11f69ec559f3c147
 SHA512 
dace01bcf22b625cd00e18ce019b0be31b6f47f714845f3ebb98ebee41b4db0a769fa09cab63ea17536a7106ec90f2b15f87696ae49fa6f6e31bad94ae09719d
-DIST openssh-9.3_p1-hpn-15.2-X509-14.1.1-glue.patch.xz 6224 BLAKE2B 
47c7054648e8d795b0d9e563d8313242c917df8a3620a60cff2d77f9ae8482cec861244e0f1433f711922f0704b775b7183284960a3baa48a27b99979ad7ffa3
 SHA512 
728cf2586bcc9480afe71b5106e2286b925857a9e04dce79f744b36cbe3ec2844ac5b4a6bd4b64117f32ad1b04c0943b9d6f935eee826202871588ed9a167387
-DIST openssh-9.3_p1-hpn-15.2-glue.patch.xz 5044 BLAKE2B 
73205bd8f702612df7cb6f29e8b353df854428974dc20d5938033157da64418317f326ab8118893dc47173cd871dc7654a3e3ed601289744560becc98729cd3f
 SHA512 
343b77109158b9af5d8d57f4ac7968bce8277fa3b4dcaa19b76593620fbddbfa832bd76c0da52e12179fe5f391f9fef67e7af51b138ab8cc69a8a6471b6a3909
-DIST openssh-9.3_p2-X509-glue-14.1.1.patch.xz 116132 BLAKE2B 
7e2b5aa4569a27943cb701dccbca8224e64130a4bce46ce8ba7978a93d3a410fe46957694475fafd51177dbbefa28fc613d9bf69aa436541b03e83dc9b9497ba
 SHA512 
df67a40f27c8af029c3d84e44bd74115e16bfe98efc039bd1f5661c22c5ab1213c2970a80c017775e828f6c5b4e2e815eff28c745888b0dba1ef6c259943ba20
-DIST openssh-9.3_p2-hpn-15.2-X509-14.1.1-glue.patch.xz 5056 BLAKE2B 
aea1d9dd10abb5dd85d304fb4a415c5fb8b237dd82d8f39c092622d85b51751336f18bff5feb80e9a165e171b92f471272210d926327a649961eb640cb8b
 SHA512 
6d384ad9b3bebc4b90550e089b6c3c8d2959880a2510bea5bd7d723dd831815929dbf67a882105f22b3dd2eef6ed82dea89343175499a57d8e0f6b56ec6abfd6
 DIST openssh-9.3_p2-hpn-15.2-glue.patch.xz 4728 BLAKE2B 
9e3c04a289d0a94b03b871027f4f8476e3981602f5a2d9ac8a8602e08d01248a72c48126ff53a174c8dc95f6bd8608ba75bbc74f5eb427e4ecbe7c7794c7c200
 SHA512 
bb42d001f89b8eb3a5af813d4c526548e13467deeb2811384b473e61c86e6e766aabb9652867953c0f979533ea7045c424298f11df4faf05e43fb8b1f439
-DIST openssh-9.3p1+x509-14.1.1.diff.gz 1221335 BLAKE2B 
9203fbb6955fe44ebd7ed031245a90b8df7e149a6ad3205097ffd5d2d7655a0e6b8cd2e20d7f7216fbc6d3e8bd0a1453f3fc028f04e96c0f244ad0772a0e30ab
 SHA512 
8a1036d680d25f99e1a24ea77a2c303e807c0f5c5323043684da9fcc9ff603f80384688935a654cc97216f84f85f00f590dc35d2ee2b1f0fb169f8b427559b2d
-DIST openssh-9.3p1-sctp-1.2.patch.xz 6836 BLAKE2B 
d12394ecaa7eca6e0b3590cea83b71537edc3230bc5f7b2992a06a67c77247cc4156be0ba151038a5baee1c3f105f76f1917cc5aad08d1aadadfd6e56858781b
 SHA512 
ba5af014e5b825bf4a57368416a15c6e56afd355780e4c5eab44a396c3f4276ac4d813c5c15b83f3b8edf4763855221743796c038433b292fda9417f0b274a71
-DIST openssh-9.3p1.tar.gz 1856839 BLAKE2B 
45578edf98bba3d23c7cefe60d8a7d3079e7c6676459f7422ace7a2461ab96943fbcadb478633a80f40bc098f2435722850b563714adb78b14922be53cb5753d
 SHA512 
087ff6fe5f6caab4c6c3001d906399e02beffad7277280f11187420c2939fd4befdcb14643862a657ce4cad2f115b82a0a1a2c99df6ee54dcd76b53647637c19
-DIST openssh-9.3p1.tar.gz.asc 833 BLAKE2B 

[gentoo-commits] repo/gentoo:master commit in: profiles/

2024-02-06 Thread Sam James
commit: 99d038c012d303ba972628436e1a8b19022aa2c7
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb  7 00:00:39 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb  7 00:00:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99d038c0

profiles: fix ArchesOutOfSync for x86-macos

Followup to:
* 854887066c3d32ae4961f9eb29a91a8d1785d26c 
(profiles/prefix/darwin/macos/10.5/x86: add gcc sub-profile)
* 3788eef280dcff5d415b4b1c3af1c1e58767a0b1 (profiles: restore 32-bits Intel Mac 
OS X 10.5 profile)

This fixes the following from pkgcheck (and a new warning in CI -> PRs fail):
```
ArchesOutOfSync 'profiles/arches.desc' is out of sync with 'arch.list', 
arch: x86-macos
```

Signed-off-by: Sam James  gentoo.org>

 profiles/arches.desc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/profiles/arches.desc b/profiles/arches.desc
index 814592ed9298..965e36c6c0c1 100644
--- a/profiles/arches.desc
+++ b/profiles/arches.desc
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # This file specifies keyword level for profiles
@@ -36,6 +36,7 @@ riscv-linux   testing
 x86-linux  testing
 arm64-macostesting
 ppc-macos  testing
+x86-macos  testing
 x64-macos  testing
 x64-solaristesting
 



[gentoo-commits] repo/gentoo:master commit in: net-firewall/iptables/

2024-02-06 Thread Sam James
commit: 4fc9966a33ed4f82e6c10f3dc518326fa1063cde
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue Feb  6 15:29:48 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 22:49:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fc9966a

net-firewall/iptables: remove usr-ldscript support

Per news item 2024-01-05-usr-initramfs, we no longer support this use
case. It is fragile and hacky and leads to bizarre forms of load errors.

The functionality is, despite being called "split-usr", not really about
split-usr at all.

[sam: Add bug #332175 and bug #498878 ref.]

Bug: https://bugs.gentoo.org/332175
Bug: https://bugs.gentoo.org/498878
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 .../iptables/{iptables-1.8.9-r1.ebuild => iptables-1.8.9-r2.ebuild}  | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/net-firewall/iptables/iptables-1.8.9-r1.ebuild 
b/net-firewall/iptables/iptables-1.8.9-r2.ebuild
similarity index 96%
rename from net-firewall/iptables/iptables-1.8.9-r1.ebuild
rename to net-firewall/iptables/iptables-1.8.9-r2.ebuild
index 44f377b5bfab..1c867f287d83 100644
--- a/net-firewall/iptables/iptables-1.8.9-r1.ebuild
+++ b/net-firewall/iptables/iptables-1.8.9-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit systemd toolchain-funcs autotools flag-o-matic usr-ldscript
+inherit systemd toolchain-funcs autotools flag-o-matic
 
 DESCRIPTION="Linux kernel (2.4+) firewall, NAT and packet mangling tools"
 HOMEPAGE="https://www.netfilter.org/projects/iptables/;
@@ -131,9 +131,6 @@ src_install() {
 
systemd_dounit "${FILESDIR}"/systemd/ip{,6}tables-{re,}store.service
 
-   # Move important libs to /lib, bug #332175
-   gen_usr_ldscript -a ip{4,6}tc xtables
-
find "${ED}" -type f -name "*.la" -delete || die
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/acl/

2024-02-06 Thread Sam James
commit: 5d9a3b86d97e1af3b2db9534d6f4a3f5675d4fb7
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue Feb  6 13:17:37 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 22:49:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d9a3b86

sys-apps/acl: remove usr-ldscript support

Per news item 2024-01-05-usr-initramfs, we no longer support this use
case. It is fragile and hacky and leads to bizarre forms of load errors.

The functionality is, despite being called "split-usr", not really about
split-usr at all.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sys-apps/acl/{acl-2.3.2.ebuild => acl-2.3.2-r1.ebuild} | 9 +
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/sys-apps/acl/acl-2.3.2.ebuild b/sys-apps/acl/acl-2.3.2-r1.ebuild
similarity index 89%
rename from sys-apps/acl/acl-2.3.2.ebuild
rename to sys-apps/acl/acl-2.3.2-r1.ebuild
index 1143bebd9578..83ade1a687c9 100644
--- a/sys-apps/acl/acl-2.3.2.ebuild
+++ b/sys-apps/acl/acl-2.3.2-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit flag-o-matic libtool multilib-minimal usr-ldscript
+inherit flag-o-matic libtool multilib-minimal
 
 DESCRIPTION="Access control list utilities, libraries, and headers"
 HOMEPAGE="https://savannah.nongnu.org/projects/acl;
@@ -48,13 +48,6 @@ multilib_src_test() {
multilib_is_native_abi && default
 }
 
-multilib_src_install() {
-   default
-
-   # Move shared libs to /
-   gen_usr_ldscript -a acl
-}
-
 multilib_src_install_all() {
if ! use static-libs ; then
find "${ED}" -type f -name "*.la" -delete || die



[gentoo-commits] repo/gentoo:master commit in: app-arch/bzip2/

2024-02-06 Thread Sam James
commit: 8e743d1447aae739cde59171911ed75d6cf09f7e
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue Feb  6 05:54:35 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 22:49:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e743d14

app-arch/bzip2: remove usr-ldscript support

Per news item 2024-01-05-usr-initramfs, we no longer support this use
case. It is fragile and hacky and leads to bizarre forms of load errors.

The functionality is, despite being called "split-usr", not really about
split-usr at all.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 app-arch/bzip2/bzip2-1.0.8-r5.ebuild | 133 +++
 1 file changed, 133 insertions(+)

diff --git a/app-arch/bzip2/bzip2-1.0.8-r5.ebuild 
b/app-arch/bzip2/bzip2-1.0.8-r5.ebuild
new file mode 100644
index ..5a099bc96f1d
--- /dev/null
+++ b/app-arch/bzip2/bzip2-1.0.8-r5.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# XXX: atm, libbz2.a is always PIC :(, so it is always built quickly
+#  (since we're building shared libs) ...
+
+EAPI=7
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/bzip2.gpg
+inherit toolchain-funcs multilib multilib-minimal verify-sig
+
+DESCRIPTION="A high-quality data compressor used extensively by Gentoo Linux"
+HOMEPAGE="https://sourceware.org/bzip2/;
+SRC_URI="https://sourceware.org/pub/${PN}/${P}.tar.gz;
+SRC_URI+=" verify-sig? ( https://sourceware.org/pub/${PN}/${P}.tar.gz.sig )"
+
+LICENSE="BZIP2"
+SLOT="0/1" # subslot = SONAME
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~arm64-macos"
+IUSE="static static-libs"
+
+BDEPEND="
+   verify-sig? ( sec-keys/openpgp-keys-bzip2 )
+"
+PDEPEND="
+   app-alternatives/bzip2
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.0.4-makefile-CFLAGS.patch
+   "${FILESDIR}"/${PN}-1.0.8-saneso.patch
+   "${FILESDIR}"/${PN}-1.0.4-man-links.patch #172986
+   "${FILESDIR}"/${PN}-1.0.6-progress.patch
+   "${FILESDIR}"/${PN}-1.0.3-no-test.patch
+   "${FILESDIR}"/${PN}-1.0.8-mingw.patch #393573
+   "${FILESDIR}"/${PN}-1.0.8-out-of-tree-build.patch
+)
+
+DOCS=( CHANGES README{,.COMPILATION.PROBLEMS,.XML.STUFF} manual.pdf )
+HTML_DOCS=( manual.html )
+
+src_prepare() {
+   default
+
+   # - Use right man path
+   # - Generate symlinks instead of hardlinks
+   # - pass custom variables to control libdir
+   sed -i \
+   -e 's:\$(PREFIX)/man:\$(PREFIX)/share/man:g' \
+   -e 's:ln -s -f $(PREFIX)/bin/:ln -s -f :' \
+   -e 's:$(PREFIX)/lib:$(PREFIX)/$(LIBDIR):g' \
+   Makefile || die
+}
+
+bemake() {
+   emake \
+   VPATH="${S}" \
+   CC="$(tc-getCC)" \
+   AR="$(tc-getAR)" \
+   RANLIB="$(tc-getRANLIB)" \
+   "$@"
+}
+
+multilib_src_compile() {
+   bemake -f "${S}"/Makefile-libbz2_so all
+   # Make sure we link against the shared lib #504648
+   ln -s libbz2.so.${PV} libbz2.so || die
+   bemake -f "${S}"/Makefile all LDFLAGS="${LDFLAGS} $(usex static -static 
'')"
+}
+
+multilib_src_test() {
+   cp "${S}"/sample* "${BUILD_DIR}" || die
+   bemake -f "${S}"/Makefile check
+}
+
+multilib_src_install() {
+   into /usr
+
+   # Install the shared lib manually.  We install:
+   #  .x.x.x - standard shared lib behavior
+   #  .x.x   - SONAME some distros use #338321
+   #  .x - SONAME Gentoo uses
+   dolib.so libbz2.so.${PV}
+   local v
+   for v in libbz2.so{,.{${PV%%.*},${PV%.*}}} ; do
+   dosym libbz2.so.${PV} /usr/$(get_libdir)/${v}
+   done
+
+   use static-libs && dolib.a libbz2.a
+
+   if multilib_is_native_abi ; then
+   dobin bzip2recover$(get_exeext)
+   into /
+   newbin bzip2$(get_exeext) bzip2-reference$(get_exeext)
+   fi
+}
+
+multilib_src_install_all() {
+   # `make install` doesn't cope with out-of-tree builds, nor with
+   # installing just non-binaries, so handle things ourselves.
+   insinto /usr/include
+   doins bzlib.h
+   into /usr
+   dobin bz{diff,grep,more}
+   doman bz{diff,grep,more}.1
+   newman bzip2.1 bzip2-reference.1
+
+   dosym bzdiff /usr/bin/bzcmp
+   dosym bzdiff.1 /usr/share/man/man1/bzcmp.1
+
+   dosym bzmore /usr/bin/bzless
+   dosym bzmore.1 /usr/share/man/man1/bzless.1
+
+   dosym bzip2-reference.1 /usr/share/man/man1/bzip2recover.1
+   local x
+   for x in bz{e,f}grep ; do
+   dosym bzgrep /usr/bin/${x}
+   dosym bzgrep.1 /usr/share/man/man1/${x}.1
+   done
+
+   einstalldocs
+}
+
+pkg_postinst() {
+   # ensure to preserve the symlinks before app-alternatives/bzip2
+   # is installed
+   local x
+   for x in 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpcre2/

2024-02-06 Thread Sam James
commit: f3a9792fdf7bcdf559adc43f563cc4886c208cee
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue Feb  6 05:38:03 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 22:49:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3a9792f

dev-libs/libpcre2: remove usr-ldscript support

Per news item 2024-01-05-usr-initramfs, we no longer support this use
case. It is fragile and hacky and leads to bizarre forms of load errors.

The functionality is, despite being called "split-usr", not really about
split-usr at all.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 ...bpcre2-10.43_rc1.ebuild => libpcre2-10.42-r2.ebuild} | 17 ++---
 dev-libs/libpcre2/libpcre2-10.43_rc1.ebuild |  3 +--
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/dev-libs/libpcre2/libpcre2-10.43_rc1.ebuild 
b/dev-libs/libpcre2/libpcre2-10.42-r2.ebuild
similarity index 75%
copy from dev-libs/libpcre2/libpcre2-10.43_rc1.ebuild
copy to dev-libs/libpcre2/libpcre2-10.42-r2.ebuild
index f12355bd6b9e..881a0b37bcba 100644
--- a/dev-libs/libpcre2/libpcre2-10.43_rc1.ebuild
+++ b/dev-libs/libpcre2/libpcre2-10.42-r2.ebuild
@@ -4,21 +4,26 @@
 EAPI=7
 
 VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/philiphazel.asc
-inherit libtool multilib-minimal usr-ldscript verify-sig
+inherit libtool multilib-minimal verify-sig
 
 MY_P="pcre2-${PV/_rc/-RC}"
 
 DESCRIPTION="Perl-compatible regular expression library"
 HOMEPAGE="https://www.pcre.org/;
-SRC_URI="https://github.com/PCRE2Project/pcre2/releases/download/${MY_P}/${MY_P}.tar.bz2
-   https://ftp.pcre.org/pub/pcre/${MY_P}.tar.bz2
-   verify-sig? ( 
https://github.com/PCRE2Project/pcre2/releases/download/${MY_P}/${MY_P}.tar.bz2.sig
 )"
+if [[ ${PV} != *_rc* ]] ; then
+   # Only the final releases are available here.
+   
SRC_URI="https://github.com/PCRE2Project/pcre2/releases/download/${MY_P}/${MY_P}.tar.bz2
+   https://ftp.pcre.org/pub/pcre/${MY_P}.tar.bz2
+   verify-sig? ( 
https://github.com/PCRE2Project/pcre2/releases/download/${MY_P}/${MY_P}.tar.bz2.sig
 )"
+else
+   SRC_URI="https://ftp.pcre.org/pub/pcre/Testing/${MY_P}.tar.bz2;
+fi
 
 S="${WORKDIR}/${MY_P}"
 
 LICENSE="BSD"
 SLOT="0/3" # libpcre2-posix.so version
-#KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos ~x64-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos ~x64-solaris"
 IUSE="bzip2 +jit libedit +pcre16 +pcre32 +readline static-libs unicode 
valgrind zlib"
 REQUIRED_USE="?? ( libedit readline )"
 
@@ -43,7 +48,6 @@ MULTILIB_CHOST_TOOLS=(
 
 PATCHES=(
"${FILESDIR}"/${PN}-10.10-000-Fix-multilib.patch
-   "${FILESDIR}"/${PN}-10.43-fix-loong-sljit.patch
 )
 
 src_prepare() {
@@ -85,7 +89,6 @@ multilib_src_install() {
DESTDIR="${D}" \
$(multilib_is_native_abi || echo "bin_PROGRAMS= 
dist_html_DATA=") \
install
-   multilib_is_native_abi && gen_usr_ldscript -a pcre2-posix pcre2-8
 }
 
 multilib_src_install_all() {

diff --git a/dev-libs/libpcre2/libpcre2-10.43_rc1.ebuild 
b/dev-libs/libpcre2/libpcre2-10.43_rc1.ebuild
index f12355bd6b9e..426be94c00e7 100644
--- a/dev-libs/libpcre2/libpcre2-10.43_rc1.ebuild
+++ b/dev-libs/libpcre2/libpcre2-10.43_rc1.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/philiphazel.asc
-inherit libtool multilib-minimal usr-ldscript verify-sig
+inherit libtool multilib-minimal verify-sig
 
 MY_P="pcre2-${PV/_rc/-RC}"
 
@@ -85,7 +85,6 @@ multilib_src_install() {
DESTDIR="${D}" \
$(multilib_is_native_abi || echo "bin_PROGRAMS= 
dist_html_DATA=") \
install
-   multilib_is_native_abi && gen_usr_ldscript -a pcre2-posix pcre2-8
 }
 
 multilib_src_install_all() {



[gentoo-commits] repo/gentoo:master commit in: sys-apps/util-linux/

2024-02-06 Thread Sam James
commit: 077a7b0c85c80d1ca837e4838cb7f7aa9dd8adf1
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue Feb  6 05:12:28 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 22:49:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=077a7b0c

sys-apps/util-linux: sync live

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sys-apps/util-linux/util-linux-.ebuild | 20 
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/sys-apps/util-linux/util-linux-.ebuild 
b/sys-apps/util-linux/util-linux-.ebuild
index ad0a0bbd4117..f0f5f21353c8 100644
--- a/sys-apps/util-linux/util-linux-.ebuild
+++ b/sys-apps/util-linux/util-linux-.ebuild
@@ -55,8 +55,10 @@ RDEPEND="
rtas? ( sys-libs/librtas )
selinux? ( >=sys-libs/libselinux-2.2.2-r4[${MULTILIB_USEDEP}] )
slang? ( sys-libs/slang )
-   !build? ( systemd? ( sys-apps/systemd ) )
-   udev? ( virtual/libudev:= )
+   !build? (
+   systemd? ( sys-apps/systemd )
+   udev? ( virtual/libudev:= )
+   )
 "
 BDEPEND="
virtual/pkgconfig
@@ -213,8 +215,6 @@ multilib_src_configure() {
$(multilib_native_use_enable suid makeinstall-setuid)
$(multilib_native_use_with readline)
$(multilib_native_use_with slang)
-   $(multilib_native_use_with systemd)
-   $(multilib_native_use_with udev)
$(multilib_native_usex ncurses "$(use_with magic libmagic)" 
'--without-libmagic')
$(multilib_native_usex ncurses "$(use_with unicode ncursesw)" 
'--without-ncursesw')
$(multilib_native_usex ncurses "$(use_with !unicode ncurses)" 
'--without-ncurses')
@@ -228,6 +228,18 @@ multilib_src_configure() {
$(use_with selinux)
)
 
+   if use build ; then
+   myeconfargs+=(
+   --without-systemd
+   --without-udev
+   )
+   else
+   myeconfargs+=(
+   $(multilib_native_use_with systemd)
+   $(multilib_native_use_with udev)
+   )
+   fi
+
if multilib_is_native_abi ; then
myeconfargs+=(
--disable-chfn-chsh



[gentoo-commits] repo/gentoo:master commit in: app-arch/zstd/

2024-02-06 Thread Sam James
commit: b0655eb884a394fdd8048617bb8be74adc5e
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue Feb  6 05:13:57 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 22:49:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0655eb8

app-arch/zstd: remove usr-ldscript support

Per news item 2024-01-05-usr-initramfs, we no longer support this use
case. It is fragile and hacky and leads to bizarre forms of load errors.

The functionality is, despite being called "split-usr", not really about
split-usr at all.

[sam: Added bug #771078 ref.]
[sam: See also 
https://github.com/trofi/nix-guix-gentoo/commit/8f194519982fbfabb6b3ca84c0806b1a379b5d06
 and
https://github.com/trofi/nix-guix-gentoo/commit/43d84cc00af530ef912d9c98448b64d6b5282907].

Bug: https://bugs.gentoo.org/771078
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 app-arch/zstd/zstd-1.5.5-r1.ebuild | 67 ++
 1 file changed, 67 insertions(+)

diff --git a/app-arch/zstd/zstd-1.5.5-r1.ebuild 
b/app-arch/zstd/zstd-1.5.5-r1.ebuild
new file mode 100644
index ..0b0fac3c180d
--- /dev/null
+++ b/app-arch/zstd/zstd-1.5.5-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson-multilib
+
+DESCRIPTION="zstd fast compression library"
+HOMEPAGE="https://facebook.github.io/zstd/;
+SRC_URI="https://github.com/facebook/zstd/releases/download/v${PV}/${P}.tar.gz;
+S="${WORKDIR}"/${P}/build/meson
+
+LICENSE="|| ( BSD GPL-2 )"
+SLOT="0/1"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos ~x64-solaris"
+IUSE="+lzma lz4 static-libs test zlib"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   lzma? ( app-arch/xz-utils )
+   lz4? ( app-arch/lz4:= )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="${RDEPEND}"
+
+MESON_PATCHES=(
+   # Workaround until Valgrind bugfix lands
+   "${FILESDIR}"/${PN}-1.5.4-no-find-valgrind.patch
+)
+
+PATCHES=(
+)
+
+src_prepare() {
+   cd "${WORKDIR}"/${P} || die
+   default
+
+   cd "${S}" || die
+   eapply "${MESON_PATCHES[@]}"
+}
+
+multilib_src_configure() {
+   local native_file="${T}"/meson.${CHOST}.${ABI}.ini.local
+
+   # This replaces the no-find-valgrind patch once bugfix lands in a meson
+   # release + we can BDEPEND on it 
(https://github.com/mesonbuild/meson/pull/11372)
+   cat >> ${native_file} <<-EOF || die
+   [binaries]
+   valgrind='valgrind-falseified'
+   EOF
+
+   local emesonargs=(
+   -Ddefault_library=$(multilib_native_usex static-libs both 
shared)
+
+   $(meson_native_true bin_programs)
+   $(meson_native_true bin_contrib)
+   $(meson_use test bin_tests)
+
+   $(meson_native_use_feature zlib)
+   $(meson_native_use_feature lzma)
+   $(meson_native_use_feature lz4)
+
+   --native-file "${native_file}"
+   )
+
+   meson_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/systemd-utils/

2024-02-06 Thread Sam James
commit: 30235e135141bc279499b601e03550274707dfe7
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue Feb  6 07:45:35 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 22:49:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30235e13

sys-apps/systemd-utils: remove usr-ldscript support

Per news item 2024-01-05-usr-initramfs, we no longer support this use
case. It is fragile and hacky and leads to bizarre forms of load errors.

The functionality is, despite being called "split-usr", not really about
split-usr at all.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 .../{systemd-utils-254.9.ebuild => systemd-utils-254.9-r1.ebuild}  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys-apps/systemd-utils/systemd-utils-254.9.ebuild 
b/sys-apps/systemd-utils/systemd-utils-254.9-r1.ebuild
similarity index 99%
rename from sys-apps/systemd-utils/systemd-utils-254.9.ebuild
rename to sys-apps/systemd-utils/systemd-utils-254.9-r1.ebuild
index 0f7730c67c88..e0ac974de10f 100644
--- a/sys-apps/systemd-utils/systemd-utils-254.9.ebuild
+++ b/sys-apps/systemd-utils/systemd-utils-254.9-r1.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{10..12} )
 QA_PKGCONFIG_VERSION=$(ver_cut 1)
 
 inherit bash-completion-r1 flag-o-matic linux-info meson-multilib optfeature
-inherit python-single-r1 secureboot toolchain-funcs udev usr-ldscript
+inherit python-single-r1 secureboot toolchain-funcs udev
 
 DESCRIPTION="Utilities split out from systemd for OpenRC users"
 HOMEPAGE="https://systemd.io/;
@@ -494,7 +494,6 @@ multilib_src_install() {
fi
if use udev; then
meson_install --no-rebuild --tags libudev
-   gen_usr_ldscript -a udev
insinto "/usr/$(get_libdir)/pkgconfig"
doins src/libudev/libudev.pc
fi



[gentoo-commits] repo/gentoo:master commit in: sys-apps/attr/

2024-02-06 Thread Sam James
commit: c2aab29d5dad2191f966d19e094d20d9b1b69aab
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue Feb  6 13:15:10 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 22:49:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2aab29d

sys-apps/attr: remove usr-ldscript support

Per news item 2024-01-05-usr-initramfs, we no longer support this use
case. It is fragile and hacky and leads to bizarre forms of load errors.

The functionality is, despite being called "split-usr", not really about
split-usr at all.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sys-apps/attr/{attr-2.5.2.ebuild => attr-2.5.2-r1.ebuild} | 7 +--
 sys-apps/attr/attr-.ebuild| 7 +--
 2 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/sys-apps/attr/attr-2.5.2.ebuild 
b/sys-apps/attr/attr-2.5.2-r1.ebuild
similarity index 89%
rename from sys-apps/attr/attr-2.5.2.ebuild
rename to sys-apps/attr/attr-2.5.2-r1.ebuild
index 0c5a2dce3464..8aac35056b3e 100644
--- a/sys-apps/attr/attr-2.5.2.ebuild
+++ b/sys-apps/attr/attr-2.5.2-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit multilib-minimal usr-ldscript
+inherit multilib-minimal
 
 if [[ ${PV} ==  ]] ; then
EGIT_REPO_URI="https://git.savannah.gnu.org/git/${PN}.git;
@@ -53,11 +53,6 @@ multilib_src_configure() {
 multilib_src_install() {
emake DESTDIR="${D}" install
 
-   if multilib_is_native_abi; then
-   # We install attr into /bin, so we need the shared lib with it
-   gen_usr_ldscript -a attr
-   fi
-
# Add a wrapper until people upgrade.
# TODO: figure out when this was added & when we can drop it!
insinto /usr/include/attr

diff --git a/sys-apps/attr/attr-.ebuild b/sys-apps/attr/attr-.ebuild
index 0c5a2dce3464..8aac35056b3e 100644
--- a/sys-apps/attr/attr-.ebuild
+++ b/sys-apps/attr/attr-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit multilib-minimal usr-ldscript
+inherit multilib-minimal
 
 if [[ ${PV} ==  ]] ; then
EGIT_REPO_URI="https://git.savannah.gnu.org/git/${PN}.git;
@@ -53,11 +53,6 @@ multilib_src_configure() {
 multilib_src_install() {
emake DESTDIR="${D}" install
 
-   if multilib_is_native_abi; then
-   # We install attr into /bin, so we need the shared lib with it
-   gen_usr_ldscript -a attr
-   fi
-
# Add a wrapper until people upgrade.
# TODO: figure out when this was added & when we can drop it!
insinto /usr/include/attr



[gentoo-commits] repo/gentoo:master commit in: sys-apps/util-linux/

2024-02-06 Thread Sam James
commit: e9a7d7be53452e2c0d85579eed3454cedfe28316
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue Feb  6 05:03:51 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 22:49:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9a7d7be

sys-apps/util-linux: remove usr-ldscript support

Per news item 2024-01-05-usr-initramfs, we no longer support this use
case. It is fragile and hacky and leads to bizarre forms of load errors.

The functionality is, despite being called "split-usr", not really about
split-usr at all.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 .../{util-linux-2.39.3-r1.ebuild => util-linux-2.39.3-r2.ebuild}   | 7 +--
 sys-apps/util-linux/util-linux-.ebuild | 7 +--
 2 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/sys-apps/util-linux/util-linux-2.39.3-r1.ebuild 
b/sys-apps/util-linux/util-linux-2.39.3-r2.ebuild
similarity index 98%
rename from sys-apps/util-linux/util-linux-2.39.3-r1.ebuild
rename to sys-apps/util-linux/util-linux-2.39.3-r2.ebuild
index 6d2aa61d4365..bea51fe15f33 100644
--- a/sys-apps/util-linux/util-linux-2.39.3-r1.ebuild
+++ b/sys-apps/util-linux/util-linux-2.39.3-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{10..11} )
 
-inherit toolchain-funcs libtool flag-o-matic bash-completion-r1 usr-ldscript \
+inherit toolchain-funcs libtool flag-o-matic bash-completion-r1 \
pam python-r1 multilib-minimal multiprocessing systemd
 
 MY_PV="${PV/_/-}"
@@ -356,11 +356,6 @@ multilib_src_install() {
 
# This needs to be called AFTER python_install call, bug #689190
emake DESTDIR="${D}" install
-
-   if multilib_is_native_abi ; then
-   # Need the libs in /
-   gen_usr_ldscript -a blkid fdisk mount smartcols uuid
-   fi
 }
 
 multilib_src_install_all() {

diff --git a/sys-apps/util-linux/util-linux-.ebuild 
b/sys-apps/util-linux/util-linux-.ebuild
index d7b81f31df52..ad0a0bbd4117 100644
--- a/sys-apps/util-linux/util-linux-.ebuild
+++ b/sys-apps/util-linux/util-linux-.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{10..11} )
 
-inherit toolchain-funcs libtool flag-o-matic bash-completion-r1 usr-ldscript \
+inherit toolchain-funcs libtool flag-o-matic bash-completion-r1 \
pam python-r1 multilib-minimal multiprocessing systemd
 
 MY_PV="${PV/_/-}"
@@ -334,11 +334,6 @@ multilib_src_install() {
 
# This needs to be called AFTER python_install call, bug #689190
emake DESTDIR="${D}" install
-
-   if multilib_is_native_abi ; then
-   # Need the libs in /
-   gen_usr_ldscript -a blkid fdisk mount smartcols uuid
-   fi
 }
 
 multilib_src_install_all() {



[gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib/

2024-02-06 Thread Sam James
commit: f9efb6a33633d85afc85372f0a2f92516b20294f
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue Feb  6 05:50:41 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 22:44:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9efb6a3

sys-libs/zlib: remove usr-ldscript support

Per news item 2024-01-05-usr-initramfs, we no longer support this use
case. It is fragile and hacky and leads to bizarre forms of load errors.

The functionality is, despite being called "split-usr", not really about
split-usr at all.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sys-libs/zlib/{zlib-1.3-r3.ebuild => zlib-1.3-r4.ebuild}  | 3 +--
 sys-libs/zlib/{zlib-1.3.1.ebuild => zlib-1.3.1-r1.ebuild} | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/sys-libs/zlib/zlib-1.3-r3.ebuild b/sys-libs/zlib/zlib-1.3-r4.ebuild
similarity index 97%
rename from sys-libs/zlib/zlib-1.3-r3.ebuild
rename to sys-libs/zlib/zlib-1.3-r4.ebuild
index 1c7cc6d899c1..5ec332438f41 100644
--- a/sys-libs/zlib/zlib-1.3-r3.ebuild
+++ b/sys-libs/zlib/zlib-1.3-r4.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 # Worth keeping an eye on 'develop' branch upstream for possible backports.
 AUTOTOOLS_AUTO_DEPEND="no"
 VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/madler.asc
-inherit autotools edo multilib-minimal flag-o-matic usr-ldscript verify-sig
+inherit autotools edo multilib-minimal flag-o-matic verify-sig
 
 DESCRIPTION="Standard (de)compression library"
 HOMEPAGE="https://zlib.net/;
@@ -145,7 +145,6 @@ multilib_src_install() {
 
*)
emake install DESTDIR="${D}" LDCONFIG=:
-   gen_usr_ldscript -a z
 
;;
esac

diff --git a/sys-libs/zlib/zlib-1.3.1.ebuild 
b/sys-libs/zlib/zlib-1.3.1-r1.ebuild
similarity index 97%
rename from sys-libs/zlib/zlib-1.3.1.ebuild
rename to sys-libs/zlib/zlib-1.3.1-r1.ebuild
index f12a76540f6e..fb44717aca45 100644
--- a/sys-libs/zlib/zlib-1.3.1.ebuild
+++ b/sys-libs/zlib/zlib-1.3.1-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 # Worth keeping an eye on 'develop' branch upstream for possible backports.
 AUTOTOOLS_AUTO_DEPEND="no"
 VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/madler.asc
-inherit autotools edo multilib-minimal flag-o-matic usr-ldscript verify-sig
+inherit autotools edo multilib-minimal flag-o-matic verify-sig
 
 DESCRIPTION="Standard (de)compression library"
 HOMEPAGE="https://zlib.net/;
@@ -142,7 +142,6 @@ multilib_src_install() {
 
*)
emake install DESTDIR="${D}" LDCONFIG=:
-   gen_usr_ldscript -a z
 
;;
esac



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpcre/

2024-02-06 Thread Sam James
commit: ff636eaf95bdba9d2769397b2865f2f8c428f223
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue Feb  6 15:51:51 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 22:44:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff636eaf

dev-libs/libpcre: do a full autoreconf

elibtoolize is not good enough for this software because it uses a
random libtool version, so patches don't tend to apply.

Fixes QA warnings for failing to respect -frecord-gcc-switches.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libpcre/libpcre-8.45-r3.ebuild | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libpcre/libpcre-8.45-r3.ebuild 
b/dev-libs/libpcre/libpcre-8.45-r3.ebuild
index b64c66f82555..006e23369ba2 100644
--- a/dev-libs/libpcre/libpcre-8.45-r3.ebuild
+++ b/dev-libs/libpcre/libpcre-8.45-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit libtool multilib-minimal preserve-libs
+inherit autotools multilib-minimal preserve-libs
 
 DESCRIPTION="Perl-compatible regular expression library"
 HOMEPAGE="http://www.pcre.org/;
@@ -54,7 +54,12 @@ src_prepare() {
default
 
sed -i -e "s:-lpcre ::" libpcrecpp.pc.in || die
-   elibtoolize
+
+   # We do a full autoreconf because:
+   # - the software is end of life and never getting new dist tarballs
+   # - it uses a frankensteined "2.4.6.42-b88ce-dirty" libtool, which
+   #   means elibtoolize can't find patches to apply
+   eautoreconf
 }
 
 multilib_src_configure() {



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpcre/

2024-02-06 Thread Sam James
commit: 8bbe6864e419afdc494ca2f20e77072363a259d3
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue Feb  6 15:34:21 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 22:44:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bbe6864

dev-libs/libpcre: remove usr-ldscript support

Per news item 2024-01-05-usr-initramfs, we no longer support this use
case. It is fragile and hacky and leads to bizarre forms of load errors.

The functionality is, despite being called "split-usr", not really about
split-usr at all.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libpcre/libpcre-8.45-r3.ebuild | 104 
 1 file changed, 104 insertions(+)

diff --git a/dev-libs/libpcre/libpcre-8.45-r3.ebuild 
b/dev-libs/libpcre/libpcre-8.45-r3.ebuild
new file mode 100644
index ..b64c66f82555
--- /dev/null
+++ b/dev-libs/libpcre/libpcre-8.45-r3.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit libtool multilib-minimal preserve-libs
+
+DESCRIPTION="Perl-compatible regular expression library"
+HOMEPAGE="http://www.pcre.org/;
+MY_P="pcre-${PV/_rc/-RC}"
+if [[ ${PV} != *_rc* ]] ; then
+   # Only the final releases are available here.
+   SRC_URI="
+   mirror://sourceforge/pcre/${MY_P}.tar.bz2
+   https://ftp.pcre.org/pub/pcre/${MY_P}.tar.bz2
+   
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2
+   "
+else
+   
SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2;
+fi
+
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="BSD"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x64-solaris"
+IUSE="bzip2 +cxx +jit libedit pcre16 pcre32 +readline static-libs unicode 
valgrind zlib"
+REQUIRED_USE="
+   readline? ( !libedit )
+   libedit? ( !readline )
+"
+
+RDEPEND="
+   bzip2? ( app-arch/bzip2 )
+   zlib? ( sys-libs/zlib )
+   libedit? ( dev-libs/libedit )
+   readline? ( sys-libs/readline:= )
+"
+DEPEND="
+   ${RDEPEND}
+   valgrind? ( dev-debug/valgrind )
+"
+BDEPEND="virtual/pkgconfig"
+
+MULTILIB_CHOST_TOOLS=(
+   /usr/bin/pcre-config
+)
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-8.45-fix-stack-size-detection.patch
+)
+
+src_prepare() {
+   default
+
+   sed -i -e "s:-lpcre ::" libpcrecpp.pc.in || die
+   elibtoolize
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   $(multilib_native_use_enable bzip2 pcregrep-libbz2)
+   $(use_enable cxx cpp)
+   $(use_enable jit)
+   $(use_enable jit pcregrep-jit)
+   $(use_enable pcre16)
+   $(use_enable pcre32)
+   $(multilib_native_use_enable libedit pcretest-libedit)
+   $(multilib_native_use_enable readline pcretest-libreadline)
+   $(use_enable static-libs static)
+   $(use_enable unicode utf)
+   $(use_enable unicode unicode-properties)
+   $(multilib_native_use_enable valgrind)
+   $(multilib_native_use_enable zlib pcregrep-libz)
+
+   --enable-pcre8
+   --enable-shared
+   )
+
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_compile() {
+   emake V=1 $(multilib_is_native_abi || echo "bin_PROGRAMS=")
+}
+
+multilib_src_install() {
+   emake \
+   DESTDIR="${D}" \
+   $(multilib_is_native_abi || echo "bin_PROGRAMS= 
dist_html_DATA=") \
+   install
+}
+
+multilib_src_install_all() {
+   find "${ED}" -type f -name "*.la" -delete || die
+}
+
+pkg_preinst() {
+   preserve_old_lib /$(get_libdir)/libpcre.so.0
+}
+
+pkg_postinst() {
+   preserve_old_lib_notify /$(get_libdir)/libpcre.so.0
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap/

2024-02-06 Thread Sam James
commit: 40b56acf8b8c9ee54ce6fee7c4c9b1c117f687a0
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue Feb  6 05:56:22 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 22:44:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40b56acf

sys-libs/libcap: remove usr-ldscript support

Per news item 2024-01-05-usr-initramfs, we no longer support this use
case. It is fragile and hacky and leads to bizarre forms of load errors.

The functionality is, despite being called "split-usr", not really about
split-usr at all.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap/libcap-2.69-r1.ebuild | 94 +++
 1 file changed, 94 insertions(+)

diff --git a/sys-libs/libcap/libcap-2.69-r1.ebuild 
b/sys-libs/libcap/libcap-2.69-r1.ebuild
new file mode 100644
index ..ee91b8f42d9c
--- /dev/null
+++ b/sys-libs/libcap/libcap-2.69-r1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multilib-minimal toolchain-funcs pam
+
+if [[ ${PV} == * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/libcap/libcap.git;
+else
+   
SRC_URI="https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${P}.tar.xz;
+
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+DESCRIPTION="POSIX 1003.1e capabilities"
+HOMEPAGE="https://sites.google.com/site/fullycapable/;
+
+# it's available under either of the licenses
+LICENSE="|| ( GPL-2 BSD )"
+SLOT="0"
+IUSE="pam static-libs tools"
+
+# While the build system optionally uses gperf, we don't DEPEND on it because
+# the build automatically falls back when it's unavailable.  #604802
+PDEPEND="pam? ( sys-libs/pam[${MULTILIB_USEDEP}] )"
+DEPEND="${PDEPEND}
+   sys-kernel/linux-headers"
+BDEPEND="
+   sys-apps/diffutils
+   tools? ( dev-lang/go )"
+
+QA_FLAGS_IGNORED="sbin/captree" # go binaries don't use LDFLAGS
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.62-ignore-RAISE_SETFCAP-install-failures.patch
+)
+
+src_prepare() {
+   default
+   multilib_copy_sources
+}
+
+run_emake() {
+   local args=(
+   AR="$(tc-getAR)"
+   CC="$(tc-getCC)"
+   OBJCOPY="$(tc-getOBJCOPY)"
+   RANLIB="$(tc-getRANLIB)"
+   exec_prefix="${EPREFIX}"
+   lib_prefix="${EPREFIX}/usr"
+   lib="$(get_libdir)"
+   prefix="${EPREFIX}/usr"
+   PAM_CAP="$(usex pam yes no)"
+   DYNAMIC=yes
+   GOLANG="$(multilib_native_usex tools yes no)"
+   )
+   emake "${args[@]}" "$@"
+}
+
+src_configure() {
+   tc-export_build_env BUILD_CC
+   multilib-minimal_src_configure
+}
+
+multilib_src_compile() {
+   run_emake
+}
+
+multilib_src_test() {
+   run_emake test
+}
+
+multilib_src_install() {
+   # no configure, needs explicit install line #444724#c3
+   run_emake DESTDIR="${D}" install
+
+   if ! use static-libs ; then
+   rm "${ED}"/usr/$(get_libdir)/lib{cap,psx}.a || die
+   fi
+
+   # install pam plugins ourselves
+   rm -rf "${ED}"/usr/$(get_libdir)/security || die
+
+   if use pam ; then
+   dopammod pam_cap/pam_cap.so
+   dopamsecurity '' pam_cap/capability.conf
+   fi
+}
+
+multilib_src_install_all() {
+   dodoc CHANGELOG README doc/capability.md
+}



[gentoo-commits] repo/gentoo:master commit in: app-arch/xz-utils/

2024-02-06 Thread Sam James
commit: b62b9e7ca8ec68c3a741690d291546a5949359e8
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue Feb  6 05:16:18 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 22:42:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b62b9e7c

app-arch/xz-utils: remove usr-ldscript support

Per news item 2024-01-05-usr-initramfs, we no longer support this use
case. It is fragile and hacky and leads to bizarre forms of load errors.

The functionality is, despite being called "split-usr", not really about
split-usr at all.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 .../xz-utils/{xz-utils-5.4.6.ebuild => xz-utils-5.4.6-r1.ebuild}  | 8 +---
 app-arch/xz-utils/xz-utils-5.5.1_alpha.ebuild | 8 +---
 app-arch/xz-utils/xz-utils-.ebuild| 8 +---
 3 files changed, 3 insertions(+), 21 deletions(-)

diff --git a/app-arch/xz-utils/xz-utils-5.4.6.ebuild 
b/app-arch/xz-utils/xz-utils-5.4.6-r1.ebuild
similarity index 97%
rename from app-arch/xz-utils/xz-utils-5.4.6.ebuild
rename to app-arch/xz-utils/xz-utils-5.4.6-r1.ebuild
index 10993a19d076..15cea9ec02c1 100644
--- a/app-arch/xz-utils/xz-utils-5.4.6.ebuild
+++ b/app-arch/xz-utils/xz-utils-5.4.6-r1.ebuild
@@ -6,7 +6,7 @@
 
 EAPI=8
 
-inherit flag-o-matic libtool multilib multilib-minimal preserve-libs 
toolchain-funcs usr-ldscript
+inherit flag-o-matic libtool multilib multilib-minimal preserve-libs 
toolchain-funcs
 
 if [[ ${PV} ==  ]] ; then
# Per tukaani.org, git.tukaani.org is a mirror of github and
@@ -123,12 +123,6 @@ multilib_src_compile() {
fi
 }
 
-multilib_src_install() {
-   default
-
-   gen_usr_ldscript -a lzma
-}
-
 multilib_src_install_all() {
find "${ED}" -type f -name '*.la' -delete || die
 

diff --git a/app-arch/xz-utils/xz-utils-5.5.1_alpha.ebuild 
b/app-arch/xz-utils/xz-utils-5.5.1_alpha.ebuild
index 1ce7c6d3d900..8283f1a12b3e 100644
--- a/app-arch/xz-utils/xz-utils-5.5.1_alpha.ebuild
+++ b/app-arch/xz-utils/xz-utils-5.5.1_alpha.ebuild
@@ -6,7 +6,7 @@
 
 EAPI=8
 
-inherit flag-o-matic libtool multilib multilib-minimal preserve-libs 
toolchain-funcs usr-ldscript
+inherit flag-o-matic libtool multilib multilib-minimal preserve-libs 
toolchain-funcs
 
 if [[ ${PV} ==  ]] ; then
# Per tukaani.org, git.tukaani.org is a mirror of github and
@@ -123,12 +123,6 @@ multilib_src_compile() {
fi
 }
 
-multilib_src_install() {
-   default
-
-   gen_usr_ldscript -a lzma
-}
-
 multilib_src_install_all() {
find "${ED}" -type f -name '*.la' -delete || die
 

diff --git a/app-arch/xz-utils/xz-utils-.ebuild 
b/app-arch/xz-utils/xz-utils-.ebuild
index 1ce7c6d3d900..8283f1a12b3e 100644
--- a/app-arch/xz-utils/xz-utils-.ebuild
+++ b/app-arch/xz-utils/xz-utils-.ebuild
@@ -6,7 +6,7 @@
 
 EAPI=8
 
-inherit flag-o-matic libtool multilib multilib-minimal preserve-libs 
toolchain-funcs usr-ldscript
+inherit flag-o-matic libtool multilib multilib-minimal preserve-libs 
toolchain-funcs
 
 if [[ ${PV} ==  ]] ; then
# Per tukaani.org, git.tukaani.org is a mirror of github and
@@ -123,12 +123,6 @@ multilib_src_compile() {
fi
 }
 
-multilib_src_install() {
-   default
-
-   gen_usr_ldscript -a lzma
-}
-
 multilib_src_install_all() {
find "${ED}" -type f -name '*.la' -delete || die
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam/

2024-02-06 Thread Sam James
commit: 72d0c560a13563ebd6e7b010cc5ab169fb2efc8b
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue Feb  6 04:50:41 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 22:40:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72d0c560

sys-libs/pam: remove usr-ldscript support

Per news item 2024-01-05-usr-initramfs, we no longer support this use
case. It is fragile and hacky and leads to bizarre forms of load errors.

The functionality is, despite being called "split-usr", not really about
split-usr at all.

[sam: add bug #868306 ref.]

Bug: https://bugs.gentoo.org/825078
Bug: https://bugs.gentoo.org/825758
Bug: https://bugs.gentoo.org/868306
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sys-libs/pam/pam-1.5.3-r1.ebuild | 153 +++
 1 file changed, 153 insertions(+)

diff --git a/sys-libs/pam/pam-1.5.3-r1.ebuild b/sys-libs/pam/pam-1.5.3-r1.ebuild
new file mode 100644
index ..8f176361a930
--- /dev/null
+++ b/sys-libs/pam/pam-1.5.3-r1.ebuild
@@ -0,0 +1,153 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_P="Linux-${PN^^}-${PV}"
+
+# Avoid QA warnings
+# Can reconsider w/ EAPI 8 and IDEPEND, bug #810979
+TMPFILES_OPTIONAL=1
+
+inherit db-use fcaps flag-o-matic toolchain-funcs multilib-minimal
+
+DESCRIPTION="Linux-PAM (Pluggable Authentication Modules)"
+HOMEPAGE="https://github.com/linux-pam/linux-pam;
+SRC_URI="
+   
https://github.com/linux-pam/linux-pam/releases/download/v${PV}/${MY_P}.tar.xz
+   
https://github.com/linux-pam/linux-pam/releases/download/v${PV}/${MY_P}-docs.tar.xz
+"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="|| ( BSD GPL-2 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="audit berkdb debug nis selinux"
+
+BDEPEND="
+   app-alternatives/yacc
+   dev-libs/libxslt
+   app-alternatives/lex
+   sys-devel/gettext
+   virtual/pkgconfig
+"
+DEPEND="
+   virtual/libcrypt:=[${MULTILIB_USEDEP}]
+   >=virtual/libintl-0-r1[${MULTILIB_USEDEP}]
+   audit? ( >=sys-process/audit-2.2.2[${MULTILIB_USEDEP}] )
+   berkdb? ( >=sys-libs/db-4.8.30-r1:=[${MULTILIB_USEDEP}] )
+   selinux? ( >=sys-libs/libselinux-2.2.2-r4[${MULTILIB_USEDEP}] )
+   nis? (
+   net-libs/libnsl:=[${MULTILIB_USEDEP}]
+   >=net-libs/libtirpc-0.2.4-r2:=[${MULTILIB_USEDEP}]
+   )
+"
+RDEPEND="${DEPEND}"
+PDEPEND=">=sys-auth/pambase-20200616"
+
+PATCHES=(
+   "${FILESDIR}/${P}-termios.patch"
+)
+
+src_prepare() {
+   default
+   touch ChangeLog || die
+}
+
+multilib_src_configure() {
+   # Do not let user's BROWSER setting mess us up, bug #549684
+   unset BROWSER
+
+   # This whole weird has_version libxcrypt block can go once
+   # musl systems have libxcrypt[system] if we ever make
+   # that mandatory. See bug #867991.
+   if use elibc_musl && ! has_version sys-libs/libxcrypt[system] ; then
+   # Avoid picking up symbol-versioned compat symbol on musl 
systems
+   export ac_cv_search_crypt_gensalt_rn=no
+
+   # Need to avoid picking up the libxcrypt headers which define
+   # CRYPT_GENSALT_IMPLEMENTS_AUTO_ENTROPY.
+   cp "${ESYSROOT}"/usr/include/crypt.h "${T}"/crypt.h || die
+   append-cppflags -I"${T}"
+   fi
+
+   local myconf=(
+   CC_FOR_BUILD="$(tc-getBUILD_CC)"
+   --with-db-uniquename=-$(db_findver sys-libs/db)
+   --with-xml-catalog="${EPREFIX}"/etc/xml/catalog
+   --enable-securedir="${EPREFIX}"/$(get_libdir)/security
+   --includedir="${EPREFIX}"/usr/include/security
+   --libdir="${EPREFIX}"/usr/$(get_libdir)
+   --enable-pie
+   --enable-unix
+   --disable-prelude
+   --disable-doc
+   --disable-regenerate-docu
+   --disable-static
+   --disable-Werror
+   # TODO: wire this up now it's more useful as of 1.5.3
+   --disable-econf
+
+   # TODO: add elogind support
+   # lastlog is enabled again for now by us until logind support
+   # is handled. Even then, disabling lastlog will probably need
+   # a news item.
+   --disable-logind
+   --enable-lastlog
+
+   $(use_enable audit)
+   $(use_enable berkdb db)
+   $(use_enable debug)
+   $(use_enable nis)
+   $(use_enable selinux)
+   --enable-isadir='.' # bug #464016
+   )
+   ECONF_SOURCE="${S}" econf "${myconf[@]}"
+}
+
+multilib_src_compile() {
+   emake sepermitlockdir="/run/sepermit"
+}
+
+multilib_src_install() {
+   emake DESTDIR="${D}" install \

[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2024-02-06 Thread Sam James
commit: be1b61e0867fc6528c1bdf47556c0da674e4349c
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue Feb  6 05:27:28 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 22:40:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be1b61e0

sys-libs/pam_wrapper: revbump to force rebuilding against updated pam

We got rid of the terrible usr-ldscript hack. It is now possible to
build this sanely. Force it to rebuild against the updated pam (for the
sake of split-usr profiles).

Bug: https://bugs.gentoo.org/825078
Closes: https://bugs.gentoo.org/825758
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild | 88 
 1 file changed, 88 insertions(+)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
new file mode 100644
index ..7804b800ce5d
--- /dev/null
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit cmake-multilib python-r1
+
+DESCRIPTION="A tool to test PAM applications and PAM modules"
+HOMEPAGE="https://cwrap.org/pam_wrapper.html;
+SRC_URI="
+   https://www.samba.org/ftp/pub/cwrap/${P}.tar.gz
+   https://ftp.samba.org/pub/cwrap/${P}.tar.gz
+"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Require newer PAM so we know where it's located, bug #825078
+RDEPEND="
+   ${PYTHON_DEPS}
+   >=sys-libs/pam-1.5.3-r1:0=[${MULTILIB_USEDEP}]
+"
+DEPEND="
+   ${RDEPEND}
+   test? ( dev-util/cmocka[${MULTILIB_USEDEP}] )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.1.4-tests-import.patch
+)
+
+multilib_src_configure() {
+   configure_for_python() {
+   local mycmakeargs=( -DUNIT_TESTING=OFF )
+   cmake_src_configure
+   }
+
+   if multilib_is_native_abi ; then
+   # Build the Pythons for each version (but only for the native 
ABI)
+   # bug #737468
+   python_foreach_impl configure_for_python
+   fi
+
+   # Do the regular build now
+   local mycmakeargs=(
+   -DUNIT_TESTING=$(usex test)
+   -DCMAKE_DISABLE_FIND_PACKAGE_Python{Libs,Interp,SiteLibs}=ON
+   )
+   cmake_src_configure
+}
+
+multilib_src_compile() {
+   if multilib_is_native_abi ; then
+   python_foreach_impl cmake_src_compile
+   fi
+
+   # Compile the "proper" version without Python last
+   cmake_src_compile
+}
+
+multilib_src_test() {
+   cmake_src_test
+
+   # Fails b/c of sandbox?
+   #python_test() {
+   #   local -x 
PYTHONPATH="${BUILD_DIR}/src/python/python3:${PYTHONPATH}"
+   #   elog "${PYTHONPATH}"
+   #   ${EPYTHON} "${S}"/tests/pypamtest_test.py || die "Tests failed 
with ${EPYTHON}"
+   #}
+
+   #if multilib_is_native_abi ; then
+   #   python_foreach_impl python_test
+   #fi
+}
+
+multilib_src_install() {
+   if multilib_is_native_abi ; then
+   python_foreach_impl cmake_src_install
+   fi
+
+   # Install the "proper" version without Python last
+   cmake_src_install
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2024-02-06 Thread Sam James
commit: ff99a6a4a820ac0e036954fef6b3cab7e94ac9a5
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  6 22:40:32 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 22:40:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff99a6a4

sci-libs/lapack: Stabilize 3.12.0 hppa, #923553

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.12.0.ebuild 
b/sci-libs/lapack/lapack-3.12.0.ebuild
index 505568329166..db09c93034a9 100644
--- a/sci-libs/lapack/lapack-3.12.0.ebuild
+++ b/sci-libs/lapack/lapack-3.12.0.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-qt/qtcore/

2024-02-06 Thread Sam James
commit: fb7cb15dc5e580c7489a6c37ee7e63a090799dae
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  6 22:32:12 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 22:32:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb7cb15d

dev-qt/qtcore: Stabilize 5.15.12-r2 x86, #923848

Signed-off-by: Sam James  gentoo.org>

 dev-qt/qtcore/qtcore-5.15.12-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-qt/qtcore/qtcore-5.15.12-r2.ebuild 
b/dev-qt/qtcore/qtcore-5.15.12-r2.ebuild
index e87062d2038e..cd3c18608ad8 100644
--- a/dev-qt/qtcore/qtcore-5.15.12-r2.ebuild
+++ b/dev-qt/qtcore/qtcore-5.15.12-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 if [[ ${PV} != ** ]]; then
QT5_KDEPATCHSET_REV=3
-   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
 fi
 
 QT5_MODULE="qtbase"



[gentoo-commits] repo/gentoo:master commit in: dev-qt/qtwayland/

2024-02-06 Thread Sam James
commit: e4ce6e88b12e16250ddb6d5976616675e2b730dd
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  6 22:32:14 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 22:32:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4ce6e88

dev-qt/qtwayland: Stabilize 5.15.12-r1 x86, #923848

Signed-off-by: Sam James  gentoo.org>

 dev-qt/qtwayland/qtwayland-5.15.12-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-qt/qtwayland/qtwayland-5.15.12-r1.ebuild 
b/dev-qt/qtwayland/qtwayland-5.15.12-r1.ebuild
index c9d27b00e9e9..510f5ca2ecff 100644
--- a/dev-qt/qtwayland/qtwayland-5.15.12-r1.ebuild
+++ b/dev-qt/qtwayland/qtwayland-5.15.12-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 if [[ ${PV} != ** ]]; then
QT5_KDEPATCHSET_REV=1
-   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
 fi
 
 inherit qt5-build



[gentoo-commits] repo/gentoo:master commit in: dev-qt/qtgui/

2024-02-06 Thread Sam James
commit: fef7a91e1db31cdd4d01912c6c4cea9129680dac
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  6 22:32:13 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 22:32:13 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fef7a91e

dev-qt/qtgui: Stabilize 5.15.12-r1 x86, #923848

Signed-off-by: Sam James  gentoo.org>

 dev-qt/qtgui/qtgui-5.15.12-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-qt/qtgui/qtgui-5.15.12-r1.ebuild 
b/dev-qt/qtgui/qtgui-5.15.12-r1.ebuild
index 0ffe18a81fe1..bb940e5b463a 100644
--- a/dev-qt/qtgui/qtgui-5.15.12-r1.ebuild
+++ b/dev-qt/qtgui/qtgui-5.15.12-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 if [[ ${PV} != ** ]]; then
QT5_KDEPATCHSET_REV=3
-   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
 fi
 
 QT5_MODULE="qtbase"



[gentoo-commits] repo/gentoo:master commit in: sys-boot/grub/

2024-02-06 Thread Sam James
commit: 19766b9cc2711165936811be968b6d25c2dd7e65
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  6 22:32:11 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 22:32:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19766b9c

sys-boot/grub: Stabilize 2.12-r1 x86, #922889

Signed-off-by: Sam James  gentoo.org>

 sys-boot/grub/grub-2.12-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-boot/grub/grub-2.12-r1.ebuild 
b/sys-boot/grub/grub-2.12-r1.ebuild
index 4841cdc866db..4cfcc97a992b 100644
--- a/sys-boot/grub/grub-2.12-r1.ebuild
+++ b/sys-boot/grub/grub-2.12-r1.ebuild
@@ -55,7 +55,7 @@ if [[ ${PV} !=  ]]; then
S=${WORKDIR}/${P%_*}
fi
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-danielkiper )"
-   KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
 else
inherit git-r3
EGIT_REPO_URI="https://git.savannah.gnu.org/git/grub.git;



[gentoo-commits] repo/gentoo:master commit in: dev-qt/qtwidgets/

2024-02-06 Thread Sam James
commit: c549102ccc41c97681024c9acf79aa4e479d69a7
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  6 22:32:13 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 22:32:13 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c549102c

dev-qt/qtwidgets: Stabilize 5.15.12-r1 x86, #923848

Signed-off-by: Sam James  gentoo.org>

 dev-qt/qtwidgets/qtwidgets-5.15.12-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-qt/qtwidgets/qtwidgets-5.15.12-r1.ebuild 
b/dev-qt/qtwidgets/qtwidgets-5.15.12-r1.ebuild
index ce06e17144ba..651a88cec6e1 100644
--- a/dev-qt/qtwidgets/qtwidgets-5.15.12-r1.ebuild
+++ b/dev-qt/qtwidgets/qtwidgets-5.15.12-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 if [[ ${PV} != ** ]]; then
QT5_KDEPATCHSET_REV=3
-   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
 fi
 
 QT5_MODULE="qtbase"



[gentoo-commits] repo/gentoo:master commit in: dev-embedded/raspberrypi-utils/

2024-02-06 Thread James Le Cuirot
commit: 6b2df8daf9c1a7fce0471a0dd506c8468216c9b5
Author: James Le Cuirot  gentoo  org>
AuthorDate: Tue Feb  6 21:43:24 2024 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Feb  6 21:43:24 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b2df8da

dev-embedded/raspberrypi-utils: Bump to 20240203, drop old 20240115

This fixes a current -Werror failure. I have also submitted a patch upstream to
drop -Werror.

Signed-off-by: James Le Cuirot  gentoo.org>

 dev-embedded/raspberrypi-utils/Manifest | 2 +-
 ...pi-utils-0_p20240115.ebuild => raspberrypi-utils-0_p20240203.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-embedded/raspberrypi-utils/Manifest 
b/dev-embedded/raspberrypi-utils/Manifest
index a9b0fbeb7c53..24632d7cb267 100644
--- a/dev-embedded/raspberrypi-utils/Manifest
+++ b/dev-embedded/raspberrypi-utils/Manifest
@@ -1 +1 @@
-DIST raspberrypi-utils-0_p20240115.tar.gz 122554 BLAKE2B 
94c101a50a422f265b2ea87ab33d802f21b21c57b8693a7bdc407460ec6e230da390d9f8d3e5541cb7145c55a7c53766cb8fb36c565006b1ec371090a6a4777b
 SHA512 
b411242a1f5055a6075ea487fa746ee2cdbf31eff61f115cf11c97efa57d0245feb30c786c7c1164c174828da774a5cf4a4792d9ae46518e1c43510f120e5c43
+DIST raspberrypi-utils-0_p20240203.tar.gz 122695 BLAKE2B 
178b84b5210ba47a51e9815710b05d3916981f5413986cefcdb621420c9e9ab33b67026ea95692c6aff900dd2c31302059eb39aae32267b88cf765a7575f8bed
 SHA512 
bdbe47d87a4bcd0d37ea4567e95e41fbc8240f5ffbc805d4a1f576060535af13e272b262ddad87dac0f9ea43b8b2ff9092378e67de080bd651701435b4c67008

diff --git 
a/dev-embedded/raspberrypi-utils/raspberrypi-utils-0_p20240115.ebuild 
b/dev-embedded/raspberrypi-utils/raspberrypi-utils-0_p20240203.ebuild
similarity index 94%
rename from dev-embedded/raspberrypi-utils/raspberrypi-utils-0_p20240115.ebuild
rename to dev-embedded/raspberrypi-utils/raspberrypi-utils-0_p20240203.ebuild
index 6f84f4cb186c..1c136bdb 100644
--- a/dev-embedded/raspberrypi-utils/raspberrypi-utils-0_p20240115.ebuild
+++ b/dev-embedded/raspberrypi-utils/raspberrypi-utils-0_p20240203.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 inherit bash-completion-r1 cmake
 
-COMMIT="32602f565c6cb854d1f2643b51a022991cea2b1b"
+COMMIT="1eb8c20dfa258c549139fae2b21185ac290051c5"
 
 DESCRIPTION="Raspberry Pi userspace utilities"
 HOMEPAGE="https://github.com/raspberrypi/utils;



[gentoo-commits] repo/proj/guru:dev commit in: app-text/sioyek/

2024-02-06 Thread Gonçalo Negrier Duarte
commit: d080b413ea693ccae98f9716aa4d46ef63406fb5
Author: Gonçalo Negrier Duarte  gmail  com>
AuthorDate: Tue Feb  6 20:25:50 2024 +
Commit: Gonçalo Negrier Duarte  gmail  com>
CommitDate: Tue Feb  6 20:59:33 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d080b413

app-text/sioyek: add 2.0.0

Signed-off-by: Gonçalo Negrier Duarte  gmail.com>

 app-text/sioyek/Manifest|  1 +
 app-text/sioyek/{sioyek-.ebuild => sioyek-2.0.0.ebuild} | 11 +--
 app-text/sioyek/sioyek-.ebuild  | 11 +--
 3 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/app-text/sioyek/Manifest b/app-text/sioyek/Manifest
new file mode 100644
index 00..35939db608
--- /dev/null
+++ b/app-text/sioyek/Manifest
@@ -0,0 +1 @@
+DIST sioyek-2.0.0.tar.gz 4900368 BLAKE2B 
47361713265360cb291f39cccdbb2ecb4e0ec7db64e4ed02029b8d1ac8ecf06a90cd2f61ecd0d2dffc89638c82a16ac6e62f536290f614318fb3b92f2690f612
 SHA512 
3ed9959ddbc133b9c7bb241f8076da886b74790a475646911dc6d38724160ae8335020db308e405c60fce49b9260536861e8946199f1670dc8c2331e9fbd2e00

diff --git a/app-text/sioyek/sioyek-.ebuild 
b/app-text/sioyek/sioyek-2.0.0.ebuild
similarity index 79%
copy from app-text/sioyek/sioyek-.ebuild
copy to app-text/sioyek/sioyek-2.0.0.ebuild
index 1c53974a1b..55d22022e8 100644
--- a/app-text/sioyek/sioyek-.ebuild
+++ b/app-text/sioyek/sioyek-2.0.0.ebuild
@@ -3,8 +3,15 @@
 
 EAPI=8
 
-inherit git-r3 qmake-utils desktop xdg
-EGIT_REPO_URI="https://github.com/ahrm/sioyek.git;
+inherit qmake-utils desktop xdg
+
+if [[ ${PV} !=  ]]; then
+   SRC_URI="https://github.com/ahrm/sioyek/archive/refs/tags/v${PV}.tar.gz 
-> sioyek-2.0.0.tar.gz"
+else
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/ahrm/sioyek.git;
+fi
+
 DESCRIPTION="Sioyek is a PDF viewer with a focus on textbooks and research 
papers"
 HOMEPAGE="https://github.com/ahrm/sioyek;
 

diff --git a/app-text/sioyek/sioyek-.ebuild 
b/app-text/sioyek/sioyek-.ebuild
index 1c53974a1b..55d22022e8 100644
--- a/app-text/sioyek/sioyek-.ebuild
+++ b/app-text/sioyek/sioyek-.ebuild
@@ -3,8 +3,15 @@
 
 EAPI=8
 
-inherit git-r3 qmake-utils desktop xdg
-EGIT_REPO_URI="https://github.com/ahrm/sioyek.git;
+inherit qmake-utils desktop xdg
+
+if [[ ${PV} !=  ]]; then
+   SRC_URI="https://github.com/ahrm/sioyek/archive/refs/tags/v${PV}.tar.gz 
-> sioyek-2.0.0.tar.gz"
+else
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/ahrm/sioyek.git;
+fi
+
 DESCRIPTION="Sioyek is a PDF viewer with a focus on textbooks and research 
papers"
 HOMEPAGE="https://github.com/ahrm/sioyek;
 



[gentoo-commits] repo/proj/guru:dev commit in: games-util/mangohud/

2024-02-06 Thread Gonçalo Negrier Duarte
commit: 007ed1306557352091482b32f406f06cf96e0bbf
Author: Gonçalo Negrier Duarte  gmail  com>
AuthorDate: Tue Feb  6 20:56:08 2024 +
Commit: Gonçalo Negrier Duarte  gmail  com>
CommitDate: Tue Feb  6 20:59:33 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=007ed130

games-util/mangohud-0.7.0-r1: fix build error because of system spdlog

* @AdelKS to my knowladge dosen't exist anyway to add submodule using
  git-r3 so probably  need to drop

Signed-off-by: Gonçalo Negrier Duarte  gmail.com>

 games-util/mangohud/Manifest | 2 ++
 .../mangohud/{mangohud-0.7.0.ebuild => mangohud-0.7.0-r1.ebuild} | 9 -
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/games-util/mangohud/Manifest b/games-util/mangohud/Manifest
index d9d337f7d4..4d69654697 100644
--- a/games-util/mangohud/Manifest
+++ b/games-util/mangohud/Manifest
@@ -1,5 +1,7 @@
 DIST implot-0.16-1-meson-wrap.zip 1226 BLAKE2B 
4725661fe2c7f7f05e1702c3a871f9feb9fdefdc2a840cdf8a3d56e7e180e950533f830192f9ad19cba97e8094ab53cf73adda2ed6712a83384d4160f6c06b18
 SHA512 
6e54beebef8ac4ec0b3e85d30d7570c9a987d69c03b6a564bc67d105d19d2cec45cb3ab8921ebcbda51e7139d93c3c6dae359fa30b3fcce748cdec8953aabbf7
 DIST implot-0.16.tar.gz 137983 BLAKE2B 
aca328e2fe6049b72601f25a409f313e99971f606e68ca780a1594f8ca42b1606831090add8039fefd013cfb6c057900f0add347d1b80c466a05bd18e455b8d7
 SHA512 
117cb08122d900e7db857897bfec4c9ac3300a1d429c8f0303415bc693840baa991ca3f13853d8efd3a6ebf538b7114401d4fbfe0d067256e58cbdbd4919
 DIST mangohud-0.7.0.tar.gz 14892372 BLAKE2B 
436a7834743aac3f95d55031194fddd79861061010cf5eb25e81cf5eceacf4015b607a191931a85715ca0d58c8e314841d536ce83e7767a39869ab789d376c7a
 SHA512 
1ed43c2ba8a97c8934895450bf1ce152970031e5a5654db91df02d7b44f5eeacb32167f219735d2f0fb3c8ba24fc4386a8af4da99a3cd736af0b0d50ef2fedd7
+DIST spdlog-1.8.5-1-wrap.zip 2211 BLAKE2B 
709d961280d83a82bbd440bdf4bafd7692227ecef38dbfc5380d971c41168017f927972855617cdd1cd36a1b8d1ed7fbb94c50a16265d593cfd132195a6cd5ab
 SHA512 
580c724059306191a2e0decbb733ffa9e667354edb6cb08a72afb7ca4f2ef6eb2d52952a59ede631f3097394373f412179adc3aaf522067980a67bfa03c71b49
+DIST spdlog-1.8.5.tar.gz 321229 BLAKE2B 
2cdc1902a9e6f51da5c1af02b2961914a5437cfefec13aaaca8b996166c0990f602c811f69569a8812d880f995b401af44457ec4255bc5a0f9e46b51266d1b43
 SHA512 
77cc9df0c40bbdbfe1f3e5818dccf121918bfceac28f2608f39e5bf944968b7e8e24a6fc29f01bc58a9bae41b8892d49cfb59c196935ec9868884320b50f130c
 DIST vulkan-headers-1.2.158-2-meson-wrap.zip 1107 BLAKE2B 
35e4bb1f7410a009243fe7d4a4ba6cede7f01e0b56ad6ff72ad30c00c2452bd6d2a4fb44ab92c296147e2506a92acc6de1f817cb5433b96d66652cbcd8885595
 SHA512 
30cbbb90580399839e1bba8881b9b8cc33fdeead93f37d5f3398c9d53fb3ab050ca2562fd68f376fa4ee0825ee3787f560d70d55a170c780dd575ff2eeb66efd
 DIST vulkan-headers-1.2.158.tar.gz 831647 BLAKE2B 
792d7e895e27c4a8fbc93fc4d9c9e696d2ceb946e745709c050c0693b77afbeb6411a4267fc59508ddeb58167d469349fedc1c5d4b4a7415b590c97248b244bc
 SHA512 
f7aa9222f9deb1316d22deacc2c6cd85c409f0f2b2d37ecd55e0fc8466d381bbe3bed287881b993a01c5f33736e1607014f820980b7a54a3721fab6980960c91

diff --git a/games-util/mangohud/mangohud-0.7.0.ebuild 
b/games-util/mangohud/mangohud-0.7.0-r1.ebuild
similarity index 88%
rename from games-util/mangohud/mangohud-0.7.0.ebuild
rename to games-util/mangohud/mangohud-0.7.0-r1.ebuild
index 4735f458e9..67a1c765e9 100644
--- a/games-util/mangohud/mangohud-0.7.0.ebuild
+++ b/games-util/mangohud/mangohud-0.7.0-r1.ebuild
@@ -15,12 +15,15 @@ HOMEPAGE="https://github.com/flightlessmango/MangoHud;
 
 VK_HEADERS_VER="1.2.158"
 VK_HEADERS_MESON_WRAP_VER="2"
+SPDLOG_VER="1.8.5"
 
 SRC_URI="

https://github.com/KhronosGroup/Vulkan-Headers/archive/v${VK_HEADERS_VER}.tar.gz
-> vulkan-headers-${VK_HEADERS_VER}.tar.gz

https://wrapdb.mesonbuild.com/v2/vulkan-headers_${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}/get_patch
-> 
vulkan-headers-${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}-meson-wrap.zip
+   
https://github.com/gabime/spdlog/archive/refs/tags/v${SPDLOG_VER}.tar.gz -> 
spdlog-${SPDLOG_VER}.tar.gz
+   https://wrapdb.mesonbuild.com/v2/spdlog_${SPDLOG_VER}-1/get_patch -> 
spdlog-${SPDLOG_VER}-1-wrap.zip
 "
 
 if [[ ${PV} ==  ]]; then
@@ -93,6 +96,10 @@ src_unpack() {
unpack vulkan-headers-${VK_HEADERS_VER}.tar.gz
unpack 
vulkan-headers-${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}-meson-wrap.zip
mv "${WORKDIR}/Vulkan-Headers-${VK_HEADERS_VER}" "${S}/subprojects/" || 
die
+   # fix build error by using specify version of spdlog
+   unpack spdlog-${SPDLOG_VER}.tar.gz
+   unpack spdlog-${SPDLOG_VER}-1-wrap.zip
+   mv "${WORKDIR}/spdlog-${SPDLOG_VER}" "${S}/subprojects/" || die
 }
 
 src_prepare() {
@@ -107,7 +114,7 @@ src_prepare() {
 src_configure() {
local emesonargs=(
-Dappend_libdir_mangohud=false
-   -Duse_system_spdlog=enabled
+  

[gentoo-commits] repo/proj/guru:dev commit in: net-voip/discover-overlay/

2024-02-06 Thread Gonçalo Negrier Duarte
commit: bcf104f0f24963e357567f5c5eb9ac91ee2245d9
Author: Gonçalo Negrier Duarte  gmail  com>
AuthorDate: Tue Feb  6 20:21:27 2024 +
Commit: Gonçalo Negrier Duarte  gmail  com>
CommitDate: Tue Feb  6 20:59:33 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bcf104f0

net-voip/discover-overlay-0.6.9-r1: add python3_12 to PYTHON_COMPAT

Signed-off-by: Gonçalo Negrier Duarte  gmail.com>

 .../{discover-overlay-0.6.9.ebuild => discover-overlay-0.6.9-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-voip/discover-overlay/discover-overlay-0.6.9.ebuild 
b/net-voip/discover-overlay/discover-overlay-0.6.9-r1.ebuild
similarity index 95%
rename from net-voip/discover-overlay/discover-overlay-0.6.9.ebuild
rename to net-voip/discover-overlay/discover-overlay-0.6.9-r1.ebuild
index 947232b5df..0688f7058a 100644
--- a/net-voip/discover-overlay/discover-overlay-0.6.9.ebuild
+++ b/net-voip/discover-overlay/discover-overlay-0.6.9-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 DISTUTILS_USE_PEP517=setuptools
 
 inherit distutils-r1 xdg



[gentoo-commits] repo/gentoo:master commit in: dev-libs/newt/

2024-02-06 Thread Ben Kohler
commit: 4710ed7ca00c3c26f72c0520a2afba6accdf6112
Author: Ben Kohler  gentoo  org>
AuthorDate: Tue Feb  6 20:52:30 2024 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Tue Feb  6 20:52:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4710ed7c

dev-libs/newt: enable py3.12

Closes: https://bugs.gentoo.org/923870

Signed-off-by: Ben Kohler  gentoo.org>

 dev-libs/newt/newt-0.52.24.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/newt/newt-0.52.24.ebuild 
b/dev-libs/newt/newt-0.52.24.ebuild
index c5cadd071212..2fdfcec485bd 100644
--- a/dev-libs/newt/newt-0.52.24.ebuild
+++ b/dev-libs/newt/newt-0.52.24.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{9..12} )
 
 inherit autotools python-r1 toolchain-funcs
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libfmt/

2024-02-06 Thread Craig Andrews
commit: 088dac7b26f0e8de29c477c6c2c9c1ab5bed8941
Author: Craig Andrews  gentoo  org>
AuthorDate: Tue Feb  6 20:35:42 2024 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Tue Feb  6 20:38:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=088dac7b

dev-libs/libfmt: Add lfs flags

Closes: https://github.com/gentoo/gentoo/pull/35205
Signed-off-by: Abhishek Pandit-Subedi  chromium.org>
Signed-off-by: Craig Andrews  gentoo.org>

 dev-libs/libfmt/{libfmt-.ebuild => libfmt-10.2.1-r1.ebuild} | 5 +++--
 dev-libs/libfmt/libfmt-.ebuild  | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/dev-libs/libfmt/libfmt-.ebuild 
b/dev-libs/libfmt/libfmt-10.2.1-r1.ebuild
similarity index 89%
copy from dev-libs/libfmt/libfmt-.ebuild
copy to dev-libs/libfmt/libfmt-10.2.1-r1.ebuild
index 90083087d20e..2dbd37cc402c 100644
--- a/dev-libs/libfmt/libfmt-.ebuild
+++ b/dev-libs/libfmt/libfmt-10.2.1-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit cmake
+inherit cmake flag-o-matic
 
 DESCRIPTION="Small, safe and fast formatting library"
 HOMEPAGE="https://github.com/fmtlib/fmt;
@@ -23,6 +23,7 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 src_configure() {
+   append-lfs-flags
local mycmakeargs=(
-DFMT_CMAKE_DIR="$(get_libdir)/cmake/fmt"
-DFMT_LIB_DIR="$(get_libdir)"

diff --git a/dev-libs/libfmt/libfmt-.ebuild 
b/dev-libs/libfmt/libfmt-.ebuild
index 90083087d20e..2dbd37cc402c 100644
--- a/dev-libs/libfmt/libfmt-.ebuild
+++ b/dev-libs/libfmt/libfmt-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit cmake
+inherit cmake flag-o-matic
 
 DESCRIPTION="Small, safe and fast formatting library"
 HOMEPAGE="https://github.com/fmtlib/fmt;
@@ -23,6 +23,7 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 src_configure() {
+   append-lfs-flags
local mycmakeargs=(
-DFMT_CMAKE_DIR="$(get_libdir)/cmake/fmt"
-DFMT_LIB_DIR="$(get_libdir)"



  1   2   3   4   >