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

2022-03-28 Thread Ulrich Müller
commit: 367ba7457991d008b011eba0b06455276933bf7c
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sat Mar 26 09:28:30 2022 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Mon Mar 28 19:47:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=367ba745

toolchain.eclass: Use UID 0 instead of root

Bug: https://bugs.gentoo.org/595908
Signed-off-by: Ulrich Müller  gentoo.org>

 eclass/toolchain.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 495a305ed83e..8788e72efebb 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1780,7 +1780,7 @@ toolchain_src_install() {
# Use gid of 0 because some stupid ports don't have
# the group 'root' set to gid 0.  Send to /dev/null
# for people who are testing as non-root.
-   chown -R root:0 "${D}${LIBPATH}" 2>/dev/null
+   chown -R 0:0 "${D}${LIBPATH}" 2>/dev/null
 
# Installing gdb pretty-printers into gdb-specific location.
local py gdbdir=/usr/share/gdb/auto-load${LIBPATH}



[gentoo-commits] proj/releng:master commit in: releases/specs-qemu/mips/

2022-03-28 Thread Andreas K. Hüttel
commit: 52af7040ea3eeed295cdaa1e956fa0299478e17b
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Mon Mar 28 21:17:29 2022 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Mon Mar 28 21:17:29 2022 +
URL:https://gitweb.gentoo.org/proj/releng.git/commit/?id=52af7040

Add mips64-n32 specs

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 releases/specs-qemu/mips/stage1-mips64-n32-openrc.spec | 14 ++
 releases/specs-qemu/mips/stage3-mips64-n32-openrc.spec | 12 
 2 files changed, 26 insertions(+)

diff --git a/releases/specs-qemu/mips/stage1-mips64-n32-openrc.spec 
b/releases/specs-qemu/mips/stage1-mips64-n32-openrc.spec
new file mode 100644
index ..702604cc
--- /dev/null
+++ b/releases/specs-qemu/mips/stage1-mips64-n32-openrc.spec
@@ -0,0 +1,14 @@
+subarch: mips64_n32
+target: stage1
+version_stamp: openrc-@TIMESTAMP@
+interpreter: /usr/bin/qemu-mipsn32
+rel_type: default
+profile: default/linux/mips/17.0/n32
+snapshot: @TIMESTAMP@
+source_subpath: default/stage3-mips64_n32-openrc-latest
+compression_mode: pixz
+decompressor_search_order: xz bzip2
+update_seed: yes
+update_seed_command: -uDN @world
+portage_confdir: @REPO_DIR@/releases/portage/stages-qemu
+portage_prefix: releng

diff --git a/releases/specs-qemu/mips/stage3-mips64-n32-openrc.spec 
b/releases/specs-qemu/mips/stage3-mips64-n32-openrc.spec
new file mode 100644
index ..53b94b1c
--- /dev/null
+++ b/releases/specs-qemu/mips/stage3-mips64-n32-openrc.spec
@@ -0,0 +1,12 @@
+subarch: mips64_n32
+target: stage3
+version_stamp: openrc-@TIMESTAMP@
+interpreter: /usr/bin/qemu-mipsn32
+rel_type: default
+profile: default/linux/mips/17.0/n32
+snapshot: @TIMESTAMP@
+source_subpath: default/stage1-mips64_n32-openrc-@TIMESTAMP@
+compression_mode: pixz
+decompressor_search_order: xz bzip2
+portage_confdir: @REPO_DIR@/releases/portage/stages-qemu
+portage_prefix: releng



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

2022-03-28 Thread Lars Wendler
commit: 8aeeba04d1e08aa74cf50e402eb37477e402ec33
Author: Jeremi Piotrowski  microsoft  com>
AuthorDate: Thu Mar 24 11:17:22 2022 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Mar 28 19:31:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aeeba04

sys-libs/liburing: pass --cxx paramter to configure

Provide the correct value to --cxx to fix cross-compilation. liburing uses the
value of the cxx variable for linking. This happens to work for native builds
but breaks when cross-compiling, as evidenced by the below output (from
Flatcar):

>>> Configuring source in 
>>> /build/arm64-usr/var/tmp/portage/sys-libs/liburing-2.1-r1/work/liburing-2.1 
>>> ...
 * .arm64: running multilib-minimal_abi_src_configure
prefix/usr
includedir/usr/include
libdir/usr/lib64
libdevdir /usr/lib64
relativelibdir
mandir/usr/share/man
datadir   /usr/share
stringop_overflow yes
array_bounds  yes
__kernel_rwf_tyes
__kernel_timespec yes
open_how  no
statx yes
C++   yes
has_ucontext  yes
CCaarch64-cros-linux-gnu-gcc
CXX   g++

...

aarch64-cros-linux-gnu-gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ 
-I../src/include/ -include ../config-host.h -O2 -pipe -mtune=generic -g 
-D_GNU_SOURCE -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -L../src/ 
-o statx statx.c helpers.o -luring -Wstringop-overflow=0 -Warray-bounds=0
g++ -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include 
../config-host.h -O2 -pipe -mtune=generic -g -O2 -pipe -mtune=generic -g 
-D_GNU_SOURCE -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -L../src/ 
-std=c++11 -o sq-full-cpp sq-full-cpp.cc helpers.o -luring 
-Wstringop-overflow=0 -Warray-bounds=0
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: 
helpers.o: Relocations in generic ELF (EM: 183)
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: 
helpers.o: Relocations in generic ELF (EM: 183)
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: 
helpers.o: Relocations in generic ELF (EM: 183)
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: 
helpers.o: Relocations in generic ELF (EM: 183)
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: 
helpers.o: Relocations in generic ELF (EM: 183)
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: 
helpers.o: Relocations in generic ELF (EM: 183)
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: 
helpers.o: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:165: sq-full-cpp] Error 1
make[1]: *** Waiting for unfinished jobs

Bug: https://bugs.gentoo.org/836316
Signed-off-by: Jeremi Piotrowski  microsoft.com>
Closes: https://github.com/gentoo/gentoo/pull/24733
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/liburing/liburing-2.1-r1.ebuild | 1 +
 sys-libs/liburing/liburing-2.1-r2.ebuild | 1 +
 sys-libs/liburing/liburing-.ebuild   | 1 +
 3 files changed, 3 insertions(+)

diff --git a/sys-libs/liburing/liburing-2.1-r1.ebuild 
b/sys-libs/liburing/liburing-2.1-r1.ebuild
index ae14b067cbb3..ddf39035944f 100644
--- a/sys-libs/liburing/liburing-2.1-r1.ebuild
+++ b/sys-libs/liburing/liburing-2.1-r1.ebuild
@@ -45,6 +45,7 @@ multilib_src_configure() {
--libdevdir="${EPREFIX}/usr/$(get_libdir)"
--mandir="${EPREFIX}/usr/share/man"
--cc="$(tc-getCC)"
+   --cxx="$(tc-getCXX)"
)
# No autotools configure! "econf" will fail.
TMPDIR="${T}" ./configure "${myconf[@]}"

diff --git a/sys-libs/liburing/liburing-2.1-r2.ebuild 
b/sys-libs/liburing/liburing-2.1-r2.ebuild
index c65e7baf841c..cb5271810e69 100644
--- a/sys-libs/liburing/liburing-2.1-r2.ebuild
+++ b/sys-libs/liburing/liburing-2.1-r2.ebuild
@@ -51,6 +51,7 @@ multilib_src_configure() {
--libdevdir="${EPREFIX}/usr/$(get_libdir)"
--mandir="${EPREFIX}/usr/share/man"
--cc="$(tc-getCC)"
+   --cxx="$(tc-getCXX)"
)
# No autotools configure! "econf" will fail.
TMPDIR="${T}" ./configure "${myconf[@]}"

diff --git a/sys-libs/liburing/liburing-.ebuild 
b/sys-libs/liburing/liburing-.ebuild
index c7427bfe9a0d..87e93eac4554 100644
--- a/sys-libs/liburing/liburing-.ebuild
+++ b/sys-libs/liburing/liburing-.ebuild
@@ -40,6 +40,7 @@ multilib_src_configure() {
--libdevdir="${EPREFIX}/usr/$(get_libdir)"
--mandir="${EPREFIX}/usr/share/man"
--cc="$(tc-getCC)"
+   

[gentoo-commits] repo/gentoo:master commit in: net-fs/samba/

2022-03-28 Thread Lars Wendler
commit: 093c4cde84466c321d4f7b61210d51a302c7906e
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Mar 28 19:31:12 2022 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Mar 28 19:31:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=093c4cde

net-fs/samba: Added dev-perl/JSON to DEPEND

Bug: https://bugs.gentoo.org/836167
Signed-off-by: Lars Wendler  gentoo.org>

 net-fs/samba/samba-4.16.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-fs/samba/samba-4.16.0.ebuild b/net-fs/samba/samba-4.16.0.ebuild
index 70564439a33a..acbdab767d9f 100644
--- a/net-fs/samba/samba-4.16.0.ebuild
+++ b/net-fs/samba/samba-4.16.0.ebuild
@@ -115,6 +115,7 @@ COMMON_DEPEND="
 "
 DEPEND="${COMMON_DEPEND}
>=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}]
+   dev-perl/JSON
net-libs/libtirpc[${MULTILIB_USEDEP}]
|| (
net-libs/rpcsvc-proto



[gentoo-commits] repo/gentoo:master commit in: www-apps/element/

2022-03-28 Thread Bernard Cafarelli
commit: d0ec1da3400cd8e8ad9f1ddf34d44d818869dc91
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Mon Mar 28 19:57:34 2022 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Mon Mar 28 19:58:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0ec1da3

www-apps/element: 1.10.8 bump

Drop old versions

Signed-off-by: Bernard Cafarelli  gentoo.org>

 www-apps/element/Manifest  |  3 +-
 www-apps/element/element-1.10.6.ebuild | 35 --
 ...element-1.10.3.ebuild => element-1.10.8.ebuild} |  0
 3 files changed, 1 insertion(+), 37 deletions(-)

diff --git a/www-apps/element/Manifest b/www-apps/element/Manifest
index 1ebeb60addce..d905e2fb4564 100644
--- a/www-apps/element/Manifest
+++ b/www-apps/element/Manifest
@@ -1,3 +1,2 @@
-DIST element-v1.10.3.tar.gz 17107477 BLAKE2B 
5cbae1e531b318ca713bde42ec37db6bcdcafddaa80dc58b1b9fd592bc279aa74761d1ca4cdc13fe8b3a31950a80a223f663638d6c1984fc6165072ae484309b
 SHA512 
117b4854d959773741e8d809147ecfe5c240e6f3517dcb98c380cc9b1dc4d8266a0343906d6fd86d3c5a551532aab814f8f524326306964da40b0eae0aaae55d
-DIST element-v1.10.6.tar.gz 17162058 BLAKE2B 
dde56d6b1802f0ecd0c41274b203d2c4d244b8648cccd09d0775c2263656a8b475b42c6b204e6e2ac634a8cec9483dfaa8d0500cc601899917020af0c6d4db15
 SHA512 
3ef064e81c03727aaaf0a1f4fb7c787b638868a7cda9a6b00e287eda8b26fd94e11d634be8b29e2c0d563d462a8253667166b6e0181483f8b8296cbcf800ba3a
 DIST element-v1.10.7.tar.gz 17249694 BLAKE2B 
17e9e5e7814ca13a6be03210ace71036c4d86d3f7aa11ba4e42d6f2d29420f17fbccbeb319159358ae941b3c8b01954fbcb93ab96ea75edae57866abfa3068f8
 SHA512 
9ca7856700ce173e653508170fafb4193aeb865c68da2c04b58088f65e4204516f080f26239a08b738a74de7eae1ff09c7464d4a6294cf03b27872ed0be78ca9
+DIST element-v1.10.8.tar.gz 17345607 BLAKE2B 
989c389901f61e06a7b164e0ae9c332a018abb63ded874479be1231f4b77fba6b5adc67823d571a15c39f6831c6b661f4cc67ada2fe9a3429920b2e9d3d4e734
 SHA512 
e113d3df025f0519cd26247a9428efe08318078b167ba8d831d26a922adc7c75e6846577fdff21fcc4e54ba5335a4beab718ee114b91868db2b64c5630da79c2

diff --git a/www-apps/element/element-1.10.6.ebuild 
b/www-apps/element/element-1.10.6.ebuild
deleted file mode 100644
index bdccc2ddf91f..
--- a/www-apps/element/element-1.10.6.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 2021-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit webapp
-
-DESCRIPTION="A glossy Matrix collaboration client for the web"
-HOMEPAGE="https://element.io/;
-SRC_URI="https://github.com/vector-im/element-web/releases/download/v${PV}/${PN}-v${PV}.tar.gz;
-
-LICENSE="Apache-2.0"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-need_httpd
-
-S=${WORKDIR}/${PN}-v${PV}
-
-src_install() {
-   webapp_src_preinst
-
-   insinto "${MY_HTDOCSDIR}"
-   doins -r .
-
-   dodir "${MY_HTDOCSDIR}"/home
-   dodir "${MY_HTDOCSDIR}"/sites
-
-   webapp_serverowned "${MY_HTDOCSDIR}"/home
-   webapp_serverowned "${MY_HTDOCSDIR}"/sites
-   #webapp_configfile "${MY_HTDOCSDIR}"/config.json
-
-   webapp_src_install
-}

diff --git a/www-apps/element/element-1.10.3.ebuild 
b/www-apps/element/element-1.10.8.ebuild
similarity index 100%
rename from www-apps/element/element-1.10.3.ebuild
rename to www-apps/element/element-1.10.8.ebuild



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

2022-03-28 Thread Sam James
commit: 43da0ef9e9ba894ef97788623be1b1d104da6c35
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 29 04:48:50 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 29 05:29:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43da0ef9

sys-apps/sysvinit: add 3.02

Note this drops the 'shutdown' patch given QEMU has been fixed
(the impetus for the original bug) and the patch no longer applies --
to rebase it, we'd need to adapt the new translations and then always
have to regenerate them too. Not worth it given the original problem
is gone.

(Although, that said, it looks like the translations aren't
bundled generated anyway, so we ended up adding USE=nls for po4a for now.)

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

 sys-apps/sysvinit/Manifest |   2 +
 sys-apps/sysvinit/metadata.xml |  19 ++--
 sys-apps/sysvinit/sysvinit-3.02.ebuild | 175 +
 3 files changed, 188 insertions(+), 8 deletions(-)

diff --git a/sys-apps/sysvinit/Manifest b/sys-apps/sysvinit/Manifest
index 439c1fbdc297..4aa02107a44b 100644
--- a/sys-apps/sysvinit/Manifest
+++ b/sys-apps/sysvinit/Manifest
@@ -1,3 +1,5 @@
 DIST sysvinit-2.99.tar.xz 126908 BLAKE2B 
b82c745d5b695f918d4a163e7b9eaceccc07a46f73c3782c7771cc29a8600be13de4ff30891086df5773d60f37fa3b0f58566ccaf72cd70af68083b51152a38b
 SHA512 
34f328d7d2e6ceddcddfebab49eb9c34e90dc96decf2caeb89dffd2ade54322fa4a3cb9fa1e1a4bc687e07fcb0a13e5aebe6186582a9f5c9153e1513baa87ddd
 DIST sysvinit-3.00.tar.xz 127072 BLAKE2B 
d1c4e509d7c13cf0fb9da290f875e7c0ab0666d843d75d4dd6885112248a859dd077bdf9cc926c4af58473da99a5229bb879c7094afd648d5ebe72597a3ba6a7
 SHA512 
ba834ac6c48528304373018bfb05dcdd3573d8081dd7dc95a44808804404d77ee4832fedb3f34e67d87f22f201f9526c54910a51c6ed2a42ac55b756843cd825
 DIST sysvinit-3.01.tar.xz 126616 BLAKE2B 
b991c6d2a09b02003cc587379b148f8ca3817c27fcaf81f184f679cfd5325e0b551484bba47bb554a34c7eeba60538f4943de49b1d59bd4bef73d7d086fefdb2
 SHA512 
66da3830aa32b70f0beea994213145a550e5b5d58a5b54afb17109243d5efface6aba8c296b76dbfb22ce6f86c9c58f237ff71ee04ec7d5b316ad412bf7acbcf
+DIST sysvinit-3.02.tar.xz 219560 BLAKE2B 
c68505aab9e257fa3fb4153b4d2a51a7a8ac0137f0ee21174c168b1a1e4f12ea6be53679c484e2ea31904a37cd94fb5d913a9885da6c618acdae566b70bb7fae
 SHA512 
44a43e2faff3a0d3410447ffc9b8b7c66eae1a5cba54c2c4d8518d3b2e5accecc68a280c87dbf6d18f943ae466c3c1e09bc633009207cbd777d371effda30831
+DIST sysvinit-3.02.tar.xz.sig 833 BLAKE2B 
07f86211d2ded8afea22df246140cb44ec4a949c2450b1cc9d996b4b582da7767726648595c5f1cf584c31c0c59c4b0915a22cc254fed56bd42ac155b544cbfc
 SHA512 
9b8a2b3e480041ead8bd2b16551fb00e387d823ad196cf60f6938eda5accf33e944b7b530d47bc0bdd90de6766cf8d44050c0c3d95b18c8b76d412d0a6c3121a

diff --git a/sys-apps/sysvinit/metadata.xml b/sys-apps/sysvinit/metadata.xml
index 244cfb040246..f085bc59b51f 100644
--- a/sys-apps/sysvinit/metadata.xml
+++ b/sys-apps/sysvinit/metadata.xml
@@ -1,12 +1,15 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-
-   willi...@gentoo.org
-   William Hubbs
-
-
-   base-sys...@gentoo.org
-   Gentoo Base System
-
+   
+   willi...@gentoo.org
+   William Hubbs
+   
+   
+   base-sys...@gentoo.org
+   Gentoo Base System
+   
+   
+   slicer69/sysvinit
+   
 

diff --git a/sys-apps/sysvinit/sysvinit-3.02.ebuild 
b/sys-apps/sysvinit/sysvinit-3.02.ebuild
new file mode 100644
index ..44203391cf14
--- /dev/null
+++ b/sys-apps/sysvinit/sysvinit-3.02.ebuild
@@ -0,0 +1,175 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PLOCALES="de es fi fr hu id pl"
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/sysvinit.asc
+inherit toolchain-funcs flag-o-matic plocale verify-sig
+
+DESCRIPTION="/sbin/init - parent of all processes"
+HOMEPAGE="https://savannah.nongnu.org/projects/sysvinit;
+SRC_URI="mirror://nongnu/${PN}/${P/_/-}.tar.xz"
+SRC_URI+=" verify-sig? ( mirror://nongnu/${PN}/${P/_/-}.tar.xz.sig )"
+S="${WORKDIR}/${P/_*}"
+
+LICENSE="GPL-2"
+SLOT="0"
+if [[ ${PV} != *beta* ]] ; then
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+fi
+IUSE="selinux ibm nls static"
+
+COMMON_DEPEND="
+   selinux? (
+   >=sys-libs/libselinux-1.28
+   )"
+DEPEND="${COMMON_DEPEND}
+   virtual/os-headers"
+RDEPEND="${COMMON_DEPEND}
+   selinux? ( sec-policy/selinux-shutdown )"
+# po4a is for man page translations
+BDEPEND="nls? ( app-text/po4a )
+   verify-sig? ( sec-keys/openpgp-keys-sysvinit )"
+
+PATCHES=(
+   # bug #80220
+   "${FILESDIR}/${PN}-2.86-kexec.patch"
+   # bug #158615
+   "${FILESDIR}/${PN}-2.94_beta-shutdown-single.patch"
+)
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e '/^CPPFLAGS =$/d' \
+   -e '/^override CFLAGS 

[gentoo-commits] repo/gentoo:master commit in: mail-mta/postfix/

2022-03-28 Thread Eray Aslan
commit: 555a5bf10876eb6026ebe1cd8ed51b49167c2eca
Author: Eray Aslan  gentoo  org>
AuthorDate: Tue Mar 29 05:29:06 2022 +
Commit: Eray Aslan  gentoo  org>
CommitDate: Tue Mar 29 05:29:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=555a5bf1

mail-mta/postfix: add 3.8_pre20220325, drop 3.8_pre20220220-r1

Signed-off-by: Eray Aslan  gentoo.org>

 mail-mta/postfix/Manifest   | 2 +-
 ...postfix-3.8_pre20220220-r1.ebuild => postfix-3.8_pre20220325.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-mta/postfix/Manifest b/mail-mta/postfix/Manifest
index 309a397d06a2..8b99dc2c034e 100644
--- a/mail-mta/postfix/Manifest
+++ b/mail-mta/postfix/Manifest
@@ -1,3 +1,3 @@
 DIST postfix-3.6.5.tar.gz 4751485 BLAKE2B 
7d53ccf76d978db269fe0ab8641abcb3ba91a72c97fa739a2c8ea80c45bb3ecdaca51d08f7db03582887a0cdcdf96be423e3e35b4f2ab2fbb0fbe4e98dd60758
 SHA512 
510c7b387b38c8683bda33371468c1c1209285baca7d8f237fdb668b313fa4b4d6727f7e4eb79fc81c4155f0839b4e95995dff186e62621b26e5b8b31cff15d5
 DIST postfix-3.7.0.tar.gz 4823087 BLAKE2B 
7388ad49862c97e20179a2d3ed26069f21e8a578790fcb8adc9f5b648202269bd4c07905931237dab905d991002bcfd9f03d11e6a85b46fcf0e3b72412d852eb
 SHA512 
f2fb5c0399100c19e428b68728a8ce62b1fb74d365038373f22ed698c1d0fece506b3f1335c322b949875a4a9fa96fa0a7680b12641d596d09615e8fef061da4
-DIST postfix-3.8-20220220.tar.gz 4821731 BLAKE2B 
1d09dd29de8b888c1466019096cf0f4120c3fae30b2812fc621842387b77222b41ae32ce66b3430d7540b3de1e07a72d531544d016fc668e099d3d6598ee06e2
 SHA512 
21f2cc192213b22ba3a36a225ad7cfc0ec36f25e16a155c814eb2682db6a9eed81bad2223c2af5c1764a2b943a70bab85140c7e3e722aa0f4351cef26fd8fe59
+DIST postfix-3.8-20220325.tar.gz 4822339 BLAKE2B 
844239856ec5dc2eeb3c56134f69e20a43a9e1e1c70d66022bd4775d307cb865236f355e6039e30f28d6b35fba3d83d768a4c477c7af5338bd6fd50b12002afa
 SHA512 
c425563c329878b687f346f2291c990884d0ff21e8af1062b7977e1ca269086dfcc487ec75a5192c02575456895bb9f6a87562690f207657ffb3428a0eb999b9

diff --git a/mail-mta/postfix/postfix-3.8_pre20220220-r1.ebuild 
b/mail-mta/postfix/postfix-3.8_pre20220325.ebuild
similarity index 100%
rename from mail-mta/postfix/postfix-3.8_pre20220220-r1.ebuild
rename to mail-mta/postfix/postfix-3.8_pre20220325.ebuild



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

2022-03-28 Thread Sam James
commit: f5b8088a99e684eac64e0b1606f8648bc1ab7d21
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 29 05:31:02 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 29 05:31:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5b8088a

sys-apps/sysvinit: keep old OpenRC blocker

It's cheap, so why not, I guess. But can't really be expected
to do stuff like this forever as nobody will be testing with it.

Closes: https://bugs.gentoo.org/587424
Signed-off-by: Sam James  gentoo.org>

 sys-apps/sysvinit/{sysvinit-3.02.ebuild => sysvinit-3.02-r1.ebuild} | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-apps/sysvinit/sysvinit-3.02.ebuild 
b/sys-apps/sysvinit/sysvinit-3.02-r1.ebuild
similarity index 97%
rename from sys-apps/sysvinit/sysvinit-3.02.ebuild
rename to sys-apps/sysvinit/sysvinit-3.02-r1.ebuild
index 44203391cf14..689e5a124a48 100644
--- a/sys-apps/sysvinit/sysvinit-3.02.ebuild
+++ b/sys-apps/sysvinit/sysvinit-3.02-r1.ebuild
@@ -26,7 +26,10 @@ COMMON_DEPEND="
)"
 DEPEND="${COMMON_DEPEND}
virtual/os-headers"
+# Old OpenRC blocker is for bug #587424
+# Keep for longer than usual given it's cheap and avoid user inconvenience
 RDEPEND="${COMMON_DEPEND}
+   

[gentoo-commits] repo/gentoo:master commit in: app-emulation/qemu/files/, app-emulation/qemu/

2022-03-28 Thread Sam James
commit: 7e9e099c436cc0934ca4e092856e5b08909622d6
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 29 05:37:56 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 29 05:37:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e9e099c

app-emulation/qemu: add glibc-2.35 patch

Closes: https://bugs.gentoo.org/836300
Signed-off-by: Sam James  gentoo.org>

 ...u-6.2.0-glibc-2.35-rseq-seccomp-virtiofsd.patch |  61 ++
 app-emulation/qemu/qemu-6.2.0-r4.ebuild| 925 +
 2 files changed, 986 insertions(+)

diff --git 
a/app-emulation/qemu/files/qemu-6.2.0-glibc-2.35-rseq-seccomp-virtiofsd.patch 
b/app-emulation/qemu/files/qemu-6.2.0-glibc-2.35-rseq-seccomp-virtiofsd.patch
new file mode 100644
index ..156d94b0f57e
--- /dev/null
+++ 
b/app-emulation/qemu/files/qemu-6.2.0-glibc-2.35-rseq-seccomp-virtiofsd.patch
@@ -0,0 +1,61 @@
+https://gitlab.com/qemu/qemu/-/commit/7b223e38603de3a75602e14914d26f9d4baf52eb.patch
+https://bugs.gentoo.org/836300
+
+From 7b223e38603de3a75602e14914d26f9d4baf52eb Mon Sep 17 00:00:00 2001
+From: Christian Ehrhardt 
+Date: Wed, 9 Feb 2022 12:14:56 +0100
+Subject: [PATCH] tools/virtiofsd: Add rseq syscall to the seccomp allowlist
+
+The virtiofsd currently crashes when used with glibc 2.35.
+That is due to the rseq system call being added to every thread
+creation [1][2].
+
+[1]: https://www.efficios.com/blog/2019/02/08/linux-restartable-sequences/
+[2]: https://sourceware.org/pipermail/libc-alpha/2022-February/136040.html
+
+This happens not at daemon start, but when a guest connects
+
+/usr/lib/qemu/virtiofsd -f --socket-path=/tmp/testvfsd -o sandbox=chroot \
+-o source=/var/guests/j-virtiofs --socket-group=kvm
+virtio_session_mount: Waiting for vhost-user socket connection...
+# start ok, now guest will connect
+virtio_session_mount: Received vhost-user socket connection
+virtio_loop: Entry
+fv_queue_set_started: qidx=0 started=1
+fv_queue_set_started: qidx=1 started=1
+Bad system call (core dumped)
+
+We have to put rseq on the seccomp allowlist to avoid that the daemon
+is crashing in this case.
+
+Reported-by: Michael Hudson-Doyle 
+Signed-off-by: Christian Ehrhardt 
+Reviewed-by: Dr. David Alan Gilbert 
+Message-id: 20220209111456.3328420-1-christian.ehrha...@canonical.com
+
+[Moved rseq to its alphabetically ordered position in the seccomp
+allowlist.
+--Stefan]
+Signed-off-by: Stefan Hajnoczi 
+---
+ tools/virtiofsd/passthrough_seccomp.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/tools/virtiofsd/passthrough_seccomp.c 
b/tools/virtiofsd/passthrough_seccomp.c
+index a3ce9f898d..2bc0127b69 100644
+--- a/tools/virtiofsd/passthrough_seccomp.c
 b/tools/virtiofsd/passthrough_seccomp.c
+@@ -91,6 +91,9 @@ static const int syscall_allowlist[] = {
+ SCMP_SYS(renameat2),
+ SCMP_SYS(removexattr),
+ SCMP_SYS(restart_syscall),
++#ifdef __NR_rseq
++SCMP_SYS(rseq), /* required since glibc 2.35 */
++#endif
+ SCMP_SYS(rt_sigaction),
+ SCMP_SYS(rt_sigprocmask),
+ SCMP_SYS(rt_sigreturn),
+-- 
+GitLab
+
+

diff --git a/app-emulation/qemu/qemu-6.2.0-r4.ebuild 
b/app-emulation/qemu/qemu-6.2.0-r4.ebuild
new file mode 100644
index ..e981bb09adc5
--- /dev/null
+++ b/app-emulation/qemu/qemu-6.2.0-r4.ebuild
@@ -0,0 +1,925 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8,9,10} )
+PYTHON_REQ_USE="ncurses,readline"
+
+FIRMWARE_ABI_VERSION="6.2.0"
+
+inherit linux-info toolchain-funcs python-r1 udev fcaps readme.gentoo-r1 \
+   pax-utils xdg-utils
+
+if [[ ${PV} = ** ]]; then
+   EGIT_REPO_URI="https://git.qemu.org/git/qemu.git;
+   EGIT_SUBMODULES=(
+   meson
+   tests/fp/berkeley-softfloat-3
+   tests/fp/berkeley-testfloat-3
+   ui/keycodemapdb
+   )
+   inherit git-r3
+   SRC_URI=""
+else
+   SRC_URI="https://download.qemu.org/${P}.tar.xz;
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+fi
+
+DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
+HOMEPAGE="https://www.qemu.org https://www.linux-kvm.org;
+
+LICENSE="GPL-2 LGPL-2 BSD-2"
+SLOT="0"
+
+IUSE="accessibility +aio alsa bpf bzip2 capstone +caps +curl debug +doc
+   +fdt fuse glusterfs +gnutls gtk infiniband iscsi io-uring
+   jack jemalloc +jpeg
+   lzo multipath
+   ncurses nfs nls numa opengl +oss pam +pin-upstream-blobs
+   plugins +png pulseaudio python rbd sasl +seccomp sdl sdl-image selinux
+   +slirp
+   smartcard snappy spice ssh static static-user systemtap test udev usb
+   usbredir vde +vhost-net vhost-user-fs virgl virtfs +vnc vte xattr xen
+   xfs zstd"
+
+COMMON_TARGETS="
+   aarch64
+   alpha
+   arm
+   cris
+   hppa
+   i386
+   m68k
+   microblaze
+   microblazeel
+

[gentoo-commits] repo/gentoo:master commit in: sec-keys/openpgp-keys-sysvinit/

2022-03-28 Thread Sam James
commit: d9fd78955d0733043c9c23cffb94a8fc32560bb9
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 29 05:38:36 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 29 05:38:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9fd7895

sec-keys/openpgp-keys-sysvinit: initial import

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

 sec-keys/openpgp-keys-sysvinit/Manifest  |  1 +
 sec-keys/openpgp-keys-sysvinit/metadata.xml  |  8 
 .../openpgp-keys-sysvinit-20220329.ebuild| 20 
 3 files changed, 29 insertions(+)

diff --git a/sec-keys/openpgp-keys-sysvinit/Manifest 
b/sec-keys/openpgp-keys-sysvinit/Manifest
new file mode 100644
index ..8e9831dccdbf
--- /dev/null
+++ b/sec-keys/openpgp-keys-sysvinit/Manifest
@@ -0,0 +1 @@
+DIST openpgp-keys-sysvinit-20220329.asc 3143 BLAKE2B 
aa460268aa471a195398ac8b6fef1cd40de11449ab3501627b929cdc6f08b4a96a6cb5e3ce2a6342114991e9f620c2e71a6284b9ae339419a7bfd6993a4af5cb
 SHA512 
c4d5af7d55983ffb4507e62206ab054f6e579731e048775857801dd406fc6e3c29b08bd3e416f3815d614955cfa3fedc71de4fa864f47641ad4ee3abb3bdb523

diff --git a/sec-keys/openpgp-keys-sysvinit/metadata.xml 
b/sec-keys/openpgp-keys-sysvinit/metadata.xml
new file mode 100644
index ..8cb7f9b298b9
--- /dev/null
+++ b/sec-keys/openpgp-keys-sysvinit/metadata.xml
@@ -0,0 +1,8 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   base-sys...@gentoo.org
+   
+   
+

diff --git 
a/sec-keys/openpgp-keys-sysvinit/openpgp-keys-sysvinit-20220329.ebuild 
b/sec-keys/openpgp-keys-sysvinit/openpgp-keys-sysvinit-20220329.ebuild
new file mode 100644
index ..4948460209f8
--- /dev/null
+++ b/sec-keys/openpgp-keys-sysvinit/openpgp-keys-sysvinit-20220329.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="OpenPGP keys used by the sysvinit project"
+HOMEPAGE="https://savannah.nongnu.org/projects/sysvinit 
https://github.com/slicer69/sysvinit;
+SRC_URI="https://download.savannah.nongnu.org/releases/sysvinit/sysvinit-verification-key-3.pub
 -> ${P}.asc"
+#SRC_URI="https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=sysvinit=1
 -> ${P}.asc"
+S="${WORKDIR}"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
+
+src_install() {
+   local files=( ${A} )
+   insinto /usr/share/openpgp-keys
+   newins - sysvinit.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
+}



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

2022-03-28 Thread Zac Medico
commit: 4ce42f9d3cb9661589a591d75734e8163fc4991b
Author: Yu Gu  gmail  com>
AuthorDate: Mon Mar 28 14:59:09 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Mar 28 22:48:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ce42f9d

dev-python/python-slugify: keyword 6.1.1 for ~riscv

Signed-off-by: Yu Gu  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

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

diff --git a/dev-python/python-slugify/python-slugify-6.1.1.ebuild 
b/dev-python/python-slugify/python-slugify-6.1.1.ebuild
index b21f1c70787b..c7d0437e556d 100644
--- a/dev-python/python-slugify/python-slugify-6.1.1.ebuild
+++ b/dev-python/python-slugify/python-slugify-6.1.1.ebuild
@@ -19,7 +19,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~ppc64 x86"
+KEYWORDS="amd64 ~ppc64 ~riscv x86"
 
 RDEPEND="dev-python/text-unidecode[${PYTHON_USEDEP}]"
 



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

2022-03-28 Thread Zac Medico
commit: ebb5bf70ab0d722d173df97d47a860ec0f9eb3e4
Author: Yu Gu  gmail  com>
AuthorDate: Mon Mar 28 14:57:59 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Mar 28 22:48:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebb5bf70

dev-python/text-unidecode: keyword 1.3-r1 for ~riscv

Signed-off-by: Yu Gu  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 dev-python/text-unidecode/text-unidecode-1.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/text-unidecode/text-unidecode-1.3-r1.ebuild 
b/dev-python/text-unidecode/text-unidecode-1.3-r1.ebuild
index 97c613f06659..65d0b9d372af 100644
--- a/dev-python/text-unidecode/text-unidecode-1.3-r1.ebuild
+++ b/dev-python/text-unidecode/text-unidecode-1.3-r1.ebuild
@@ -17,6 +17,6 @@ SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
 
 LICENSE="|| ( Artistic GPL-2+ )"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~ppc64 ~riscv ~x86"
 
 distutils_enable_tests pytest



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

2022-03-28 Thread Zac Medico
commit: 4a4c56d3feb54e43d92ca3f25af37a965c53d809
Author: Yu Gu  gmail  com>
AuthorDate: Mon Mar 28 15:00:07 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Mar 28 22:48:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a4c56d3

dev-python/agate: keyword 1.6.3-r2 for ~riscv

Closes: https://github.com/gentoo/gentoo/pull/24792
Signed-off-by: Yu Gu  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 dev-python/agate/agate-1.6.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/agate/agate-1.6.3-r2.ebuild 
b/dev-python/agate/agate-1.6.3-r2.ebuild
index 67dd8ae99c92..54050fabfda6 100644
--- a/dev-python/agate/agate-1.6.3-r2.ebuild
+++ b/dev-python/agate/agate-1.6.3-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~riscv"
 
 RDEPEND="
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]



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

2022-03-28 Thread Zac Medico
commit: d97402b9a40aa27d5c74c2389786ad94f9ae0dc6
Author: Yu Gu  gmail  com>
AuthorDate: Mon Mar 28 14:59:48 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Mar 28 22:48:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d97402b9

dev-python/leather: keyword 0.3.4 for ~riscv

Signed-off-by: Yu Gu  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 dev-python/leather/leather-0.3.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/leather/leather-0.3.4.ebuild 
b/dev-python/leather/leather-0.3.4.ebuild
index 0b16ba2fc747..1766784895a1 100644
--- a/dev-python/leather/leather-0.3.4.ebuild
+++ b/dev-python/leather/leather-0.3.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/wireservice/leather/archive/${PV}.tar.gz -> ${P}.gh.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~riscv"
 
 RDEPEND="
dev-python/cssselect[${PYTHON_USEDEP}]



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

2022-03-28 Thread Zac Medico
commit: 2e00df167a9b8a92f30272552d012ebb9da88d08
Author: Yu Gu  gmail  com>
AuthorDate: Mon Mar 28 14:58:40 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Mar 28 22:48:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e00df16

dev-python/pytimeparse: keyword 1.1.8 for ~riscv

Signed-off-by: Yu Gu  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 dev-python/pytimeparse/pytimeparse-1.1.8.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytimeparse/pytimeparse-1.1.8.ebuild 
b/dev-python/pytimeparse/pytimeparse-1.1.8.ebuild
index 21a4c122bebd..536667deb9cd 100644
--- a/dev-python/pytimeparse/pytimeparse-1.1.8.ebuild
+++ b/dev-python/pytimeparse/pytimeparse-1.1.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/wroberts/pytimeparse 
https://pypi.org/project/pytim
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~riscv"
 
 python_test() {
local unittest_args=(



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

2022-03-28 Thread Zac Medico
commit: 68137084be5e1149d6a21b9998fdc0d122984121
Author: Yu Gu  gmail  com>
AuthorDate: Mon Mar 28 14:59:31 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Mar 28 22:48:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68137084

dev-python/pyicu: keyword 2.8.1 for ~riscv

Signed-off-by: Yu Gu  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

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

diff --git a/dev-python/pyicu/pyicu-2.8.1.ebuild 
b/dev-python/pyicu/pyicu-2.8.1.ebuild
index 4db1f6f6b820..40b49e45feb8 100644
--- a/dev-python/pyicu/pyicu-2.8.1.ebuild
+++ b/dev-python/pyicu/pyicu-2.8.1.ebuild
@@ -19,7 +19,7 @@ S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 ~riscv x86"
 
 RDEPEND="dev-libs/icu:="
 DEPEND="${RDEPEND}"



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

2022-03-28 Thread Sebastian Pipping
commit: 3216e358c8ca6205505e4f3ecba4b4f148a6d52d
Author: Sebastian Pipping  gentoo  org>
AuthorDate: Mon Mar 28 22:59:17 2022 +
Commit: Sebastian Pipping  gentoo  org>
CommitDate: Mon Mar 28 23:01:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3216e358

dev-libs/expat: 2.4.8

Signed-off-by: Sebastian Pipping  gentoo.org>
Package-Manager: Portage-3.0.30, Repoman-3.0.3

 dev-libs/expat/Manifest   |  1 +
 dev-libs/expat/expat-2.4.8.ebuild | 94 +++
 2 files changed, 95 insertions(+)

diff --git a/dev-libs/expat/Manifest b/dev-libs/expat/Manifest
index 2d9481a42a46..9ec4a515ad6a 100644
--- a/dev-libs/expat/Manifest
+++ b/dev-libs/expat/Manifest
@@ -1,2 +1,3 @@
 DIST expat-2.4.6.tar.xz 452468 BLAKE2B 
8b30acc2628e3ce67ee57a4c9bee232f89f49ee70901588f7f5a34844e459cbc447fd225a734078100e52c96a73aa1f016e4f2d51d9a079128d661d97b2213c0
 SHA512 
830b00dbdfb92ef5cab69d783762a78443cd7d834bccda072d103c6178327cf480bde579089b1c3be884e67ddb862178fa734bd7e1f992f6f0ca29d83e21d737
 DIST expat-2.4.7.tar.xz 454136 BLAKE2B 
441616f44ce585f75a67a3ebc2264e5723df55975dbfa9a9279039d3773d9e5a4b37c70a8e26787bbc8742fbc66a077e6845b540df6fede936d98065587fe3ac
 SHA512 
e1a16cd48fcd6c4974dc7058d2e0284e0f91565835ec93f16d3f2c79647124470e5edb9f88f1ab9df5f403883a527750a4d63b941bd26fd43c05cd6f42bdcc48
+DIST expat-2.4.8.tar.xz 454428 BLAKE2B 
25da91fdcdefe81740cc8129fa52bf4ceb0bbbee11f0d750485424dbc638f5fba8c30007d0f0b0e3ff5c84fe197b9b220852976272dfe5d6cc451d114297c2d7
 SHA512 
d19b0d6469537aed20c54bd9cfa4089d39e4acaaddde57809de7c6aec55dc870677c02480e7f65dac5620bd5454b889370453613518f9da647c74a831a2a1b7b

diff --git a/dev-libs/expat/expat-2.4.8.ebuild 
b/dev-libs/expat/expat-2.4.8.ebuild
new file mode 100644
index ..f397e99485c2
--- /dev/null
+++ b/dev-libs/expat/expat-2.4.8.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+AUTOTOOLS_AUTO_DEPEND=no
+AT_NOEAUTOHEADER=yes  # because expat_config.h.in would need post-processing
+inherit autotools multilib-minimal
+
+DESCRIPTION="Stream-oriented XML parser library"
+HOMEPAGE="https://libexpat.github.io/;
+SRC_URI="https://github.com/libexpat/libexpat/releases/download/R_${PV//\./_}/expat-${PV}.tar.xz;
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE="examples static-libs unicode"
+BDEPEND="unicode? ( ${AUTOTOOLS_DEPEND} )"
+
+DOCS=( README.md )
+
+src_prepare() {
+   default
+
+   # fix interpreter to be a recent/good shell
+   sed -i -e "1s:/bin/sh:${BASH}:" conftools/get-version.sh || die
+   if use unicode; then
+   cp -R "${S}" "${S}"w || die
+   pushd "${S}"w >/dev/null
+   find -name Makefile.am \
+   -exec sed \
+   -e 's,libexpat\.la,libexpatw.la,' \
+   -e 's,libexpat_la,libexpatw_la,' \
+   -i {} + || die
+   eautoreconf
+   popd >/dev/null
+   fi
+}
+
+multilib_src_configure() {
+   local myconf="$(use_enable static-libs static) --without-docbook"
+
+   mkdir -p "${BUILD_DIR}"w || die
+
+   if use unicode; then
+   pushd "${BUILD_DIR}"w >/dev/null
+   CPPFLAGS="${CPPFLAGS} -DXML_UNICODE" ECONF_SOURCE="${S}"w econf 
${myconf}
+   popd >/dev/null
+   fi
+
+   ECONF_SOURCE="${S}" econf ${myconf}
+}
+
+multilib_src_compile() {
+   emake
+
+   if use unicode; then
+   pushd "${BUILD_DIR}"w >/dev/null
+   emake -C lib
+   popd >/dev/null
+   fi
+}
+
+multilib_src_install() {
+   emake install DESTDIR="${D}"
+
+   if use unicode; then
+   pushd "${BUILD_DIR}"w >/dev/null
+   emake -C lib install DESTDIR="${D}"
+   popd >/dev/null
+
+   pushd "${ED}"/usr/$(get_libdir)/pkgconfig >/dev/null
+   cp expat.pc expatw.pc
+   sed -i -e '/^Libs/s:-lexpat::' expatw.pc || die
+   popd >/dev/null
+   fi
+}
+
+multilib_src_install_all() {
+   einstalldocs
+
+   doman doc/xmlwf.1
+
+   # Note: Use of HTML_DOCS would add unwanted "doc" subfolder
+   docinto html
+   dodoc doc/*.{css,html}
+
+   if use examples; then
+   docinto examples
+   dodoc examples/*.c
+   docompress -x usr/share/doc/${PF}/examples
+   fi
+
+   find "${D}" -name '*.la' -type f -delete || die
+}



[gentoo-commits] repo/proj/guru:dev commit in: net-im/nheko/

2022-03-28 Thread Ronny Gutbrod
commit: 5749a0f30e0ada324cb32b62b1b0fd5662295b36
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Mon Mar 28 23:47:58 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Mon Mar 28 23:47:58 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5749a0f3

net-im/nheko: Fix dependency: asciidoc{,tor} RDEPEND -> BDEPEND

asciidoc{,tor} is used to generate the manpage.

Signed-off-by: Ronny (tastytea) Gutbrod  tastytea.de>

 net-im/nheko/nheko-0.9.2.ebuild | 12 +++-
 net-im/nheko/nheko-0.9.3.ebuild | 12 +++-
 2 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/net-im/nheko/nheko-0.9.2.ebuild b/net-im/nheko/nheko-0.9.2.ebuild
index 764dc346c..1e6876d1d 100644
--- a/net-im/nheko/nheko-0.9.2.ebuild
+++ b/net-im/nheko/nheko-0.9.2.ebuild
@@ -17,10 +17,6 @@ REQUIRED_USE="video? ( voip )"
 
 MY_GST_V="1.18"
 RDEPEND="
-   || (
-   app-text/asciidoc
-   dev-ruby/asciidoctor
-   )
app-text/cmark
dev-cpp/qt-jdenticon
>=dev-db/lmdb++-1.0.0
@@ -56,7 +52,13 @@ DEPEND="
dev-cpp/nlohmann_json
${RDEPEND}
 "
-BDEPEND="dev-qt/linguist-tools:5"
+BDEPEND="
+   dev-qt/linguist-tools:5
+   || (
+   app-text/asciidoc
+   dev-ruby/asciidoctor
+   )
+"
 
 src_configure() {
local -a mycmakeargs=(

diff --git a/net-im/nheko/nheko-0.9.3.ebuild b/net-im/nheko/nheko-0.9.3.ebuild
index 764dc346c..1e6876d1d 100644
--- a/net-im/nheko/nheko-0.9.3.ebuild
+++ b/net-im/nheko/nheko-0.9.3.ebuild
@@ -17,10 +17,6 @@ REQUIRED_USE="video? ( voip )"
 
 MY_GST_V="1.18"
 RDEPEND="
-   || (
-   app-text/asciidoc
-   dev-ruby/asciidoctor
-   )
app-text/cmark
dev-cpp/qt-jdenticon
>=dev-db/lmdb++-1.0.0
@@ -56,7 +52,13 @@ DEPEND="
dev-cpp/nlohmann_json
${RDEPEND}
 "
-BDEPEND="dev-qt/linguist-tools:5"
+BDEPEND="
+   dev-qt/linguist-tools:5
+   || (
+   app-text/asciidoc
+   dev-ruby/asciidoctor
+   )
+"
 
 src_configure() {
local -a mycmakeargs=(



[gentoo-commits] repo/gentoo:master commit in: gnome-extra/gucharmap/

2022-03-28 Thread Matt Turner
commit: 671c54282ca81f9d56ae5411574dde52730fe944
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Mar 29 00:06:30 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Mar 29 00:07:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=671c5428

gnome-extra/gucharmap: Version bump to 14.0.3

Signed-off-by: Matt Turner  gentoo.org>

 gnome-extra/gucharmap/Manifest|  1 +
 gnome-extra/gucharmap/gucharmap-14.0.3.ebuild | 74 +++
 2 files changed, 75 insertions(+)

diff --git a/gnome-extra/gucharmap/Manifest b/gnome-extra/gucharmap/Manifest
index 2a5f51af05a0..c2b6bccc32cc 100644
--- a/gnome-extra/gucharmap/Manifest
+++ b/gnome-extra/gucharmap/Manifest
@@ -1,2 +1,3 @@
 DIST gucharmap-14.0.2.tar.gz 1925142 BLAKE2B 
3936c187ecdc104534b80830f9089417e8c2166a8e8dbfc848788a58acd9d65889f1242ecd3a2d9a5f2e657dcc052dee22b3ed543d2113509905a472192b19eb
 SHA512 
4cfcebca0cac5cef8e6601c077a49e12aa56e76fec131ccf5ca1fb11bf40e5df8b6ae5ec83c2b64764c9d223d52824d4007c114ee7d85b4246855b8fc15c6c2d
+DIST gucharmap-14.0.3.tar.gz 1931686 BLAKE2B 
e72b46450ad97a49519014882cbfd5792a07daf782fdf0d80e4b9221537548a57d3b43dc2b421f3f72d3b0adfee6f11c53304b4468c78b766ffee9536efebba2
 SHA512 
cb43265a2b54231c15331c299ed10bba8bb83bdc1860ee50764bed8a40ce1421f49edfeb7fa5814c8aac6c23f80936a966346849db83ddf7f94a370adeffc6c8
 DIST gucharmap-3.0.1.tar.bz2 3275481 BLAKE2B 
80dde7791abdc72677add9c65c59f810e6c6952116b92db34059c4c40d2657246b17844c105e68f32c86294e9b4e71e9d48e6f0522855465734d7c24e8d17608
 SHA512 
4d8a2276b5cb1a0b0fadca2a8522755c5884985a12d5b19341b9cefcd7f749ec1286c0271419e38ec84be7edcfa1293e7f0263eb682c75387d692792de3e1fb1

diff --git a/gnome-extra/gucharmap/gucharmap-14.0.3.ebuild 
b/gnome-extra/gucharmap/gucharmap-14.0.3.ebuild
new file mode 100644
index ..e8739e727c8c
--- /dev/null
+++ b/gnome-extra/gucharmap/gucharmap-14.0.3.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{8..10} )
+VALA_MIN_API_VERSION="0.26"
+
+inherit gnome2-utils meson python-any-r1 vala xdg
+
+DESCRIPTION="Unicode character map viewer and library"
+HOMEPAGE="https://wiki.gnome.org/Apps/Gucharmap 
https://gitlab.gnome.org/GNOME/gucharmap/;
+SRC_URI="https://gitlab.gnome.org/GNOME/${PN}/-/archive/${PV}/${P}.tar.gz;
+
+LICENSE="GPL-3+"
+SLOT="2.90"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+UNICODE_VERSION="14.0"
+
+IUSE="+introspection gtk-doc vala"
+REQUIRED_USE="vala? ( introspection )"
+
+RDEPEND="media-libs/freetype:2
+   >=dev-libs/glib-2.32:2
+   >=x11-libs/gtk+-3.22:3[introspection?]
+   >=dev-libs/libpcre2-10.21:=
+   =app-i18n/unicode-data-${UNICODE_VERSION}*
+   >=x11-libs/pango-1.42.4-r2[introspection?]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   ${PYTHON_DEPS}
+   app-text/docbook-xml-dtd:4.1.2
+   dev-util/itstool
+   >=sys-devel/gettext-0.19.8
+   virtual/pkgconfig
+   gtk-doc? ( >=dev-util/gtk-doc-1 )
+   introspection? ( >=dev-libs/gobject-introspection-1.54:= )
+   vala? ( $(vala_depend) )
+"
+
+PATCHES=(
+   "${FILESDIR}"/14.0.1-install-user-help.patch
+   "${FILESDIR}"/14.0.1-fix-file-conflicts.patch
+)
+
+src_prepare() {
+   use vala && vala_src_prepare
+   xdg_src_prepare
+}
+
+src_configure() {
+   local emesonargs=(
+   -Dcharmap=true
+   -Ddbg=false # in 14.0.1 all this does is pass -ggdb3
+   $(meson_use gtk-doc docs)
+   $(meson_use introspection gir)
+   -Dgtk3=true
+   -Ducd_path="${EPREFIX}/usr/share/unicode-data"
+   $(meson_use vala vapi)
+   )
+
+   meson_src_configure
+}
+
+pkg_postinst() {
+   xdg_pkg_postinst
+   gnome2_schemas_update
+}
+
+pkg_postrm() {
+   xdg_pkg_postrm
+   gnome2_schemas_update
+}



[gentoo-commits] repo/gentoo:master commit in: sys-block/gparted/

2022-03-28 Thread Matt Turner
commit: 78e3f359a0c73ebde3a77dbd565134d36c4ca7cd
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Mar 29 00:08:23 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Mar 29 00:08:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78e3f359

sys-block/gparted: Version bump to 1.4.0

Signed-off-by: Matt Turner  gentoo.org>

 sys-block/gparted/Manifest |  1 +
 sys-block/gparted/gparted-1.4.0.ebuild | 90 ++
 2 files changed, 91 insertions(+)

diff --git a/sys-block/gparted/Manifest b/sys-block/gparted/Manifest
index baf74ff90826..ca463d304309 100644
--- a/sys-block/gparted/Manifest
+++ b/sys-block/gparted/Manifest
@@ -1 +1,2 @@
 DIST gparted-1.3.1.tar.gz 4169647 BLAKE2B 
0e79ea51df79460ae70e15a0f4d5bb1158dd808b52224bdf78f153bada278e6a8cb1606aa99e564016db0b4755e4063e0db151628d8d03904626e9f5648d61a1
 SHA512 
2dd2b1eae72f627d8f302d34286e684c6b884faf0246f1f534795213d243a9416ff2a7ead48f44958de1ce00248550336176c0df2469ede825b22ed1b5915c76
+DIST gparted-1.4.0.tar.gz 4308426 BLAKE2B 
834782196e7cfe5c5553200743cbbaf700e59ef01076919d16138e736e16185ec68cd27546f1ff851ff742c51fc170a0f6596e9b014684b8be1d29acfea9
 SHA512 
20f94622fc1a2727f1fc9bb39ea9f04f14af06b0ff7e47c2149730d5eb339089b0d3c21cd3c9ce6f971e955a9f6ab89cc32fd5b7545a5e340b451297d87e8f39

diff --git a/sys-block/gparted/gparted-1.4.0.ebuild 
b/sys-block/gparted/gparted-1.4.0.ebuild
new file mode 100644
index ..81494d836173
--- /dev/null
+++ b/sys-block/gparted/gparted-1.4.0.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit gnome2 optfeature virtualx
+
+DESCRIPTION="Partition editor for graphically managing your disk partitions"
+HOMEPAGE="https://gparted.org/ https://gitlab.gnome.org/GNOME/gparted/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+ FDL-1.2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="kde policykit wayland"
+
+DEPEND="
+   !policykit? (
+   kde? ( >=kde-plasma/kde-cli-tools-5.8.6-r1[kdesu] ) )
+   policykit? ( >=sys-auth/polkit-0.102 )
+   >=dev-cpp/glibmm-2.56.1:2
+   >=dev-cpp/gtkmm-3.24:3.0
+   >=dev-libs/glib-2.58.3-r1:2
+   >=sys-block/parted-3.2:=
+   >=dev-libs/libsigc++-2.10.1:2
+"
+RDEPEND="${DEPEND}
+   >=sys-apps/util-linux-2.33.2
+   wayland? ( x11-apps/xhost )
+"
+BDEPEND="
+   app-text/docbook-xml-dtd:4.1.2
+   >=dev-util/intltool-0.51.0-r2
+   dev-util/itstool
+   sys-devel/gettext
+   virtual/pkgconfig
+"
+
+src_configure() {
+   gnome2_src_configure \
+   --enable-doc \
+   --enable-online-resize \
+   $(use_enable wayland xhost-root) \
+   GKSUPROG=kdesu \
+   ac_cv_prog_have_scrollkeeper_update=no
+}
+
+src_install() {
+   gnome2_src_install
+
+   local _ddir="${D}"/usr/share/applications
+   local _bdir="${D}"/usr/bin
+
+   if ! use policykit; then
+   if use kde; then
+   cp "${_ddir}"/gparted{,-kde}.desktop || die
+   cp "${_bdir}"/gparted{,-kde} || die
+   sed -i -e '/Exec/ s:gparted:gparted-kde:' 
"${_ddir}"/gparted-kde.desktop || die
+   echo 'OnlyShowIn=KDE;' >> 
"${_ddir}"/gparted-kde.desktop || die
+   fi
+   else
+   sed -i -e 's:kdesu::' "${_bdir}"/gparted || die
+   fi
+
+   mv "${ED}"/usr/share/{appdata,metainfo}
+}
+
+src_test() {
+   virtx emake check
+}
+
+pkg_postinst() {
+   gnome2_pkg_postinst
+
+   optfeature_header
+   optfeature "BTRFS support"   sys-fs/btrfs-progs
+   optfeature "DMRAID support"  sys-fs/dmraid 
sys-fs/multipath-tools
+   optfeature "Encrypted device / LUKS support" sys-fs/cryptsetup
+   optfeature "exFAT support"   sys-fs/exfatprogs
+   optfeature "EXT2/EXT3/EXT4 support"  sys-fs/e2fsprogs
+   optfeature "F2FS support"sys-fs/f2fs-tools
+   optfeature "FAT support" sys-fs/dosfstools 
sys-fs/mtools
+   optfeature "HFS support" sys-fs/diskdev_cmds 
sys-fs/hfsutils virtual/udev
+   optfeature "JFS support" sys-fs/jfsutils
+   optfeature "MDADM support"   sys-fs/mdadm
+   optfeature "NTFS support"sys-fs/ntfs3g[ntfsprogs]
+   optfeature "Reiser4 support" sys-fs/reiser4progs
+   optfeature "ReiserFS support"sys-fs/reiserfsprogs
+   optfeature "UDF support" sys-fs/udftools
+   optfeature "XFS support" sys-fs/xfsprogs 
sys-fs/xfsdump
+}



[gentoo-commits] proj/sci:master commit in: dev-python/dandischema/, dev-python/dandischema/files/

2022-03-28 Thread Horea Christian
commit: 17b74679f9aef73bcd9eb3db3d0c4797c7d76d9a
Author: Horea Christian  chymera  eu>
AuthorDate: Tue Mar 29 00:48:01 2022 +
Commit: Horea Christian  gmail  com>
CommitDate: Tue Mar 29 00:48:01 2022 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=17b74679

dev-python/dandischema: new package (DANDI stack)

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Horea Christian  chymera.eu>

 dev-python/dandischema/dandischema-0.4.3.ebuild| 46 ++
 dev-python/dandischema/dandischema-0.5.1.ebuild| 42 
 dev-python/dandischema/dandischema-0.5.3.ebuild| 42 
 dev-python/dandischema/dandischema-0.6.0.ebuild| 42 
 .../files/dandischema-0.3.4-coverage.patch | 11 ++
 .../files/dandischema-0.3.4-versioningit.patch | 10 +
 dev-python/dandischema/metadata.xml| 26 
 7 files changed, 219 insertions(+)

diff --git a/dev-python/dandischema/dandischema-0.4.3.ebuild 
b/dev-python/dandischema/dandischema-0.4.3.ebuild
new file mode 100644
index 0..18584a8d4
--- /dev/null
+++ b/dev-python/dandischema/dandischema-0.4.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Schemata for DANDI archive project"
+HOMEPAGE="https://github.com/dandi/dandischema;
+SRC_URI="https://github.com/dandi/dandischema/archive/refs/tags/${PV}.tar.gz 
-> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   dev-python/wheel[${PYTHON_USEDEP}]
+   dev-python/jsonschema[${PYTHON_USEDEP}]
+   dev-python/pydantic[${PYTHON_USEDEP}]
+   dev-python/python-email-validator[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+"
+DEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.3.4-coverage.patch"
+   "${FILESDIR}/${PN}-0.3.4-versioningit.patch"
+)
+
+src_configure() {
+   echo "__version__ = '${PV}'" >> dandischema/_version.py
+}
+
+distutils_enable_tests pytest
+
+python_test() {
+   export DANDI_TESTS_NONETWORK=1
+   pushd dandischema || die
+   epytest tests
+   popd
+}

diff --git a/dev-python/dandischema/dandischema-0.5.1.ebuild 
b/dev-python/dandischema/dandischema-0.5.1.ebuild
new file mode 100644
index 0..e261a7540
--- /dev/null
+++ b/dev-python/dandischema/dandischema-0.5.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Schemata for DANDI archive project"
+HOMEPAGE="https://github.com/dandi/dandischema;
+SRC_URI="https://github.com/dandi/dandischema/archive/refs/tags/${PV}.tar.gz 
-> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   dev-python/wheel[${PYTHON_USEDEP}]
+   dev-python/jsonschema[${PYTHON_USEDEP}]
+   dev-python/pydantic[${PYTHON_USEDEP}]
+   dev-python/python-email-validator[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.3.4-coverage.patch"
+)
+
+src_configure() {
+   echo "__version__ = '${PV}'" >> dandischema/_version.py
+}
+
+distutils_enable_tests pytest
+
+python_test() {
+   export DANDI_TESTS_NONETWORK=1
+   pushd dandischema || die
+   epytest tests
+   popd
+}

diff --git a/dev-python/dandischema/dandischema-0.5.3.ebuild 
b/dev-python/dandischema/dandischema-0.5.3.ebuild
new file mode 100644
index 0..e261a7540
--- /dev/null
+++ b/dev-python/dandischema/dandischema-0.5.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Schemata for DANDI archive project"
+HOMEPAGE="https://github.com/dandi/dandischema;
+SRC_URI="https://github.com/dandi/dandischema/archive/refs/tags/${PV}.tar.gz 
-> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   dev-python/wheel[${PYTHON_USEDEP}]
+   dev-python/jsonschema[${PYTHON_USEDEP}]
+   dev-python/pydantic[${PYTHON_USEDEP}]
+   dev-python/python-email-validator[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.3.4-coverage.patch"
+)
+
+src_configure() {
+   echo "__version__ = '${PV}'" >> dandischema/_version.py
+}
+
+distutils_enable_tests pytest
+
+python_test() {
+   export DANDI_TESTS_NONETWORK=1
+   pushd dandischema || die
+   epytest tests
+   popd
+}

diff --git 

[gentoo-commits] proj/linux-patches: New tag: 5.15-35

2022-03-28 Thread Mike Pagano
commit: 
Commit: Mike Pagano  gentoo  org>
CommitDate: Mon Mar 28 22:51:35 2022 +

New tag: 5.15-35




[gentoo-commits] repo/gentoo:master commit in: sys-kernel/gentoo-sources/

2022-03-28 Thread Mike Pagano
commit: 35d503deb665bedebfee0c2ff865ec91ed21e72c
Author: Mike Pagano  gentoo  org>
AuthorDate: Mon Mar 28 23:03:54 2022 +
Commit: Mike Pagano  gentoo  org>
CommitDate: Mon Mar 28 23:03:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35d503de

sys-kernel/gentoo-sources: Add revert for swiotlb patch to 5.1r

Bug: https://bugs.gentoo.org/835513

Signed-off-by: Mike Pagano  gentoo.org>

 sys-kernel/gentoo-sources/Manifest |  3 +++
 .../gentoo-sources-5.15.32-r1.ebuild   | 28 ++
 2 files changed, 31 insertions(+)

diff --git a/sys-kernel/gentoo-sources/Manifest 
b/sys-kernel/gentoo-sources/Manifest
index 77bc4d11fbf6..9153f36aa1cf 100644
--- a/sys-kernel/gentoo-sources/Manifest
+++ b/sys-kernel/gentoo-sources/Manifest
@@ -88,6 +88,9 @@ DIST genpatches-5.15-33.extras.tar.xz 3876 BLAKE2B 
4a7d695523ec637b847c28eb168bb
 DIST genpatches-5.15-34.base.tar.xz 1304560 BLAKE2B 
d7343aa013da3db621f7d17f4ac08298d860d90950520a0665d1ba614f947a401c10d33e97e8997ce9ee8e9e83355b2c054a064ebd6af4641b3b0d1c048a9b2c
 SHA512 
b502ae1dd5cedf5e7847d4d3519beacceb6a5f8ab0b503a36df792ab23e62e0f07166fee5817b8152c93dd5d6ece7ce3b72b6de8ac7ef6875cb9253acaa62b75
 DIST genpatches-5.15-34.experimental.tar.xz 5420 BLAKE2B 
3b489e06b7976acdca297040cba18624232f1efa54c664b509647b12a1fd2e7fb9fe397109fd4efb4652ec57e3e15970789a2854aa953a5ffa1bcb6b6acad544
 SHA512 
984c08aff3c94dd0af51028311de26ff15963cee25eb847c25246c12b30878c3ea81e79159877f84a5bc41b53889f90383aee7d12fb0bd1ee3085faf86325bbb
 DIST genpatches-5.15-34.extras.tar.xz 3876 BLAKE2B 
17e95df8de7387f9b3d3361cd16c1743fb2e3667df91aa2faf5c1c9bce8b0bf27d0039dd661e222457dbfb11e4e8b17dc4ba058680621c817a2ac921c5c78f5f
 SHA512 
2963b146bf94e1fdd190f023f6a91272fc4ef82ef97189f49a2211b2ba51f32b39df4173c0aaa5c4f7dc52bc2145e36f0b86dc45ceb68c55eb77be3596f19494
+DIST genpatches-5.15-35.base.tar.xz 1306764 BLAKE2B 
5ea5655e825b9196663a7bb830ef34d74da7c9f922f7a71b46f7bc8755adacddd3b55f57e85b29532d6936ca481699ffae36642401e34293b4c6a445abb92db7
 SHA512 
50030f2dafba3e7fd16df7a6dd275fdbede772273009d1f1055dc904dc7afe947e92e9a32274c337938edd35073adc2e101d18a6ccd39529461d703af3e20566
+DIST genpatches-5.15-35.experimental.tar.xz 5416 BLAKE2B 
b412d648afa7f6095c127eb4a04a1f70243b84aab111fcf25ee201b782193a12a7427742626385f7775bfa974b629841cc7ccf7a602fdba8fc11d2194dca1e1e
 SHA512 
8cad75c5af41317c98881a13936e20e84538c75489349670e34a45f11dc57006bc04a1aee76876fb846c66e205f9298a4607eb02d71f6e6c3f70d1d4eef12312
+DIST genpatches-5.15-35.extras.tar.xz 3876 BLAKE2B 
5b14c88d66ede25e8417bdebc3c822d2f3755a13f21cef8a95088c97bba42a44357c98d13ce5a40e3aeb128ec0716540e893b108bf1f73256cb45250cd7ef43c
 SHA512 
bdd8c5a700e9902cb7db17094fcc220eaca4774639d73e8496ac061fbba9fb80f6aa136aa9e87331a636af6146737fdec3c21249da7a18b5fec4d82de559e24f
 DIST genpatches-5.16-15.base.tar.xz 709572 BLAKE2B 
bb6e5656cee01af674e30c5dbf66d6d538122161c69a21951f5b514c9d372a7ba40d653ee8c25358875fe4feaaea272cc849b6d07ede548d912b8672531e2815
 SHA512 
ad2daebb4d7602c8426b9990c9a2148715247917bf32a0310676b02f38f82b306b4469660836718747705074c8616fc2b083e9c6fdcb982a94be3bb06c7c05a4
 DIST genpatches-5.16-15.experimental.tar.xz 5424 BLAKE2B 
8ab77c5903f502534ad472f9387bc3c466911b633d2264dff0bf622ba86f55f5e606fc328a8de760857f2ef1c8d0a7b611608d65db502a6d94ed1c01cd5b85ab
 SHA512 
24b4a46fc694e05aa25e199f97c4b88428c31ac94563f6e145f8d6848b0447c9548e03c958c823add6457d6eaaaebb4c9ced132740a9685a620d1b61f7ae9005
 DIST genpatches-5.16-15.extras.tar.xz 3800 BLAKE2B 
b4142537d04eed518b9a7e827879b7e427d8c0a06710dd72f9f84e1990db72dd48382c67a9e0cf24f9b104b8cddf4d28739fd93e705b97952e364b3693ff1671
 SHA512 
773543f9989255ce2fb3f6f32aa546f2109eb52e2e816572e027a8428f93bb9c72baadc59ee3019edd03fc97339d30c34c2d8b50b2e1d0e5383b1633b2c0e169

diff --git a/sys-kernel/gentoo-sources/gentoo-sources-5.15.32-r1.ebuild 
b/sys-kernel/gentoo-sources/gentoo-sources-5.15.32-r1.ebuild
new file mode 100644
index ..f4a5dd1d0e26
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-5.15.32-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="35"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches;
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the 
${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+   kernel-2_pkg_postinst
+   einfo "For more info on this patchset, and how to report problems, see:"
+   einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+   kernel-2_pkg_postrm
+}



[gentoo-commits] repo/gentoo:master commit in: x11-base/xwayland/

2022-03-28 Thread Matt Turner
commit: 0988b2782f579359a4759a02e9c1a0e4a14965df
Author: Daniel Santos  pobox  com>
AuthorDate: Sun Mar 27 20:15:27 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Mar 28 23:24:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0988b278

x11-base/xwayland: Raise dependency on dev-libs/wayland

Xwayland calls wl_proxy_marshal_flags() which was added in wayland-1.20.

Closes: https://bugs.gentoo.org/832762
Signed-off-by: Daniel Santos  pobox.com>
Signed-off-by: Matt Turner  gentoo.org>

 x11-base/xwayland/xwayland-21.1.4.ebuild | 2 +-
 x11-base/xwayland/xwayland-22.1.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-base/xwayland/xwayland-21.1.4.ebuild 
b/x11-base/xwayland/xwayland-21.1.4.ebuild
index 1a68db1c9a96..3f95543af791 100644
--- a/x11-base/xwayland/xwayland-21.1.4.ebuild
+++ b/x11-base/xwayland/xwayland-21.1.4.ebuild
@@ -20,7 +20,7 @@ DEPEND="
dev-libs/libbsd
>=x11-libs/libXfont2-2.0.1
dev-libs/openssl:=
-   dev-libs/wayland
+   >=dev-libs/wayland-1.20
video_cards_nvidia? ( gui-libs/egl-wayland )
>=x11-libs/libXdmcp-1.0.2
>=x11-libs/libdrm-2.4.89

diff --git a/x11-base/xwayland/xwayland-22.1.0.ebuild 
b/x11-base/xwayland/xwayland-22.1.0.ebuild
index 54ef1745e2ba..242b2daef28f 100644
--- a/x11-base/xwayland/xwayland-22.1.0.ebuild
+++ b/x11-base/xwayland/xwayland-22.1.0.ebuild
@@ -18,7 +18,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc 
~ppc64 ~riscv ~s390 ~
 COMMON_DEPEND="
dev-libs/libbsd
dev-libs/openssl:=
-   >=dev-libs/wayland-1.5.0
+   >=dev-libs/wayland-1.20
>=dev-libs/wayland-protocols-1.22
media-fonts/font-util
>=media-libs/libepoxy-1.5.4[X,egl(+)]



[gentoo-commits] repo/gentoo:master commit in: sys-kernel/gentoo-sources/

2022-03-28 Thread Mike Pagano
commit: 45c6ca5497abf17af424683b4452f7d94f87bb71
Author: Mike Pagano  gentoo  org>
AuthorDate: Mon Mar 28 22:21:12 2022 +
Commit: Mike Pagano  gentoo  org>
CommitDate: Mon Mar 28 22:21:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45c6ca54

sys-kernel/gentoo-sources: Add revert for swiotlb patch

Bug: https://bugs.gentoo.org/835513

Signed-off-by: Mike Pagano  gentoo.org>

 sys-kernel/gentoo-sources/Manifest |  3 +++
 .../gentoo-sources/gentoo-sources-5.17.1-r1.ebuild | 28 ++
 2 files changed, 31 insertions(+)

diff --git a/sys-kernel/gentoo-sources/Manifest 
b/sys-kernel/gentoo-sources/Manifest
index 9501ddd554a9..2efb1dc1f8bc 100644
--- a/sys-kernel/gentoo-sources/Manifest
+++ b/sys-kernel/gentoo-sources/Manifest
@@ -109,6 +109,9 @@ DIST genpatches-5.17-1.extras.tar.xz 3800 BLAKE2B 
7c7c955dbbc2aa6fe8b39f84c993f7
 DIST genpatches-5.17-2.base.tar.xz 22180 BLAKE2B 
3b212bfdc60261bc1c936e8c948b6da3fe2d47cbe9fa264ad805b1fd5eaca5923a1c8f1edf32151a4882bb74160acd2b04d00082b9105db49eafda58d18e665f
 SHA512 
881df22e44b86bcbb787d0614b7b979001dc583b4c71e2c24c4d10a0ae529ed288df80812ef4d2f31e931892efe8b8b3df3a063739c83403cc6053c028d96138
 DIST genpatches-5.17-2.experimental.tar.xz 5396 BLAKE2B 
fb0098c2a3a63debd2496fa19cf969fed7d183caa6582685b36bbc873c8dea1085ee5788119d97e7827ad339e7bd8f69ce1458cdf41dad835204771132e50462
 SHA512 
7d0018b516a922b64a930d8630a1620f00fee5e27a99cf714bc96f6bbb8268e609f2cd5c09a139567710e7ab14c1a8af6a39187b7d5d895c524fe73a5d612bf4
 DIST genpatches-5.17-2.extras.tar.xz 3800 BLAKE2B 
20ad944393005ecf57ea6aae31854b53523ffa0ab1d88b71763bb0ebcc2c7197e1236379b1ad9d57f28d1cf65e6f44bc637bb7b49648bfe321066be8b175854d
 SHA512 
51fa0659f3b93bc81f62abfa3e780ede106d87c02fcde055cbad1a0e42b46a974837dce1483de4668f68a4bd9f63671450b8364b7916df3f7624ba247194cab4
+DIST genpatches-5.17-3.base.tar.xz 24844 BLAKE2B 
3186fc19a40cd439a47dc05af775ee472a01932b9b5e418f972ec9a716a9ad946c1732ac73a58ee5868a9d027e21c24abde616d629f5a5842c760a72279c42aa
 SHA512 
2c8fa1e9c2d1c706fdecf9a21a24a636ddac996ee4d606f6d600e270d7560c3b4a17957649afd313086170079162f00ab45b488a3f87423c1b22e21de021d237
+DIST genpatches-5.17-3.experimental.tar.xz 5400 BLAKE2B 
59715c8695eae7556cc9739a05fcf9ed894058addcbb2064e5546b510856691591e85fdb50f915453eab3137dfed2108ffc694c65fa0df4f864054a53dd253fb
 SHA512 
350659610e21f3341e33ecdca4c90cf940f79164503fead21e46513167dd18dd873801ade2f46c045431c582066fb3f3abd137a66984f79e52959a4397aca67a
+DIST genpatches-5.17-3.extras.tar.xz 3796 BLAKE2B 
4c5855b356f0e5ce882fd28db861e946dd3d4342b856c51c895ada53b30b0bddd850be2e2c3b3d416e2ad1c4056afa6967cbc5f208885f9b938dbd767466557f
 SHA512 
7851f60704b012cfb97f57ecd20720df702635f9e3375fc00a27871aa487f2eec8902a27da4cf62750f3209532958b3bdff3061d7a76cc5b50248452251b1bda
 DIST genpatches-5.4-189.base.tar.xz 4492528 BLAKE2B 
9fc86ea4e71968c77f4fe705f5e01220545becc1f062a53875e4cc451a880a2482d70c1830b98ba447c77131422cd8305f2636c702737a94cda749f0927b2706
 SHA512 
f4c9946b88d8b61df0d267d915fa047de8774603c0e98fa6ef2cbd930e5c3d83fe4755327dce54739a580d674260ce45c3cffef9180369821f947170398a5de7
 DIST genpatches-5.4-189.experimental.tar.xz 16896 BLAKE2B 
c86143cec3a98ac9f8c6c8aa2e74eec9f1a1ab0ac9cc0af7e85c1966abd5b5dfde483f09273f998453fb4ca6672cb6a4909e616c0c553017009615053c4a69d3
 SHA512 
29905855788db559902561d9b937ecfe00ff4421d3b785b749e151c356c4d6bacacd82ac3be007074ae1e4ee6dd2c6025402ea53a42bbfb00d756e1543949c36
 DIST genpatches-5.4-189.extras.tar.xz 1812 BLAKE2B 
04e839c3c648cebfa8e15aa956670ecfd1c7a830960e7facff9015ad37c9b8ec0a85f510a559846163a277da9b669a0512d22b45b6ac7c1dfc9fdde99acbe9da
 SHA512 
9357b36b51ffc30e92197affa4e60e0e01180c218cfdd17c91538b2ac12ca79fc534ca0b4f6a019ff3db97c8d41298fbd383d8c4c7fd0d8b1bc0494a330e

diff --git a/sys-kernel/gentoo-sources/gentoo-sources-5.17.1-r1.ebuild 
b/sys-kernel/gentoo-sources/gentoo-sources-5.17.1-r1.ebuild
new file mode 100644
index ..9fc029507ff0
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-5.17.1-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="3"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches;
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the 
${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+   kernel-2_pkg_postinst
+   einfo "For more info on this patchset, and how to report problems, see:"
+   einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+   kernel-2_pkg_postrm
+}



[gentoo-commits] proj/linux-patches:5.16 commit in: /

2022-03-28 Thread Mike Pagano
commit: 395cbb149a7874a22ba7417cab583e4d61d7098f
Author: Mike Pagano  gentoo  org>
AuthorDate: Mon Mar 28 22:32:07 2022 +
Commit: Mike Pagano  gentoo  org>
CommitDate: Mon Mar 28 22:32:07 2022 +
URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=395cbb14

Revert swiotlb: rework fix info leak with DMA_FROM_DEVICE

Signed-off-by: Mike Pagano  gentoo.org>

 _README|   4 +
 ...rework-fix-info-leak-with-dma_from_device.patch | 187 +
 2 files changed, 191 insertions(+)

diff --git a/_README b/_README
index ccfb3dab..a4e3e3b3 100644
--- a/_README
+++ b/_README
@@ -131,6 +131,10 @@ Patch:  
2400_mt76-mt7921e-fix-possible-probe-failure-after-reboot.patch
 From:   
https://patchwork.kernel.org/project/linux-wireless/patch/70e27cbc652cbdb78277b9c691a3a5ba02653afb.1641540175.git.obj...@gmail.com/
 Desc:   mt76: mt7921e: fix possible probe failure after reboot
 
+Patch:  2410_revert-swiotlb-rework-fix-info-leak-with-dma_from_device.patch
+From:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git
+Desc:   Revert swiotlb: rework fix info leak with DMA_FROM_DEVICE
+
 Patch:  2900_tmp513-Fix-build-issue-by-selecting-CONFIG_REG.patch
 From:   https://bugs.gentoo.org/710790
 Desc:   tmp513 requies REGMAP_I2C to build.  Select it by default in Kconfig. 
See bug #710790. Thanks to Phil Stracchino

diff --git 
a/2410_revert-swiotlb-rework-fix-info-leak-with-dma_from_device.patch 
b/2410_revert-swiotlb-rework-fix-info-leak-with-dma_from_device.patch
new file mode 100644
index ..69476ab1
--- /dev/null
+++ b/2410_revert-swiotlb-rework-fix-info-leak-with-dma_from_device.patch
@@ -0,0 +1,187 @@
+From bddac7c1e02ba47f0570e494c9289acea3062cc1 Mon Sep 17 00:00:00 2001
+From: Linus Torvalds 
+Date: Sat, 26 Mar 2022 10:42:04 -0700
+Subject: Revert "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+From: Linus Torvalds 
+
+commit bddac7c1e02ba47f0570e494c9289acea3062cc1 upstream.
+
+This reverts commit aa6f8dcbab473f3a3c7454b74caa46d36cdc5d13.
+
+It turns out this breaks at least the ath9k wireless driver, and
+possibly others.
+
+What the ath9k driver does on packet receive is to set up the DMA
+transfer with:
+
+  int ath_rx_init(..)
+  ..
+bf->bf_buf_addr = dma_map_single(sc->dev, skb->data,
+ common->rx_bufsize,
+ DMA_FROM_DEVICE);
+
+and then the receive logic (through ath_rx_tasklet()) will fetch
+incoming packets
+
+  static bool ath_edma_get_buffers(..)
+  ..
+dma_sync_single_for_cpu(sc->dev, bf->bf_buf_addr,
+common->rx_bufsize, DMA_FROM_DEVICE);
+
+ret = ath9k_hw_process_rxdesc_edma(ah, rs, skb->data);
+if (ret == -EINPROGRESS) {
+/*let device gain the buffer again*/
+dma_sync_single_for_device(sc->dev, bf->bf_buf_addr,
+common->rx_bufsize, DMA_FROM_DEVICE);
+return false;
+}
+
+and it's worth noting how that first DMA sync:
+
+dma_sync_single_for_cpu(..DMA_FROM_DEVICE);
+
+is there to make sure the CPU can read the DMA buffer (possibly by
+copying it from the bounce buffer area, or by doing some cache flush).
+The iommu correctly turns that into a "copy from bounce bufer" so that
+the driver can look at the state of the packets.
+
+In the meantime, the device may continue to write to the DMA buffer, but
+we at least have a snapshot of the state due to that first DMA sync.
+
+But that _second_ DMA sync:
+
+dma_sync_single_for_device(..DMA_FROM_DEVICE);
+
+is telling the DMA mapping that the CPU wasn't interested in the area
+because the packet wasn't there.  In the case of a DMA bounce buffer,
+that is a no-op.
+
+Note how it's not a sync for the CPU (the "for_device()" part), and it's
+not a sync for data written by the CPU (the "DMA_FROM_DEVICE" part).
+
+Or rather, it _should_ be a no-op.  That's what commit aa6f8dcbab47
+broke: it made the code bounce the buffer unconditionally, and changed
+the DMA_FROM_DEVICE to just unconditionally and illogically be
+DMA_TO_DEVICE.
+
+[ Side note: purely within the confines of the swiotlb driver it wasn't
+  entirely illogical: The reason it did that odd DMA_FROM_DEVICE ->
+  DMA_TO_DEVICE conversion thing is because inside the swiotlb driver,
+  it uses just a swiotlb_bounce() helper that doesn't care about the
+  whole distinction of who the sync is for - only which direction to
+  bounce.
+
+  So it took the "sync for device" to mean that the CPU must have been
+  the one writing, and thought it meant DMA_TO_DEVICE. ]
+
+Also note how the commentary in that commit was wrong, probably due to
+that whole confusion, claiming that the commit makes the swiotlb code
+
+

[gentoo-commits] proj/linux-patches: New tag: 5.16-20

2022-03-28 Thread Mike Pagano
commit: 
Commit: Mike Pagano  gentoo  org>
CommitDate: Mon Mar 28 22:32:40 2022 +

New tag: 5.16-20




[gentoo-commits] repo/gentoo:master commit in: sys-kernel/gentoo-sources/

2022-03-28 Thread Mike Pagano
commit: dbd8f4a8ca141f718a887623c7f64350b9041bd9
Author: Mike Pagano  gentoo  org>
AuthorDate: Mon Mar 28 22:45:37 2022 +
Commit: Mike Pagano  gentoo  org>
CommitDate: Mon Mar 28 22:45:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbd8f4a8

sys-kernel/gentoo-sources: Add revert for swiotlb patch to 5.16

Bug: https://bugs.gentoo.org/835513

Signed-off-by: Mike Pagano  gentoo.org>

 sys-kernel/gentoo-sources/Manifest |  3 +++
 .../gentoo-sources-5.16.18-r1.ebuild   | 28 ++
 2 files changed, 31 insertions(+)

diff --git a/sys-kernel/gentoo-sources/Manifest 
b/sys-kernel/gentoo-sources/Manifest
index 2efb1dc1f8bc..77bc4d11fbf6 100644
--- a/sys-kernel/gentoo-sources/Manifest
+++ b/sys-kernel/gentoo-sources/Manifest
@@ -103,6 +103,9 @@ DIST genpatches-5.16-18.extras.tar.xz 3800 BLAKE2B 
df1212d36eec642a4c5eff67afe7b
 DIST genpatches-5.16-19.base.tar.xz 770100 BLAKE2B 
2633ec6c3161c7d58e778b8bc20b125e511973204371f2642b73a01b5195729be3d0ffe1a63677afaba2331538d2f45b3cf14380f9395cc8c59c39b7582617fc
 SHA512 
c05e9e41b8bf259ae75c429a1014818bd517620fcdc3873343cda29c1b6338d8776af0ae97e24c75d79bf8382b3fac84dff8c3b066ec95a428de60569ee5e123
 DIST genpatches-5.16-19.experimental.tar.xz 5424 BLAKE2B 
de74940257f5f27cf9832a794f4aaf1eb8598c7d9d6032c578f7e34613b55fd3a1424c4346fb97d981c0d234a1084758b1cdb40df26328d863863878ec6e296b
 SHA512 
6eb2c4fdc8c7ac7d03d1478538230678cfb064ad7d4273ac77bb47dc942d4c7fd10f2b3e676846fc8d91b296983eb30211d598197930b6bd9f468a6839aa98db
 DIST genpatches-5.16-19.extras.tar.xz 3800 BLAKE2B 
a833a2ebd95684ff8f56b6ef78198353a06df41b41d41003b34a551e8ab901b34bece5f79132550c2d167a4bab782cd13fe4b4e22115cbc8306c5d48ed197f06
 SHA512 
0c82d90d8fd749c33b79c84171fa11c55b18d2f907bd97c544d08ab8a622b31d025930b9f93c4b43f669ac0f75e066fbdd06c169e7ff0ed3648901bcbc78f78e
+DIST genpatches-5.16-20.base.tar.xz 772164 BLAKE2B 
f29e052926e6c72417d93b7e114f7dd688def99891508b358414ea3930e3761d6e79e7d09722c4479ab7e0d495d53cbc1084270f8782a579d4ed56f58caa157c
 SHA512 
00a034d6a2a79daf856c0cf8e6dd30753d89b95fb9de9a5aff4f5a0dad651eb53eea24aef7c582f866749ad3fc533ed7087f7dfd11600fef8cebf85d2cc9c58b
+DIST genpatches-5.16-20.experimental.tar.xz 5420 BLAKE2B 
bc23d408701ac3a0ddd6056408491c98c50332cb59cdb14d73d0a53390eac92a5d7a185e3a8742ecc2b08876fa9bde4e6575f5820958c05b1e61e4df2d963ba1
 SHA512 
9eee803f48be1120944d3dd2472918688a7aef7731dcce6ebabc8cbfc0b406b60631d9f3fd30e15aa16f09b0728d301c9eb1a60aeee24a2d84c4455d206347d1
+DIST genpatches-5.16-20.extras.tar.xz 3800 BLAKE2B 
c815ea22d067c98f82650726a6c8a2e937c7bddb8b941e9d54c3014f4d8ea173cb1e54e76e23b6f767ae247fafbe02a8def6f39e5c6523e8c8cb12f098b8a34e
 SHA512 
788ad08dfb0639c5ad42bb761d99bb534fdc5a9be54e9cededf90e0da34f13089b82609d8c7ccddc6fc1a28b913d4012c0e44b6768c84927e582f3a04be7ae55
 DIST genpatches-5.17-1.base.tar.xz 7588 BLAKE2B 
d0046364d4f26368f627d920552e1a67c6b5f25cf5b101ba6b04bf395482d3341deb65d2207159faab9028abc3a8e615746474072dec34d38732296a77d893f1
 SHA512 
b4f355f9006457374b212d5b79442d0d7fd371064943947ed2b64f0b1fd6357ac7e367249e11827444ea73f0ef1f015a7741d4ace38ae1d68fdcc67f00af0fd2
 DIST genpatches-5.17-1.experimental.tar.xz 5404 BLAKE2B 
a28f67bbea63d27ac7a79aeccb025992d21ff821ce6c6eca8db5f089565a540fafe9cb7c3066572a250d0f05bc84ed2211e2f893abaf44ea4aea5f7cea2c2416
 SHA512 
d7c6845962734ae4a9700be49f5bf3c70053ee273bff272256ea592c5ac47499903ad5b72368a258ed64a22bd12d87b6f1552a22cebe3685f98243670be11004
 DIST genpatches-5.17-1.extras.tar.xz 3800 BLAKE2B 
7c7c955dbbc2aa6fe8b39f84c993f76aa117b5f218a2de9ff15a165c2d15d253a5adca5c979e5fd887d9b76cbfd2c9c70cc6f2d6d493fad011337e7a941cb498
 SHA512 
c47a545e6ac510e87f8239afc5b23aefb2956de3446a0e16b79396fb1c335456638101fd615446220987278bc1f68d1154958018793056699270d2250731c47d

diff --git a/sys-kernel/gentoo-sources/gentoo-sources-5.16.18-r1.ebuild 
b/sys-kernel/gentoo-sources/gentoo-sources-5.16.18-r1.ebuild
new file mode 100644
index ..0a603bb74fae
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-5.16.18-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="20"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches;
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the 
${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+   kernel-2_pkg_postinst
+   einfo "For more info on this patchset, and how to report problems, see:"
+   einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+   kernel-2_pkg_postrm
+}



[gentoo-commits] proj/linux-patches:5.15 commit in: /

2022-03-28 Thread Mike Pagano
commit: 20417eb334c61341e2228a680488aebe06bbcd16
Author: Mike Pagano  gentoo  org>
AuthorDate: Mon Mar 28 22:50:11 2022 +
Commit: Mike Pagano  gentoo  org>
CommitDate: Mon Mar 28 22:50:11 2022 +
URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=20417eb3

Revert swiotlb: rework fix info leak with DMA_FROM_DEVICE

Signed-off-by: Mike Pagano  gentoo.org>

 _README|   4 +
 ...rework-fix-info-leak-with-dma_from_device.patch | 187 +
 2 files changed, 191 insertions(+)

diff --git a/_README b/_README
index c59e90bb..0aae2d47 100644
--- a/_README
+++ b/_README
@@ -183,6 +183,10 @@ Patch:  
2000_BT-Check-key-sizes-only-if-Secure-Simple-Pairing-enabled.patch
 From:   
https://lore.kernel.org/linux-bluetooth/20190522070540.48895-1-mar...@holtmann.org/raw
 Desc:   Bluetooth: Check key sizes only when Secure Simple Pairing is enabled. 
See bug #686758
 
+Patch:  2410_revert-swiotlb-rework-fix-info-leak-with-dma_from_device.patch
+From:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git
+Desc:   Revert swiotlb: rework fix info leak with DMA_FROM_DEVICE
+
 Patch:  2900_tmp513-Fix-build-issue-by-selecting-CONFIG_REG.patch
 From:   https://bugs.gentoo.org/710790
 Desc:   tmp513 requies REGMAP_I2C to build.  Select it by default in Kconfig. 
See bug #710790. Thanks to Phil Stracchino

diff --git 
a/2410_revert-swiotlb-rework-fix-info-leak-with-dma_from_device.patch 
b/2410_revert-swiotlb-rework-fix-info-leak-with-dma_from_device.patch
new file mode 100644
index ..69476ab1
--- /dev/null
+++ b/2410_revert-swiotlb-rework-fix-info-leak-with-dma_from_device.patch
@@ -0,0 +1,187 @@
+From bddac7c1e02ba47f0570e494c9289acea3062cc1 Mon Sep 17 00:00:00 2001
+From: Linus Torvalds 
+Date: Sat, 26 Mar 2022 10:42:04 -0700
+Subject: Revert "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+From: Linus Torvalds 
+
+commit bddac7c1e02ba47f0570e494c9289acea3062cc1 upstream.
+
+This reverts commit aa6f8dcbab473f3a3c7454b74caa46d36cdc5d13.
+
+It turns out this breaks at least the ath9k wireless driver, and
+possibly others.
+
+What the ath9k driver does on packet receive is to set up the DMA
+transfer with:
+
+  int ath_rx_init(..)
+  ..
+bf->bf_buf_addr = dma_map_single(sc->dev, skb->data,
+ common->rx_bufsize,
+ DMA_FROM_DEVICE);
+
+and then the receive logic (through ath_rx_tasklet()) will fetch
+incoming packets
+
+  static bool ath_edma_get_buffers(..)
+  ..
+dma_sync_single_for_cpu(sc->dev, bf->bf_buf_addr,
+common->rx_bufsize, DMA_FROM_DEVICE);
+
+ret = ath9k_hw_process_rxdesc_edma(ah, rs, skb->data);
+if (ret == -EINPROGRESS) {
+/*let device gain the buffer again*/
+dma_sync_single_for_device(sc->dev, bf->bf_buf_addr,
+common->rx_bufsize, DMA_FROM_DEVICE);
+return false;
+}
+
+and it's worth noting how that first DMA sync:
+
+dma_sync_single_for_cpu(..DMA_FROM_DEVICE);
+
+is there to make sure the CPU can read the DMA buffer (possibly by
+copying it from the bounce buffer area, or by doing some cache flush).
+The iommu correctly turns that into a "copy from bounce bufer" so that
+the driver can look at the state of the packets.
+
+In the meantime, the device may continue to write to the DMA buffer, but
+we at least have a snapshot of the state due to that first DMA sync.
+
+But that _second_ DMA sync:
+
+dma_sync_single_for_device(..DMA_FROM_DEVICE);
+
+is telling the DMA mapping that the CPU wasn't interested in the area
+because the packet wasn't there.  In the case of a DMA bounce buffer,
+that is a no-op.
+
+Note how it's not a sync for the CPU (the "for_device()" part), and it's
+not a sync for data written by the CPU (the "DMA_FROM_DEVICE" part).
+
+Or rather, it _should_ be a no-op.  That's what commit aa6f8dcbab47
+broke: it made the code bounce the buffer unconditionally, and changed
+the DMA_FROM_DEVICE to just unconditionally and illogically be
+DMA_TO_DEVICE.
+
+[ Side note: purely within the confines of the swiotlb driver it wasn't
+  entirely illogical: The reason it did that odd DMA_FROM_DEVICE ->
+  DMA_TO_DEVICE conversion thing is because inside the swiotlb driver,
+  it uses just a swiotlb_bounce() helper that doesn't care about the
+  whole distinction of who the sync is for - only which direction to
+  bounce.
+
+  So it took the "sync for device" to mean that the CPU must have been
+  the one writing, and thought it meant DMA_TO_DEVICE. ]
+
+Also note how the commentary in that commit was wrong, probably due to
+that whole confusion, claiming that the commit makes the swiotlb code
+
+

[gentoo-commits] repo/proj/guru:master commit in: sys-cluster/dyninst/

2022-03-28 Thread Ronny Gutbrod
commit: 9786a98e3d22569a275a72b398800585d222176e
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Mar 27 07:11:17 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Sun Mar 27 07:30:46 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9786a98e

sys-cluster/dyninst: restrict tbb version

Closes: https://bugs.gentoo.org/836224
Signed-off-by: Alessandro Barbieri  gmail.com>

 sys-cluster/dyninst/dyninst-11.0.1-r1.ebuild | 4 ++--
 sys-cluster/dyninst/dyninst-12.1.0.ebuild| 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-cluster/dyninst/dyninst-11.0.1-r1.ebuild 
b/sys-cluster/dyninst/dyninst-11.0.1-r1.ebuild
index eb0f0a6d7..cd757ea4f 100644
--- a/sys-cluster/dyninst/dyninst-11.0.1-r1.ebuild
+++ b/sys-cluster/dyninst/dyninst-11.0.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -20,7 +20,7 @@ KEYWORDS="~amd64"
 IUSE="doc openmp valgrind"
 
 RDEPEND="
-   dev-cpp/tbb
+   

[gentoo-commits] repo/proj/guru:master commit in: sys-cluster/wxparaver/

2022-03-28 Thread Ronny Gutbrod
commit: 42689b0d58d4bd29c9cff5f80db87ba1332c2d1a
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Mar 27 07:29:15 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Sun Mar 27 07:30:46 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=42689b0d

asys-cluster/wxparaver: fix S

Closes: https://bugs.gentoo.org/836222
Signed-off-by: Alessandro Barbieri  gmail.com>

 sys-cluster/wxparaver/wxparaver-4.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/wxparaver/wxparaver-4.10.0.ebuild 
b/sys-cluster/wxparaver/wxparaver-4.10.0.ebuild
index 84094fe3d..fcf95c327 100644
--- a/sys-cluster/wxparaver/wxparaver-4.10.0.ebuild
+++ b/sys-cluster/wxparaver/wxparaver-4.10.0.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="
https://github.com/bsc-performance-tools/wxparaver
 "
 
SRC_URI="https://github.com/bsc-performance-tools/wxparaver/archive/${COMMIT}.tar.gz
 -> ${PF}.tar.gz"
-S="${WORKDIR}/${P}-${COMMIT}"
+S="${WORKDIR}/${PN}-${COMMIT}"
 
 LICENSE="LGPL-2.1"
 SLOT="0"



[gentoo-commits] repo/proj/guru:master commit in: media-gfx/qview/

2022-03-28 Thread Ronny Gutbrod
commit: 57107068e14874a08c63d53589e0c4ac56ca7e4f
Author: Daniel Novomesky  gmail  com>
AuthorDate: Sun Mar 27 20:56:57 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Sun Mar 27 20:57:30 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=57107068

media-gfx/qview: move dependency to BDEPEND

Bug: https://bugs.gentoo.org/834751
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Daniel Novomesky  gmail.com>

 media-gfx/qview/qview-5.0.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/media-gfx/qview/qview-5.0.ebuild b/media-gfx/qview/qview-5.0.ebuild
index 12e5324df..72842e673 100644
--- a/media-gfx/qview/qview-5.0.ebuild
+++ b/media-gfx/qview/qview-5.0.ebuild
@@ -25,10 +25,13 @@ RDEPEND="
 "
 
 DEPEND="${RDEPEND}
-   dev-qt/linguist-tools:5
test? ( dev-qt/qttest:5 )
 "
 
+BDEPEND="
+   dev-qt/linguist-tools:5
+"
+
 src_configure() {
# https://github.com/jurplel/qView/issues/395
if tc-is-clang && has_version 
"sys-devel/clang:$(clang-major-version)[default-libcxx]" || is-flagq 
-stdlib=libc++; then



[gentoo-commits] repo/proj/guru:master commit in: app-misc/watchexec/

2022-03-28 Thread Ronny Gutbrod
commit: b9d8d6a25c699a0276102f410fce8a141dc43cf5
Author: YOSHIOKA Takuma  hard-wi  red>
AuthorDate: Sun Mar 27 07:44:54 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Sun Mar 27 07:44:54 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b9d8d6a2

app-misc/watchexec: version bump 1.18.10

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: YOSHIOKA Takuma  hard-wi.red>

 app-misc/watchexec/Manifest |   6 +
 app-misc/watchexec/watchexec-1.18.10.ebuild | 343 
 2 files changed, 349 insertions(+)

diff --git a/app-misc/watchexec/Manifest b/app-misc/watchexec/Manifest
index d8de5c837..c5bdfc900 100644
--- a/app-misc/watchexec/Manifest
+++ b/app-misc/watchexec/Manifest
@@ -85,6 +85,7 @@ DIST difflib-0.4.0.crate 7638 BLAKE2B 
57c703de0d467c997bcbedc4d6577569b3d72c612d
 DIST dirs-1.0.5.crate 12908 BLAKE2B 
0a5c1428087adeca310d7db53850ca0ee4b27df34a7629f13ca0f3c69c019c0ca2339949022317ec55ca0be35aa721e0a9040d9c9d011e1516d99772ccf8f730
 SHA512 
12ebc3e92511373b11c2b7913b7bf74f8022344758057a2c71e36ec262e7ea6ac386bc75c323317406f1b25e965e047ddb308ff5017a1e607b48b978414e7416
 DIST dirs-2.0.2.crate 11779 BLAKE2B 
d1a6152d05a98eacff15c6c7f1f550d475b5a1cf62e541a2fa8b9836b9a1ea6b98f9314341dda35929b968fcf8a47dac7679c5c0b0dd97f21564a8d469c2e254
 SHA512 
34d6e5956c9db1dae965d33f13c64dde59d3e0e18cbdc56c02f7f31cac8e0034a80fbb561e0a73b8dbd145f85b46fc4e8a147b4c946b5816d8dda6caef185396
 DIST dirs-sys-0.3.6.crate 10626 BLAKE2B 
6da8e4a1e51a4e06ab742ce5eb75155ff9b7cbe83f06947a0bfcda711ae1e0dbe51f9a1e1733ba771f2daddb2b8b14e343b9615608c1d9a8fb927b033c161b15
 SHA512 
79b6bfda14aafa3839365496e1b1926f763d3569e4e138a59f4acae15c38ec9a3bdcaa64293b03b536141c897c2bf68a67d7ae5670d86215080aa313e53d39e5
+DIST dirs-sys-0.3.7.crate 10597 BLAKE2B 
bbeadbfe15d9b92e4057cb600f1957e066e295e0208e1645ee49fa76c55c45e273ae5b87337eeb398dd3ef3adf0a5584087b8fc0fb780aa23c6d9392029d6581
 SHA512 
e630964e4c452950a475c10a490b49b2979dd7dfda48172b905cc789153ae4a0ba2d7d91f690705cbfff23737c4b4a339eb0c49e922efd7d68a92fe6368a929f
 DIST doc-comment-0.3.3.crate 4123 BLAKE2B 
a82d1c1a7a90af6e111b5e684a1298d7eac5fd8e4bf7d5baf6c7403d26b609958716d57e51122fe7ad7626fe00a2d824dcfef3cc2fd7679fdb7b5099603de1cd
 SHA512 
e98ff9646a3612bd41bb6f278e7b6e9a0c58747f8b82524da814cf51b7f06c76ad4d65b502ac5740e818744abb295f78f15f8262d0b50ced1523f6d1a26939ba
 DIST dtoa-0.4.8.crate 16175 BLAKE2B 
5fff15e66c2edeb9eb9da89c66389b3a9bbb891d75afc3bb7da4dcbe9cad9e50af318cc8cc01cc7e56730763e8ea8ceb33b9447d1a7fa52a8d0f0d2060a97522
 SHA512 
fe1701ba2c40988b92f5f4ef78a8c81718b140ff8ca2d04023b09a89440e6ddb53ef36d1ebd9dd3e948428b361ed6611bd24ec1a31b5010c220c555e1f0bf6b8
 DIST dunce-1.0.2.crate 7953 BLAKE2B 
5572521dd8b85419561ad0af2abc47f3b60b1142c1966b89f678bcce500a38b88b3986523bb6c29b38205440ed110ad5dda3ec7170c476c5614054b36b691acf
 SHA512 
9d1a5d449985913d1cecf2249f3c14001361faf98a0ffa2cb682b4ee4dbde906302355632033484640373587c78c0345c1c7e267c354018cb070cbc46517ba86
@@ -230,6 +231,7 @@ DIST miniz_oxide-0.4.4.crate 49938 BLAKE2B 
3403416bf9d10b67ef976eb23be64216027c6
 DIST mio-0.6.23.crate 103554 BLAKE2B 
1286ea6deb7579964a5c15926509d438c5454d4f56e936753c76927826fbc5444dbe33b7465a15d0ae6c122bcc98899959391a5418bff31c176d51d7b2f33077
 SHA512 
ea95d15072fe36524a85b50108415a809d7ea3744deee45e4b6a1b763a11c88cda6dbabe4f8d01945a5edeb52296a74fcf457c85be3032c1311a35025860d05c
 DIST mio-0.7.14.crate 87429 BLAKE2B 
b8277f844429d32b6085dac9649fcee20bfd1922eca541ea927b1ea3c61667beb4f63064a9828cf347ed55678842aab2a608af359b3ec92b595995a6544dc371
 SHA512 
2349691ea87a086f9bd8df5738705e9d7b59399089948f810b6a7124beffd44dee348703c89b4b1af8d84821dcb932960dc4bd9ec9543558f59a40c4806fbfd9
 DIST mio-0.8.1.crate 88205 BLAKE2B 
88bab5a31b35fccd6fe52145e937d533bd16ac0929a4fdaab46583d7ed65bb0dbd1620e3bdaaf6ebdc2230131c5793836372f1092f662ecd7e78c45e178609d3
 SHA512 
945e0970bdfbc0293248c3a26dfb84aa789737bc6e8101ec711da6006130eae5ea221e9c15b8f680f04a6b43b1ee1f42fe2d02035a8e2ccd94d78a759489d681
+DIST mio-0.8.2.crate 88272 BLAKE2B 
f704802aeec66cb47a011989709e6c35352b55bc7330dac7631ea144ed71bc86a433ef742207e3e37c47417bcd7ebb505287baebb839294e5833d228a2514c57
 SHA512 
c82ea0afc0de8acf162188a6131373f3cb3e7f3abb3094dd51fa9094e42a36806954f267840b3fed18c0ac3ee75af0451dfea5509ab65a94dcc93057c7d37393
 DIST mio-extras-2.0.6.crate 16292 BLAKE2B 
08b9fc0d594e8ac8a04c70be88e34e390a24d90b9640907ac7900c26bfc1f982502e70c19172d57a0b697ed4701493ebc03ae4959284b74babedb8059e9faf10
 SHA512 
2d92e5afb34ef4c7d00c78d6ed15d4e786aaa9b57ea6e2743b996b8377389c9ae058a6aa227c5c66c39a2f86a7bb0b22a13c73a3e35c4b7c65b7b01fcf7fa232
 DIST miow-0.2.2.crate 22044 BLAKE2B 
bec3bbd899a080e5c97a8c1dd9dead16a57aa44cf2bcd97be03155c28345c45fb731650eabffd2fe18a633ff947e63561327cfc86560ee86c3fa71ad4d2a3b62
 SHA512 
e42012f67e1c5a475d1c9790bc731add53f7a3838d36f8a701f69974c3ff33d31364006220e69c8f37bae2eb31055ee704c42b64241d13be528c768ca5c3d6ba
 DIST miow-0.3.7.crate 24563 

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

2022-03-28 Thread Ronny Gutbrod
commit: c17cc2b933a459039b94a183d53c1a8215ac9703
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Mar 27 06:41:25 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Sun Mar 27 07:30:46 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c17cc2b9

dev-python/babelfont: add S

Closes: https://bugs.gentoo.org/836252
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/babelfont/babelfont-3.0.0_alpha8.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/babelfont/babelfont-3.0.0_alpha8.ebuild 
b/dev-python/babelfont/babelfont-3.0.0_alpha8.ebuild
index 26e900d9a..69f070373 100644
--- a/dev-python/babelfont/babelfont-3.0.0_alpha8.ebuild
+++ b/dev-python/babelfont/babelfont-3.0.0_alpha8.ebuild
@@ -11,6 +11,7 @@ inherit distutils-r1
 DESCRIPTION="Interrogate and manipulate UFO, TTF and OTF fonts with a common 
interface"
 HOMEPAGE="https://github.com/simoncozens/babelfont;
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MYP}.tar.gz"
+S="${WORKDIR}/${MYP}"
 
 KEYWORDS="~amd64 ~x86"
 LICENSE="MIT"



[gentoo-commits] repo/proj/guru:master commit in: games-engines/fs2_open/files/, games-engines/fs2_open/

2022-03-28 Thread Ronny Gutbrod
commit: 2f15e3e0fb583d7bc8668ebafde53da0d0b9dd91
Author: Jonas Frei  pm  me>
AuthorDate: Sun Mar 27 19:56:47 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Sun Mar 27 19:56:47 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2f15e3e0

games-engines/fs2_open: Added 'discord' USE flag

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jonas Frei  pm.me>

 .../files/fs2_open-21.4.1-disable-discord.patch| 55 ++
 .../files/fs2_open-21.4.1-dont-build-lz4.patch |  4 +-
 .../fs2_open-21.4.1-dont-override-ldflags.patch|  4 +-
 .../fs2_open-21.4.1-make-arch-independent.patch|  4 +-
 .../files/fs2_open-21.4.1-version-fix.patch|  4 +-
 games-engines/fs2_open/fs2_open-21.4.1-r2.ebuild   |  9 +++-
 games-engines/fs2_open/metadata.xml|  3 ++
 7 files changed, 74 insertions(+), 9 deletions(-)

diff --git a/games-engines/fs2_open/files/fs2_open-21.4.1-disable-discord.patch 
b/games-engines/fs2_open/files/fs2_open-21.4.1-disable-discord.patch
new file mode 100644
index 0..95c186bf1
--- /dev/null
+++ b/games-engines/fs2_open/files/fs2_open-21.4.1-disable-discord.patch
@@ -0,0 +1,55 @@
+--- fs2_open/code/CMakeLists.txt   2022-03-27 21:03:27.290788070 +0200
 fs2_open/code/CMakeLists.txt   2022-03-27 21:06:50.271782416 +0200
+@@ -41,8 +41,6 @@
+ 
+ target_link_libraries(code PUBLIC md5)
+ 
+-target_link_libraries(code PUBLIC discord-rpc)
+-
+ target_link_libraries(code PUBLIC libRocket)
+ 
+ target_link_libraries(code PUBLIC pcp)
+--- fs2_open/code/source_groups.cmake  2021-11-01 18:00:53.0 +0100
 fs2_open/code/source_groups.cmake  2022-03-27 21:35:47.595734025 +0200
+@@ -705,11 +705,6 @@
+   libs/antlr/ErrorListener.h
+   )
+ 
+-add_file_folder("LibsDiscord"
+-  libs/discord/discord.cpp
+-  libs/discord/discord.h
+-)
+-
+ if (FSO_BUILD_WITH_FFMPEG)
+   add_file_folder("LibsFFmpeg"
+   libs/ffmpeg/FFmpeg.cpp
+--- fs2_open/lib/CMakeLists.txt2022-03-27 21:03:27.287788070 +0200
 fs2_open/lib/CMakeLists.txt2022-03-27 21:07:12.849781787 +0200
+@@ -33,8 +33,6 @@
+   include(FFmpeg.cmake)
+ endif()
+ 
+-add_subdirectory(discord)
+-
+ include(libRocket.cmake)
+ 
+ add_subdirectory(libpcp)
+--- fs2_open/freespace2/freespace.cpp  2021-11-01 18:00:53.0 +0100
 fs2_open/freespace2/freespace.cpp  2022-03-27 21:07:50.111780749 +0200
+@@ -83,7 +83,6 @@
+ #include "jumpnode/jumpnode.h"
+ #include "lab/labv2.h"
+ #include "lab/wmcgui.h" //So that GUI_System can be initialized
+-#include "libs/discord/discord.h"
+ #include "libs/ffmpeg/FFmpeg.h"
+ #include "lighting/lighting.h"
+ #include "localization/localize.h"
+@@ -1940,8 +1939,6 @@
+   libs::ffmpeg::initialize();
+ #endif
+ 
+-  libs::discord::init();
+-
+   nprintf(("General", "Ships.tbl is : %s\n", Game_ships_tbl_valid ? 
"VALID" : "INVALID"));
+   nprintf(("General", "Weapons.tbl is : %s\n", Game_weapons_tbl_valid ? 
"VALID" : "INVALID"));
+ 

diff --git a/games-engines/fs2_open/files/fs2_open-21.4.1-dont-build-lz4.patch 
b/games-engines/fs2_open/files/fs2_open-21.4.1-dont-build-lz4.patch
index bfae2ea39..45ad91307 100644
--- a/games-engines/fs2_open/files/fs2_open-21.4.1-dont-build-lz4.patch
+++ b/games-engines/fs2_open/files/fs2_open-21.4.1-dont-build-lz4.patch
@@ -1,5 +1,5 @@
 fs2_open-21.4.1/lib/CMakeLists.txt 2021-11-01 18:00:53.0 +0100
-+++ fs2_open-21.4.1/lib/CMakeLists.txt 2022-03-26 11:34:48.746075280 +0100
+--- fs2_open/lib/CMakeLists.txt2021-11-01 18:00:53.0 +0100
 fs2_open/lib/CMakeLists.txt2022-03-26 11:34:48.746075280 +0100
 @@ -50,5 +50,3 @@
  add_subdirectory(mdns)
  

diff --git 
a/games-engines/fs2_open/files/fs2_open-21.4.1-dont-override-ldflags.patch 
b/games-engines/fs2_open/files/fs2_open-21.4.1-dont-override-ldflags.patch
index c75458ded..7a45e1fda 100644
--- a/games-engines/fs2_open/files/fs2_open-21.4.1-dont-override-ldflags.patch
+++ b/games-engines/fs2_open/files/fs2_open-21.4.1-dont-override-ldflags.patch
@@ -1,5 +1,5 @@
 fs2_open-21.4.1/cmake/toolchain-gcc.cmake  2021-11-01 18:00:53.0 
+0100
-+++ fs2_open-21.4.1/cmake/toolchain-gcc.cmake  2022-03-27 17:52:26.738107292 
+0200
+--- fs2_open/cmake/toolchain-gcc.cmake 2021-11-01 18:00:53.0 +0100
 fs2_open/cmake/toolchain-gcc.cmake 2022-03-27 17:52:26.738107292 +0200
 @@ -27,6 +27,11 @@
  set(COMPILER_FLAGS "")
  set(LINKER_FLAGS "")

diff --git 
a/games-engines/fs2_open/files/fs2_open-21.4.1-make-arch-independent.patch 
b/games-engines/fs2_open/files/fs2_open-21.4.1-make-arch-independent.patch
index e03b59bb3..c2f5d7f36 100644
--- a/games-engines/fs2_open/files/fs2_open-21.4.1-make-arch-independent.patch
+++ b/games-engines/fs2_open/files/fs2_open-21.4.1-make-arch-independent.patch
@@ -1,5 +1,5 @@
 fs2_open-21.4.1/cmake/version.cmake2021-05-22 20:20:18.448441242 
+0200
-+++ 

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

2022-03-28 Thread Ronny Gutbrod
commit: 87ca18267cb66699e5011ebd8d25b1e9d1a23d9c
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Mar 27 20:10:30 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Sun Mar 27 21:28:24 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=87ca1826

dev-python/python_jwt: add coverage test dep

Bug: https://bugs.gentoo.org/836253
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/python_jwt/python_jwt-3.3.2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/python_jwt/python_jwt-3.3.2.ebuild 
b/dev-python/python_jwt/python_jwt-3.3.2.ebuild
index cb4ecb79a..128e71476 100644
--- a/dev-python/python_jwt/python_jwt-3.3.2.ebuild
+++ b/dev-python/python_jwt/python_jwt-3.3.2.ebuild
@@ -26,6 +26,7 @@ RDEPEND=">=dev-python/jwcrypto-1.0.0[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}"
 BDEPEND="
test? (
+   >=dev-python/coverage-4.0.3[${PYTHON_USEDEP}]
>=dev-python/gevent-1.2.2[${PYTHON_USEDEP}]
>=dev-python/pyVows-3.0.0[${PYTHON_USEDEP}]
>=dev-python/mock-1.3.0[${PYTHON_USEDEP}]



[gentoo-commits] repo/proj/guru:master commit in: games-engines/fs2_open/files/, games-engines/fs2_open/

2022-03-28 Thread Ronny Gutbrod
commit: bf56c1906d5f5d7dc119d812a9d0099347fc5d41
Author: Jonas Frei  pm  me>
AuthorDate: Sun Mar 27 16:03:39 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Sun Mar 27 16:03:39 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bf56c190

games-engines/fs2_open: Added patch to fix linker QA issue

Closes: https://bugs.gentoo.org/836249
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jonas Frei  pm.me>

 .../files/fs2_open-21.4.1-dont-override-ldflags.patch  | 14 ++
 ...fs2_open-21.4.1-r1.ebuild => fs2_open-21.4.1-r2.ebuild} |  1 +
 2 files changed, 15 insertions(+)

diff --git 
a/games-engines/fs2_open/files/fs2_open-21.4.1-dont-override-ldflags.patch 
b/games-engines/fs2_open/files/fs2_open-21.4.1-dont-override-ldflags.patch
new file mode 100644
index 0..c75458ded
--- /dev/null
+++ b/games-engines/fs2_open/files/fs2_open-21.4.1-dont-override-ldflags.patch
@@ -0,0 +1,14 @@
+--- fs2_open-21.4.1/cmake/toolchain-gcc.cmake  2021-11-01 18:00:53.0 
+0100
 fs2_open-21.4.1/cmake/toolchain-gcc.cmake  2022-03-27 17:52:26.738107292 
+0200
+@@ -27,6 +27,11 @@
+ set(COMPILER_FLAGS "")
+ set(LINKER_FLAGS "")
+ 
++# For C and C++, the values can be overwritten independently
++if(DEFINED ENV{LDFLAGS})
++set(LINKER_FLAGS $ENV{LDFLAGS})
++endif()
++
+ if (GCC_USE_GOLD)
+   OPTION(GCC_INCREMENTAL_LINKING "Use incremental linking" OFF)
+   set(LINKER_FLAGS "${LINKER_FLAGS} -fuse-ld=gold")

diff --git a/games-engines/fs2_open/fs2_open-21.4.1-r1.ebuild 
b/games-engines/fs2_open/fs2_open-21.4.1-r2.ebuild
similarity index 97%
rename from games-engines/fs2_open/fs2_open-21.4.1-r1.ebuild
rename to games-engines/fs2_open/fs2_open-21.4.1-r2.ebuild
index d96915f96..2d1b5f674 100644
--- a/games-engines/fs2_open/fs2_open-21.4.1-r1.ebuild
+++ b/games-engines/fs2_open/fs2_open-21.4.1-r2.ebuild
@@ -44,6 +44,7 @@ RDEPEND="${DEPEND}"
 BDEPEND=""
 PATCHES=(
"${FILESDIR}/${P}-dont-build-lz4.patch"
+   "${FILESDIR}/${P}-dont-override-ldflags.patch"
"${FILESDIR}/${P}-make-arch-independent.patch"
"${FILESDIR}/${P}-version-fix.patch"
 )



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

2022-03-28 Thread Ronny Gutbrod
commit: 6e2a082ddadff942856207f067195a06d7109689
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Mar 27 21:50:26 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Sun Mar 27 21:50:26 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6e2a082d

dev-python/rstr: drop 3.0.0

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/rstr/Manifest  |  1 -
 dev-python/rstr/rstr-3.0.0.ebuild | 28 
 2 files changed, 29 deletions(-)

diff --git a/dev-python/rstr/Manifest b/dev-python/rstr/Manifest
index 040a1aa8a..3b57c5b99 100644
--- a/dev-python/rstr/Manifest
+++ b/dev-python/rstr/Manifest
@@ -1,2 +1 @@
-DIST rstr-3.0.0.tar.gz 11389 BLAKE2B 
8e5283ed2fd478189a1ddb0663069ca4a50b52a928290af171d8e79b6e59659530f45eac282cffe52be150c8d4a75adca35fdc2e5afb5c0025da31ada02fc3c7
 SHA512 
8b9909057f44ffdbfa5a037f9eaf50e506204d846143b54c23c6c83a8589ea5dc7236fa7f987e20b127ef139bef6f47b22239fd961da1f5c5b45606f511cadd8
 DIST rstr-3.1.0.tar.gz 12044 BLAKE2B 
8b79b777d0b60f60c5e86be9521c5a08af72d5988e3b1ef871d29925a9b341e48668963e71972113655ea1ed2bc14060e09ec8068fbb30b7e7d27f1215810908
 SHA512 
3b5c8ed0039aa8e47ab777f273fdcc4158b6197646831908da66d2e5e6b313c6d12cfdb9832f131a79d47496ac200a8ba1ebb7cdfa03074c290d3c8442437216

diff --git a/dev-python/rstr/rstr-3.0.0.ebuild 
b/dev-python/rstr/rstr-3.0.0.ebuild
deleted file mode 100644
index c6519bfff..0
--- a/dev-python/rstr/rstr-3.0.0.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_SETUPTOOLS=pyproject.toml
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Easily generate random strings of various types"
-HOMEPAGE="https://pypi.org/project/rstr;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${PV}.tar.gz"
-
-LICENSE="BSD"
-SLOT=0
-KEYWORDS="~amd64"
-
-distutils_enable_tests unittest
-
-python_test() {
-   "${PYTHON}" -m unittest discover -v rstr/tests || die "tests failed 
with ${EPYTHON}"
-}
-
-python_install_all() {
-   distutils-r1_python_install_all
-   find "${ED}" -type d -name "tests" -exec rm -rv {} + || die "tests 
removing failed"
-}



[gentoo-commits] repo/proj/guru:master commit in: media-libs/imgui/

2022-03-28 Thread Ronny Gutbrod
commit: ab60e471e906e5ac8b529cf7e964c1e875b0dccd
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Mar 27 18:22:04 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Sun Mar 27 21:28:24 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ab60e471

media-libs/imgui: add 1.87

Signed-off-by: Alessandro Barbieri  gmail.com>

 media-libs/imgui/Manifest  |   1 +
 media-libs/imgui/imgui-1.87.ebuild | 157 +
 media-libs/imgui/metadata.xml  |   9 +++
 3 files changed, 167 insertions(+)

diff --git a/media-libs/imgui/Manifest b/media-libs/imgui/Manifest
index 6b3f46883..9bbf158f0 100644
--- a/media-libs/imgui/Manifest
+++ b/media-libs/imgui/Manifest
@@ -1 +1,2 @@
 DIST imgui-1.83.tar.gz 1448389 BLAKE2B 
648306bd69181ad8315f12fc5b2c319b23005d6b3fc790ad64caaf1f80304e81b33af5d6f435fa97151fcf1e77eb15455838a09570b7a9c7dd9c56a61510b5a1
 SHA512 
2150e7101f384b1c749b2e89876b2085a7ff43435f04e88602d0e5e00db7a41c1ace5176bdb0963326845d1c8303b5092a7ca1c9c8e70c522ba96f899ed5bb9c
+DIST imgui-1.87.tar.gz 1460834 BLAKE2B 
f73b71400311e7c5f82248e242a932add5090670c78077ca2239f349730bab88a00bfe4deca4e854772ef7f6a2cff1fc0f38f7174a026995f93c9e7b55eb2a1d
 SHA512 
3255b06698ab9c8951953e1e0b6d160d64adfa4c011b21a4288547292a7f8fff586875faf9dae0677818bde65bd7e98da92f16f6beb1e6a66aa835edf32e8ce2

diff --git a/media-libs/imgui/imgui-1.87.ebuild 
b/media-libs/imgui/imgui-1.87.ebuild
new file mode 100644
index 0..0b811f029
--- /dev/null
+++ b/media-libs/imgui/imgui-1.87.ebuild
@@ -0,0 +1,157 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Bloat-free graphical user interface library for C++"
+HOMEPAGE="https://github.com/ocornut/imgui;
+SRC_URI="https://github.com/ocornut/imgui/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="allegro examples freetype glfw glut opengl sdl vulkan"
+
+RDEPEND="
+   allegro? ( media-libs/allegro:5 )
+   freetype? ( media-libs/freetype )
+   glfw? ( media-libs/glfw:0 )
+   glut? ( media-libs/freeglut )
+   opengl? ( virtual/opengl )
+   sdl? ( media-libs/libsdl2 )
+   vulkan? ( media-libs/vulkan-loader )
+"
+DEPEND="
+   ${RDEPEND}
+   vulkan? ( dev-util/vulkan-headers )
+"
+BDEPEND="virtual/pkgconfig"
+
+REQUIRED_USE="
+   || (
+   allegro
+   || ( glfw glut sdl )
+   || ( opengl vulkan )
+   )
+   examples? (
+   allegro
+   glfw
+   glut
+   opengl
+   sdl
+   vulkan
+   )
+"
+
+src_prepare() {
+   rm -r examples/libs || die
+   rm -r misc/*/*.ttf || die
+   rm -r misc/single_file || die
+   default
+}
+
+src_configure() {
+   tc-export CXX
+   append-cppflags "-DIMGUI_USE_WCHAR32"
+   append-cxxflags "-I${S} -I${S}/backends -I${S}/misc/freetype -fPIC 
-fpermissive"
+   local PKGCONF="$(tc-getPKG_CONFIG)" || die
+
+   use allegro && append-libs "-lallegro -lallegro_main 
-lallegro_primitives"
+   if use freetype; then
+   append-cppflags "-DIMGUI_ENABLE_FREETYPE 
-DIMGUI_ENABLE_STB_TRUETYPE"
+   append-cxxflags "$(${PKGCONF} --cflags freetype2)" || die
+   append-libs "$(${PKGCONF} --libs freetype2)" || die
+   fi
+   if use glfw; then
+   append-libs "$(${PKGCONF} --libs glfw3)" || die
+   append-cxxflags "$(${PKGCONF} --cflags glfw3)" || die
+   fi
+   if use glut; then
+   append-libs "$(${PKGCONF} --libs freeglut)" || die
+   append-cxxflags "$(${PKGCONF} --cflags freeglut)" || die
+   fi
+   use opengl && append-libs "-lGL"
+   if use sdl; then
+   append-libs "-ldl $(sdl2-config --libs)" || die
+   append-cxxflags "$(sdl2-config --cflags)" || die
+   fi
+   if use vulkan; then
+   append-libs "$(${PKGCONF} --libs vulkan)" || die
+   append-cxxflags "$(${PKGCONF} --cflags vulkan)" || die
+   append-cppflags "-DImTextureID=ImU64" || die
+   fi
+}
+
+src_compile() {
+   set -x || die
+
+   for i in imgui{,_draw,_demo,_tables,_widgets}; do
+   ${CXX} ${CXXFLAGS} ${CPPFLAGS} -c ${i}.cpp -o ${i}.o || die
+   done
+
+   if use freetype; then
+   pushd misc/freetype || die
+   ${CXX} ${CXXFLAGS} ${CPPFLAGS} -c imgui_freetype.cpp -o 
imgui_freetype.o || die
+   popd || die
+   pushd misc/fonts || die
+   ${CXX} ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS} -fPIE 
binary_to_compressed_c.cpp -o binary_to_compressed_c || die
+   popd || die
+   fi
+
+   pushd backends || die
+   if use allegro; then
+   ${CXX} ${CXXFLAGS} ${CPPFLAGS} -c 

[gentoo-commits] repo/proj/guru:master commit in: games-engines/fs2_open/files/, games-engines/fs2_open/

2022-03-28 Thread Ronny Gutbrod
commit: 362eb9a02bd4ea5450480edf44578018b7a2af51
Author: Jonas Frei  pm  me>
AuthorDate: Mon Mar 28 05:20:04 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Mon Mar 28 05:20:14 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=362eb9a0

games-engines/fs2_open: Added 'debug' USE flag

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jonas Frei  pm.me>

 .../fs2_open/files/fs2_open-21.4.1-dont-override-ldflags.patch   | 2 +-
 games-engines/fs2_open/fs2_open-21.4.1-r2.ebuild | 9 +++--
 games-engines/fs2_open/metadata.xml  | 1 +
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git 
a/games-engines/fs2_open/files/fs2_open-21.4.1-dont-override-ldflags.patch 
b/games-engines/fs2_open/files/fs2_open-21.4.1-dont-override-ldflags.patch
index 7a45e1fda..74554ec8e 100644
--- a/games-engines/fs2_open/files/fs2_open-21.4.1-dont-override-ldflags.patch
+++ b/games-engines/fs2_open/files/fs2_open-21.4.1-dont-override-ldflags.patch
@@ -4,7 +4,7 @@
  set(COMPILER_FLAGS "")
  set(LINKER_FLAGS "")
  
-+# For C and C++, the values can be overwritten independently
++# Don't ignore user-set LDFLAGS
 +if(DEFINED ENV{LDFLAGS})
 +set(LINKER_FLAGS $ENV{LDFLAGS})
 +endif()

diff --git a/games-engines/fs2_open/fs2_open-21.4.1-r2.ebuild 
b/games-engines/fs2_open/fs2_open-21.4.1-r2.ebuild
index d8305b305..beadddcbb 100644
--- a/games-engines/fs2_open/fs2_open-21.4.1-r2.ebuild
+++ b/games-engines/fs2_open/fs2_open-21.4.1-r2.ebuild
@@ -24,7 +24,7 @@ SRC_URI="
 LICENSE="Unlicense MIT Boost-1.0"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="discord"
+IUSE="debug discord"
 
 DEPEND="
app-arch/lz4
@@ -64,11 +64,16 @@ src_prepare() {
use discord || eapply "${FILESDIR}/${P}-disable-discord.patch"
eapply_user
cmake_src_prepare
+   use debug && CMAKE_BUILD_TYPE=Debug
 }
 
 src_install() {
exeinto "/opt/${PN}"
-   doexe "${BUILD_DIR}/bin/${PN}_${_PV}"
+   if use debug ; then
+   doexe "${BUILD_DIR}/bin/${PN}_${_PV}-DEBUG"
+   else
+   doexe "${BUILD_DIR}/bin/${PN}_${_PV}"
+   fi
insinto "/opt/${PN}"
doins "${BUILD_DIR}/bin/libRocketControls.so"
doins "${BUILD_DIR}/bin/libRocketControlsLua.so"

diff --git a/games-engines/fs2_open/metadata.xml 
b/games-engines/fs2_open/metadata.xml
index b1d632ca1..aef4fd67c 100644
--- a/games-engines/fs2_open/metadata.xml
+++ b/games-engines/fs2_open/metadata.xml
@@ -16,6 +16,7 @@

https://github.com/scp-fs2open/fs2open.github.com/issues


+   Debug build to collect logfiles
Enable Discord RPC support

 



[gentoo-commits] repo/proj/guru:master commit in: sys-cluster/OpenHPC-meta/

2022-03-28 Thread Ronny Gutbrod
commit: d7539be7c1f9bc627d5311057f1d38ae8484ba3d
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon Mar 28 17:13:05 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Mon Mar 28 17:14:19 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d7539be7

sys-cluster/OpenHPC-meta: apptainer alternative to singularity

Signed-off-by: Alessandro Barbieri  gmail.com>

 sys-cluster/OpenHPC-meta/OpenHPC-meta-2.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/OpenHPC-meta/OpenHPC-meta-2.1.ebuild 
b/sys-cluster/OpenHPC-meta/OpenHPC-meta-2.1.ebuild
index a06fc131e..595b64bf1 100644
--- a/sys-cluster/OpenHPC-meta/OpenHPC-meta-2.1.ebuild
+++ b/sys-cluster/OpenHPC-meta/OpenHPC-meta-2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -73,7 +73,7 @@ RDEPEND="
 
runtimes? (
sys-cluster/charliecloud[${PYTHON_SINGLE_USEDEP}]
-   sys-cluster/singularity
+   || ( app-containers/apptainer sys-cluster/singularity )
)
 
serial? (



[gentoo-commits] repo/proj/guru:master commit in: dev-R/crayon/

2022-03-28 Thread Ronny Gutbrod
commit: 3030c1bf1c3eda46fdb0b04ed431429d1b4e2db4
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Mar 27 14:22:44 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Sun Mar 27 21:28:23 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3030c1bf

dev-R/crayon: add 1.5.1, drop 1.5.0

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-R/crayon/Manifest | 2 +-
 dev-R/crayon/{crayon-1.5.0.ebuild => crayon-1.5.1.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-R/crayon/Manifest b/dev-R/crayon/Manifest
index 196e79d7e..3f65a0191 100644
--- a/dev-R/crayon/Manifest
+++ b/dev-R/crayon/Manifest
@@ -1 +1 @@
-DIST crayon_1.5.0.tar.gz 40099 BLAKE2B 
789a3152f55e62f37ac54ee00059b8bd30a521a42157fc1619c8c06385c6121a1783c03fbe4869bf4d907da24a8be7b91bd44ab31b7e73f5d3f5654fa5238b4f
 SHA512 
a7842878681b11bd2cd4bcc7f0f47f71934ed485cfc55caa7a9a42e174039c64527eb64d528fc4ae404ab83b31045c628f9b958e493cb2a9a2e1a4a8de079527
+DIST crayon_1.5.1.tar.gz 40178 BLAKE2B 
a778ead30f21a701811b15e1640a50762f96474e97b5cc8c7bfb7589666392ab4e3a2b36d12985d2d5267fcffdd5050a50b6538da5c80f5e291f5f7d08e1ea4a
 SHA512 
b0a200e27572a9690aa7038b57ef93494cb1ec10cb285b4cd76bc2cd19e0af87ee31a179daa617e107c55dde77a602238ec3445d3e918d413b6674d02fc03096

diff --git a/dev-R/crayon/crayon-1.5.0.ebuild b/dev-R/crayon/crayon-1.5.1.ebuild
similarity index 100%
rename from dev-R/crayon/crayon-1.5.0.ebuild
rename to dev-R/crayon/crayon-1.5.1.ebuild



[gentoo-commits] repo/proj/guru:master commit in: gnome-extra/extension-manager/

2022-03-28 Thread Ronny Gutbrod
commit: fcb1069fe15e913d9449fdde723135f1e74e9d08
Author: Yuan Liao  gmail  com>
AuthorDate: Sun Mar 27 20:10:18 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Sun Mar 27 20:10:38 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fcb1069f

gnome-extra/extension-manager: Add 0.3.0

Signed-off-by: Yuan Liao  gmail.com>

 gnome-extra/extension-manager/Manifest |  1 +
 .../extension-manager-0.3.0.ebuild | 77 ++
 2 files changed, 78 insertions(+)

diff --git a/gnome-extra/extension-manager/Manifest 
b/gnome-extra/extension-manager/Manifest
index bfb1562de..142564b18 100644
--- a/gnome-extra/extension-manager/Manifest
+++ b/gnome-extra/extension-manager/Manifest
@@ -1 +1,2 @@
 DIST extension-manager-0.2.3.tar.gz 1384925 BLAKE2B 
3bd98f67f419c646a4a7b9d1dee656de305eff5e35124f3765d5d9c82aff7d9e7bbeea912f24c0766c95e0c497b070831ee9922747f200bbcd57470a6adcec7e
 SHA512 
9bb078f3d00cdfe1e84a757f7cce32f5a3fdf4f60f3952523ac48779becab9c00da78974551f224c194806217eddf3116a29eb33f1e9982ff8caa5e06218
+DIST extension-manager-0.3.0.tar.gz 1431028 BLAKE2B 
059d46118b57f204b1258a5d9c55587407130db3048b87be13294e6f426b5d8515475e6b7622cca3ed5951c3f2ed238d22a09ab4f4d1bf78196618b8fe580f29
 SHA512 
34642d81be67978ac039a17e0762fa1f44ea41720d066a5aeb7fa1e35f2f6ac25a7924b5daf3073ddf4caa3013e1e70b24c5df4c998920ebe1c8e0a875dbec0c

diff --git a/gnome-extra/extension-manager/extension-manager-0.3.0.ebuild 
b/gnome-extra/extension-manager/extension-manager-0.3.0.ebuild
new file mode 100644
index 0..7949012b7
--- /dev/null
+++ b/gnome-extra/extension-manager/extension-manager-0.3.0.ebuild
@@ -0,0 +1,77 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome2-utils meson xdg
+
+if [[ ${PV} == * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/mjakeman/extension-manager.git;
+else
+   
SRC_URI="https://github.com/mjakeman/extension-manager/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="A native tool for browsing and installing GNOME Shell Extensions"
+HOMEPAGE="https://github.com/mjakeman/extension-manager;
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+BDEPEND="
+   dev-libs/glib:2
+   dev-util/blueprint-compiler
+   virtual/pkgconfig
+"
+
+RDEPEND="
+   dev-libs/glib:2
+   dev-libs/json-glib
+   gui-libs/gtk:4[introspection]
+   gui-libs/libadwaita:1[introspection]
+   gui-libs/text-engine
+   net-libs/libsoup:3.0
+"
+
+DEPEND="
+   ${RDEPEND}
+"
+
+src_configure() {
+   local emesonargs=()
+   if has live ${PROPERTIES}; then
+   # Produce a development build for live ebuild
+   emesonargs+=( -Ddevelopment=true )
+   fi
+   meson_src_configure
+}
+
+# Tests are skipped because as of version 0.2.3, the tests only validate
+# resource files and do not verify any functionality of the program.  Those
+# validations are either already handled by QA checks or not relevant on
+# Gentoo.  For more information about the rationale, please refer to:
+# 
https://github.com/gentoo/guru/commit/f896bee213fbb62c70e818c1bf503fee2a41919a#comments
+#
+# If tests are to be executed in the future because the upstream adds
+# functionality tests or for other reasons, and should there be no convenient
+# way to skip the validations, the following variable values need to be set:
+#
+# IUSE="test"
+# # 'Validate appstream file' test case requires Internet connection
+# PROPERTIES="test_network"
+# RESTRICT="test"
+# BDEPEND="test? ( dev-libs/appstream-glib dev-util/desktop-file-utils )"
+src_test() {
+   :
+}
+
+pkg_postinst() {
+   xdg_pkg_postinst
+   gnome2_schemas_update
+}
+
+pkg_postrm() {
+   xdg_pkg_postrm
+   gnome2_schemas_update
+}



[gentoo-commits] repo/proj/guru:master commit in: app-misc/anki-bin/

2022-03-28 Thread Ronny Gutbrod
commit: e498a9ca622f6533e2543086bf48c823c1930503
Author: Shaoyu Tseng  tuta  io>
AuthorDate: Mon Mar 28 19:52:17 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Mon Mar 28 19:52:27 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e498a9ca

app-misc/anki-bin: bump version

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Shaoyu Tseng  tuta.io>

 app-misc/anki-bin/Manifest   | 4 ++--
 app-misc/anki-bin/{anki-bin-2.1.48.ebuild => anki-bin-2.1.49.ebuild} | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 5782bb912..bbbc8340c 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,3 +1,3 @@
-DIST anki-bin-2.1.48.zip 9859301 BLAKE2B 
400bf592368aa55fd2588eb5309a4b9ebae89696d38eff8eff640e8edf33de4e0b534c5e7f93995e6c8635b455834f047cd5710a7891121f2e3a17e45f9b29f8
 SHA512 
98021eb7b031c6880a250015184ac668dbbd32e295bdb0cc442c7206436e0857b8b0d92ca2f4062a1d30399326868612d2302ef3ba50d26b33ec93191e526e8c
+DIST anki-bin-2.1.49.zip 9859031 BLAKE2B 
efe67559e090fbca990022f0dba9cff5f608ecbdf6d1a38cf682dfe8676458d77dbd0a12f68c19f24a74e8b006c7226c356bd9b03bc9c767ed1c063e3ab749d6
 SHA512 
cb6d4d65ad63d6a850a4bfd11f91e274f99afefe4eb988da8e72a73e062b3f477ffa5d7e6aac7baa0bb7efd8fafc599c10d36d44e6ab76d8ca2e7ebc83c32c3e
 DIST anki.png 34595 BLAKE2B 
7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88
 SHA512 
c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
-DIST aqt-2.1.48.zip 2199590 BLAKE2B 
e519d03d3145e52770dcde0f7f5ca7951740656bfbe2740a00126569b34f2c09984b47f38a2fab80bd36d763d0e1d9230b3ccbfd186fa12cb77fa186f2b49bb0
 SHA512 
851a374b91d7a4ff4ef3c53db9da969bf8e3abd4d93bc34e8240205197fb7e04f21da898c160b00e373bc84659b4f29c47ad5e14850a84ae4e73098a6aea6160
+DIST aqt-2.1.49.zip 2199372 BLAKE2B 
319eae4de573bfb07537faa3f3cef18f920dae55c230ce473dc08f5ebf4480df5f7a7d1b875ba7bc3c7147b596288f622db317f7eda835715bd6272e09da64f7
 SHA512 
65696fb36a5cd0cd9209eee483ffa31b2a9370d90e307140fd1d3ad647c7e6a63d24046dc521704fa78bf15895a0d6e57f72915cd161e1bb03a8bcbecb8099f0

diff --git a/app-misc/anki-bin/anki-bin-2.1.48.ebuild 
b/app-misc/anki-bin/anki-bin-2.1.49.ebuild
similarity index 97%
rename from app-misc/anki-bin/anki-bin-2.1.48.ebuild
rename to app-misc/anki-bin/anki-bin-2.1.49.ebuild
index deb08be1c..53b3ecbe6 100644
--- a/app-misc/anki-bin/anki-bin-2.1.48.ebuild
+++ b/app-misc/anki-bin/anki-bin-2.1.49.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7



[gentoo-commits] repo/proj/guru:master commit in: app-misc/watchexec/

2022-03-28 Thread Ronny Gutbrod
commit: 62b5be55ffaf194011def140ee94f17a0a460022
Author: YOSHIOKA Takuma  hard-wi  red>
AuthorDate: Mon Mar 28 00:08:49 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Mon Mar 28 00:08:49 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=62b5be55

app-misc/watchexec: version bump 1.18.11

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: YOSHIOKA Takuma  hard-wi.red>

 app-misc/watchexec/Manifest |   1 +
 app-misc/watchexec/watchexec-1.18.11.ebuild | 343 
 2 files changed, 344 insertions(+)

diff --git a/app-misc/watchexec/Manifest b/app-misc/watchexec/Manifest
index c5bdfc900..4374d7193 100644
--- a/app-misc/watchexec/Manifest
+++ b/app-misc/watchexec/Manifest
@@ -477,6 +477,7 @@ DIST watchexec-1.17.0.tar.gz 171610 BLAKE2B 
3061bdadfa718aa788348b3db0afc08519e0
 DIST watchexec-1.17.1.tar.gz 177405 BLAKE2B 
e85769d4a2fa39ec9c96b3f9dd878f1ddb804c61fc31cf0f320e9221f1c5fa8d98689b72cf12ddd3ae8f02a4e398e8671b9f55cb22427db9f773ce6b88405efe
 SHA512 
798b67df62b0597ff1bd5a5bf27fd5f9b84a6b3cad831bcd86327d27e1799033cd8d98d72afceb1917663d8ebd5ed77f5acfa07f5398c673ca54bc53007ccf00
 DIST watchexec-1.18.1.tar.gz 236286 BLAKE2B 
f9722f2f23b7d74f090ee639256cc8f87eda2d8fc182a53356bba526c7d2a83f01ae34f1fc59b16d9b34f5df0966ad095cc078ec9439b56860a2f61e1fea9c72
 SHA512 
30e7669801916ed2a380e3293d35368f92e5e4783488e5c6d57bf0a69efe18ebbc0c09ec65293dabec3a92587fa583fcdd5dbc08309699eff9049cad90e7c8a9
 DIST watchexec-1.18.10.tar.gz 244623 BLAKE2B 
63533db5d83abc8b251d9df7efb96179a27b72baeca7f0fe8180ad4c8562959b8c8a67b033bbc2b36ae224df59023b372faa35d0b91b5549bc86e3c33c10b5c0
 SHA512 
dea08657f7630d249c56d901c79579c830a3eb28e630f4453e15fffa693da09a5842a5533b3647b16c4e913727d5d94b15351d693d8ca6e2043fbb05e3f0b8ab
+DIST watchexec-1.18.11.tar.gz 244677 BLAKE2B 
c9955fe61fcab8346ded032081930b9bad8353f2717db78cb508790de753e01c8243df85cf0cd5558cf53acc2a92b783a2daaf751d41448690977c8ae840a25f
 SHA512 
b712d92376d4837c8c4b87097a002b0e2864c555a11ed8790841b397e4ae3074df67064171f0342908b0699e24d8adaf5e8db6265fe24473875541369102d62b
 DIST watchexec-1.18.5.tar.gz 238076 BLAKE2B 
ea1a07e3a1389e7f33d0a126ede2d8e648b25f15e884c995ec346b3e50ab22308c45ddd7d810c0bc6ab94bd809d201a61fa82b32b59746786c56e9094663b4d0
 SHA512 
60cdaa140b04d02721042214c4e1e9963a51217d1797e43e2b12e06a143392e0ef99fadc26f66312fd7a882c98302cf0dd31c9253363b5bdae71af746ba2470b
 DIST watchexec-1.18.6.tar.gz 240377 BLAKE2B 
7958014d8657a273853c3361feb82e54decaee1d138d6f3b048120f34b74c7bced150a70988871683574da43b7940cbfdf0bab72eb8f4d92a23ccd9f62d50d11
 SHA512 
ec859800ef7fc92e6ed906354556dd6e4f55f7696f0b36c7f8bb9ca471a723e70d4f80720d8f495adbc9a66a7dff2144f6226b67b236bdc8482cf74aeb43919f
 DIST watchexec-1.18.7.tar.gz 241686 BLAKE2B 
20d4bf26a3816d157ea8cc711dcdbcd50c0f12e71a8554310eed3a12842f16526a8f8df53054539f325a8464fa23ffb3f201fb0e3547ac88ed5f4d47eecd0adc
 SHA512 
b3afc130d63767b0d5bd9120b22c8f462b758acc31db7fffccb27377471c4638294550404c89bef527ea938ab28d5800feca6cc375d994084ca66ef7754aabc0

diff --git a/app-misc/watchexec/watchexec-1.18.11.ebuild 
b/app-misc/watchexec/watchexec-1.18.11.ebuild
new file mode 100644
index 0..aea231619
--- /dev/null
+++ b/app-misc/watchexec/watchexec-1.18.11.ebuild
@@ -0,0 +1,343 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Auto-Generated by cargo-ebuild 0.5.1-dev
+
+EAPI=8
+
+CRATES="
+   addr2line-0.17.0
+   adler-1.0.2
+   aho-corasick-0.7.18
+   ansi_term-0.12.1
+   anyhow-1.0.56
+   arrayref-0.3.6
+   arrayvec-0.5.2
+   assert_cmd-2.0.4
+   async-broadcast-0.3.4
+   async-channel-1.6.1
+   async-executor-1.4.1
+   async-io-1.6.0
+   async-lock-2.5.0
+   async-recursion-0.3.2
+   async-recursion-1.0.0
+   async-stream-0.3.3
+   async-stream-impl-0.3.3
+   async-task-4.2.0
+   async-trait-0.1.52
+   atomic-take-1.0.0
+   atty-0.2.14
+   autocfg-1.1.0
+   backtrace-0.3.64
+   base64-0.13.0
+   bitflags-1.3.2
+   blake2b_simd-0.5.11
+   block-0.1.6
+   bstr-0.2.17
+   byteorder-1.4.3
+   bytes-1.1.0
+   cache-padded-1.2.0
+   cc-1.0.73
+   cfg-if-0.1.10
+   cfg-if-1.0.0
+   chrono-0.4.19
+   clap-2.34.0
+   clearscreen-1.0.9
+   command-group-1.0.8
+   concurrent-queue-1.2.2
+   console-0.15.0
+   console-api-0.1.2
+   console-subscriber-0.1.3
+   constant_time_eq-0.1.5
+   crc32fast-1.3.2
+   crossbeam-channel-0.5.3
+   crossbeam-utils-0.8.8
+   derivative-2.2.0
+   difflib-0.4.0
+   dirs-1.0.5
+   dirs-2.0.2
+   dirs-sys-0.3.7
+   doc-comment-0.3.3
+   dunce-1.0.2
+   easy-parallel-3.2.0
+   either-1.6.1
+   embed-resource-1.7.1
+   encode_unicode-0.3.6
+   enumflags2-0.7.3
+   enumflags2_derive-0.7.3
+   event-listener-2.5.2
+   

[gentoo-commits] repo/proj/guru:master commit in: /

2022-03-28 Thread Ronny Gutbrod
commit: 6c28da2457f3af8adcfa34c76a9c311fe98fc0ff
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Mar 27 20:26:54 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Sun Mar 27 21:28:24 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6c28da24

TODO.md: fix pagmo website

Signed-off-by: Alessandro Barbieri  gmail.com>

 TODO.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/TODO.md b/TODO.md
index 73eff0ed5..85ff9e48b 100644
--- a/TODO.md
+++ b/TODO.md
@@ -76,7 +76,7 @@ Name | Buildsystem | Category | User | RFH
 [fmi-library](https://github.com/modelon-community/fmi-library) | cmake | 
science | Alessandro-Barbieri | no
 [aerodyn](https://github.com/OpenFAST/openfast/tree/main/modules/aerodyn) | 
cmake | science | Alessandro-Barbieri | no
 [llvm-ompss2](https://github.com/bsc-pm/llvm) | cmake | cluster | 
Alessandro-Barbieri | yes
-[pagmo](https://github.com/bsc-pm/llvm) | cmake | science | 
Alessandro-Barbieri | no
+[pagmo](https://esa.github.io/pagmo2/) | cmake | science | Alessandro-Barbieri 
| no
 [enarx](https://enarx.dev/) | cargo | util | Alessandro-Barbieri | no
 [airshipper](https://gitlab.com/veloren/airshipper) | cargo | game | 
NicolaSmaniotto | 
 [ruplacer](https://github.com/dmerejkowsky/ruplacer) | cargo | sys | 
Alessandro-Barbieri | no



[gentoo-commits] repo/proj/guru:master commit in: sci-libs/dart/files/, sci-libs/dart/

2022-03-28 Thread Ronny Gutbrod
commit: ef1f64452bc61dc3139696482eef10e875e331b9
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Mar 27 20:26:32 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Sun Mar 27 21:28:24 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ef1f6445

sci-libs/dart: add 6.12.1

Signed-off-by: Alessandro Barbieri  gmail.com>

 sci-libs/dart/Manifest |   1 +
 sci-libs/dart/dart-6.12.1.ebuild   | 162 +
 .../dart/files/dart-6.12.1-respect-cflags.patch|  11 ++
 .../dart/files/dart-6.12.1-use-system-gtest.patch  |  31 
 .../dart-6.12.1-use-system-lodepng-imgui.patch | 149 +++
 sci-libs/dart/metadata.xml |   1 +
 6 files changed, 355 insertions(+)

diff --git a/sci-libs/dart/Manifest b/sci-libs/dart/Manifest
index 461c20c15..46b234018 100644
--- a/sci-libs/dart/Manifest
+++ b/sci-libs/dart/Manifest
@@ -1 +1,2 @@
 DIST dart-6.10.1.tar.gz 15867405 BLAKE2B 
64c42ce1d808a88df53f4292df30c0bc58b52f864342ac0b353ad0496d41bd4986ad231cb08869058a16591350acf0fc0c12ae15d574d919c1c27f102028f608
 SHA512 
8abbf883628442ed5166e436349de8caaaf72a0ecfa88e75b986a550d617bd9b5df8ff32e32395e941ba12b7ad359be15b2ab2f566d99aa6c603bd0ebade1df0
+DIST dart-6.12.1.tar.gz 15990308 BLAKE2B 
d361dfad70745aa3747ea09f9f80a0b52051cb3e5d9a961995d469ab33086bf8d4068f95dbd4af8d0e2b23d5fbb0fa49dc63d823ffa52bbe750745093a6b54eb
 SHA512 
f386f646f13989dad66efbe126691553b280bf6441edad1c03059d6ae650384652da538edd3d27f3404ba76b9d6f9348e5b1c0998d7673e856cc488b91a677ff

diff --git a/sci-libs/dart/dart-6.12.1.ebuild b/sci-libs/dart/dart-6.12.1.ebuild
new file mode 100644
index 0..aac4ae640
--- /dev/null
+++ b/sci-libs/dart/dart-6.12.1.ebuild
@@ -0,0 +1,162 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit cmake python-single-r1
+
+DESCRIPTION="Dynamic Animation and Robotics Toolkit"
+HOMEPAGE="
+   https://dartsim.github.io
+   https://github.com/dartsim/dart
+"
+SRC_URI="https://github.com/dartsim/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="bullet doc examples extras glut gui +ipopt +nlopt ode python test tests 
tutorials urdfdom
+cpu_flags_x86_mmx cpu_flags_x86_mmxext cpu_flags_x86_sse cpu_flags_x86_sse2 
cpu_flags_x86_sse3
+cpu_flags_x86_ssse3 cpu_flags_x86_sse4a cpu_flags_x86_sse4_1 
cpu_flags_x86_sse4_2 cpu_flags_x86_avx
+cpu_flags_x86_avx2 cpu_flags_x86_avx512dq cpu_flags_x86_avx512f 
cpu_flags_x86_avx512vl
+cpu_flags_x86_3dnow cpu_flags_x86_3dnowext cpu_flags_ppc_vsx 
cpu_flags_ppc_vsx2 cpu_flags_ppc_vsx3
+cpu_flags_ppc_altivec cpu_flags_arm_neon cpu_flags_arm_iwmmxt 
cpu_flags_arm_iwmmxt2 cpu_flags_arm_neon"
+#TODO: pagmo
+
+RDEPEND="
+   app-arch/lz4
+   >=dev-cpp/eigen-3.0.5
+   dev-libs/boost
+   dev-libs/tinyxml2
+   >=sci-libs/libccd-2.0
+   >=media-libs/assimp-3.0.0
+   >=sci-libs/fcl-0.2.9
+   sci-libs/flann
+   sci-libs/octomap
+
+   bullet? ( sci-physics/bullet )
+   examples? (
+   dev-cpp/tiny-dnn
+   dev-libs/urdfdom
+   )
+   extras? ( dev-libs/urdfdom )
+   glut? ( media-libs/freeglut )
+   gui? (
+   dev-games/openscenegraph
+   media-libs/imgui:=[opengl(-)]
+   media-libs/lodepng:=
+   virtual/opengl
+   x11-libs/libXi
+   x11-libs/libXmu
+   )
+   ipopt? ( sci-libs/ipopt )
+   nlopt? ( >=sci-libs/nlopt-2.4.1 )
+   ode? ( dev-games/ode )
+   python? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')
+   )
+   urdfdom? ( dev-libs/urdfdom )
+"
+DEPEND="
+   ${RDEPEND}
+   examples? ( dev-libs/urdfdom_headers )
+   extras? ( dev-libs/urdfdom_headers )
+   test? (
+   dev-cpp/gtest
+   python? ( $(python_gen_cond_dep 
'dev-python/pytest[${PYTHON_USEDEP}]') )
+   )
+   urdfdom? ( dev-libs/urdfdom_headers )
+"
+BDEPEND="
+   app-text/dos2unix
+   doc? ( app-doc/doxygen )
+   test? ( python? ( $(python_gen_cond_dep 
'dev-python/pytest[${PYTHON_USEDEP}]') ) )
+"
+
+RESTRICT="!test? ( test )"
+PATCHES=(
+   "${FILESDIR}/${PN}-respect-ldflags.patch"
+   "${FILESDIR}/${P}-respect-cflags.patch"
+   "${FILESDIR}/${P}-use-system-gtest.patch"
+   "${FILESDIR}/${P}-use-system-lodepng-imgui.patch"
+)
+REQUIRED_USE="
+   examples? ( gui )
+   python? (
+   ${PYTHON_REQUIRED_USE}
+   gui
+   )
+
+   || ( ipopt nlopt )
+"
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   # delete bundled gtest
+   rm -r unittests/gtest || die
+   rm -r dart/external/{imgui,lodepng} || die
+   dos2unix 

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

2022-03-28 Thread Ronny Gutbrod
commit: 1841cd2699bb99e1a76315ee096c5b8af2e3fa1f
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Mar 27 21:49:42 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Sun Mar 27 21:49:42 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1841cd26

dev-python/rstr: disable pypy3

Closes: https://bugs.gentoo.org/835474
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/rstr/rstr-3.1.0.ebuild | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/dev-python/rstr/rstr-3.1.0.ebuild 
b/dev-python/rstr/rstr-3.1.0.ebuild
index 843c74e97..8d112dacb 100644
--- a/dev-python/rstr/rstr-3.1.0.ebuild
+++ b/dev-python/rstr/rstr-3.1.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_SETUPTOOLS=pyproject.toml
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..10} ) # pypy3 https://bugs.gentoo.org/835474
 
 inherit distutils-r1
 
@@ -21,10 +21,6 @@ KEYWORDS="~amd64"
 
 distutils_enable_tests unittest
 
-python_test() {
-   "${PYTHON}" -m unittest discover -v rstr/tests || die "tests failed 
with ${EPYTHON}"
-}
-
 python_install_all() {
distutils-r1_python_install_all
find "${ED}" -type d -name "tests" -exec rm -rv {} + || die "tests 
removing failed"



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

2022-03-28 Thread Ronny Gutbrod
commit: aa2a3f1db4889533885ce7ebf04e76bd570043d0
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon Mar 28 17:04:48 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Mon Mar 28 17:14:19 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aa2a3f1d

dev-python/asyncssh: add 2.10.0, drop 2.7.2

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/asyncssh/Manifest  | 2 +-
 dev-python/asyncssh/{asyncssh-2.7.2.ebuild => asyncssh-2.10.0.ebuild} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/asyncssh/Manifest b/dev-python/asyncssh/Manifest
index e47c7c673..814da8306 100644
--- a/dev-python/asyncssh/Manifest
+++ b/dev-python/asyncssh/Manifest
@@ -1,2 +1,2 @@
-DIST asyncssh-2.7.2.tar.gz 423431 BLAKE2B 
f9aa34204e60879c91106a7217c1fef5ee0f2923f5628908bcd07dee30e1ffa7f8c099fa505004035843a6be6101c1549c4809d107c745ad8f8f246201249de0
 SHA512 
a45248c8068905f7d36d866918b0563e8c9cf6bdfc99fc849818c031deb8b429212a2bb505c0a77da7729b736d49d4e01c187ca79a659385152a93b02d9493f7
+DIST asyncssh-2.10.0.tar.gz 481494 BLAKE2B 
fc06ad0579f9dc00af7fd0355f8a3a87144cc6fd5f928cfd7798e9a0942b6b549bd94877ab6371470f014cda040f4092df8980e792c37e37402d77d2f5d7bfe3
 SHA512 
698d97ca607582d75e74fe39798d9a8490b80c1aa5cfafa0152537c9f2354528a7386b26620d0c18b6d986c710e6c16888404ba7263b821f471211b5eae3d21f
 DIST asyncssh-2.9.0.tar.gz 477142 BLAKE2B 
01157e603911b4ce308f773c51b9b9a4329b081c185615a1eb0ceb801eb095756c741a40c54d69004cbf9afe67244480c6bd92c1ae804803ab39487d49214e96
 SHA512 
5369575da6b12c6adbdc6f0c8492098b089f773761c9a78f854bf5e99b09a3b3256a014dba60d6ff7ae23cca3a25176e34e803fa4dde74cc0fe704389a7d0c08

diff --git a/dev-python/asyncssh/asyncssh-2.7.2.ebuild 
b/dev-python/asyncssh/asyncssh-2.10.0.ebuild
similarity index 95%
rename from dev-python/asyncssh/asyncssh-2.7.2.ebuild
rename to dev-python/asyncssh/asyncssh-2.10.0.ebuild
index 9a47b82c7..654e0d743 100644
--- a/dev-python/asyncssh/asyncssh-2.7.2.ebuild
+++ b/dev-python/asyncssh/asyncssh-2.10.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ inherit distutils-r1 docs optfeature
 DESCRIPTION="Asynchronous SSHv2 client and server library"
 HOMEPAGE="
https://asyncssh.timeheart.net
-   https://pypi.org/project/asyncssh
+   https://pypi.org/project/asyncssh/
https://github.com/ronf/asyncssh
 "
 SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"



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

2022-03-28 Thread Sam James
commit: cd0a0f16ebdc4cf2d18378213d8476aeb42ff810
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 29 01:59:47 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 29 02:00:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd0a0f16

sys-libs/zlib: keyword 1.2.12-r1

Issues are fixed now. Nothing else has come up other than the now-fixed
CC-configure issue.

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

 sys-libs/zlib/files/zlib-1.2.12-fix-CC-logic-in-configure.patch | 6 --
 sys-libs/zlib/zlib-1.2.12-r1.ebuild | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/sys-libs/zlib/files/zlib-1.2.12-fix-CC-logic-in-configure.patch 
b/sys-libs/zlib/files/zlib-1.2.12-fix-CC-logic-in-configure.patch
index 8b6c5e26a766..7fb13325b114 100644
--- a/sys-libs/zlib/files/zlib-1.2.12-fix-CC-logic-in-configure.patch
+++ b/sys-libs/zlib/files/zlib-1.2.12-fix-CC-logic-in-configure.patch
@@ -1,6 +1,6 @@
 https://github.com/madler/zlib/pull/607
 
-From c9b7587ff947638412a69df5ea820c563b8b1c1b Mon Sep 17 00:00:00 2001
+From 80d086357a55b94a13e43756cf3e131f25eef0e4 Mon Sep 17 00:00:00 2001
 From: Sam James 
 Date: Mon, 28 Mar 2022 08:40:45 +0100
 Subject: [PATCH] Fix CC logic in configure
@@ -10,6 +10,9 @@ the logic was changed to try check harder for GCC, but it 
dropped
 the default setting of cc=${CC}. It was throwing away any pre-set CC value as
 a result.
 
+The rest of the script then cascades down a bad path because it's convinced
+it's not GCC or a GCC-like compiler.
+
 This led to e.g. misdetection of inability to build shared libs
 for say, multilib cases (w/ CC being one thing from the environment being used
 for one test (e.g. x86_64-unknown-linux-gnu-gcc -m32 and then 'cc' used for
@@ -40,4 +43,3 @@ index 52ff4a04e..3fa3e8618 100755
  cflags=${CFLAGS-"-O3"}
  # to force the asm version use: CFLAGS="-O3 -DASMV" ./configure
  case "$cc" in
-

diff --git a/sys-libs/zlib/zlib-1.2.12-r1.ebuild 
b/sys-libs/zlib/zlib-1.2.12-r1.ebuild
index 1a031b3c2526..267b24c0d148 100644
--- a/sys-libs/zlib/zlib-1.2.12-r1.ebuild
+++ b/sys-libs/zlib/zlib-1.2.12-r1.ebuild
@@ -22,7 +22,7 @@ SRC_URI="https://zlib.net/${P}.tar.gz
 
 LICENSE="ZLIB"
 SLOT="0/1" # subslot = SONAME
-#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="minizip static-libs"
 
 RDEPEND="!sys-libs/zlib-ng[compat]"



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

2022-03-28 Thread Patrick McLean
commit: 6ca16a86a8930ccdcf057634df5d2dfdbd15f950
Author: Patrick McLean  gentoo  org>
AuthorDate: Tue Mar 29 02:23:01 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Mar 29 02:23:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ca16a86

dev-python/black: add 22.3.0

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

 dev-python/black/Manifest|  1 +
 dev-python/black/black-22.3.0.ebuild | 49 
 2 files changed, 50 insertions(+)

diff --git a/dev-python/black/Manifest b/dev-python/black/Manifest
index 20ba92e03eea..17cd98220065 100644
--- a/dev-python/black/Manifest
+++ b/dev-python/black/Manifest
@@ -1,2 +1,3 @@
 DIST black-21.12b0.tar.gz 1200305 BLAKE2B 
cd019b230d2ba1fab88075a5e14cb5de88a4ee283b53d869564f071a104d2810ca31c04db09310b99a1610bdace7d5b9b360b2a3a4810822322a4eacc8998ad8
 SHA512 
1f6e4eeafd653fa9db608585110f5c5067942031b2d67e630befa899d7fca3c35f52cbde8fc91c2697fb294fb16525254756ebce16e556fc139b621f738bfa22
 DIST black-22.1.0.tar.gz 1161720 BLAKE2B 
d74cbdd39dc1576583cee57089cb6d75a338f2d6640697adda79d38d02eeb51664049dca934d5014761d0fd4080ca2f40a3ea10c30e40bde9fe6af6c178b202c
 SHA512 
9b97a3b32ecebebeb61ea581784a9b2215540c20533097fe87d5ef3c046dbe7c2ab8f2f21d1884cbe0ddd458434f17eb9b540764f955385873e6fdef86c3014c
+DIST black-22.3.0.tar.gz 1154456 BLAKE2B 
c89b43722839748dff0ce60debb684cd8eeae5ef5fb7e080f6b0031412381d7be121ce62ad252a67fa7930726243680a4bf183417611617be5af39722164289d
 SHA512 
fc44576b93a6e158f625ad5444247f6a59a1ebcc7f0c73ed40d557a9a865457b297eabd492f01999e51ee3e5c3fa83f3d6e3c10937ecaa8c1d36f7541736d2e4

diff --git a/dev-python/black/black-22.3.0.ebuild 
b/dev-python/black/black-22.3.0.ebuild
new file mode 100644
index ..5af8bdaa4f15
--- /dev/null
+++ b/dev-python/black/black-22.3.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1 optfeature
+
+MY_PV="${PV//_beta/b}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="The uncompromising Python code formatter"
+HOMEPAGE="https://black.readthedocs.io/en/stable/ https://github.com/psf/black;
+SRC_URI="https://github.com/psf/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 
~x64-macos"
+
+RDEPEND="
+   >=dev-python/click-8.0.0[${PYTHON_USEDEP}]
+   >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}]
+   >=dev-python/platformdirs-2[${PYTHON_USEDEP}]
+   >=dev-python/pathspec-0.9.0[${PYTHON_USEDEP}]
+   >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   >=dev-python/typing-extensions-3.10.0.0[${PYTHON_USEDEP}]
+   ' python3_{8..9})
+"
+BDEPEND="
+   >=dev-python/setuptools_scm-6.3.1[${PYTHON_USEDEP}]
+   test? (
+   >=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}]
+   dev-python/aiohttp-cors[${PYTHON_USEDEP}]
+   dev-python/colorama[${PYTHON_USEDEP}]
+   dev-python/parameterized[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${MY_PV}
+
+pkg_postinst() {
+   optfeature "blackd - HTTP API for black" "dev-python/aiohttp 
dev-python/aiohttp-cors"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/gitlab-runner/files/, dev-util/gitlab-runner/

2022-03-28 Thread William Hubbs
commit: cfed4d10bd3144ed782b625e266cedd533d505d6
Author: Henning Schild  hennsch  de>
AuthorDate: Mon Mar 28 18:31:43 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Tue Mar 29 02:37:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfed4d10

dev-util/gitlab-runner: fix init script syntax

Closes: https://bugs.gentoo.org/836305
Closes: https://github.com/gentoo/gentoo/pull/24795

Thanks-to: Henning Schild  hennsch.de>
Signed-off-by: William Hubbs  gentoo.org>

 dev-util/gitlab-runner/files/gitlab-runner.initd  | 11 +++
 ...ab-runner-14.9.1.ebuild => gitlab-runner-14.9.1-r1.ebuild} |  0
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/dev-util/gitlab-runner/files/gitlab-runner.initd 
b/dev-util/gitlab-runner/files/gitlab-runner.initd
index 8ae45b510fd0..0e5c5ed224b6 100644
--- a/dev-util/gitlab-runner/files/gitlab-runner.initd
+++ b/dev-util/gitlab-runner/files/gitlab-runner.initd
@@ -1,20 +1,23 @@
 #!/sbin/openrc-run
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 command="/usr/bin/gitlab-runner"
+runner_datadir="${runner_datadir:-/var/lib/gitlab-runner}"
 command_args="run
--config ${runner_config:-/etc/gitlab-runner/config.toml}
--service ${runner_service:-${RC_SVCNAME}}
--user ${runner_user:-gitlab-runner}
-   --working-directory ${runner_datadir:-/var/lib/gitlab-runner}
+   --working-directory ${runner_datadir}
${RUNNER_OPTS}"
 command_background=true
 extra_started_commands="reload"
 name="${name:-GitLab Runner}"
 pidfile="/run/${RC_SVCNAME}.pid"
-output_log="${output_log:-${runner_logdir}/gitlab-runner.log"
-error_log="${error_log:-${runner_logdir}/gitlab-runner.err"
+runner_user="${runner_user:-gitlab-runner}"
+runner_logdir="${runner_logdir:-/var/log/gitlab-runner}"
+output_log="${output_log:-${runner_logdir}/gitlab-runner.log}"
+error_log="${error_log:-${runner_logdir}/gitlab-runner.err}"
 retry="QUIT/60/TERM/60"
 required_files="${runner_config}"
 

diff --git a/dev-util/gitlab-runner/gitlab-runner-14.9.1.ebuild 
b/dev-util/gitlab-runner/gitlab-runner-14.9.1-r1.ebuild
similarity index 100%
rename from dev-util/gitlab-runner/gitlab-runner-14.9.1.ebuild
rename to dev-util/gitlab-runner/gitlab-runner-14.9.1-r1.ebuild



<    1   2   3