[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/

2024-06-14 Thread Florian Schmaus
commit: 86903ae6aba4c6d2ad91ede9b13849a1847bf2d7
Author: Florian Schmaus  gentoo  org>
AuthorDate: Fri Jun 14 20:24:53 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Fri Jun 14 20:24:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86903ae6

metadata/stabilization-groups: add texlive group

Signed-off-by: Florian Schmaus  gentoo.org>

 metadata/stabilization-groups/texlive.group | 61 +
 1 file changed, 61 insertions(+)

diff --git a/metadata/stabilization-groups/texlive.group 
b/metadata/stabilization-groups/texlive.group
new file mode 100644
index ..d4123cb78127
--- /dev/null
+++ b/metadata/stabilization-groups/texlive.group
@@ -0,0 +1,61 @@
+app-text/dvipsk
+app-text/lcdf-typetools
+app-text/ps2eps
+app-text/ps2pkm
+app-text/psutils
+app-text/texlive
+app-text/texlive-core
+app-text/ttf2pk2
+app-text/xdvik
+dev-libs/kpathsea
+dev-libs/ptexenc
+dev-tex/biber
+dev-tex/biblatex
+dev-tex/bibtexu
+dev-tex/glossaries
+dev-tex/latex-beamer
+dev-tex/latexdiff
+dev-tex/latexmk
+dev-tex/minted
+dev-tex/pgf
+dev-tex/tex4ht
+dev-texlive/texlive-basic
+dev-texlive/texlive-bibtexextra
+dev-texlive/texlive-binextra
+dev-texlive/texlive-context
+dev-texlive/texlive-fontsextra
+dev-texlive/texlive-fontsrecommended
+dev-texlive/texlive-fontutils
+dev-texlive/texlive-formatsextra
+dev-texlive/texlive-games
+dev-texlive/texlive-humanities
+dev-texlive/texlive-langarabic
+dev-texlive/texlive-langchinese
+dev-texlive/texlive-langcjk
+dev-texlive/texlive-langcyrillic
+dev-texlive/texlive-langczechslovak
+dev-texlive/texlive-langenglish
+dev-texlive/texlive-langeuropean
+dev-texlive/texlive-langfrench
+dev-texlive/texlive-langgerman
+dev-texlive/texlive-langgreek
+dev-texlive/texlive-langitalian
+dev-texlive/texlive-langjapanese
+dev-texlive/texlive-langkorean
+dev-texlive/texlive-langother
+dev-texlive/texlive-langpolish
+dev-texlive/texlive-langportuguese
+dev-texlive/texlive-langspanish
+dev-texlive/texlive-latex
+dev-texlive/texlive-latexextra
+dev-texlive/texlive-latexrecommended
+dev-texlive/texlive-luatex
+dev-texlive/texlive-mathscience
+dev-texlive/texlive-metapost
+dev-texlive/texlive-music
+dev-texlive/texlive-pictures
+dev-texlive/texlive-plaingeneric
+dev-texlive/texlive-pstricks
+dev-texlive/texlive-publishers
+dev-texlive/texlive-xetex
+media-gfx/asymptote



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/

2024-06-05 Thread Yixun Lan
commit: 2151c4fc54ba5132b4031ea140ddadaac2e31569
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Jun  6 01:38:05 2024 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Jun  6 01:40:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2151c4fc

metadata/stabilization-groups: add filezilla group

Signed-off-by: Yixun Lan  gentoo.org>

 metadata/stabilization-groups/filezilla.group | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/metadata/stabilization-groups/filezilla.group 
b/metadata/stabilization-groups/filezilla.group
new file mode 100644
index ..097ba33960df
--- /dev/null
+++ b/metadata/stabilization-groups/filezilla.group
@@ -0,0 +1,2 @@
+dev-libs/libfilezilla
+net-ftp/filezilla



[gentoo-commits] repo/gentoo:master commit in: metadata/, licenses/

2024-05-15 Thread Florian Schmaus
commit: a6cff13cf101d213305284dcf50ba114aa37abff
Author: Lucio Sauer  posteo  net>
AuthorDate: Mon Mar 25 20:36:48 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Wed May 15 09:55:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6cff13c

licenses: Add Unicode-3.0

... and license mapping

Signed-off-by: Lucio Sauer  posteo.net>
Signed-off-by: Florian Schmaus  gentoo.org>

 licenses/Unicode-3.0  | 39 +++
 metadata/license-mapping.conf |  1 +
 2 files changed, 40 insertions(+)

diff --git a/licenses/Unicode-3.0 b/licenses/Unicode-3.0
new file mode 100644
index ..ee8e69b23329
--- /dev/null
+++ b/licenses/Unicode-3.0
@@ -0,0 +1,39 @@
+UNICODE LICENSE V3
+
+COPYRIGHT AND PERMISSION NOTICE
+
+Copyright © 1991-2024 Unicode, Inc.
+
+NOTICE TO USER: Carefully read the following legal agreement. BY
+DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
+SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
+TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
+DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of data files and any associated documentation (the "Data Files") or
+software and any associated documentation (the "Software") to deal in the
+Data Files or Software without restriction, including without limitation
+the rights to use, copy, modify, merge, publish, distribute, and/or sell
+copies of the Data Files or Software, and to permit persons to whom the
+Data Files or Software are furnished to do so, provided that either (a)
+this copyright and permission notice appear with all copies of the Data
+Files or Software, or (b) this copyright and permission notice appear in
+associated Documentation.
+
+THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
+KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
+THIRD PARTY RIGHTS.
+
+IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
+BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
+OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
+FILES OR SOFTWARE.
+
+Except as contained in this notice, the name of a copyright holder shall
+not be used in advertising or otherwise to promote the sale, use or other
+dealings in these Data Files or Software without prior written
+authorization of the copyright holder.

diff --git a/metadata/license-mapping.conf b/metadata/license-mapping.conf
index 3eb4d3206487..d97f93f11ae4 100644
--- a/metadata/license-mapping.conf
+++ b/metadata/license-mapping.conf
@@ -193,6 +193,7 @@ Sleepycat = Sleepycat
 SSPL-1.0 = SSPL-1
 TCL = tcltk
 TCP-wrappers = tcp_wrappers_license
+Unicode-3.0 = Unicode-3.0
 Unicode-DFS-2016 = Unicode-DFS-2016
 Unlicense = Unlicense
 Vim = vim



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/

2024-04-27 Thread Sam James
commit: f1ecf9a54cd41e09c07e077220e221522ed7e0ba
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 28 01:01:07 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 28 01:01:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1ecf9a5

metadata/stabilization-groups: add libguestfs.group

Contains the following:
* app-emulation/guestfs-tools
* app-emulation/libguestfs
* app-emulation/libguestfs-appliance

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

 metadata/stabilization-groups/libguestfs.group | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/metadata/stabilization-groups/libguestfs.group 
b/metadata/stabilization-groups/libguestfs.group
new file mode 100644
index ..ef4ff66035df
--- /dev/null
+++ b/metadata/stabilization-groups/libguestfs.group
@@ -0,0 +1,3 @@
+app-emulation/guestfs-tools
+app-emulation/libguestfs
+app-emulation/libguestfs-appliance



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/qt/, dev-qt/qtlanguageserver/

2024-04-16 Thread Ionen Wolkens
commit: b907ce797852dc3a5bfbeb5268cfec8412449c34
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Apr 16 10:50:33 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Apr 16 12:01:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b907ce79

dev-qt/qtlanguageserver: new package, add 6.7.0 + live

Not much of note here, very simple package. Needed to build
qtdeclarative's qmlls wrt bug #930106.

It does (optionally) look for QtConcurrent and QtNetwork but
did not find anything that *actually* use these (including tests)
so skipped the dependency.

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

 dev-qt/qtlanguageserver/Manifest   |  1 +
 dev-qt/qtlanguageserver/metadata.xml   | 18 ++
 dev-qt/qtlanguageserver/qtlanguageserver-6.7.0.ebuild  | 15 +++
 .../qtlanguageserver/qtlanguageserver-6.7..ebuild  | 15 +++
 dev-qt/qtlanguageserver/qtlanguageserver-6..ebuild | 15 +++
 metadata/stabilization-groups/qt/qt6.group |  1 +
 6 files changed, 65 insertions(+)

diff --git a/dev-qt/qtlanguageserver/Manifest b/dev-qt/qtlanguageserver/Manifest
new file mode 100644
index ..be3a4ad3ceaf
--- /dev/null
+++ b/dev-qt/qtlanguageserver/Manifest
@@ -0,0 +1 @@
+DIST qtlanguageserver-everywhere-src-6.7.0.tar.xz 145140 BLAKE2B 
216b0b8c777361416d179dc970e4adcf78310eab603dba1907ff59bb1efa958ddcfc2de131dc37597096bb7f5d54bc68fe1c4f8a92eff23ef108abdbb9251dee
 SHA512 
b3ebfd6e3093e6105dfda173cb8e8f7686e139621a882373f9a27ff7c3b7f7e4b10ccdbc1f71cab474ae6eddca4e68733a053b0045111575ff1f49741ecfe02f

diff --git a/dev-qt/qtlanguageserver/metadata.xml 
b/dev-qt/qtlanguageserver/metadata.xml
new file mode 100644
index ..59773d989592
--- /dev/null
+++ b/dev-qt/qtlanguageserver/metadata.xml
@@ -0,0 +1,18 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   q...@gentoo.org
+   Gentoo Qt Project
+   
+   
+   https://bugreports.qt.io/
+   https://doc.qt.io/
+   qt/qtlanguageserver
+   
+   
+   
+   Must only be used by packages that are known to use 
private parts of the Qt API.
+   
+   
+

diff --git a/dev-qt/qtlanguageserver/qtlanguageserver-6.7.0.ebuild 
b/dev-qt/qtlanguageserver/qtlanguageserver-6.7.0.ebuild
new file mode 100644
index ..b02596ef5aab
--- /dev/null
+++ b/dev-qt/qtlanguageserver/qtlanguageserver-6.7.0.ebuild
@@ -0,0 +1,15 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qt6-build
+
+DESCRIPTION="Implementation of the Language Server Protocol for Qt"
+
+if [[ ${QT6_BUILD_TYPE} == release ]]; then
+   KEYWORDS="~amd64"
+fi
+
+RDEPEND="~dev-qt/qtbase-${PV}:6"
+DEPEND="${RDEPEND}"

diff --git a/dev-qt/qtlanguageserver/qtlanguageserver-6.7..ebuild 
b/dev-qt/qtlanguageserver/qtlanguageserver-6.7..ebuild
new file mode 100644
index ..b02596ef5aab
--- /dev/null
+++ b/dev-qt/qtlanguageserver/qtlanguageserver-6.7..ebuild
@@ -0,0 +1,15 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qt6-build
+
+DESCRIPTION="Implementation of the Language Server Protocol for Qt"
+
+if [[ ${QT6_BUILD_TYPE} == release ]]; then
+   KEYWORDS="~amd64"
+fi
+
+RDEPEND="~dev-qt/qtbase-${PV}:6"
+DEPEND="${RDEPEND}"

diff --git a/dev-qt/qtlanguageserver/qtlanguageserver-6..ebuild 
b/dev-qt/qtlanguageserver/qtlanguageserver-6..ebuild
new file mode 100644
index ..b02596ef5aab
--- /dev/null
+++ b/dev-qt/qtlanguageserver/qtlanguageserver-6..ebuild
@@ -0,0 +1,15 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qt6-build
+
+DESCRIPTION="Implementation of the Language Server Protocol for Qt"
+
+if [[ ${QT6_BUILD_TYPE} == release ]]; then
+   KEYWORDS="~amd64"
+fi
+
+RDEPEND="~dev-qt/qtbase-${PV}:6"
+DEPEND="${RDEPEND}"

diff --git a/metadata/stabilization-groups/qt/qt6.group 
b/metadata/stabilization-groups/qt/qt6.group
index b42037abb568..80cb45947158 100644
--- a/metadata/stabilization-groups/qt/qt6.group
+++ b/metadata/stabilization-groups/qt/qt6.group
@@ -10,6 +10,7 @@ dev-qt/qtconnectivity:6
 dev-qt/qtdeclarative:6
 dev-qt/qthttpserver:6
 dev-qt/qtimageformats:6
+dev-qt/qtlanguageserver:6
 dev-qt/qtlocation:6
 dev-qt/qtmultimedia:6
 dev-qt/qtnetworkauth:6



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/qt/

2024-04-15 Thread Ionen Wolkens
commit: b6c5cc5ba5241b71ad0f8d6bc14f50901be59aeb
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Mon Apr 15 12:28:58 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Mon Apr 15 12:40:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6c5cc5b

metadata/stabilization-groups/qt: add dev-python/pyside6 to qt6

Given bug #930062 is giving it its first stable and that these
are pinning to exact Qt versions, qt@ will handle stabilizing these
together with Qt upgrades from now on. Please inform qt@ if there's
notable problems that should hold it back from stable (e.g. breaks
stable freecad after USE=qt6 is un-stable.masked, in these cases
may need to add freecad too).

PyQt6 & friends technically need to be there when needed too, but
in its case 6.6.1-r1 still works with 6.6.3 and its been patched
to work with 6.7.0. So tend to be fine to stabilize out-of-sync.

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

 metadata/stabilization-groups/qt/qt6.group | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/metadata/stabilization-groups/qt/qt6.group 
b/metadata/stabilization-groups/qt/qt6.group
index c7dc12c664e0..b42037abb568 100644
--- a/metadata/stabilization-groups/qt/qt6.group
+++ b/metadata/stabilization-groups/qt/qt6.group
@@ -1,3 +1,6 @@
+dev-python/pyside6
+dev-python/pyside6-tools
+dev-python/shiboken6
 dev-qt/qt-docs:6
 dev-qt/qt3d:6
 dev-qt/qt5compat:6



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/python/

2024-04-13 Thread Michał Górny
commit: 7b831dd333c9ce1ac788e91ffdc88b32ad9c89b0
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 13 13:54:14 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 13 13:58:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b831dd3

metadata/stable-groups: Add python/opentelemetry.group

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

 metadata/stabilization-groups/python/opentelemetry.group | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/metadata/stabilization-groups/python/opentelemetry.group 
b/metadata/stabilization-groups/python/opentelemetry.group
new file mode 100644
index ..0590edcd1c05
--- /dev/null
+++ b/metadata/stabilization-groups/python/opentelemetry.group
@@ -0,0 +1,3 @@
+dev-python/opentelemetry-api
+dev-python/opentelemetry-sdk
+dev-python/opentelemetry-sematnic-conventions



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/x11/

2024-04-03 Thread Matt Turner
commit: 3b6ee3e1d44a00982ef7ca123c9965c4e4888246
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Apr  4 03:18:51 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Apr  4 03:18:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b6ee3e1

metadata: Add more packages to vulkan stabilization group

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

 metadata/stabilization-groups/x11/vulkan.group | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/metadata/stabilization-groups/x11/vulkan.group 
b/metadata/stabilization-groups/x11/vulkan.group
index d8d4e3696776..691ba24bea11 100644
--- a/metadata/stabilization-groups/x11/vulkan.group
+++ b/metadata/stabilization-groups/x11/vulkan.group
@@ -1,7 +1,10 @@
 dev-util/glslang
 dev-util/spirv-headers
 dev-util/spirv-tools
+dev-util/volk
 dev-util/vulkan-headers
 dev-util/vulkan-tools
+dev-util/vulkan-utility-libraries
+media-libs/shaderc
 media-libs/vulkan-layers
 media-libs/vulkan-loader



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/x11/

2024-04-03 Thread Matt Turner
commit: 370146f4e0dc7630ddaa91b8c7e02142fc4e95a6
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Apr  4 03:20:07 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Apr  4 03:20:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=370146f4

metadata: Add mesa package stabilization group

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

 metadata/stabilization-groups/x11/mesa.group | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/metadata/stabilization-groups/x11/mesa.group 
b/metadata/stabilization-groups/x11/mesa.group
new file mode 100644
index ..7994040b9748
--- /dev/null
+++ b/metadata/stabilization-groups/x11/mesa.group
@@ -0,0 +1,2 @@
+dev-util/intel_clc
+media-libs/mesa



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/

2024-04-02 Thread Arsen Arsenović
commit: 94ba65ee143a1a9329e543fd3d99ac254b2c3ec4
Author: Arsen Arsenović  gentoo  org>
AuthorDate: Tue Apr  2 17:14:55 2024 +
Commit: Arsen Arsenović  gentoo  org>
CommitDate: Tue Apr  2 17:20:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94ba65ee

metadata/stabilization-groups: add foot group

Signed-off-by: Arsen Arsenović  gentoo.org>

 metadata/stabilization-groups/foot.group | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/metadata/stabilization-groups/foot.group 
b/metadata/stabilization-groups/foot.group
new file mode 100644
index ..706b0e86328d
--- /dev/null
+++ b/metadata/stabilization-groups/foot.group
@@ -0,0 +1,2 @@
+gui-apps/foot
+gui-apps/foot-terminfo



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/

2024-04-01 Thread Matthew Smith
commit: 6b5c967f7a97e695e58cea6a96b42c524b68d54a
Author: Matthew Smith  gentoo  org>
AuthorDate: Mon Apr  1 12:50:46 2024 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Mon Apr  1 12:51:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b5c967f

metadata/stabilization-groups: add tree-sitter group

Signed-off-by: Matthew Smith  gentoo.org>

 metadata/stabilization-groups/tree-sitter.group | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/metadata/stabilization-groups/tree-sitter.group 
b/metadata/stabilization-groups/tree-sitter.group
new file mode 100644
index ..453d43dab157
--- /dev/null
+++ b/metadata/stabilization-groups/tree-sitter.group
@@ -0,0 +1,2 @@
+dev-libs/tree-sitter
+dev-util/tree-sitter-cli



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/

2024-04-01 Thread Viorel Munteanu
commit: 47cd3f21edd4145cefb0ece5ee042429c4064e74
Author: Viorel Munteanu  gentoo  org>
AuthorDate: Mon Apr  1 09:29:26 2024 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Mon Apr  1 09:30:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47cd3f21

metadata/stabilization-groups: add virtualbox group

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

 metadata/stabilization-groups/virtualbox.group | 5 +
 1 file changed, 5 insertions(+)

diff --git a/metadata/stabilization-groups/virtualbox.group 
b/metadata/stabilization-groups/virtualbox.group
new file mode 100644
index ..32aa379b4bb4
--- /dev/null
+++ b/metadata/stabilization-groups/virtualbox.group
@@ -0,0 +1,5 @@
+app-emulation/virtualbox
+app-emulation/virtualbox-modules
+app-emulation/virtualbox-guest-additions
+app-emulation/virtualbox-additions
+app-emulation/virtualbox-extpack-oracle



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2024-03-29 Thread Sam James
commit: 304ed046251c64dedc3e34e54b3de6e2edbc0f9f
Author: Eli Schwartz  gmail  com>
AuthorDate: Thu Mar 28 06:34:51 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 29 18:45:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=304ed046

metadata/install-qa-check.d: make the FHS paths warning easier to read

 * QA Notice: The ebuild is installing to one or more unexpected paths:
 *
 *   /var/tmp/portage/sys-cluster/legion-/image/usr/bin/legion_prof_files
 *   /var/tmp/portage/sys-cluster/legion-/image/usr/bin/serializer_examples
 *
 * Please fix the ebuild to use correct FHS/Gentoo policy paths.

This message is hard to understand. Is it saying that the resulting
package contains files prefixed with ${D} which would be immensely
broken? Is it saying that these paths are *directories* and the FHS does
not approve of directories in /usr/bin/*/?

In fact, it's the latter. Fix this in two ways:

- clarify that it's an unexpected directory, not just some kind of path

- strip ${D} so that people can better visualize what sort of path gets
  installed. This has the downside of not being able to copy/paste the
  path in order to inspect the image directory, but I think this is a
  very small downside. Usually by the time you see this message, portage
  has cleaned up. And if it hasn't, you can still copy/paste that from:

  Completed installing sys-cluster/legion- into 
/var/tmp/portage/sys-cluster/legion-/image

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

 metadata/install-qa-check.d/08gentoo-paths | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/metadata/install-qa-check.d/08gentoo-paths 
b/metadata/install-qa-check.d/08gentoo-paths
index 5b8607fd5f96..0b92a7a1c132 100644
--- a/metadata/install-qa-check.d/08gentoo-paths
+++ b/metadata/install-qa-check.d/08gentoo-paths
@@ -70,9 +70,9 @@ gentoo_path_check() {
# report
# --
if [[ -n ${bad_paths[@]} ]]; then
-   eqawarn "QA Notice: The ebuild is installing to one or more 
unexpected paths:"
+   eqawarn "QA Notice: The ebuild is installing to one or more 
unexpected directories:"
eqawarn
-   eqatag -v non-gentoo-paths "${bad_paths[@]}"
+   eqatag -v non-gentoo-paths "${bad_paths[@]#${D%/}}"
eqawarn
eqawarn "Please fix the ebuild to use correct FHS/Gentoo policy 
paths."
fi



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/qt/

2024-02-28 Thread Ionen Wolkens
commit: 7c2974b1cea78ec8e4a51b031b055e57f7ec5786
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Wed Feb 28 13:38:01 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb 28 14:07:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c2974b1

metadata/stabilization-groups/qt: add dev-qt/qtserialbus:6 to qt6

New slot so currently not stable alongside the rest of 6.6.2,
but will sync a bit later.

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

 metadata/stabilization-groups/qt/qt6.group | 1 +
 1 file changed, 1 insertion(+)

diff --git a/metadata/stabilization-groups/qt/qt6.group 
b/metadata/stabilization-groups/qt/qt6.group
index e34c09ad7210..c7dc12c664e0 100644
--- a/metadata/stabilization-groups/qt/qt6.group
+++ b/metadata/stabilization-groups/qt/qt6.group
@@ -15,6 +15,7 @@ dev-qt/qtquick3d:6
 dev-qt/qtquicktimeline:6
 dev-qt/qtscxml:6
 dev-qt/qtsensors:6
+dev-qt/qtserialbus:6
 dev-qt/qtserialport:6
 dev-qt/qtshadertools:6
 dev-qt/qtspeech:6



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/

2024-02-25 Thread Sam James
commit: 485b4062209f6dbe5c0f5ffd976b4f04d4937129
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 25 13:35:31 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 25 13:35:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=485b4062

metadata/stabilization-groups: add xapian.group

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

 metadata/stabilization-groups/xapian.group | 4 
 1 file changed, 4 insertions(+)

diff --git a/metadata/stabilization-groups/xapian.group 
b/metadata/stabilization-groups/xapian.group
new file mode 100644
index ..9bbc3a24c62f
--- /dev/null
+++ b/metadata/stabilization-groups/xapian.group
@@ -0,0 +1,4 @@
+app-text/xapian-omega
+dev-libs/xapian
+dev-libs/xapian-bindings
+dev-perl/Search-Xapian



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

2024-02-24 Thread Michał Górny
commit: 36b784c051ff4acfea0abf0e0dd7a6035dedcf97
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Feb 22 10:42:38 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 24 10:26:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36b784c0

metadata/layout.conf: Recognize PROPERTIES=test_privileged

Bug: https://bugs.gentoo.org/924585
Signed-off-by: Michał Górny  gentoo.org>

 metadata/layout.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/metadata/layout.conf b/metadata/layout.conf
index fff2d6072f99..5fb0b20d5f8a 100644
--- a/metadata/layout.conf
+++ b/metadata/layout.conf
@@ -1,11 +1,11 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # For details on this file, see the layout.conf section of the
 # portage(5) man page.
 
 # Allow specific PROPERTIES and RESTRICT values in ebuilds.
-properties-allowed = interactive live test_network
+properties-allowed = interactive live test_network test_privileged
 restrict-allowed = binchecks bindist fetch installsources mirror preserve-libs 
splitdebug strip test userpriv
 
 # manifest-hashes specify hashes used for new/updated entries



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/

2024-02-18 Thread Sam James
commit: ef056ecd43558848ba9158d3db8c7f906e90723c
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 19 00:26:19 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 19 00:26:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef056ecd

metadata/stabilization-groups: add alsa.group

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

 metadata/stabilization-groups/alsa.group | 9 +
 1 file changed, 9 insertions(+)

diff --git a/metadata/stabilization-groups/alsa.group 
b/metadata/stabilization-groups/alsa.group
new file mode 100644
index ..36f887591885
--- /dev/null
+++ b/metadata/stabilization-groups/alsa.group
@@ -0,0 +1,9 @@
+dev-python/pyalsa
+media-libs/alsa-lib
+media-libs/alsa-oss
+media-libs/alsa-topology-conf
+media-libs/alsa-ucm-conf
+media-plugins/alsa-plugins
+media-sound/alsa-tools
+media-sound/alsa-utils
+sys-firmware/alsa-firmware



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

2024-02-12 Thread Ulrich Müller
commit: 7d82335c3284f6eb7a9c8ddc13b4c3396c796a9a
Author: Ulrich Müller  gentoo  org>
AuthorDate: Mon Feb 12 21:01:30 2024 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Mon Feb 12 21:01:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d82335c

metadata: Add sam to AUTHORS

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

 metadata/AUTHORS | 1 +
 1 file changed, 1 insertion(+)

diff --git a/metadata/AUTHORS b/metadata/AUTHORS
index c5496f79be54..cce620b0a3dd 100644
--- a/metadata/AUTHORS
+++ b/metadata/AUTHORS
@@ -14,4 +14,5 @@
 # e-mail address. Keep the list sorted (use "LC_ALL=en_US.utf-8 sort").
 #
 Michał Górny 
+Sam James 
 Sony Interactive Entertainment Inc.



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/

2024-02-05 Thread Sam James
commit: 1b9c903f4128c4821be1e75f8c3be93363886507
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  6 01:11:30 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 01:11:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b9c903f

metadata/stabilization-groups: add dev-util/pkgcruft to pkgcraft.group

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

 metadata/stabilization-groups/pkgcraft.group | 1 +
 1 file changed, 1 insertion(+)

diff --git a/metadata/stabilization-groups/pkgcraft.group 
b/metadata/stabilization-groups/pkgcraft.group
index ff967ea46831..bf7f35dd4863 100644
--- a/metadata/stabilization-groups/pkgcraft.group
+++ b/metadata/stabilization-groups/pkgcraft.group
@@ -1,3 +1,4 @@
 dev-python/pkgcraft
+dev-util/pkgcruft
 sys-apps/pkgcraft-tools
 sys-libs/pkgcraft



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/

2024-02-01 Thread Sam James
commit: 331b9b0c3b3b4a571a5d23e1005fe570315b894b
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  2 03:58:59 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  2 03:58:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=331b9b0c

metadata/stabilization-groups: add pkgcraft.group

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

 metadata/stabilization-groups/pkgcraft.group | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/metadata/stabilization-groups/pkgcraft.group 
b/metadata/stabilization-groups/pkgcraft.group
new file mode 100644
index ..ff967ea46831
--- /dev/null
+++ b/metadata/stabilization-groups/pkgcraft.group
@@ -0,0 +1,3 @@
+dev-python/pkgcraft
+sys-apps/pkgcraft-tools
+sys-libs/pkgcraft



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/

2024-01-19 Thread Ben Kohler
commit: f1b06fdb856786bf9ffb772546bac0e4a4a42b29
Author: Alfred Wingate  protonmail  com>
AuthorDate: Thu Dec 21 07:33:31 2023 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Fri Jan 19 13:54:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1b06fdb

metadata/stabilization-groups: add wayfire group

Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Ben Kohler  gentoo.org>

 metadata/stabilization-groups/wayfire.group | 5 +
 1 file changed, 5 insertions(+)

diff --git a/metadata/stabilization-groups/wayfire.group 
b/metadata/stabilization-groups/wayfire.group
new file mode 100644
index ..b55ed1142936
--- /dev/null
+++ b/metadata/stabilization-groups/wayfire.group
@@ -0,0 +1,5 @@
+gui-apps/wcm
+gui-apps/wf-shell
+gui-libs/wayfire-plugins-extra
+gui-libs/wf-config
+gui-wm/wayfire



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

2024-01-15 Thread Ulrich Müller
commit: a93fa9cc6879fa3e90a5d3ed87abe6fdb160f5b6
Author: Ulrich Müller  gentoo  org>
AuthorDate: Mon Jan 15 09:04:07 2024 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Mon Jan 15 09:04:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a93fa9cc

metadata/license-mapping.conf: Add BSD-2-with-patent

Signed-off-by: Ulrich Müller  gentoo.org>

 metadata/license-mapping.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/metadata/license-mapping.conf b/metadata/license-mapping.conf
index 1aab79508e92..5731036ae03b 100644
--- a/metadata/license-mapping.conf
+++ b/metadata/license-mapping.conf
@@ -37,6 +37,7 @@ Artistic-2.0 = Artistic-2
 Beerware = BEER-WARE
 BSD-1-Clause = BSD-1
 BSD-2-Clause = BSD-2
+BSD-2-Clause-Patent = BSD-2-with-patent
 BSD-2-Clause-Views = BSD-2
 BSD-3-Clause = BSD
 BSD-4-Clause = BSD-4



[gentoo-commits] repo/gentoo:master commit in: metadata/, licenses/

2024-01-12 Thread Patrick McLean
commit: 94d2ae67403ced107799c1b93922bfb9c9a5f4ae
Author: Patrick McLean  gentoo  org>
AuthorDate: Fri Jan 12 19:18:24 2024 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Fri Jan 12 19:48:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94d2ae67

licenses: Add BSD-2-with-views

This is the BSD 2-clause with an extra sentence about the views
and conclusions.

This also adds a SPDX mapping.

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

 licenses/BSD-2-with-views | 28 
 metadata/license-mapping.conf |  1 +
 2 files changed, 29 insertions(+)

diff --git a/licenses/BSD-2-with-views b/licenses/BSD-2-with-views
new file mode 100644
index ..ffb303569e2b
--- /dev/null
+++ b/licenses/BSD-2-with-views
@@ -0,0 +1,28 @@
+Copyright (c) , 
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice,
+   this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+   notice, this list of conditions and the following disclaimer in the
+   documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+
+The views and conclusions contained in the software and documentation are
+those of the authors and should not be interpreted as representing official
+policies, either expressed or implied, of the copyright holders or
+contributors.

diff --git a/metadata/license-mapping.conf b/metadata/license-mapping.conf
index 3aff120ab19c..4d0e36a1afe6 100644
--- a/metadata/license-mapping.conf
+++ b/metadata/license-mapping.conf
@@ -39,6 +39,7 @@ BSD-1-Clause = BSD-1
 BSD-2-Clause = BSD-2
 BSD-3-Clause = BSD
 BSD-4-Clause = BSD-4
+bsd-2-clause-views = BSD-2-with-views
 BSL-1.0 = Boost-1.0
 BUSL-1.1 = BUSL-1.1
 bzip2-1.0.5 = BZIP2



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2024-01-08 Thread Michał Górny
commit: 777859c3f5fd4bc9802f7677b19960323abe4901
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan  5 17:53:08 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan  8 14:48:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=777859c3

install-qa-check.d/60python-site: allow site-packages/README.txt

This is installed by dev-lang/python and dev-python/pypy*.
Historically, we didn't need to exempt them since the check was
in distutils-r1 and these ebuilds did not use it.

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

 metadata/install-qa-check.d/60python-site | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/metadata/install-qa-check.d/60python-site 
b/metadata/install-qa-check.d/60python-site
index 00962b0448b0..b130b6768dad 100644
--- a/metadata/install-qa-check.d/60python-site
+++ b/metadata/install-qa-check.d/60python-site
@@ -88,7 +88,8 @@ python_site_check() {
-name '*.pth' -o \
-name '*.py' -o \
-name '*.pyi' -o \
-   -name "*$(get_modname)" \
+   -name "*$(get_modname)" -o \
+   -name 'README.txt' \
')' -print0
)
# check for forbidden packages



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2024-01-08 Thread Michał Górny
commit: 33d990af2c52a4adb9a50976c324d66c66cd1804
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan  5 15:39:27 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan  8 14:48:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33d990af

install-qa-check.d/60python-site: Forbid lib & usr package names

Forbid `lib`, `$(get_libdir)` and `usr` as package names, to catch
accidentally duplicating sitedir as prefix.

Bug: https://bugs.gentoo.org/618134
Signed-off-by: Michał Górny  gentoo.org>

 metadata/install-qa-check.d/60python-site | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/metadata/install-qa-check.d/60python-site 
b/metadata/install-qa-check.d/60python-site
index d73c881d3ad1..3ac1dc91669e 100644
--- a/metadata/install-qa-check.d/60python-site
+++ b/metadata/install-qa-check.d/60python-site
@@ -15,6 +15,8 @@ python_site_check() {
# NB: setuptools/discovery.py is a good source of ideas
benchmark benchmarks dist doc docs examples scripts tasks
test tests tools util utils
+   # catch double-prefix installs, e.g. 
https://bugs.gentoo.org/618134
+   lib $(get_libdir) usr
.pytest_cache .hypothesis _trial_temp
)
 



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2024-01-08 Thread Michał Górny
commit: 6d20cb2240f31d928624f6961ad8e7271fb0d567
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan  5 14:08:52 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan  8 14:48:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d20cb22

install-qa-check.d: Generalize 60python-{pyc → site}

Rename `60python-pyc` check to `60python-site`, as it will be used
to perform other checks on the site-packages directory.

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

 .../{60python-pyc => 60python-site}   | 19 ++-
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/metadata/install-qa-check.d/60python-pyc 
b/metadata/install-qa-check.d/60python-site
similarity index 86%
rename from metadata/install-qa-check.d/60python-pyc
rename to metadata/install-qa-check.d/60python-site
index fe4f3f62c4ef..5f812ecd01e1 100644
--- a/metadata/install-qa-check.d/60python-pyc
+++ b/metadata/install-qa-check.d/60python-site
@@ -1,10 +1,11 @@
-# Copyright 2019-2022 Gentoo Authors
+# Copyright 2019-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-# QA check: ensure that Python modules are compiled after installing
+# QA checks related to site-packages directory:
+# - missing, mismatched or stray .pyc files
 # Maintainer: Python project 
 
-python_pyc_check() {
+python_site_check() {
local save=$(shopt -p nullglob)
shopt -s nullglob
local progs=( "${EPREFIX}"/usr/lib/python-exec/*/gpep517 )
@@ -69,7 +70,7 @@ python_pyc_check() {
eqawarn "not byte-compiled."
eqawarn "The following files are missing:"
eqawarn
-   eqatag -v python-pyc.missing "${missing[@]}"
+   eqatag -v python-site.pyc.missing "${missing[@]}"
found=1
fi
 
@@ -79,7 +80,7 @@ python_pyc_check() {
eqawarn "that seem to be invalid (do not have the correct 
header)."
eqawarn "The following files are invalid:"
eqawarn
-   eqatag -v python-pyc.invalid "${invalid[@]}"
+   eqatag -v python-site.pyc.invalid "${invalid[@]}"
found=1
fi
 
@@ -88,7 +89,7 @@ python_pyc_check() {
eqawarn "QA Notice: This package installs one or more compiled 
Python modules whose"
eqawarn ".py files have different content (size or hash) than 
recorded:"
eqawarn
-   eqatag -v python-pyc.mismatched.data "${mismatched_data[@]}"
+   eqatag -v python-site.pyc.mismatched.data 
"${mismatched_data[@]}"
found=1
fi
 
@@ -97,7 +98,7 @@ python_pyc_check() {
eqawarn "QA Notice: This package installs one or more compiled 
Python modules whose"
eqawarn ".py files have different timestamps than recorded:"
eqawarn
-   eqatag -v python-pyc.mismatched.timestamp 
"${mismatched_timestamp[@]}"
+   eqatag -v python-site.pyc.mismatched.timestamp 
"${mismatched_timestamp[@]}"
found=1
fi
 
@@ -107,7 +108,7 @@ python_pyc_check() {
eqawarn "that do not match installed modules (or their 
implementation)."
eqawarn "The following files are stray:"
eqawarn
-   eqatag -v python-pyc.stray "${stray[@]}"
+   eqatag -v python-site.pyc.stray "${stray[@]}"
found=1
fi
 
@@ -118,7 +119,7 @@ python_pyc_check() {
fi
 }
 
-python_pyc_check
+python_site_check
 
 : # guarantee successful exit
 



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2024-01-08 Thread Michał Górny
commit: 2c6e23dbd6f73f662da1832fc993c61f8945b83e
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan  5 14:38:25 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan  8 14:48:17 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c6e23db

install-qa-check.d/60python-site: Add bad version check

This was a case e.g. with =dev-python/pyrqlite-2.2.0.

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

 metadata/install-qa-check.d/60python-site | 21 +
 1 file changed, 21 insertions(+)

diff --git a/metadata/install-qa-check.d/60python-site 
b/metadata/install-qa-check.d/60python-site
index eb59ad5cac26..d73c881d3ad1 100644
--- a/metadata/install-qa-check.d/60python-site
+++ b/metadata/install-qa-check.d/60python-site
@@ -24,6 +24,7 @@ python_site_check() {
local missing=()
local stray=()
 
+   local bad_versions=()
local stray_packages=()
 
# Avoid running the check if sufficiently new gpep517 is not installed
@@ -42,6 +43,18 @@ python_site_check() {
local sitedir=( "${ED}"/usr/lib/${impl}*/site-packages )
[[ -d ${sitedir} ]] || continue
 
+   # check for bad package versions
+   while IFS= read -d $'\0' -r f; do
+   bad_versions+=( "${f#${ED}}" )
+   done < <(
+   find "${sitedir}" -maxdepth 1 '(' \
+   -name '*-0.0.0.dist-info' -o \
+   -name '*-UNKNOWN.dist-info' -o \
+   -name '*-0.0.0.egg-info' -o \
+   -name '*-UNKNOWN.egg-info' \
+   ')' -print0
+   )
+
# check for stray files in site-packages
while IFS= read -d $'\0' -r f; do
stray_packages+=( "${f#${ED}}" )
@@ -148,6 +161,14 @@ python_site_check() {
eqawarn "  
https://projects.gentoo.org/python/guide/qawarn.html#compiled-bytecode-related-warnings;
fi
 
+   if [[ ${bad_versions[@]} ]]; then
+   eqawarn
+   eqawarn "QA Notice: The following Python packages were 
installed with"
+   eqawarn "invalid/suspicious versions in the site-packages 
directory:"
+   eqawarn
+   eqatag -v python-site.bad_version "${bad_versions[@]}"
+   fi
+
if [[ ${stray_packages[@]} ]]; then
eqawarn
eqawarn "QA Notice: The following unexpected files/directories 
were found"



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2024-01-08 Thread Michał Górny
commit: 840cd24f4adc643b949f8e45d17ab3f7dc5347fc
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan  5 16:48:14 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan  8 14:48:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=840cd24f

install-qa-check.d/60python-site: Check for out-of-sitepkg install

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

 metadata/install-qa-check.d/60python-site | 28 +++-
 1 file changed, 27 insertions(+), 1 deletion(-)

diff --git a/metadata/install-qa-check.d/60python-site 
b/metadata/install-qa-check.d/60python-site
index 323539107900..00962b0448b0 100644
--- a/metadata/install-qa-check.d/60python-site
+++ b/metadata/install-qa-check.d/60python-site
@@ -31,6 +31,7 @@ python_site_check() {
local stray=()
 
local bad_versions=()
+   local outside_site=()
local stray_packages=()
 
# Avoid running the check if sufficiently new gpep517 is not installed
@@ -46,7 +47,24 @@ python_site_check() {
impl=${impl##*/}
 
# NB: using ${impl}* to catch pypy3.* for pypy3
-   local sitedir=( "${ED}"/usr/lib/${impl}*/site-packages )
+   local pydir=( "${ED}"/usr/lib/${impl}* )
+   [[ -d ${pydir} ]] || continue
+
+   # check for packages installing outside site-packages
+   case ${CATEGORY}/${PN} in
+   dev-lang/python|dev-python/pypy*)
+   ;;
+   *)
+   while IFS= read -d $'\0' -r f; do
+   outside_site+=( "${f}" )
+   done < <(
+   find "${pydir}" -mindepth 1 -maxdepth 1 
\
+   '!' -name site-packages -print0
+   )
+   ;;
+   esac
+
+   local sitedir=( "${pydir}"/site-packages )
[[ -d ${sitedir} ]] || continue
 
# check for bad package versions
@@ -197,6 +215,14 @@ python_site_check() {
eqawarn
eqatag -v python-site.libdir "${bad_libdirs[@]#${ED}}"
fi
+
+   if [[ ${outside_site[@]} ]]; then
+   eqawarn
+   eqawarn "QA Notice: Files found installed directly into Python 
stdlib,"
+   eqawarn "instead of site-packages (use \$(python_get_sitedir)):"
+   eqawarn
+   eqatag -v python-site.stdlib "${outside_site[@]}"
+   fi
 }
 
 python_site_check



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2024-01-08 Thread Michał Górny
commit: 5b51bdf96d62a2c54460f67de6b8299e63b83e97
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jan  7 17:10:55 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan  8 14:48:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b51bdf9

install-qa-check.d/60python-site: Check for deprecated .egg* files

Check for deprecated .egg and .egg-info files.  While at it, fix stray
file check not to barf on *.egg files.

Signed-off-by: Michał Górny  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/34660
Signed-off-by: Michał Górny  gentoo.org>

 metadata/install-qa-check.d/60python-site | 20 
 1 file changed, 20 insertions(+)

diff --git a/metadata/install-qa-check.d/60python-site 
b/metadata/install-qa-check.d/60python-site
index b130b6768dad..a0a0f4370db2 100644
--- a/metadata/install-qa-check.d/60python-site
+++ b/metadata/install-qa-check.d/60python-site
@@ -31,6 +31,7 @@ python_site_check() {
local stray=()
 
local bad_versions=()
+   local eggs=()
local outside_site=()
local stray_packages=()
 
@@ -79,11 +80,22 @@ python_site_check() {
')' -print0
)
 
+   # check for deprecated egg format
+   while IFS= read -d $'\0' -r f; do
+   eggs+=( "${f#${ED}}" )
+   done < <(
+   find "${sitedir}" -maxdepth 1 '(' \
+   -name '*.egg-info' -o \
+   -name '*.egg' \
+   ')' -print0
+   )
+
# check for stray files in site-packages
while IFS= read -d $'\0' -r f; do
stray_packages+=( "${f#${ED}}" )
done < <(
find "${sitedir}" -maxdepth 1 -type f '!' '(' \
+   -name '*.egg' -o \
-name '*.egg-info' -o \
-name '*.pth' -o \
-name '*.py' -o \
@@ -194,6 +206,14 @@ python_site_check() {
eqatag -v python-site.bad_version "${bad_versions[@]}"
fi
 
+   if [[ ${eggs[@]} ]]; then
+   eqawarn
+   eqawarn "QA Notice: The following deprecated .egg or .egg-info 
files were found."
+   eqawarn "Please migrate the ebuild to use the PEP517 build."
+   eqawarn
+   eqatag -v python-site.egg "${eggs[@]}"
+   fi
+
if [[ ${stray_packages[@]} ]]; then
eqawarn
eqawarn "QA Notice: The following unexpected files/directories 
were found"



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2024-01-08 Thread Michał Górny
commit: e7fc78a3bab8b81253d267dc86886d44ea9c5e1b
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan  5 16:28:59 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan  8 14:48:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7fc78a3

install-qa-check.d/60python-site: Check for UNKNOWN package name

Bug: https://bugs.gentoo.org/836765
Signed-off-by: Michał Górny  gentoo.org>

 metadata/install-qa-check.d/60python-site | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/metadata/install-qa-check.d/60python-site 
b/metadata/install-qa-check.d/60python-site
index ffc06edf0960..323539107900 100644
--- a/metadata/install-qa-check.d/60python-site
+++ b/metadata/install-qa-check.d/60python-site
@@ -55,9 +55,9 @@ python_site_check() {
done < <(
find "${sitedir}" -maxdepth 1 '(' \
-name '*-0.0.0.dist-info' -o \
-   -name '*-UNKNOWN.dist-info' -o \
+   -name '*UNKNOWN*.dist-info' -o \
-name '*-0.0.0.egg-info' -o \
-   -name '*-UNKNOWN.egg-info' \
+   -name '*UNKNOWN*.egg-info' \
')' -print0
)
 
@@ -170,7 +170,7 @@ python_site_check() {
if [[ ${bad_versions[@]} ]]; then
eqawarn
eqawarn "QA Notice: The following Python packages were 
installed with"
-   eqawarn "invalid/suspicious versions in the site-packages 
directory:"
+   eqawarn "invalid/suspicious names or versions in the 
site-packages directory:"
eqawarn
eqatag -v python-site.bad_version "${bad_versions[@]}"
fi



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2024-01-08 Thread Michał Górny
commit: 6f05bc88c81a42943e5784736d2eb15f63c5ef40
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan  5 15:52:16 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan  8 14:48:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f05bc88

install-qa-check.d/60python-site: Add check for wrong libdir

Bug: https://bugs.gentoo.org/702016
Bug: https://bugs.gentoo.org/770961
Signed-off-by: Michał Górny  gentoo.org>

 metadata/install-qa-check.d/60python-site | 12 
 1 file changed, 12 insertions(+)

diff --git a/metadata/install-qa-check.d/60python-site 
b/metadata/install-qa-check.d/60python-site
index 3ac1dc91669e..ffc06edf0960 100644
--- a/metadata/install-qa-check.d/60python-site
+++ b/metadata/install-qa-check.d/60python-site
@@ -9,6 +9,10 @@ python_site_check() {
local save=$(shopt -p nullglob)
shopt -s nullglob
local progs=( "${EPREFIX}"/usr/lib/python-exec/*/gpep517 )
+   local bad_libdirs=()
+   [[ $(get_libdir) != lib ]] && bad_libdirs=(
+   "${ED}/usr/$(get_libdir)"/{python3,pypy}*
+   )
${save}
 
local forbidden_package_names=(
@@ -185,6 +189,14 @@ python_site_check() {
# the previous version from distutils-r1
#die "Failing install because of stray top-level files in 
site-packages"
fi
+
+   if [[ ${bad_libdirs[@]} ]]; then
+   eqawarn
+   eqawarn "QA Notice: Package installs Python files to 
/usr/$(get_libdir)"
+   eqawarn "instead of /usr/lib (use \$(python_get_sitedir)):"
+   eqawarn
+   eqatag -v python-site.libdir "${bad_libdirs[@]#${ED}}"
+   fi
 }
 
 python_site_check



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2024-01-08 Thread Michał Górny
commit: c80d77f0c503a4e01f7792afb8fcde30164916fe
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan  5 14:35:10 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan  8 14:48:17 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c80d77f0

install-qa-check.d/60python-site: Add invalid site-packages check

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

 metadata/install-qa-check.d/60python-site | 47 ++-
 1 file changed, 46 insertions(+), 1 deletion(-)

diff --git a/metadata/install-qa-check.d/60python-site 
b/metadata/install-qa-check.d/60python-site
index 5f812ecd01e1..eb59ad5cac26 100644
--- a/metadata/install-qa-check.d/60python-site
+++ b/metadata/install-qa-check.d/60python-site
@@ -11,12 +11,21 @@ python_site_check() {
local progs=( "${EPREFIX}"/usr/lib/python-exec/*/gpep517 )
${save}
 
+   local forbidden_package_names=(
+   # NB: setuptools/discovery.py is a good source of ideas
+   benchmark benchmarks dist doc docs examples scripts tasks
+   test tests tools util utils
+   .pytest_cache .hypothesis _trial_temp
+   )
+
local invalid=()
local mismatched_timestamp=()
local mismatched_data=()
local missing=()
local stray=()
 
+   local stray_packages=()
+
# Avoid running the check if sufficiently new gpep517 is not installed
# yet. It's valid to schedule (for merge order) >=gpep517-8 after
# packages which have this check run if they don't use distutils-r1.
@@ -24,12 +33,33 @@ python_site_check() {
return
fi
 
+   local f prog
for prog in "${progs[@]}"; do
local impl=${prog%/*}
impl=${impl##*/}
 
# NB: using ${impl}* to catch pypy3.* for pypy3
-   [[ -d "${ED}"/usr/lib/${impl}*/site-packages ]] || continue
+   local sitedir=( "${ED}"/usr/lib/${impl}*/site-packages )
+   [[ -d ${sitedir} ]] || continue
+
+   # check for stray files in site-packages
+   while IFS= read -d $'\0' -r f; do
+   stray_packages+=( "${f#${ED}}" )
+   done < <(
+   find "${sitedir}" -maxdepth 1 -type f '!' '(' \
+   -name '*.egg-info' -o \
+   -name '*.pth' -o \
+   -name '*.py' -o \
+   -name '*.pyi' -o \
+   -name "*$(get_modname)" \
+   ')' -print0
+   )
+   # check for forbidden packages
+   for f in "${forbidden_package_names[@]}"; do
+   [[ -d ${sitedir}/${f} ]] && stray_packages+=(
+   "${sitedir#${ED}}/${f}"
+   )
+   done
 
einfo "Verifying compiled files for ${impl}"
local kind pyc py
@@ -117,6 +147,21 @@ python_site_check() {
eqawarn "For more information on bytecode files and related 
issues, please see:"
eqawarn "  
https://projects.gentoo.org/python/guide/qawarn.html#compiled-bytecode-related-warnings;
fi
+
+   if [[ ${stray_packages[@]} ]]; then
+   eqawarn
+   eqawarn "QA Notice: The following unexpected files/directories 
were found"
+   eqawarn "top-level in the site-packages directory:"
+   eqawarn
+   eqatag -v python-site.stray "${stray_packages[@]}"
+   eqawarn
+   eqawarn "This is most likely a bug in the build system.  More 
information"
+   eqawarn "can be found in the Python Guide:"
+   eqawarn 
"https://projects.gentoo.org/python/guide/qawarn.html#stray-top-level-files-in-site-packages;
+   # TODO: make this fatal once we fix the existing issues, and 
remove
+   # the previous version from distutils-r1
+   #die "Failing install because of stray top-level files in 
site-packages"
+   fi
 }
 
 python_site_check



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/python/

2024-01-06 Thread Michał Górny
commit: b93beaf0d8326d07a257ad0080cd3b7e5103a3bf
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan  6 09:56:40 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan  6 09:59:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b93beaf0

stabilization-groups: Add python/httpx.group

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

 metadata/stabilization-groups/python/httpx.group | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/metadata/stabilization-groups/python/httpx.group 
b/metadata/stabilization-groups/python/httpx.group
new file mode 100644
index ..d4aa3c4ddb75
--- /dev/null
+++ b/metadata/stabilization-groups/python/httpx.group
@@ -0,0 +1,3 @@
+dev-python/httpcore
+dev-python/httpx
+dev-python/pytest-httpx



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

2023-12-30 Thread Ulrich Müller
commit: acbe403e4908a748588137ff4cb39c7598392341
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sat Dec 30 09:56:28 2023 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sat Dec 30 09:58:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acbe403e

metadata: Add IBM to license-mapping.conf

Signed-off-by: Ulrich Müller  gentoo.org>

 metadata/license-mapping.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/metadata/license-mapping.conf b/metadata/license-mapping.conf
index d3f745c32661..3aff120ab19c 100644
--- a/metadata/license-mapping.conf
+++ b/metadata/license-mapping.conf
@@ -135,6 +135,7 @@ ImageMagick = imagemagick
 Info-ZIP = Info-ZIP
 Interbase-1.0 = Interbase-1.0
 IPA = IPAfont
+IPL-1.0 = IBM
 ISC = ISC
 JSON = JSON
 LGPL-2.0 = LGPL-2



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/media-video/

2023-12-26 Thread Sam James
commit: b146660499d048c7e24645596c843f0646bc31ea
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec 26 21:27:16 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 26 21:27:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1466604

metadata/stabilization-groups/media-video: add x264.group

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

 metadata/stabilization-groups/media-video/x264.group | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/metadata/stabilization-groups/media-video/x264.group 
b/metadata/stabilization-groups/media-video/x264.group
new file mode 100644
index ..88d691d8ebdf
--- /dev/null
+++ b/metadata/stabilization-groups/media-video/x264.group
@@ -0,0 +1,2 @@
+media-libs/x264
+media-video/x264-encoder



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/gnome/

2023-12-24 Thread Mart Raudsepp
commit: bb66262188c5a1931321eb4faaf7ee96db63a430
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Sun Dec 24 12:06:49 2023 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sun Dec 24 12:07:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb662621

metadata/stabilization-groups/gnome: Add glib-networking to glib group

glib-networking release cycle should match glib release cycle for good
TLS functionality.

Signed-off-by: Mart Raudsepp  gentoo.org>

 metadata/stabilization-groups/gnome/glib.group | 1 +
 1 file changed, 1 insertion(+)

diff --git a/metadata/stabilization-groups/gnome/glib.group 
b/metadata/stabilization-groups/gnome/glib.group
index 51a5659dd725..7618ecea75be 100644
--- a/metadata/stabilization-groups/gnome/glib.group
+++ b/metadata/stabilization-groups/gnome/glib.group
@@ -1,3 +1,4 @@
 dev-libs/glib
 dev-util/gdbus-codegen
 dev-util/glib-utils
+net-libs/glib-networking



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/

2023-12-21 Thread Sam James
commit: 1ffeb12d4a8b45932dfa50dde1d6c6d296e05000
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 21 07:57:44 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 21 09:56:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ffeb12d

metadata/stabilization-groups: add rust group

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

 metadata/stabilization-groups/rust.group | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/metadata/stabilization-groups/rust.group 
b/metadata/stabilization-groups/rust.group
new file mode 100644
index ..93ce53ffc2cf
--- /dev/null
+++ b/metadata/stabilization-groups/rust.group
@@ -0,0 +1,3 @@
+dev-lang/rust
+dev-lang/rust-bin
+virtual/rust



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/

2023-12-20 Thread Sam James
commit: 04f4b5c014ceb95686e6aeec7d96faa4c60eb030
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec 20 11:10:54 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec 20 11:10:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04f4b5c0

metadata/stabilization-groups: add pulseaudio group

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

 metadata/stabilization-groups/pulseaudio.group | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/metadata/stabilization-groups/pulseaudio.group 
b/metadata/stabilization-groups/pulseaudio.group
new file mode 100644
index ..50bf2d14c238
--- /dev/null
+++ b/metadata/stabilization-groups/pulseaudio.group
@@ -0,0 +1,3 @@
+media-sound/pulseaudio
+media-sound/pulseaudio-daemon
+media-libs/libpulse



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/

2023-12-20 Thread Sam James
commit: 8f49a7842047ce94a81b125a7d850d9379d4c002
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec 20 11:09:23 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec 20 11:09:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f49a784

metadata/stabilization-groups: fix build2 filename

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

 metadata/stabilization-groups/{build2 => build2.group} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/metadata/stabilization-groups/build2 
b/metadata/stabilization-groups/build2.group
similarity index 100%
rename from metadata/stabilization-groups/build2
rename to metadata/stabilization-groups/build2.group



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/base/

2023-12-20 Thread Sam James
commit: 36f05a6a52096ed3b6cc0d7ee7054d6f32153a1f
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec 20 11:09:34 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec 20 11:09:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36f05a6a

metadata/stabilization-groups/base: fix nvme filename

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

 metadata/stabilization-groups/base/{nvme => nvme.group} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/metadata/stabilization-groups/base/nvme 
b/metadata/stabilization-groups/base/nvme.group
similarity index 100%
rename from metadata/stabilization-groups/base/nvme
rename to metadata/stabilization-groups/base/nvme.group



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/

2023-12-20 Thread Sam James
commit: aa21eb20bf78d3aea8429f9fef6e1c724331f566
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec 20 11:10:17 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec 20 11:10:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa21eb20

metadata/stabilization-groups: add zfs group

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

 metadata/stabilization-groups/zfs.group | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/metadata/stabilization-groups/zfs.group 
b/metadata/stabilization-groups/zfs.group
new file mode 100644
index ..04fe02ccceaa
--- /dev/null
+++ b/metadata/stabilization-groups/zfs.group
@@ -0,0 +1,2 @@
+sys-fs/zfs
+sys-fs/zfs-kmod



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/base/

2023-12-20 Thread Sam James
commit: 7855f6aba972cbc4159cef0f1b577cb0ba69294a
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec 20 11:07:27 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec 20 11:07:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7855f6ab

metadata/stabilization-groups/base: add nvme group

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

 metadata/stabilization-groups/base/nvme | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/metadata/stabilization-groups/base/nvme 
b/metadata/stabilization-groups/base/nvme
new file mode 100644
index ..e7bd87ee3379
--- /dev/null
+++ b/metadata/stabilization-groups/base/nvme
@@ -0,0 +1,2 @@
+sys-apps/nvme-cli
+sys-libs/libnvme



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/

2023-12-19 Thread Sam James
commit: 4d053102a11c64015e48722c445f3400dc7b0e00
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec 20 03:22:12 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec 20 03:44:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d053102

metadata/stabilization-groups: add build2 group

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

 metadata/stabilization-groups/build2 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/metadata/stabilization-groups/build2 
b/metadata/stabilization-groups/build2
new file mode 100644
index ..b209b34d2d95
--- /dev/null
+++ b/metadata/stabilization-groups/build2
@@ -0,0 +1,3 @@
+dev-cpp/libodb
+dev-cpp/libodb-sqlite
+dev-util/build2



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/qt/

2023-12-17 Thread Ionen Wolkens
commit: 3b63adf6f72e36bc19bf9712c0d65b4dd490fee8
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Sun Dec 17 19:57:10 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sun Dec 17 20:06:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b63adf6

metadata/stabilization-groups/qt: add dev-qt/qthttpserver:6 to qt6

Signed-off-by: Ionen Wolkens  gentoo.org>

 metadata/stabilization-groups/qt/qt6.group | 1 +
 1 file changed, 1 insertion(+)

diff --git a/metadata/stabilization-groups/qt/qt6.group 
b/metadata/stabilization-groups/qt/qt6.group
index 0074fbc4923e..e34c09ad7210 100644
--- a/metadata/stabilization-groups/qt/qt6.group
+++ b/metadata/stabilization-groups/qt/qt6.group
@@ -5,6 +5,7 @@ dev-qt/qtbase:6
 dev-qt/qtcharts:6
 dev-qt/qtconnectivity:6
 dev-qt/qtdeclarative:6
+dev-qt/qthttpserver:6
 dev-qt/qtimageformats:6
 dev-qt/qtlocation:6
 dev-qt/qtmultimedia:6



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/sci/

2023-12-16 Thread Sam James
commit: de25d7e4f2e90095a61e4ea8404b1be284571f3c
Author: Sam James  gentoo  org>
AuthorDate: Sat Dec 16 11:27:25 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec 16 11:32:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de25d7e4

metadata/stabilization-groups/sci: add astrolog.group

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

 metadata/stabilization-groups/sci/astrolog.group | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/metadata/stabilization-groups/sci/astrolog.group 
b/metadata/stabilization-groups/sci/astrolog.group
new file mode 100644
index ..e88f6bf5183c
--- /dev/null
+++ b/metadata/stabilization-groups/sci/astrolog.group
@@ -0,0 +1,2 @@
+app-misc/astrolog
+app-misc/astrolog-ephemeris



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/

2023-12-15 Thread Arthur Zamarin
commit: b1c91ba6872ecdab6de79ed58e754024d5351b6d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec 15 16:24:21 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec 15 16:24:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1c91ba6

metadata/stabilization-groups: add vim.group

Signed-off-by: Arthur Zamarin  gentoo.org>

 metadata/stabilization-groups/vim.group | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/metadata/stabilization-groups/vim.group 
b/metadata/stabilization-groups/vim.group
new file mode 100644
index ..60d5bc3ddd85
--- /dev/null
+++ b/metadata/stabilization-groups/vim.group
@@ -0,0 +1,3 @@
+app-editors/gvim
+app-editors/vim
+app-editors/vim-core



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/python/

2023-12-02 Thread Michał Górny
commit: 5c6d0698d08197dbaa3f72abc6fff2f4e2ab5247
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  2 13:26:01 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec  2 13:26:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c6d0698

metadata/stabilization-groups: Add python/pydantic

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

 metadata/stabilization-groups/python/pydantic.group | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/metadata/stabilization-groups/python/pydantic.group 
b/metadata/stabilization-groups/python/pydantic.group
new file mode 100644
index ..330ac0ddb4bd
--- /dev/null
+++ b/metadata/stabilization-groups/python/pydantic.group
@@ -0,0 +1,2 @@
+dev-python/pydantic
+dev-python/pydantic-core



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/qt/

2023-11-28 Thread Ionen Wolkens
commit: 21e46ca2323509d80b9133d5b825ba745ae6417d
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Wed Nov 29 05:46:13 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Nov 29 05:57:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21e46ca2

metadata/stabilization-groups/qt/qt6.group: add dev-qt/qtwebview:6

Signed-off-by: Ionen Wolkens  gentoo.org>

 metadata/stabilization-groups/qt/qt6.group | 1 +
 1 file changed, 1 insertion(+)

diff --git a/metadata/stabilization-groups/qt/qt6.group 
b/metadata/stabilization-groups/qt/qt6.group
index 2e7aa193b876..0074fbc4923e 100644
--- a/metadata/stabilization-groups/qt/qt6.group
+++ b/metadata/stabilization-groups/qt/qt6.group
@@ -25,3 +25,4 @@ dev-qt/qtwayland:6
 dev-qt/qtwebchannel:6
 dev-qt/qtwebengine:6
 dev-qt/qtwebsockets:6
+dev-qt/qtwebview:6



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/python/

2023-11-01 Thread Michał Górny
commit: 0e4a7a17978da78f0d49935c49d5b9a6ca08cf25
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov  1 17:17:18 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov  1 17:18:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e4a7a17

metadata/stabilization-groups: Add python/pypy* groups

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

 metadata/stabilization-groups/python/pypy.group | 3 +++
 metadata/stabilization-groups/python/pypy3_10.group | 4 
 2 files changed, 7 insertions(+)

diff --git a/metadata/stabilization-groups/python/pypy.group 
b/metadata/stabilization-groups/python/pypy.group
new file mode 100644
index ..8523df342d5f
--- /dev/null
+++ b/metadata/stabilization-groups/python/pypy.group
@@ -0,0 +1,3 @@
+dev-python/pypy
+dev-python/pypy-exe
+dev-python/pypy-exe-bin

diff --git a/metadata/stabilization-groups/python/pypy3_10.group 
b/metadata/stabilization-groups/python/pypy3_10.group
new file mode 100644
index ..1619c7d31dd8
--- /dev/null
+++ b/metadata/stabilization-groups/python/pypy3_10.group
@@ -0,0 +1,4 @@
+dev-python/pypy3
+dev-python/pypy3_10
+dev-python/pypy3_10-exe
+dev-python/pypy3_10-exe-bin



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/

2023-10-28 Thread Yixun Lan
commit: eb0778c3ca65970f4614516d1e51e1c784b83cad
Author: Zoltan Puskas  sinustrom  info>
AuthorDate: Tue Oct 17 07:50:35 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Oct 28 14:21:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb0778c3

metadata/stabilization-groups: Add KiCad group

Signed-off-by: Zoltan Puskas  sinustrom.info>
Signed-off-by: Yixun Lan  gentoo.org>

 metadata/stabilization-groups/kicad.group | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/metadata/stabilization-groups/kicad.group 
b/metadata/stabilization-groups/kicad.group
new file mode 100644
index ..de7a7d1711ef
--- /dev/null
+++ b/metadata/stabilization-groups/kicad.group
@@ -0,0 +1,7 @@
+app-doc/kicad-doc
+sci-electronics/kicad
+sci-electronics/kicad-footprints
+sci-electronics/kicad-meta
+sci-electronics/kicad-packages3d
+sci-electronics/kicad-symbols
+sci-electronics/kicad-templates



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/python/

2023-10-18 Thread Michał Górny
commit: 40ef28fd95df178353b90d94ff43dd89a25d87f1
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct 18 07:03:33 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct 18 07:31:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40ef28fd

metadata/stabilization-groups: Add python/cpython

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

 metadata/stabilization-groups/python/cpython.group | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/metadata/stabilization-groups/python/cpython.group 
b/metadata/stabilization-groups/python/cpython.group
new file mode 100644
index ..539033834c6e
--- /dev/null
+++ b/metadata/stabilization-groups/python/cpython.group
@@ -0,0 +1,2 @@
+app-doc/python-docs
+dev-lang/python



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/python/, dev-python/types-setuptools/

2023-10-10 Thread Michał Górny
commit: 42c823b79cd924f8b47a7cc44217031bd5c30966
Author: Eli Schwartz  gmail  com>
AuthorDate: Sun Sep  3 22:28:42 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 10 20:47:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42c823b7

dev-python/types-setuptools: new package, add 68.1.0.1

Needed for mypy to build compiled extensions.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/types-setuptools/Manifest|  1 +
 dev-python/types-setuptools/metadata.xml| 13 +
 .../types-setuptools/types-setuptools-68.1.0.1.ebuild   | 17 +
 metadata/stabilization-groups/python/setuptools.group   |  1 +
 4 files changed, 32 insertions(+)

diff --git a/dev-python/types-setuptools/Manifest 
b/dev-python/types-setuptools/Manifest
new file mode 100644
index ..3ac3ce2b49b6
--- /dev/null
+++ b/dev-python/types-setuptools/Manifest
@@ -0,0 +1 @@
+DIST types-setuptools-68.1.0.1.tar.gz 32819 BLAKE2B 
6e069253985c175721fd8b769fb497c89949ea40bbd68d22f951162f02b5dc929a6128dc9abe91c773f8a0f4966955ed77a556e1e9831a6455bc53729f7d1c13
 SHA512 
e68ee9ec3663a5916cdb296bc687a0e4ec897f355a33a716d4b5eff46addf0032dfe2d168695de4204002bc8b1087ca1cc4c32f4edd118d3b266c60c4f5c

diff --git a/dev-python/types-setuptools/metadata.xml 
b/dev-python/types-setuptools/metadata.xml
new file mode 100644
index ..72d068150f1f
--- /dev/null
+++ b/dev-python/types-setuptools/metadata.xml
@@ -0,0 +1,13 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   pyt...@gentoo.org
+   Python
+   
+   
+   
+   types-setuptools
+   python/typeshed
+   
+

diff --git a/dev-python/types-setuptools/types-setuptools-68.1.0.1.ebuild 
b/dev-python/types-setuptools/types-setuptools-68.1.0.1.ebuild
new file mode 100644
index ..54d60b9b2471
--- /dev/null
+++ b/dev-python/types-setuptools/types-setuptools-68.1.0.1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Typing stubs for setuptools"
+HOMEPAGE="https://pypi.org/project/types-setuptools/;
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"

diff --git a/metadata/stabilization-groups/python/setuptools.group 
b/metadata/stabilization-groups/python/setuptools.group
index 67c3379ae872..2cae3591a603 100644
--- a/metadata/stabilization-groups/python/setuptools.group
+++ b/metadata/stabilization-groups/python/setuptools.group
@@ -1,2 +1,3 @@
 dev-python/ensurepip-setuptools
 dev-python/setuptools
+dev-python/types-setuptools



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/

2023-09-09 Thread Michał Górny
commit: a586756bd3df4a5548184f7f12340801d762159e
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Sep 10 02:23:15 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Sep 10 02:24:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a586756b

metadata/stabilization-groups: Add a llvm group

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

 metadata/stabilization-groups/llvm.group | 21 +
 1 file changed, 21 insertions(+)

diff --git a/metadata/stabilization-groups/llvm.group 
b/metadata/stabilization-groups/llvm.group
new file mode 100644
index ..97ff9d18b254
--- /dev/null
+++ b/metadata/stabilization-groups/llvm.group
@@ -0,0 +1,21 @@
+dev-libs/libclc
+dev-ml/llvm-ocaml
+dev-python/clang-python
+dev-python/lit
+dev-util/lldb
+sys-devel/clang
+sys-devel/clang-common
+sys-devel/clang-runtime
+sys-devel/clang-toolchain-symlinks
+sys-devel/lld
+sys-devel/lld-toolchain-symlinks
+sys-devel/llvm
+sys-devel/llvm-common
+sys-devel/llvm-toolchain-symlinks
+sys-devel/llvmgold
+sys-libs/compiler-rt
+sys-libs/compiler-rt-sanitizers
+sys-libs/libcxx
+sys-libs/libcxxabi
+sys-libs/libomp
+sys-libs/llvm-libunwind



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/qt/

2023-09-06 Thread Ionen Wolkens
commit: 07e7cbd0bdd35a155d9ae14f89a21d0005df
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Wed Sep  6 08:48:56 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Sep  6 08:49:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07e7cbd0

metadata/stabilization-groups: add qt-docs to qt/qt6.group

Signed-off-by: Ionen Wolkens  gentoo.org>

 metadata/stabilization-groups/qt/qt6.group | 1 +
 1 file changed, 1 insertion(+)

diff --git a/metadata/stabilization-groups/qt/qt6.group 
b/metadata/stabilization-groups/qt/qt6.group
index b7b4ca2b573c..2e7aa193b876 100644
--- a/metadata/stabilization-groups/qt/qt6.group
+++ b/metadata/stabilization-groups/qt/qt6.group
@@ -1,3 +1,4 @@
+dev-qt/qt-docs:6
 dev-qt/qt3d:6
 dev-qt/qt5compat:6
 dev-qt/qtbase:6



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/qt/

2023-09-05 Thread Ionen Wolkens
commit: 30b740e4047de37d46eea6b9acfb4055dd334937
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Mon Sep  4 20:04:36 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Sep  5 13:01:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30b740e4

metadata/stabilization-groups: add qt/qt6.group

It may be extra work but planning to stabilize all qt6 modules
together not to repeat headaches users been having with qt5 and
mismatching keywords.

New modules being packaged should be added here as well unless
it is not possible to stabilize due to dependencies.

Note this is more or less a test file (or notes) currently.
Tooling may need time to understand disparities between slots
combined with ebuild quirks.

Closes: https://github.com/gentoo/gentoo/pull/32450
Signed-off-by: Ionen Wolkens  gentoo.org>

 metadata/stabilization-groups/qt/qt6.group | 26 ++
 1 file changed, 26 insertions(+)

diff --git a/metadata/stabilization-groups/qt/qt6.group 
b/metadata/stabilization-groups/qt/qt6.group
new file mode 100644
index ..b7b4ca2b573c
--- /dev/null
+++ b/metadata/stabilization-groups/qt/qt6.group
@@ -0,0 +1,26 @@
+dev-qt/qt3d:6
+dev-qt/qt5compat:6
+dev-qt/qtbase:6
+dev-qt/qtcharts:6
+dev-qt/qtconnectivity:6
+dev-qt/qtdeclarative:6
+dev-qt/qtimageformats:6
+dev-qt/qtlocation:6
+dev-qt/qtmultimedia:6
+dev-qt/qtnetworkauth:6
+dev-qt/qtpositioning:6
+dev-qt/qtquick3d:6
+dev-qt/qtquicktimeline:6
+dev-qt/qtscxml:6
+dev-qt/qtsensors:6
+dev-qt/qtserialport:6
+dev-qt/qtshadertools:6
+dev-qt/qtspeech:6
+dev-qt/qtsvg:6
+dev-qt/qttools:6
+dev-qt/qttranslations:6
+dev-qt/qtvirtualkeyboard:6
+dev-qt/qtwayland:6
+dev-qt/qtwebchannel:6
+dev-qt/qtwebengine:6
+dev-qt/qtwebsockets:6



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/

2023-09-04 Thread Sam James
commit: d4af71804e079990fe04a3b63bcbf6c2167dd822
Author: Sam James  gentoo  org>
AuthorDate: Mon Sep  4 12:24:49 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Sep  4 12:24:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4af7180

metadata/stabilization-groups: add qalculate.group

We may also have qalculate-qt at some point.

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

 metadata/stabilization-groups/qalculate.group | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/metadata/stabilization-groups/qalculate.group 
b/metadata/stabilization-groups/qalculate.group
new file mode 100644
index ..201a7abf2d23
--- /dev/null
+++ b/metadata/stabilization-groups/qalculate.group
@@ -0,0 +1,2 @@
+sci-calculators/qalculate-gtk
+sci-libs/libqalculate



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/

2023-09-04 Thread Sam James
commit: 6e1559e142612bb799b873bb2f1df2e955fe0997
Author: Sam James  gentoo  org>
AuthorDate: Mon Sep  4 12:28:22 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Sep  4 12:28:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e1559e1

metadata/stabilization-groups: add watchman.group

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

 metadata/stabilization-groups/watchman.group | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/metadata/stabilization-groups/watchman.group 
b/metadata/stabilization-groups/watchman.group
new file mode 100644
index ..0c2f08af1f27
--- /dev/null
+++ b/metadata/stabilization-groups/watchman.group
@@ -0,0 +1,3 @@
+dev-util/watchman
+dev-cpp/edencommon
+dev-cpp/folly



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/python/

2023-09-01 Thread Arthur Zamarin
commit: 3341165a0241e66c88d9737619e2a7f3407949e7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Sep  1 17:11:59 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Sep  1 17:15:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3341165a

metadata/stabilization-groups: fix extension for python/glake8

Signed-off-by: Arthur Zamarin  gentoo.org>

 metadata/stabilization-groups/python/{flake8 => flake8.group} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/metadata/stabilization-groups/python/flake8 
b/metadata/stabilization-groups/python/flake8.group
similarity index 100%
rename from metadata/stabilization-groups/python/flake8
rename to metadata/stabilization-groups/python/flake8.group



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/python/

2023-09-01 Thread Michał Górny
commit: 39cdc9fa90faf2cac83f86722b101b2d5c334e2d
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep  1 17:06:49 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Sep  1 17:06:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39cdc9fa

metadata/stabilization-groups: Add python/flake8

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

 metadata/stabilization-groups/python/flake8 | 4 
 1 file changed, 4 insertions(+)

diff --git a/metadata/stabilization-groups/python/flake8 
b/metadata/stabilization-groups/python/flake8
new file mode 100644
index ..c5c49e5a0e37
--- /dev/null
+++ b/metadata/stabilization-groups/python/flake8
@@ -0,0 +1,4 @@
+dev-python/flake8
+dev-python/mccabe
+dev-python/pycodestyle
+dev-python/pyflakes



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/python/

2023-09-01 Thread Michał Górny
commit: a3b163fd2eac0784a5b98b5921cf9dc905d2107f
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep  1 14:11:43 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Sep  1 14:15:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3b163fd

metadata/stabilization-groups: Add initial python set

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

 metadata/stabilization-groups/python/boto.group   | 3 +++
 metadata/stabilization-groups/python/pip.group| 2 ++
 metadata/stabilization-groups/python/setuptools.group | 2 ++
 metadata/stabilization-groups/python/wheel.group  | 2 ++
 4 files changed, 9 insertions(+)

diff --git a/metadata/stabilization-groups/python/boto.group 
b/metadata/stabilization-groups/python/boto.group
new file mode 100644
index ..db15a1b0c401
--- /dev/null
+++ b/metadata/stabilization-groups/python/boto.group
@@ -0,0 +1,3 @@
+app-admin/awscli
+dev-python/boto3
+dev-python/botocore

diff --git a/metadata/stabilization-groups/python/pip.group 
b/metadata/stabilization-groups/python/pip.group
new file mode 100644
index ..f8384c036b84
--- /dev/null
+++ b/metadata/stabilization-groups/python/pip.group
@@ -0,0 +1,2 @@
+dev-python/ensurepip-pip
+dev-python/pip

diff --git a/metadata/stabilization-groups/python/setuptools.group 
b/metadata/stabilization-groups/python/setuptools.group
new file mode 100644
index ..67c3379ae872
--- /dev/null
+++ b/metadata/stabilization-groups/python/setuptools.group
@@ -0,0 +1,2 @@
+dev-python/ensurepip-setuptools
+dev-python/setuptools

diff --git a/metadata/stabilization-groups/python/wheel.group 
b/metadata/stabilization-groups/python/wheel.group
new file mode 100644
index ..445e2c2c1562
--- /dev/null
+++ b/metadata/stabilization-groups/python/wheel.group
@@ -0,0 +1,2 @@
+dev-python/ensurepip-wheel
+dev-python/wheel



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/x11/

2023-08-30 Thread Matt Turner
commit: 68ea0b059df43bb4d82e2c300e0cbc97cd79
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Aug 31 02:51:50 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Aug 31 03:48:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68ea

metadata: Add x11 package stabilization groups

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

 metadata/stabilization-groups/x11/libX11.group  | 2 ++
 metadata/stabilization-groups/x11/vulkan.group  | 7 +++
 metadata/stabilization-groups/x11/wayland.group | 2 ++
 3 files changed, 11 insertions(+)

diff --git a/metadata/stabilization-groups/x11/libX11.group 
b/metadata/stabilization-groups/x11/libX11.group
new file mode 100644
index ..8fcf4d0ac011
--- /dev/null
+++ b/metadata/stabilization-groups/x11/libX11.group
@@ -0,0 +1,2 @@
+x11-libs/libX11
+x11-misc/compose-tables

diff --git a/metadata/stabilization-groups/x11/vulkan.group 
b/metadata/stabilization-groups/x11/vulkan.group
new file mode 100644
index ..d8d4e3696776
--- /dev/null
+++ b/metadata/stabilization-groups/x11/vulkan.group
@@ -0,0 +1,7 @@
+dev-util/glslang
+dev-util/spirv-headers
+dev-util/spirv-tools
+dev-util/vulkan-headers
+dev-util/vulkan-tools
+media-libs/vulkan-layers
+media-libs/vulkan-loader

diff --git a/metadata/stabilization-groups/x11/wayland.group 
b/metadata/stabilization-groups/x11/wayland.group
new file mode 100644
index ..8209f3e48c52
--- /dev/null
+++ b/metadata/stabilization-groups/x11/wayland.group
@@ -0,0 +1,2 @@
+dev-libs/wayland
+dev-util/wayland-scanner



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/, metadata/stabilization-groups/gnome/

2023-08-29 Thread Arthur Zamarin
commit: cee38a18ce78ab97c0f99dbe48aa267d4f0db11d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Aug 29 17:38:16 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Aug 29 17:39:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cee38a18

metadata/stabilization-groups: add .group extension

After further consideration, it seems that the requiring .group extension
will make our life easier, with exact format, and save us from backup
files, readme or similar.

https://github.com/pkgcore/pkgcore/pull/412#discussion_r1307738865

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

 metadata/stabilization-groups/{ansible => ansible.group}  | 0
 metadata/stabilization-groups/gnome/{evolution => evolution.group}| 0
 metadata/stabilization-groups/gnome/{glib => glib.group}  | 0
 metadata/stabilization-groups/gnome/{gnome-shell => gnome-shell.group}| 0
 .../gnome/{gobject-introspection => gobject-introspection.group}  | 0
 metadata/stabilization-groups/gnome/{sysprof => sysprof.group}| 0
 metadata/stabilization-groups/gnome/{vala => vala.group}  | 0
 metadata/stabilization-groups/gnome/{vte => vte.group}| 0
 8 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/metadata/stabilization-groups/ansible 
b/metadata/stabilization-groups/ansible.group
similarity index 100%
rename from metadata/stabilization-groups/ansible
rename to metadata/stabilization-groups/ansible.group

diff --git a/metadata/stabilization-groups/gnome/evolution 
b/metadata/stabilization-groups/gnome/evolution.group
similarity index 100%
rename from metadata/stabilization-groups/gnome/evolution
rename to metadata/stabilization-groups/gnome/evolution.group

diff --git a/metadata/stabilization-groups/gnome/glib 
b/metadata/stabilization-groups/gnome/glib.group
similarity index 100%
rename from metadata/stabilization-groups/gnome/glib
rename to metadata/stabilization-groups/gnome/glib.group

diff --git a/metadata/stabilization-groups/gnome/gnome-shell 
b/metadata/stabilization-groups/gnome/gnome-shell.group
similarity index 100%
rename from metadata/stabilization-groups/gnome/gnome-shell
rename to metadata/stabilization-groups/gnome/gnome-shell.group

diff --git a/metadata/stabilization-groups/gnome/gobject-introspection 
b/metadata/stabilization-groups/gnome/gobject-introspection.group
similarity index 100%
rename from metadata/stabilization-groups/gnome/gobject-introspection
rename to metadata/stabilization-groups/gnome/gobject-introspection.group

diff --git a/metadata/stabilization-groups/gnome/sysprof 
b/metadata/stabilization-groups/gnome/sysprof.group
similarity index 100%
rename from metadata/stabilization-groups/gnome/sysprof
rename to metadata/stabilization-groups/gnome/sysprof.group

diff --git a/metadata/stabilization-groups/gnome/vala 
b/metadata/stabilization-groups/gnome/vala.group
similarity index 100%
rename from metadata/stabilization-groups/gnome/vala
rename to metadata/stabilization-groups/gnome/vala.group

diff --git a/metadata/stabilization-groups/gnome/vte 
b/metadata/stabilization-groups/gnome/vte.group
similarity index 100%
rename from metadata/stabilization-groups/gnome/vte
rename to metadata/stabilization-groups/gnome/vte.group



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/gnome/

2023-08-23 Thread Matt Turner
commit: 8a6a168cc0bd0faa7d7110dcb7db8f063e24e245
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Jul 19 16:08:13 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Aug 23 17:16:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a6a168c

metadata: Add gnome package stabilization groups

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

 metadata/stabilization-groups/gnome/evolution | 3 +++
 metadata/stabilization-groups/gnome/glib  | 3 +++
 metadata/stabilization-groups/gnome/gnome-shell   | 4 
 metadata/stabilization-groups/gnome/gobject-introspection | 2 ++
 metadata/stabilization-groups/gnome/sysprof   | 3 +++
 metadata/stabilization-groups/gnome/vala  | 2 ++
 metadata/stabilization-groups/gnome/vte   | 3 +++
 7 files changed, 20 insertions(+)

diff --git a/metadata/stabilization-groups/gnome/evolution 
b/metadata/stabilization-groups/gnome/evolution
new file mode 100644
index ..21bbcf804e94
--- /dev/null
+++ b/metadata/stabilization-groups/gnome/evolution
@@ -0,0 +1,3 @@
+gnome-extra/evolution-data-server
+gnome-extra/evolution-ews
+mail-client/evolution

diff --git a/metadata/stabilization-groups/gnome/glib 
b/metadata/stabilization-groups/gnome/glib
new file mode 100644
index ..51a5659dd725
--- /dev/null
+++ b/metadata/stabilization-groups/gnome/glib
@@ -0,0 +1,3 @@
+dev-libs/glib
+dev-util/gdbus-codegen
+dev-util/glib-utils

diff --git a/metadata/stabilization-groups/gnome/gnome-shell 
b/metadata/stabilization-groups/gnome/gnome-shell
new file mode 100644
index ..ddf76f8f88f4
--- /dev/null
+++ b/metadata/stabilization-groups/gnome/gnome-shell
@@ -0,0 +1,4 @@
+gnome-base/gnome-shell
+gnome-extra/gnome-shell-extensions
+gnome-extra/gnome-shell-frippery
+x11-wm/mutter

diff --git a/metadata/stabilization-groups/gnome/gobject-introspection 
b/metadata/stabilization-groups/gnome/gobject-introspection
new file mode 100644
index ..8baf4ae59124
--- /dev/null
+++ b/metadata/stabilization-groups/gnome/gobject-introspection
@@ -0,0 +1,2 @@
+dev-libs/gobject-introspection
+dev-libs/gobject-introspection-common

diff --git a/metadata/stabilization-groups/gnome/sysprof 
b/metadata/stabilization-groups/gnome/sysprof
new file mode 100644
index ..66a338916039
--- /dev/null
+++ b/metadata/stabilization-groups/gnome/sysprof
@@ -0,0 +1,3 @@
+dev-util/sysprof
+dev-util/sysprof-capture
+dev-util/sysprof-common

diff --git a/metadata/stabilization-groups/gnome/vala 
b/metadata/stabilization-groups/gnome/vala
new file mode 100644
index ..2e4d5a33748d
--- /dev/null
+++ b/metadata/stabilization-groups/gnome/vala
@@ -0,0 +1,2 @@
+dev-lang/vala
+dev-libs/vala-common

diff --git a/metadata/stabilization-groups/gnome/vte 
b/metadata/stabilization-groups/gnome/vte
new file mode 100644
index ..ce25ab265262
--- /dev/null
+++ b/metadata/stabilization-groups/gnome/vte
@@ -0,0 +1,3 @@
+gui-libs/vte
+gui-libs/vte-common
+x11-libs/vte



[gentoo-commits] repo/gentoo:master commit in: metadata/stabilization-groups/

2023-08-21 Thread Marek Szuba
commit: 87e933b874b959242c73697414be2912f09537a0
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Aug 21 16:43:45 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Aug 21 18:08:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87e933b8

metadata: Add stabilisation group for Ansible

Signed-off-by: Marek Szuba  gentoo.org>

 metadata/stabilization-groups/ansible | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/metadata/stabilization-groups/ansible 
b/metadata/stabilization-groups/ansible
new file mode 100644
index ..b259400a0fca
--- /dev/null
+++ b/metadata/stabilization-groups/ansible
@@ -0,0 +1,2 @@
+app-admin/ansible
+app-admin/ansible-core



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2023-08-17 Thread Ulrich Müller
commit: 2c755c274a4bd82e5881c315e3cfad05cc371179
Author: Ulrich Müller  gentoo  org>
AuthorDate: Wed Aug 16 17:07:09 2023 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Thu Aug 17 21:49:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c755c27

metadata/install-qa-check.d: Check for subdirs in /bin and its friends

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

 metadata/install-qa-check.d/08gentoo-paths | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/metadata/install-qa-check.d/08gentoo-paths 
b/metadata/install-qa-check.d/08gentoo-paths
index 4d84925d8539..5b8607fd5f96 100644
--- a/metadata/install-qa-check.d/08gentoo-paths
+++ b/metadata/install-qa-check.d/08gentoo-paths
@@ -53,7 +53,11 @@ gentoo_path_check() {
fi
done
 
-   # 3. check for unexpected /usr/share/doc subdirectories
+   # 3. check for unexpected subdirectories in bin and sbin
+   local bin_subdirs=( "${ED%/}"{,/usr}/{bin,sbin}/*/ )
+   bad_paths+=( "${bin_subdirs[@]%/}" )
+
+   # 4. check for unexpected /usr/share/doc subdirectories
local doc_dirs=( "${ED%/}"/usr/share/doc/* )
for x in "${doc_dirs[@]##*/}"; do
if [[ ${x} != ${PF} ]]; then



[gentoo-commits] repo/gentoo:master commit in: metadata/, dev-perl/DBIx-Simple/, licenses/, sys-apps/heirloom-tools/

2023-08-17 Thread Ulrich Müller
commit: 6fa2a9610635912a3b9982c10273fab8b70573c1
Author: Ulrich Müller  gentoo  org>
AuthorDate: Thu Aug 17 09:21:30 2023 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Thu Aug 17 09:31:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fa2a961

licenses: Rename 9base to LPL-1.2

Delete initial text which isn't part of the license itself.
Add LPL-1.2 to license-mapping.conf.

Update all ebuilds using it.

Signed-off-by: Ulrich Müller  gentoo.org>

 dev-perl/DBIx-Simple/DBIx-Simple-1.370.0.ebuild|  2 +-
 licenses/{9base => LPL-1.2}| 28 ++
 metadata/license-mapping.conf  |  1 +
 .../heirloom-tools/heirloom-tools-070715-r5.ebuild |  2 +-
 4 files changed, 5 insertions(+), 28 deletions(-)

diff --git a/dev-perl/DBIx-Simple/DBIx-Simple-1.370.0.ebuild 
b/dev-perl/DBIx-Simple/DBIx-Simple-1.370.0.ebuild
index 234f72bd1850..8dbfd09383bd 100644
--- a/dev-perl/DBIx-Simple/DBIx-Simple-1.370.0.ebuild
+++ b/dev-perl/DBIx-Simple/DBIx-Simple-1.370.0.ebuild
@@ -12,7 +12,7 @@ DESCRIPTION="Very complete easy-to-use OO interface to DBI"
 # Upstream says "Any OSI approved license from 
https://opensource.org/licenses/alphabetical;
 LICENSE="|| ( AFL-3.0 AGPL-3 APL-1.0 Apache-2.0 BSD-2 Boost-1.0 CDDL CPAL-1.0
EPL-1.0 ECL-2.0 EUPL-1.1 GPL-2 GPL-3 LGPL-2.1 LGPL-3 HPND IBM IPAfont 
ISC
-   LPPL-1.3c 9base MIT MPL-2.0 NOSA nethack PHP-3 POSTGRESQL PYTHON CNRI
+   LPPL-1.3c LPL-1.2 MIT MPL-2.0 NOSA nethack PHP-3 POSTGRESQL PYTHON CNRI
QPL-1.0 OFL-1.1 Sleepycat Watcom-1.0 W3C wxWinLL-3 ZLIB libpng
 )"
 SLOT="0"

diff --git a/licenses/9base b/licenses/LPL-1.2
similarity index 90%
rename from licenses/9base
rename to licenses/LPL-1.2
index d89b9576f822..f6ff2268ab8a 100644
--- a/licenses/9base
+++ b/licenses/LPL-1.2
@@ -1,27 +1,3 @@
-The Plan 9 software is provided under the terms of the
-Lucent Public License, Version 1.02, reproduced below,
-with the following notable exceptions:
-
-1. No right is granted to create derivative works of or
-   to redistribute (other than with the Plan 9 Operating System)
-   the screen imprinter fonts identified in subdirectory
-   /lib/font/bit/lucida and printer fonts (Lucida Sans Unicode, Lucida
-   Sans Italic, Lucida Sans Demibold, Lucida Typewriter, Lucida Sans
-   Typewriter83), identified in subdirectory /sys/lib/postscript/font.
-   These directories contain material copyrights by B Inc. and Y Inc.
-
-2. The printer fonts identified in subdirectory /sys/lib/ghostscript/font
-   are subject to the GNU GPL, reproduced in the file /LICENSE.gpl.
-
-3. The ghostscript program in the subdirectory /sys/src/cmd/gs is
-   covered by the Aladdin Free Public License, reproduced in the file
-   /LICENSE.afpl.
-
-Other, less notable exceptions are marked in the file tree with
-COPYING, COPYRIGHT, or LICENSE files.
-
-===
-
 Lucent Public License Version 1.02
 
 THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS PUBLIC
@@ -153,7 +129,7 @@ create potential liability for Contributors. Therefore, if a
 Distributor includes the Program in a commercial product offering,
 such Distributor ("Commercial Distributor") hereby agrees to defend
 and indemnify every Contributor ("Indemnified Contributor") against
-any losses, damages and costs (collectively"Losses") arising from
+any losses, damages and costs (collectively "Losses") arising from
 claims, lawsuits and other legal actions brought by a third party
 against the Indemnified Contributor to the extent caused by the acts
 or omissions of such Commercial Distributor in connection with its
@@ -181,7 +157,7 @@ damages.
 5. NO WARRANTY
 
 EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS
-PROVIDED ON AN"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY
 WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
 OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely

diff --git a/metadata/license-mapping.conf b/metadata/license-mapping.conf
index 8d18ccf62435..f5896f8d9d90 100644
--- a/metadata/license-mapping.conf
+++ b/metadata/license-mapping.conf
@@ -152,6 +152,7 @@ LGPL-3.0-or-later = LGPL-3+
 Libpng = libpng
 libpng-2.0 = libpng2
 libtiff = libtiff
+LPL-1.2 = LPL-1.2
 LPPL-1.2 = LPPL-1.2
 LPPL-1.3c = LPPL-1.3c
 MirOS = MirOS

diff --git a/sys-apps/heirloom-tools/heirloom-tools-070715-r5.ebuild 
b/sys-apps/heirloom-tools/heirloom-tools-070715-r5.ebuild
index 62c7605beca7..56460a596197 100644
--- a/sys-apps/heirloom-tools/heirloom-tools-070715-r5.ebuild
+++ b/sys-apps/heirloom-tools/heirloom-tools-070715-r5.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://heirloom.sourceforge.net/tools.html;
 SRC_URI="mirror://sourceforge/heirloom/heirloom/${PV}/heirloom-${PV}.tar.bz2"
 

[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2023-05-16 Thread Michał Górny
commit: 18c742e05adc3083275602317b588d454c2a807e
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May 17 03:07:29 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 17 03:33:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18c742e0

install-qa-check.d: Fix 60python-pyc to test pypy3.* as well

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

 metadata/install-qa-check.d/60python-pyc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/metadata/install-qa-check.d/60python-pyc 
b/metadata/install-qa-check.d/60python-pyc
index d1eae65e1b58..fe4f3f62c4ef 100644
--- a/metadata/install-qa-check.d/60python-pyc
+++ b/metadata/install-qa-check.d/60python-pyc
@@ -27,7 +27,8 @@ python_pyc_check() {
local impl=${prog%/*}
impl=${impl##*/}
 
-   [[ -d "${ED}"/usr/lib/${impl}/site-packages ]] || continue
+   # NB: using ${impl}* to catch pypy3.* for pypy3
+   [[ -d "${ED}"/usr/lib/${impl}*/site-packages ]] || continue
 
einfo "Verifying compiled files for ${impl}"
local kind pyc py



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

2023-01-07 Thread Ulrich Müller
commit: 3637554d2ba8304248ec3187401cd4a6084caef8
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sat Jan  7 08:12:34 2023 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sat Jan  7 08:17:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3637554d

metadata: Add GNU FDL to license-mapping.conf

Signed-off-by: Ulrich Müller  gentoo.org>

 metadata/license-mapping.conf | 21 +
 1 file changed, 21 insertions(+)

diff --git a/metadata/license-mapping.conf b/metadata/license-mapping.conf
index 41334e4b0d7a..440dd7421a97 100644
--- a/metadata/license-mapping.conf
+++ b/metadata/license-mapping.conf
@@ -82,6 +82,27 @@ EUPL-1.2 = EUPL-1.2
 FSFAP = FSFAP
 FTL = FTL
 GD = gd
+GFDL-1.1 = FDL-1.1
+GFDL-1.1-invariants-only = FDL-1.1
+GFDL-1.1-invariants-or-later = FDL-1.1+
+GFDL-1.1-no-invariants-only = FDL-1.1
+GFDL-1.1-no-invariants-or-later = FDL-1.1+
+GFDL-1.1-only = FDL-1.1
+GFDL-1.1-or-later = FDL-1.1+
+GFDL-1.2 = FDL-1.2
+GFDL-1.2-invariants-only = FDL-1.2
+GFDL-1.2-invariants-or-later = FDL-1.2+
+GFDL-1.2-no-invariants-only = FDL-1.2
+GFDL-1.2-no-invariants-or-later = FDL-1.2+
+GFDL-1.2-only = FDL-1.2
+GFDL-1.2-or-later = FDL-1.2+
+GFDL-1.3 = FDL-1.3
+GFDL-1.3-invariants-only = FDL-1.3
+GFDL-1.3-invariants-or-later = FDL-1.3+
+GFDL-1.3-no-invariants-only = FDL-1.3
+GFDL-1.3-no-invariants-or-later = FDL-1.3+
+GFDL-1.3-only = FDL-1.3
+GFDL-1.3-or-later = FDL-1.3+
 Glulxe = Glulxe
 gnuplot = gnuplot
 GPL-1.0 = GPL-1



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

2022-11-22 Thread Michał Górny
commit: 2e265190e0aa73ff8ed81c97a7e120bbc7078250
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Nov 13 11:51:25 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Nov 22 17:47:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e265190

metadata: Add license-mapping.conf for SPDX license mapping

Add a file defining mapping of SPDX-2.0 license identifiers to Gentoo
ebuild licenses.  This was originally discussed on Gentoo Bugzilla [1],
the submitted to the gentoo-dev ml [2].

The proposed file uses the common key-value format used for
configuration files.  Currently only `spdx-to-ebuild` section is defined
but other kinds of mapping can be added in the future.  As described
in the top comment, it provides the ability to map SPDX-2.0 license
identifiers along with the `+` and `WITH` operators to arbitrary
Gentoo LICENSE strings (including all-of and any-of groups).

The initial list was based on cargo-ebuild's license.rs [3],
courtesy of Leonardo H. Neumann and Georgy Yakovlev.  I have done some
changes, particularly removed some incorrect mappings and added more
variants from the same license groups (e.g. GPL variants).  Ulrich
Müller has noticed a number of problems and given helpful suggestions.

A parser for this file format is implemented in pycargoebuild [4].

[1] https://bugs.gentoo.org/706472
[2] 
https://archives.gentoo.org/gentoo-dev/message/01924bb71411696dce04445d85da508d
[3] 
https://gitweb.gentoo.org/proj/cargo-ebuild.git/tree/src/license.rs?id=b4314edc5bb672f5e94dcbc996f443e98fdb4dba
[4] https://github.com/projg2/pycargoebuild/

Closes: https://github.com/gentoo/gentoo/pull/28256
Signed-off-by: Michał Górny  gentoo.org>

 metadata/license-mapping.conf | 178 ++
 1 file changed, 178 insertions(+)

diff --git a/metadata/license-mapping.conf b/metadata/license-mapping.conf
new file mode 100644
index ..07dbda9b2f83
--- /dev/null
+++ b/metadata/license-mapping.conf
@@ -0,0 +1,178 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Mapping of SPDX-2.0 licenses to Gentoo repository licenses.
+#
+# Keys are [+] [WITH ].
+#
+# License and exception identifiers are case-insensitive but please follow
+# the case used in SPDX.  "WITH" exceptions are matched exactly,
+# i.e.  "Apache-2.0 WITH LLVM-exception" will not match plain "Apache-2.0".
+# The "+" operator prefers exact match but falls back to the variant without,
+# i.e. if "MPL-1.0+" is not defined, the mapping for "MPL-1.0" is used.
+#
+# Values are ebuild-style LICENSE terms, possibly including multiple
+# licenses (implicit all-of group) and all-of/any-of groups.
+
+[spdx-to-ebuild]
+0BSD = 0BSD
+AFL-2.1 = AFL-2.1
+AFL-3.0 = AFL-3.0
+AGPL-3.0 = AGPL-3
+AGPL-3.0+ = AGPL-3+
+AGPL-3.0-only = AGPL-3
+AGPL-3.0-or-later = AGPL-3+
+Aladdin = Aladdin
+AMPAS = AMPAS
+Apache-1.0 = Apache-1.0
+Apache-1.1 = Apache-1.1
+Apache-2.0 = Apache-2.0
+Apache-2.0 WITH LLVM-exception = Apache-2.0-with-LLVM-exceptions
+APL-1.0 = APL-1.0
+APSL-2.0 = APSL-2
+Artistic-1.0 = Artistic
+Artistic-1.0-cl8 = Artistic
+Artistic-1.0-Perl = Artistic
+Artistic-2.0 = Artistic-2
+Beerware = BEER-WARE
+BSD-1-Clause = BSD-1
+BSD-2-Clause = BSD-2
+BSD-3-Clause = BSD
+BSD-4-Clause = BSD-4
+BSL-1.0 = Boost-1.0
+bzip2-1.0.5 = BZIP2
+bzip2-1.0.6 = BZIP2
+CC-BY-2.0 = CC-BY-2.0
+CC-BY-2.5 = CC-BY-2.5
+CC-BY-3.0 = CC-BY-3.0
+CC-BY-4.0 = CC-BY-4.0
+CC-BY-NC-4.0 = CC-BY-NC-4.0
+CC-BY-NC-ND-2.0 = CC-BY-NC-ND-2.0
+CC-BY-NC-ND-2.5 = CC-BY-NC-ND-2.5
+CC-BY-NC-ND-3.0 = CC-BY-NC-ND-3.0
+CC-BY-NC-ND-4.0 = CC-BY-NC-ND-4.0
+CC-BY-NC-SA-1.0 = CC-BY-NC-SA-1.0
+CC-BY-NC-SA-2.5 = CC-BY-NC-SA-2.5
+CC-BY-NC-SA-3.0 = CC-BY-NC-SA-3.0
+CC-BY-NC-SA-4.0 = CC-BY-NC-SA-4.0
+CC-BY-ND-3.0 = CC-BY-ND-3.0
+CC-BY-ND-4.0 = CC-BY-ND-4.0
+CC-BY-SA-1.0 = CC-BY-SA-1.0
+CC-BY-SA-2.0 = CC-BY-SA-2.0
+CC-BY-SA-2.5 = CC-BY-SA-2.5
+CC-BY-SA-3.0 = CC-BY-SA-3.0
+CC-BY-SA-4.0 = CC-BY-SA-4.0
+CC-PDDC = CC-PD
+CC0-1.0 = CC0-1.0
+CDDL-1.0 = CDDL
+CDDL-1.1 = CDDL-1.1
+CECILL-2.0 = CeCILL-2
+CECILL-B = CeCILL-B
+CECILL-C = CeCILL-C
+CPAL-1.0 = CPAL-1.0
+CPL-1.0 = CPL-1.0
+CPOL-1.02 = CPOL
+curl = curl
+ECL-2.0 = ECL-2.0
+EPL-1.0 = EPL-1.0
+EPL-2.0 = EPL-2.0
+ErlPL-1.1 = ErlPL-1.1
+EUPL-1.1 = EUPL-1.1
+EUPL-1.2 = EUPL-1.2
+FSFAP = FSFAP
+FTL = FTL
+GD = gd
+Glulxe = Glulxe
+gnuplot = gnuplot
+GPL-1.0 = GPL-1
+GPL-1.0+ = GPL-1+
+GPL-1.0-only = GPL-1
+GPL-1.0-or-later = GPL-1+
+GPL-2.0 = GPL-2
+GPL-2.0+ = GPL-2+
+GPL-2.0-only = GPL-2
+GPL-2.0-or-later = GPL-2+
+GPL-2.0-with-classpath-exception = GPL-2-with-classpath-exception
+GPL-2.0 WITH Classpath-exception-2.0 = GPL-2-with-classpath-exception
+GPL-2.0-only WITH Classpath-exception-2.0 = GPL-2-with-classpath-exception
+GPL-2.0-with-font-exception = GPL-2-with-font-exception
+GPL-2.0 WITH Font-exception-2.0 = GPL-2-with-font-exception
+GPL-2.0-only WITH Font-exception-2.0 = GPL-2-with-font-exception
+GPL-3.0 = GPL-3
+GPL-3.0+ = 

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

2022-10-22 Thread Ulrich Müller
commit: 5b4bcecca8889fdb1562613d53aaa8ee8f495dcc
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sat Oct 22 08:05:13 2022 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sat Oct 22 10:53:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b4bcecc

metadata/qa-policy.conf: Drop deprecated-eclass section

Nothing is using this and the list is outdated. Use the @DEPRECATED tag
in eclasses instead.

Signed-off-by: Ulrich Müller  gentoo.org>

 metadata/qa-policy.conf | 13 -
 1 file changed, 13 deletions(-)

diff --git a/metadata/qa-policy.conf b/metadata/qa-policy.conf
index 191ebdb4f7e8..9a8ca011ddb7 100644
--- a/metadata/qa-policy.conf
+++ b/metadata/qa-policy.conf
@@ -62,19 +62,6 @@ PG0901 = warning
 # Deprecated EAPIs
 PG1001 = warning
 
-
-# The deprecated-eclass section lists deprecated eclasses along with
-# their suggested replacements (if any).  Most of the values are
-# replacement eclass names, though free-form text is permitted.
-[deprecated-eclass]
-cmake-utils = cmake
-epatch = (eapply since EAPI 6)
-eutils = (split into several eclasses)
-ltprune = (inline find ... -delete)
-mono = mono-env
-user = (GLEP 81 acct-* packages)
-versionator = eapi7-ver (built-in since EAPI 7)
-
 # User and group IDs available for static allocation. These consist of:
 # - the range 101..749 available for regular use by packages, and
 # - the range 0..100, 65533 and 65534 reserved for important system



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

2022-10-22 Thread Ulrich Müller
commit: 3be3c9a736212a5895201ae3d74ee6c9a32bfd88
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sat Oct 22 07:57:41 2022 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sat Oct 22 10:53:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3be3c9a7

metadata/qa-policy.conf: Add user-group-ids section

See also user and group account policy:
https://projects.gentoo.org/qa/policy-guide/user-group.html#pg0901

Bug: https://github.com/pkgcore/pkgcheck/issues/356
Suggested-by: Arthur Zamarin  gentoo.org>
Signed-off-by: Ulrich Müller  gentoo.org>

 metadata/qa-policy.conf | 12 +++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/metadata/qa-policy.conf b/metadata/qa-policy.conf
index db9050f2ba7b..191ebdb4f7e8 100644
--- a/metadata/qa-policy.conf
+++ b/metadata/qa-policy.conf
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # The policy section assigns significance levels to various policies.
@@ -74,3 +74,13 @@ ltprune = (inline find ... -delete)
 mono = mono-env
 user = (GLEP 81 acct-* packages)
 versionator = eapi7-ver (built-in since EAPI 7)
+
+# User and group IDs available for static allocation. These consist of:
+# - the range 101..749 available for regular use by packages, and
+# - the range 0..100, 65533 and 65534 reserved for important system
+#   accounts (which need approval by QA).
+# The format is a comma separated list, either  for a single value
+# or - for a range of values (including both ends).
+[user-group-ids]
+uid-range = 0-749,65534
+gid-range = 0-749,65533,65534



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-09-18 Thread Sam James
commit: 4d9b14a0bc5b66b1397efc0ada1a791f5b0adadd
Author: Sam James  gentoo  org>
AuthorDate: Mon Sep 19 03:50:46 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Sep 19 03:51:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d9b14a0

metadata/install-qa-check.d: don't use nonfatal on older EAPIs in 60python-pyc

Bug: https://bugs.gentoo.org/869182
Fixes: c310e44692ad91777c71394dda97cd1f33f72589
Signed-off-by: Sam James  gentoo.org>

 metadata/install-qa-check.d/60python-pyc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/metadata/install-qa-check.d/60python-pyc 
b/metadata/install-qa-check.d/60python-pyc
index fdd232422880..d1eae65e1b58 100644
--- a/metadata/install-qa-check.d/60python-pyc
+++ b/metadata/install-qa-check.d/60python-pyc
@@ -19,7 +19,9 @@ python_pyc_check() {
# Avoid running the check if sufficiently new gpep517 is not installed
# yet. It's valid to schedule (for merge order) >=gpep517-8 after
# packages which have this check run if they don't use distutils-r1.
-   nonfatal has_version ">=dev-python/gpep517-8" || return
+   if [[ ${EAPI} == [0123] ]] || ! nonfatal has_version 
">=dev-python/gpep517-8" ; then
+   return
+   fi
 
for prog in "${progs[@]}"; do
local impl=${prog%/*}



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-08-20 Thread Sam James
commit: 81d57dd71121fabff702a84951b339679240ebeb
Author: matoro  users  noreply  github  com>
AuthorDate: Tue Jul  5 18:28:32 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 21 02:30:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81d57dd7

metadata/install-qa-check.d: add 60noop-testsuites

This attempts to catch autotools-based tests that will pass without
actually executing any tests due to automagic-based rules like the
presence/absence of a dependency.

(sam: This was written based on my notes for implementation.)

Bug: https://bugs.gentoo.org/848579
Closes: https://github.com/gentoo/gentoo/pull/26237
Signed-off-by: Sam James  gentoo.org>

 metadata/install-qa-check.d/60noop-testsuites | 28 +++
 1 file changed, 28 insertions(+)

diff --git a/metadata/install-qa-check.d/60noop-testsuites 
b/metadata/install-qa-check.d/60noop-testsuites
new file mode 100644
index ..82e3de6b7ed3
--- /dev/null
+++ b/metadata/install-qa-check.d/60noop-testsuites
@@ -0,0 +1,28 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# QA check: look for autotools-based tests are actually no-ops
+# Maintainer: Quality Assurance team 
+
+noop_testsuite_check() {
+   use test || return
+
+   IFS= readarray -t noop_testsuites < <(find "${S}" -type f -name 
'test-suite.log' -print0 | xargs -0 grep -l "TOTAL: 0" 2>/dev/null)
+
+   if [[ -n ${noop_testsuites[@]} ]]; then
+   eqawarn "QA Notice: Test suite passed but did not actually 
execute any tests:"
+   eqawarn
+   for suite in ${noop_testsuites[@]}
+   do
+   # can't use eqatag here because filenames must be 
relative to ${D},
+   # but our test suite log files only exist in ${S}
+   eqawarn "\t${suite#${S}/}"
+   done
+   eqawarn
+   fi
+}
+
+noop_testsuite_check
+: # guarantee successful exit
+
+# vim:ft=sh



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-08-04 Thread Sam James
commit: c310e44692ad91777c71394dda97cd1f33f72589
Author: Sam James  gentoo  org>
AuthorDate: Thu Aug  4 23:43:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Aug  4 23:48:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c310e446

metadata/install-qa-check.d: don't fail if has_version died

During Python target migrations, if portage[-ipc], portageq can't
be invoked as a binary (which has_version does behind the scenes w/ -ipc),
so just call it w/ nonfatal, to avoid aborting the emerge and possibly
hurting the system (imagine python-exec gets upgraded but portage
wasn't yet).

Fails like:
```

${EPREFIX}/Gentoo/usr/lib/python-exec/python3.9/portageq: this Python 
implementation (python3.9) is not supported by the script.
 * ERROR: app-admin/perl-cleaner-2.30::gentoo_prefix failed:
 *   has_version: unexpected portageq exit code: 127
 *
 * Call stack:
 *   misc-functions.sh, line 1334:  Called install_qa_check
 *   misc-functions.sh, line  138:  Called source 'install_symlink_html_docs'
 *60python-pyc, line  118:  Called python_pyc_check
 *60python-pyc, line   22:  Called has_version 'install_hooks'
 *phase-helpers.sh, line  986:  Called 
___best_version_and_has_version_common 
'${EPREFIX}/Gentoo/var/db/repos/gentoo/metadata/install-qa-check.d/60python-pyc'
 *phase-helpers.sh, line  973:  Called die
 * The specific snippet of code:
 *  die "${FUNCNAME[1]}: unexpected portageq exit 
code: ${retval}"
```

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

 metadata/install-qa-check.d/60python-pyc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/metadata/install-qa-check.d/60python-pyc 
b/metadata/install-qa-check.d/60python-pyc
index 4679070328c0..fdd232422880 100644
--- a/metadata/install-qa-check.d/60python-pyc
+++ b/metadata/install-qa-check.d/60python-pyc
@@ -19,7 +19,7 @@ python_pyc_check() {
# Avoid running the check if sufficiently new gpep517 is not installed
# yet. It's valid to schedule (for merge order) >=gpep517-8 after
# packages which have this check run if they don't use distutils-r1.
-   has_version ">=dev-python/gpep517-8" || return
+   nonfatal has_version ">=dev-python/gpep517-8" || return
 
for prog in "${progs[@]}"; do
local impl=${prog%/*}



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-08-03 Thread Sam James
commit: ac3b18d6dd5d8a7851691c308a6bae77f3a750a6
Author: Sam James  gentoo  org>
AuthorDate: Wed Aug  3 18:56:04 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug  3 18:56:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac3b18d6

metadata/install-qa-check.d: only check images w/ site-packages

Avoid noise on all merges even if no Python files installed. No need
to use siteimpl function as > Python 2.7 (and .. 3.6? 3.7?) it's all
standard anyway.

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

 metadata/install-qa-check.d/60python-pyc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/metadata/install-qa-check.d/60python-pyc 
b/metadata/install-qa-check.d/60python-pyc
index f2d5ff3452dd..4679070328c0 100644
--- a/metadata/install-qa-check.d/60python-pyc
+++ b/metadata/install-qa-check.d/60python-pyc
@@ -24,6 +24,9 @@ python_pyc_check() {
for prog in "${progs[@]}"; do
local impl=${prog%/*}
impl=${impl##*/}
+
+   [[ -d "${ED}"/usr/lib/${impl}/site-packages ]] || continue
+
einfo "Verifying compiled files for ${impl}"
local kind pyc py
while IFS=: read -r kind pyc py extra; do



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-08-02 Thread Sam James
commit: 83a5cad812cdce67994d3c44105e18f443d9a106
Author: Sam James  gentoo  org>
AuthorDate: Wed Aug  3 04:26:59 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug  3 04:26:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83a5cad8

metadata/install-qa-check.d: drop -b from has_version in 60python-pyc

Only for EAPI 7+, duh. Not going with the faff of --host-root for EAPI
6 etc for now given it's just an optional check.

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

 metadata/install-qa-check.d/60python-pyc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/metadata/install-qa-check.d/60python-pyc 
b/metadata/install-qa-check.d/60python-pyc
index 37b0acaf7e0a..f2d5ff3452dd 100644
--- a/metadata/install-qa-check.d/60python-pyc
+++ b/metadata/install-qa-check.d/60python-pyc
@@ -19,7 +19,7 @@ python_pyc_check() {
# Avoid running the check if sufficiently new gpep517 is not installed
# yet. It's valid to schedule (for merge order) >=gpep517-8 after
# packages which have this check run if they don't use distutils-r1.
-   has_version -b ">=dev-python/gpep517-8" || return
+   has_version ">=dev-python/gpep517-8" || return
 
for prog in "${progs[@]}"; do
local impl=${prog%/*}



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-08-02 Thread Sam James
commit: bfeb100e92991a4df927215b4f32d8908c081797
Author: Sam James  gentoo  org>
AuthorDate: Wed Aug  3 01:49:49 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug  3 01:53:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfeb100e

metadata/install-qa-check.d: skip 60python-pc if gpep517 too old

When building libseccomp, say:
```
 * Verifying compiled files for python3.9
usage: /usr/lib/python-exec/python3.9/gpep517 [-h] 
{get-backend,build-wheel,install-wheel} ...
/usr/lib/python-exec/python3.9/gpep517: error: argument command: invalid 
choice: 'verify-pyc' (choose from 'get-backend', 'build-wheel', 'install-wheel')
strip: i686-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R 
.comment -R .GCC.command.line -R .note.gnu.gold-version
```

The gpep517 >= dep is in distutils-r1 but this check applies to other
ebuilds. So, use has_version -b.

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

 metadata/install-qa-check.d/60python-pyc | 5 +
 1 file changed, 5 insertions(+)

diff --git a/metadata/install-qa-check.d/60python-pyc 
b/metadata/install-qa-check.d/60python-pyc
index fd9434994f2f..37b0acaf7e0a 100644
--- a/metadata/install-qa-check.d/60python-pyc
+++ b/metadata/install-qa-check.d/60python-pyc
@@ -16,6 +16,11 @@ python_pyc_check() {
local missing=()
local stray=()
 
+   # Avoid running the check if sufficiently new gpep517 is not installed
+   # yet. It's valid to schedule (for merge order) >=gpep517-8 after
+   # packages which have this check run if they don't use distutils-r1.
+   has_version -b ">=dev-python/gpep517-8" || return
+
for prog in "${progs[@]}"; do
local impl=${prog%/*}
impl=${impl##*/}



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-08-01 Thread Michał Górny
commit: a09934ce1b026924c173d535d06e55a3126add04
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jul 18 08:52:40 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug  2 04:04:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a09934ce

install-qa-check.d: Rewrite 60python-pyc to use gpep517

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

 metadata/install-qa-check.d/60python-pyc | 168 ++-
 1 file changed, 96 insertions(+), 72 deletions(-)

diff --git a/metadata/install-qa-check.d/60python-pyc 
b/metadata/install-qa-check.d/60python-pyc
index 47e9a3eea908..fd9434994f2f 100644
--- a/metadata/install-qa-check.d/60python-pyc
+++ b/metadata/install-qa-check.d/60python-pyc
@@ -4,86 +4,110 @@
 # QA check: ensure that Python modules are compiled after installing
 # Maintainer: Python project 
 
-# EAPI guard to prevent errors from trying to import python-utils-r1
-# in unsupported EAPIs.  Please keep the list in sync with the eclass!
-if [[ ${EAPI} == [6-8] ]]; then
-   inherit python-utils-r1
+python_pyc_check() {
+   local save=$(shopt -p nullglob)
+   shopt -s nullglob
+   local progs=( "${EPREFIX}"/usr/lib/python-exec/*/gpep517 )
+   ${save}
 
-   python_pyc_check() {
-   local impl missing=() outdated=()
-   for impl in "${_PYTHON_SUPPORTED_IMPLS[@]}"; do
-   _python_export "${impl}" EPYTHON PYTHON
-   [[ -x ${PYTHON} ]] || continue
-   local sitedir=$(python_get_sitedir "${impl}")
+   local invalid=()
+   local mismatched_timestamp=()
+   local mismatched_data=()
+   local missing=()
+   local stray=()
 
-   if [[ -d ${D}${sitedir} ]]; then
-   local suffixes=() subdir=
-   case ${EPYTHON} in
-   python2*)
-   suffixes=( .py{c,o} )
-   ;;
-   pypy)
-   suffixes=( .pyc )
-   ;;
-   python3*|pypy3*)
-   local tag=$("${PYTHON}" -c 
'import sys; print(sys.implementation.cache_tag)')
-   suffixes=( 
".${tag}"{,.opt-{1,2}}.pyc )
-   subdir=__pycache__/
-   ;;
-   *)
-   # skip testing unknown impl
-   continue
-   ;;
-   esac
+   for prog in "${progs[@]}"; do
+   local impl=${prog%/*}
+   impl=${impl##*/}
+   einfo "Verifying compiled files for ${impl}"
+   local kind pyc py
+   while IFS=: read -r kind pyc py extra; do
+   case ${kind} in
+   invalid)
+   invalid+=( "${pyc}" )
+   ;;
+   mismatched)
+   case ${extra} in
+   timestamp)
+   mismatched_timestamp+=( 
"${pyc}" )
+   ;;
+   *)
+   mismatched_data+=( 
"${pyc}" )
+   ;;
+   esac
+   ;;
+   missing)
+   missing+=( "${pyc}" )
+   ;;
+   older)
+   # older warnings were produced by 
earlier version
+   # of gpep517 but the check was 
incorrect, so we just
+   # ignore them
+   ;;
+   stray)
+   stray+=( "${pyc}" )
+   ;;
+   esac
+   done < <("${prog}" verify-pyc --destdir "${D}" --prefix 
"${EPREFIX}"/usr)
+   done
 
-   einfo "Verifying compiled files in ${sitedir}"
-   local f s
-   while read -d $'\0' -r f; do
-   local dir=${f%/*}
-   local basename=${f##*/}
-   

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

2022-07-18 Thread Jakov Smolić
commit: 4b77f7e2343fbc97023f3cc24605bf92bd9e2199
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Jul 18 15:24:33 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Jul 18 15:49:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b77f7e2

metadata/layout.conf: Ban EAPI 5

Thanks to everyone who helped with cleaning out ebuilds 

Closes: https://bugs.gentoo.org/698100
Signed-off-by: Jakov Smolić  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/26465
Signed-off-by: Jakov Smolić  gentoo.org>

 metadata/layout.conf | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/metadata/layout.conf b/metadata/layout.conf
index 395a9b58cf77..fff2d6072f99 100644
--- a/metadata/layout.conf
+++ b/metadata/layout.conf
@@ -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
 
 # For details on this file, see the layout.conf section of the
@@ -26,8 +26,9 @@ manifest-required-hashes = BLAKE2B
 # 2018-04-08 council meeting banned EAPI 4.
 # 2018-05-13 council meeting deprecated EAPI 5 for ebuilds.
 # 2021-07-11 council meeting deprecated EAPI 6.
-eapis-banned = 0 1 2 3 4
-eapis-deprecated = 5 6
+# 2021-08-08 council meeting banned EAPI 5.
+eapis-banned = 0 1 2 3 4 5
+eapis-deprecated = 6
 
 # EAPIs 0 to 4 are banned for profiles
 # EAPIs 6 and 7 do not include any profile related changes



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-07-16 Thread Michał Górny
commit: 97cbfd95965229479d58c1b19557189bb93fdf9d
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 16 11:26:16 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 16 11:26:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97cbfd95

install-qa-check.d: Enable 60python-pyc in EAPI 8

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

 metadata/install-qa-check.d/60python-pyc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/metadata/install-qa-check.d/60python-pyc 
b/metadata/install-qa-check.d/60python-pyc
index fee033042a3a..47e9a3eea908 100644
--- a/metadata/install-qa-check.d/60python-pyc
+++ b/metadata/install-qa-check.d/60python-pyc
@@ -4,7 +4,9 @@
 # QA check: ensure that Python modules are compiled after installing
 # Maintainer: Python project 
 
-if [[ ${EAPI} == [6-7] ]]; then
+# EAPI guard to prevent errors from trying to import python-utils-r1
+# in unsupported EAPIs.  Please keep the list in sync with the eclass!
+if [[ ${EAPI} == [6-8] ]]; then
inherit python-utils-r1
 
python_pyc_check() {



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-06-07 Thread Mike Gilbert
commit: ae1fda4dc09564cba28db147d4c682e0397756ff
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Jun  4 14:18:07 2022 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Wed Jun  8 00:24:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae1fda4d

install-qa-check.d/60udev-eclass: check for udev_reload in pkg_postrm

Bug: https://bugs.gentoo.org/847436
Signed-off-by: Mike Gilbert  gentoo.org>

 metadata/install-qa-check.d/60udev-eclass | 5 +
 1 file changed, 5 insertions(+)

diff --git a/metadata/install-qa-check.d/60udev-eclass 
b/metadata/install-qa-check.d/60udev-eclass
index 4aadc9b1f18d..24a4df38ec4c 100644
--- a/metadata/install-qa-check.d/60udev-eclass
+++ b/metadata/install-qa-check.d/60udev-eclass
@@ -54,6 +54,11 @@ udev_rules_check() {
eqawarn "QA Notice: package is installing udev rules 
without calling"
eqawarn "udev_reload in pkg_postinst phase"
fi
+   local pkg_postrm_body="$(declare -fp pkg_postrm 2>&1)"
+   if [[ ! ${pkg_postrm_body} == *udev_reload* ]] ; then
+   eqawarn "QA Notice: package is installing udev rules 
without calling"
+   eqawarn "udev_reload in pkg_postrm phase"
+   fi
fi
 }
 



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-05-06 Thread Ionen Wolkens
commit: e88568ba3ef0c760e80cff02d567283a8b557d6b
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Fri May  6 12:43:57 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Fri May  6 12:48:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e88568ba

metadata/install-qa-check.d: further fix 60libtool-la library check

Without -t, the delimiter (newline) is not stripped
and so elements do not end in .la to be replaced by .a

Signed-off-by: Ionen Wolkens  gentoo.org>

 metadata/install-qa-check.d/60libtool-la | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/metadata/install-qa-check.d/60libtool-la 
b/metadata/install-qa-check.d/60libtool-la
index 89b93fcfe6aa..48849f42e154 100644
--- a/metadata/install-qa-check.d/60libtool-la
+++ b/metadata/install-qa-check.d/60libtool-la
@@ -9,7 +9,7 @@ libtool_la_check() {
 
# Bail out if there aren't any .la files being installed
# TODO: use -d'' w/ newer EAPIs (bash 4.4+)
-   readarray files < <(find "${ED}"/usr/lib* -name '*.la' -print 
2>/dev/null)
+   readarray -t files < <(find "${ED}"/usr/lib* -name '*.la' -print 
2>/dev/null)
[[ -n "${files[@]}" ]] || return
 
if grep -q "dev-libs/libltdl" <<<${RDEPEND}; then



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-05-05 Thread Sam James
commit: cc44ecdc302f5ba45b88e92befcebfab692cd931
Author: Sam James  gentoo  org>
AuthorDate: Thu May  5 23:38:04 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May  5 23:38:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc44ecdc

metadata/install-qa-check.d: fix check for static library in 60libtool-la

Thanks-to: Ionen Wolkens  gentoo.org>
Signed-off-by: Sam James  gentoo.org>

 metadata/install-qa-check.d/60libtool-la | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/metadata/install-qa-check.d/60libtool-la 
b/metadata/install-qa-check.d/60libtool-la
index 34344890333f..89b93fcfe6aa 100644
--- a/metadata/install-qa-check.d/60libtool-la
+++ b/metadata/install-qa-check.d/60libtool-la
@@ -25,11 +25,7 @@ libtool_la_check() {
local base
local bad_files=()
for file in "${files[@]}" ; do
-   dir=$(dirname ${file})
-   base=${dir%/}
-   base=${base%.la}
-
-   if [[ ! -f ${dir}/${base}.a ]] ; then
+   if [[ ! -f ${file%.la}.a ]] ; then
bad_files+=( ${file} )
fi
done



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-05-02 Thread Agostino Sarubbo
commit: eeb361d2df774008fcf449b93a2b321082629f81
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon May  2 06:01:21 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon May  2 06:01:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eeb361d2

metadata/install-qa-check.d: add missing whitespace in 60udev-eclass

Signed-off-by: Agostino Sarubbo  gentoo.org>

 metadata/install-qa-check.d/60udev-eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/metadata/install-qa-check.d/60udev-eclass 
b/metadata/install-qa-check.d/60udev-eclass
index cf8e08e9971e..4aadc9b1f18d 100644
--- a/metadata/install-qa-check.d/60udev-eclass
+++ b/metadata/install-qa-check.d/60udev-eclass
@@ -38,7 +38,7 @@ udev_rules_check() {
 
if [[ -d "${ED}"/lib/udev/rules.d/ ]] ; then
if ! has udev ${INHERITED} ; then
-   eqawarn "QA Notice: package is installing udev 
ruleswithout inheriting udev.eclass!"
+   eqawarn "QA Notice: package is installing udev rules 
without inheriting udev.eclass!"
eqawarn "Packages must inherit udev.eclass then call 
udev_reload in pkg_postinst."
return
fi



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-04-30 Thread Sam James
commit: fe2c69be92364e912384cd07c0b122b0e80168f0
Author: Sam James  gentoo  org>
AuthorDate: Thu Apr 28 03:06:40 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 30 19:13:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe2c69be

metadata/install-qa-check.d: add new QA check for udev rules

Very similar to tmpfiles.eclass check (60tmpfiles-paths).

Three checks:
1) Verify packages don't install udev rules to /etc/udev/rules.d, which
is a forbidden (user-configuration) location;

2) Check whether packages inherit udev.eclass if they're
installing files to /lib/udev/rules.d/..

(This helps to catch packages not calling udev_reload
in pkg_postinst).

3) Check for missing udev_process calls in pkg_postinst.

Bug: https://bugs.gentoo.org/433916
See: c7fe1066a8fcd35f965de4ea16c9cd1001830642
Signed-off-by: Sam James  gentoo.org>

 metadata/install-qa-check.d/60udev-eclass | 63 +++
 1 file changed, 63 insertions(+)

diff --git a/metadata/install-qa-check.d/60udev-eclass 
b/metadata/install-qa-check.d/60udev-eclass
new file mode 100644
index ..cf8e08e9971e
--- /dev/null
+++ b/metadata/install-qa-check.d/60udev-eclass
@@ -0,0 +1,63 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# QA check: ensure that packages installing udev rules inherit the eclass
+# Maintainer: Sam James 
+
+# Implements three checks:
+# 1) Installation to /etc/udev/rules.d (which is a user-customization 
location);
+# 2) Installation of any udev rules to /lib/udev/rules.d without inheriting 
the eclass
+#(needed for udev_reload in pkg_postinst);
+# 3) Check for installation of udev rules without calling udev_reload in
+#pkg_postinst.
+udev_rules_check() {
+   # Check 1
+   # Scan image for files in /etc/udev/rules.d which is a forbidden 
location
+   # (We use this glob to avoid triggering on keepdir)
+   shopt -s nullglob
+   local files=( "${ED}"/etc/udev/rules.d/* )
+   shopt -u nullglob
+
+   if [[ ${#files[@]} -gt 0 ]]; then
+   eqawarn "QA Notice: files installed to /etc/udev/rules.d found"
+   eqawarn "udev rules files supplied by ebuilds must be installed 
to /lib/udev/rules.d/"
+   fi
+
+   # Check 2
+   # We're now going to check for whether we install files to 
/lib/udev/rules.d/ without
+   # inheriting the eclass (weak catch for ebuilds not calling udev_reload 
in pkg_postinst)
+
+   if [[ -n ${UDEV_OPTIONAL} ]] ; then
+   # While imperfect, using ${UDEV_OPTIONAL} is good enough to 
allow opting out
+   # for e.g. sys-apps/portage, sys-apps/systemd, sys-libs/pam, 
etc. We may want
+   # a better/more standardised way to opt out from QA checks in 
future.
+   # It's okay for some packages to do this because of circular 
dependencies and such
+   # See: 
https://archives.gentoo.org/gentoo-dev/message/0a96793036a4fdd9ac311a46950d7e7b
+   return
+   fi
+
+   if [[ -d "${ED}"/lib/udev/rules.d/ ]] ; then
+   if ! has udev ${INHERITED} ; then
+   eqawarn "QA Notice: package is installing udev 
ruleswithout inheriting udev.eclass!"
+   eqawarn "Packages must inherit udev.eclass then call 
udev_reload in pkg_postinst."
+   return
+   fi
+
+   # Check 3
+   # Check whether we're installing udev rules without explicitly
+   # calling udev_reload in pkg_postinst, but we have inherited
+   # the eclass.
+   # Small risk of false positives if called indirectly.
+   # See: 
https://archives.gentoo.org/gentoo-dev/message/7bdfdc9a7560fd07436defd0253af0b8
+   local pkg_postinst_body="$(declare -fp pkg_postinst 2>&1)"
+   if [[ ! ${pkg_postinst_body} == *udev_reload* ]] ; then
+   eqawarn "QA Notice: package is installing udev rules 
without calling"
+   eqawarn "udev_reload in pkg_postinst phase"
+   fi
+   fi
+}
+
+udev_rules_check
+: # guarantee successful exit
+
+# vim:ft=sh



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-04-27 Thread Sam James
commit: ff3c6cc6ce46e338f4ad9768adc9bbff4dc7bd93
Author: Sam James  gentoo  org>
AuthorDate: Thu Apr 28 03:06:04 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Apr 28 03:06:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff3c6cc6

metadata/install-qa-check.d: fix minor typo in comment

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

 metadata/install-qa-check.d/60tmpfiles-paths | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/metadata/install-qa-check.d/60tmpfiles-paths 
b/metadata/install-qa-check.d/60tmpfiles-paths
index 1d46cab6ecc0..049f73aaf07d 100644
--- a/metadata/install-qa-check.d/60tmpfiles-paths
+++ b/metadata/install-qa-check.d/60tmpfiles-paths
@@ -1,11 +1,11 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # QA check: ensure that packages installing tmpfiles configuration inherit the 
eclass
 # Maintainer: Sam James 
 # Maintainer: Georgy Yakovlev 
 
-# Implements two checks:
+# Implements three checks:
 # 1) Installation to /etc/tmpfiles.d (which is a user-customization location);
 # 2) Installation of any tmpfiles to /usr/lib/tmpfiles.d without inheriting 
the eclass
 #(needed for tmpfiles_process in pkg_postinst);



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-04-26 Thread Sam James
commit: ae61075e7fb307c5f13810963099df88f99df426
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 27 00:13:03 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 27 00:13:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae61075e

metadata/install-qa-check.d: avoid -d'' in readarray

Needs newer Bash.

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

 metadata/install-qa-check.d/60libtool-la | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/metadata/install-qa-check.d/60libtool-la 
b/metadata/install-qa-check.d/60libtool-la
index af69a8b897ab..34344890333f 100644
--- a/metadata/install-qa-check.d/60libtool-la
+++ b/metadata/install-qa-check.d/60libtool-la
@@ -8,7 +8,8 @@ libtool_la_check() {
fi
 
# Bail out if there aren't any .la files being installed
-   readarray -d '' files < <(find "${ED}"/usr/lib* -name '*.la' -print0 
2>/dev/null)
+   # TODO: use -d'' w/ newer EAPIs (bash 4.4+)
+   readarray files < <(find "${ED}"/usr/lib* -name '*.la' -print 
2>/dev/null)
[[ -n "${files[@]}" ]] || return
 
if grep -q "dev-libs/libltdl" <<<${RDEPEND}; then



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-04-26 Thread Sam James
commit: 5a87e0946933feef33a95314e08abf0eb1a345a4
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 26 23:45:01 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 26 23:45:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a87e094

metadata/install-qa-check.d: try to silence libtool-la stderr

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

 metadata/install-qa-check.d/60libtool-la | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/metadata/install-qa-check.d/60libtool-la 
b/metadata/install-qa-check.d/60libtool-la
index bd475b6a016d..af69a8b897ab 100644
--- a/metadata/install-qa-check.d/60libtool-la
+++ b/metadata/install-qa-check.d/60libtool-la
@@ -8,7 +8,7 @@ libtool_la_check() {
fi
 
# Bail out if there aren't any .la files being installed
-   readarray -d '' files < <(find "${ED}"/usr/lib* -name '*.la' -print0)
+   readarray -d '' files < <(find "${ED}"/usr/lib* -name '*.la' -print0 
2>/dev/null)
[[ -n "${files[@]}" ]] || return
 
if grep -q "dev-libs/libltdl" <<<${RDEPEND}; then



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-04-26 Thread Sam James
commit: 30826cad2a5d11d5270122ba4050d4d36b963a50
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 26 15:31:42 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 26 15:32:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30826cad

metadata/install-qa-check.d: use readarray

Otherwise we end up not splitting correctly in the loop over files
(file contains two entries).

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

 metadata/install-qa-check.d/60libtool-la | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/metadata/install-qa-check.d/60libtool-la 
b/metadata/install-qa-check.d/60libtool-la
index a313f785cad2..bd475b6a016d 100644
--- a/metadata/install-qa-check.d/60libtool-la
+++ b/metadata/install-qa-check.d/60libtool-la
@@ -8,7 +8,7 @@ libtool_la_check() {
fi
 
# Bail out if there aren't any .la files being installed
-   local files=$(find "${ED}"/usr/lib* -name '*.la' -print 2>/dev/null)
+   readarray -d '' files < <(find "${ED}"/usr/lib* -name '*.la' -print0)
[[ -n "${files[@]}" ]] || return
 
if grep -q "dev-libs/libltdl" <<<${RDEPEND}; then



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-04-19 Thread Sam James
commit: 4a007c83aafc1137ae3448264921be7dc5e707c3
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 19 18:30:20 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 19 18:30:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a007c83

Revert "metadata/install-qa-check.d: swap libltdl check to 'has'"

This reverts commit 8226609cee46af93656676350895135dbd910793.

This ends up not matching things like "dev-libs/libltdl:0" and breaks
(false positive) on e.g. imagemagick.

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

 metadata/install-qa-check.d/60libtool-la | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/metadata/install-qa-check.d/60libtool-la 
b/metadata/install-qa-check.d/60libtool-la
index 6a1af9ce5a64..fd21ec8406d3 100644
--- a/metadata/install-qa-check.d/60libtool-la
+++ b/metadata/install-qa-check.d/60libtool-la
@@ -11,7 +11,7 @@ libtool_la_check() {
local files=$(find "${ED}"/usr/lib* -name '*.la' -print 2>/dev/null)
[[ -n "${files[@]}" ]] || return
 
-   if has "dev-libs/libltdl" ${RDEPEND}; then
+   if grep -q "dev-libs/libltdl" <<<${RDEPEND}; then
# Nothing to do here
return
fi



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-04-19 Thread Sam James
commit: 3f2e678f952321df4e643a8db597f919480c7339
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 19 18:31:03 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 19 18:31:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f2e678f

metadata/install-qa-check.d: clarify QA warning

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

 metadata/install-qa-check.d/60libtool-la | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/metadata/install-qa-check.d/60libtool-la 
b/metadata/install-qa-check.d/60libtool-la
index fd21ec8406d3..a313f785cad2 100644
--- a/metadata/install-qa-check.d/60libtool-la
+++ b/metadata/install-qa-check.d/60libtool-la
@@ -34,7 +34,7 @@ libtool_la_check() {
done
 
if [[ -n "${bad_files[@]}" ]] ; then
-   eqawarn "QA Notice: Installing libtool files (.la) without 
corresponding libraries!"
+   eqawarn "QA Notice: Installing libtool files (.la) without 
corresponding static libraries!"
eqatag -v libtool-la.unnecessary "${bad_files[@]#${D}}"
fi
 }



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-04-17 Thread Sam James
commit: 8226609cee46af93656676350895135dbd910793
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 17 14:20:19 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 17 14:20:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8226609c

metadata/install-qa-check.d: swap libltdl check to 'has'

It's a bit cleaner and will hopefully mean we don't catch a hypothetical
libltdl2. Not too stressed over such a possibility anyway.

Thanks-to: michael Orlitzky  gentoo.org>
Signed-off-by: Sam James  gentoo.org>

 metadata/install-qa-check.d/60libtool-la | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/metadata/install-qa-check.d/60libtool-la 
b/metadata/install-qa-check.d/60libtool-la
index fd21ec8406d3..6a1af9ce5a64 100644
--- a/metadata/install-qa-check.d/60libtool-la
+++ b/metadata/install-qa-check.d/60libtool-la
@@ -11,7 +11,7 @@ libtool_la_check() {
local files=$(find "${ED}"/usr/lib* -name '*.la' -print 2>/dev/null)
[[ -n "${files[@]}" ]] || return
 
-   if grep -q "dev-libs/libltdl" <<<${RDEPEND}; then
+   if has "dev-libs/libltdl" ${RDEPEND}; then
# Nothing to do here
return
fi



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-04-17 Thread Sam James
commit: e8b470885ab9d44ffe46b1078b91dcdd9714e1a1
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar  4 01:37:11 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 17 14:18:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8b47088

metadata/install-qa-check.d: add 60libtool-la (check for unnecessary .la files)

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

 metadata/install-qa-check.d/60libtool-la | 45 
 1 file changed, 45 insertions(+)

diff --git a/metadata/install-qa-check.d/60libtool-la 
b/metadata/install-qa-check.d/60libtool-la
new file mode 100644
index ..fd21ec8406d3
--- /dev/null
+++ b/metadata/install-qa-check.d/60libtool-la
@@ -0,0 +1,45 @@
+# Check if we're installing .la files unnecessarily
+# https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303
+
+libtool_la_check() {
+   if [[ ${CATEGORY}/${PN} == dev-libs/libltdl ]] ; then
+   # bug #293921
+   return
+   fi
+
+   # Bail out if there aren't any .la files being installed
+   local files=$(find "${ED}"/usr/lib* -name '*.la' -print 2>/dev/null)
+   [[ -n "${files[@]}" ]] || return
+
+   if grep -q "dev-libs/libltdl" <<<${RDEPEND}; then
+   # Nothing to do here
+   return
+   fi
+
+   # Iterate over all the .la files we are installing to verify there's
+   # a corresponding .a file - they're pointless without a corresponding
+   # static library.
+   local file
+   local dir
+   local base
+   local bad_files=()
+   for file in "${files[@]}" ; do
+   dir=$(dirname ${file})
+   base=${dir%/}
+   base=${base%.la}
+
+   if [[ ! -f ${dir}/${base}.a ]] ; then
+   bad_files+=( ${file} )
+   fi
+   done
+
+   if [[ -n "${bad_files[@]}" ]] ; then
+   eqawarn "QA Notice: Installing libtool files (.la) without 
corresponding libraries!"
+   eqatag -v libtool-la.unnecessary "${bad_files[@]#${D}}"
+   fi
+}
+
+libtool_la_check
+: # guarantee successful exit
+
+# vim:ft=sh



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-03-03 Thread Sam James
commit: 6cac5c86403fb7b3274ae91126b5ae98237e3535
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar  4 01:17:33 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar  4 01:21:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cac5c86

metadata/install-qa-check.d: fix 60gtk-doc-paths check for EAPI 7+

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

 metadata/install-qa-check.d/60gtk-doc-paths | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/metadata/install-qa-check.d/60gtk-doc-paths 
b/metadata/install-qa-check.d/60gtk-doc-paths
index 8c12c2604337..9f927cce8406 100644
--- a/metadata/install-qa-check.d/60gtk-doc-paths
+++ b/metadata/install-qa-check.d/60gtk-doc-paths
@@ -1,16 +1,16 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # QA check: ensure that gtk-doc files are installed in /usr/share/gtk-doc
 # Maintainer: GNOME team 
 
 gtk_doc_path_check() {
-   [[ -d ${ED}usr/share/doc ]] || return
+   [[ -d ${ED%/}/usr/share/doc ]] || return
 
local found=() f
while read -d '' -r f; do
found+=( "${f%/*}" )
-   done < <(find "${ED}"usr/share/doc -name '*.devhelp*' -print0 || die)
+   done < <(find "${ED%/}"/usr/share/doc -name '*.devhelp*' -print0 || die)
 
if [[ ${found[@]} ]]; then
eqawarn
@@ -19,9 +19,9 @@ gtk_doc_path_check() {
eqawarn
eqatag -v gtk-doc-paths.invalid-path "${found[@]#${D%/}}"
eqawarn
-   eqawarn "gtk-doc documentation must always be installed into 
/usr/share/gtk-doc."
+   eqawarn "gtk-doc documentation must always be installed into 
${EPREFIX}/usr/share/gtk-doc."
eqawarn "For more details, please see the GNOME team policy 
page:"
-   eqawarn 
"https://wiki.gentoo.org/wiki/Project:GNOME/Gnome_Team_Ebuild_Policies#gtk-doc;
+   eqawarn 
"https://wiki.gentoo.org/wiki/Project:GNOME/Gnome_Team_Ebuild_Policies#Handling_gtk-doc_documentation;
eqawarn
fi
 }



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-03-03 Thread Sam James
commit: 469e6c155e9c022c72e3bcdd0c673d1b6ffa5b81
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar  4 01:20:34 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar  4 01:21:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=469e6c15

metadata/install-qa-check.d: update 60python-pyc to refer to Python guide

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

 metadata/install-qa-check.d/60python-pyc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/metadata/install-qa-check.d/60python-pyc 
b/metadata/install-qa-check.d/60python-pyc
index e112cdce348b..fee033042a3a 100644
--- a/metadata/install-qa-check.d/60python-pyc
+++ b/metadata/install-qa-check.d/60python-pyc
@@ -1,4 +1,4 @@
-# Copyright 2019-2021 Gentoo Authors
+# Copyright 2019-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # QA check: ensure that Python modules are compiled after installing
@@ -75,7 +75,7 @@ if [[ ${EAPI} == [6-7] ]]; then
eqawarn "Please either fix the upstream build system to 
byte-compile Python modules"
eqawarn "correctly, or call python_optimize after 
installing them.  For more"
eqawarn "information, see:"
-   eqawarn 
"https://wiki.gentoo.org/wiki/Project:Python/Byte_compiling;
+   eqawarn 
"https://projects.gentoo.org/python/guide/helper.html#byte-compiling-python-modules;
eqawarn
fi
}



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-02-01 Thread Mike Gilbert
commit: 924aca491d65f3857f3bb335a97e460d099ffba1
Author: Mike Gilbert  gentoo  org>
AuthorDate: Tue Feb  1 18:18:45 2022 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Tue Feb  1 18:19:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=924aca49

metadata/install-qa-check.d: drop 60distutils-use-setuptools again

Bug: https://bugs.gentoo.org/832446
Signed-off-by: Mike Gilbert  gentoo.org>

 metadata/install-qa-check.d/60distutils-use-setuptools | 2 --
 1 file changed, 2 deletions(-)

diff --git a/metadata/install-qa-check.d/60distutils-use-setuptools 
b/metadata/install-qa-check.d/60distutils-use-setuptools
deleted file mode 100644
index a2e220f43af9..
--- a/metadata/install-qa-check.d/60distutils-use-setuptools
+++ /dev/null
@@ -1,2 +0,0 @@
-# Work around bug 832446
-:



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-01-31 Thread Mike Gilbert
commit: 46380b361bcbb28aa3a20fb0e9bc8dc97711b432
Author: Mike Gilbert  gentoo  org>
AuthorDate: Tue Feb  1 01:35:13 2022 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Tue Feb  1 01:35:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46380b36

metadata/install-qa-check.d: add stub for 60distutils-use-setuptools

Work around broken rsync master script.

Bug: https://bugs.gentoo.org/832446
Signed-off-by: Mike Gilbert  gentoo.org>

 metadata/install-qa-check.d/60distutils-use-setuptools | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/metadata/install-qa-check.d/60distutils-use-setuptools 
b/metadata/install-qa-check.d/60distutils-use-setuptools
new file mode 100644
index ..a2e220f43af9
--- /dev/null
+++ b/metadata/install-qa-check.d/60distutils-use-setuptools
@@ -0,0 +1,2 @@
+# Work around bug 832446
+:



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2022-01-16 Thread Michał Górny
commit: f344326fa3c3653d85acf12bf053bfd98f354c56
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jan 16 09:39:03 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jan 16 09:40:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f344326f

install-qa-check.d: Remove 60distutils-use-setuptools

Remove the DISTUTILS_USE_SETUPTOOLS correctness check that is misfiring
once again (with setuptools-60+).  All the special cases it was supposed
to detect are no longer relevant, and the upcoming PEP 517 mode
deprecates DUS entirely.

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

 .../install-qa-check.d/60distutils-use-setuptools  | 97 --
 1 file changed, 97 deletions(-)

diff --git a/metadata/install-qa-check.d/60distutils-use-setuptools 
b/metadata/install-qa-check.d/60distutils-use-setuptools
deleted file mode 100644
index a7905c3f0b2f..
--- a/metadata/install-qa-check.d/60distutils-use-setuptools
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# QA check: verify correctness of DISTUTILS_USE_SETUPTOOLS
-# Maintainer: Python project 
-
-distutils_use_setuptools_check() {
-   # applicable only to ebuilds inheriting distutils-r1
-   [[ ${_DISTUTILS_R1} ]] || return
-   # 'manual' means no checking
-   [[ ${DISTUTILS_USE_SETUPTOOLS} == manual ]] && return
-   # pyproject.toml is verified by using it
-   [[ ${DISTUTILS_USE_SETUPTOOLS} == pyproject.toml ]] && return
-
-   # setuptools dep is not set if distutils is optional
-   if [[ ${DISTUTILS_OPTIONAL} ]]; then
-   if [[ ${DISTUTILS_USE_SETUPTOOLS} != bdepend ]]; then
-   eerror "QA Notice: DISTUTILS_USE_SETUPTOOLS is not used 
when DISTUTILS_OPTIONAL"
-   eerror "is enabled."
-   fi
-   return
-   fi
-
-   local expected=()
-   for impl in "${_PYTHON_SUPPORTED_IMPLS[@]}"; do
-   local EPYTHON PYTHON
-   _python_export "${impl}" EPYTHON PYTHON
-   [[ -x ${PYTHON} ]] || continue
-   local sitedir=${D}$(python_get_sitedir)
-   if [[ -d ${sitedir} ]]; then
-   local egg new_expected
-   while read -d $'\0' -r egg; do
-   if [[ -f ${egg} ]]; then
-   # if .egg-info is a file, it's plain 
distutils
-   new_expected=no
-   elif [[ -f ${egg}/requires.txt ]] &&
-   grep -q -s '^setuptools' \
-   <(sed -e '/^\[/,$d' 
"${egg}"/requires.txt)
-   then
-   # explicit *unconditional* rdepend in 
package metadata
-   new_expected=rdepend
-   elif grep -q -s '\[\(console\|gui\)_scripts\]' \
-   "${egg}"/entry_points.txt
-   then
-   new_expected=entry-point
-   else
-   new_expected=bdepend
-   fi
-
-   if ! has "${new_expected}" "${expected[@]}"; 
then
-   expected+=( "${new_expected[@]}" )
-   fi
-   done < <(find "${sitedir}" -name '*.egg-info' -print0)
-   fi
-   done
-
-   if [[ ${#expected[@]} -gt 1 ]] && has no "${expected[@]}"; then
-   # 'no' and '[rb]depend' are mutually exclusive
-   eerror "QA Notice: The package seems to have used distutils and 
setuptools"
-   eerror "simultaneously"
-   eerror ""
-   eerror "This could mean the package has bad conditions:"
-   eerror 
"https://dev.gentoo.org/~mgorny/python-guide/distutils.html#conditional-distutils-setuptools-use-in-packages;
-   eerror "Please report a bug about this and CC python@"
-   else
-   # if we did not find anything, also assume 'no' is desired,
-   # we do not want the setuptools dep
-   [[ ${#expected[@]} -eq 0 ]] && expected=( no )
-   # *+rdepend=rdepend
-   has rdepend "${expected[@]}" && expected=( rdepend )
-   # NB: note that expected is overwritten above, so this implies 
!rdepend
-   # if the package is using entry points, modern versions of 
setuptools
-   # use built-in importlib.metadata module, so no rdep needed 
anymore
-   # NB2: this is incorrect for pypy3.7 but we ignore this for the 
time
-   # being
-   has entry-point 

[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2021-08-18 Thread Sam James
commit: c6fc517e4bc5649e01af9d10a445338805a0cdfc
Author: Sam James  gentoo  org>
AuthorDate: Thu Aug 19 01:34:11 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Aug 19 01:34:55 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6fc517e

metadata/install-qa-check.d: skip some checks when TMPFILES_OPTIONAL is set

This is a good enough proxy for "this package has a complicated
relationship with tmpfiles" and replaces the hardcoded list of
exemptions.

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

 metadata/install-qa-check.d/60tmpfiles-paths | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/metadata/install-qa-check.d/60tmpfiles-paths 
b/metadata/install-qa-check.d/60tmpfiles-paths
index aa666dfb7ce..1d46cab6ecc 100644
--- a/metadata/install-qa-check.d/60tmpfiles-paths
+++ b/metadata/install-qa-check.d/60tmpfiles-paths
@@ -28,12 +28,12 @@ tmpfiles_check() {
# We're now going to check for whether we install files to 
/usr/lib/tmpfiles.d without
# inheriting the eclass (weak catch for ebuilds not calling 
tmpfiles_process in pkg_postinst)
 
-   # It's okay for some packages to do this because of circular 
dependencies and such
-   # See: 
https://archives.gentoo.org/gentoo-dev/message/0a96793036a4fdd9ac311a46950d7e7b
-   # TODO: Standardize some way of allowing ebuilds to opt-out of checks 
like this
-   local package=${CATEGORY}/${PN}
-
-   if [[ ${package} == "sys-apps/systemd" || ${package} == "sys-libs/pam" 
]] ; then
+   if [[ -n ${TMPFILES_OPTIONAL} ]] ; then
+   # While imperfect, using ${TMPFILES_OPTIONAL} is good enough to 
allow opting out
+   # for e.g. sys-apps/portage, sys-apps/systemd, sys-libs/pam, 
etc. We may want
+   # a better/more standardised way to opt out from QA checks in 
future.
+   # It's okay for some packages to do this because of circular 
dependencies and such
+   # See: 
https://archives.gentoo.org/gentoo-dev/message/0a96793036a4fdd9ac311a46950d7e7b
return
fi
 



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2021-08-15 Thread Sam James
commit: f653e0b5ff5620e852e5fbbd23d62fa3577f2a7d
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Fri Aug 13 01:52:38 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 16 02:12:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f653e0b5

metadata/install-qa-check.d: add check for missing tmpfiles_process call

See: 
https://archives.gentoo.org/gentoo-dev/message/7bdfdc9a7560fd07436defd0253af0b8
Signed-off-by: Georgy Yakovlev  gentoo.org>
Signed-off-by: Sam James  gentoo.org>

 metadata/install-qa-check.d/60tmpfiles-paths | 34 
 1 file changed, 24 insertions(+), 10 deletions(-)

diff --git a/metadata/install-qa-check.d/60tmpfiles-paths 
b/metadata/install-qa-check.d/60tmpfiles-paths
index 81286de584a..aa666dfb7ce 100644
--- a/metadata/install-qa-check.d/60tmpfiles-paths
+++ b/metadata/install-qa-check.d/60tmpfiles-paths
@@ -3,11 +3,14 @@
 
 # QA check: ensure that packages installing tmpfiles configuration inherit the 
eclass
 # Maintainer: Sam James 
+# Maintainer: Georgy Yakovlev 
 
 # Implements two checks:
 # 1) Installation to /etc/tmpfiles.d (which is a user-customization location);
 # 2) Installation of any tmpfiles to /usr/lib/tmpfiles.d without inheriting 
the eclass
-#(needed for tmpfiles_process in pkg_postinst)
+#(needed for tmpfiles_process in pkg_postinst);
+# 3) Check for installation of tmpfiles without calling tmpfiles_process in
+#pkg_postinst.
 tmpfiles_check() {
# Check 1
# Scan image for files in /etc/tmpfiles.d which is a forbidden location
@@ -17,30 +20,41 @@ tmpfiles_check() {
shopt -u nullglob
 
if [[ ${#files[@]} -gt 0 ]]; then
-   eqawarn "QA Notice: files installed to /etc/tmpfiles.d"
-   eqawarn "tmpfiles configuration files must be installed by 
ebuilds /usr/lib/tmpfiles.d!"
+   eqawarn "QA Notice: files installed to /etc/tmpfiles.d found"
+   eqawarn "tmpfiles configuration files supplied by ebuilds must 
be installed to /usr/lib/tmpfiles.d"
fi
 
# Check 2
# We're now going to check for whether we install files to 
/usr/lib/tmpfiles.d without
# inheriting the eclass (weak catch for ebuilds not calling 
tmpfiles_process in pkg_postinst)
 
-   # No need to carry on if we're inheriting the eclass
-   if has tmpfiles ${INHERITED} ; then
-   return
-   fi
-
# It's okay for some packages to do this because of circular 
dependencies and such
# See: 
https://archives.gentoo.org/gentoo-dev/message/0a96793036a4fdd9ac311a46950d7e7b
# TODO: Standardize some way of allowing ebuilds to opt-out of checks 
like this
local package=${CATEGORY}/${PN}
+
if [[ ${package} == "sys-apps/systemd" || ${package} == "sys-libs/pam" 
]] ; then
return
fi
 
if [[ -d "${ED}"/usr/lib/tmpfiles.d/ ]] ; then
-   eqawarn "QA Notice: package is installing tmpfiles without 
inheriting tmpfiles.eclass!"
-   eqawarn "Packages must inherit tmpfiles.eclass then call 
tmpfiles_process in pkg_postinst."
+   if ! has tmpfiles ${INHERITED} ; then
+   eqawarn "QA Notice: package is installing tmpfiles 
without inheriting tmpfiles.eclass!"
+   eqawarn "Packages must inherit tmpfiles.eclass then 
call tmpfiles_process in pkg_postinst."
+   return
+   fi
+
+   # Check 3
+   # Check whether we're installing tmpfiles without explicitly
+   # calling tmpfiles_process in pkg_postinst, but we have 
inherited
+   # the eclass.
+   # Small risk of false positives if called indirectly.
+   # See: 
https://archives.gentoo.org/gentoo-dev/message/7bdfdc9a7560fd07436defd0253af0b8
+   local pkg_postinst_body="$(declare -fp pkg_postinst 2>&1)"
+   if [[ ! ${pkg_postinst_body} == *tmpfiles_process* ]] ; then
+   eqawarn "QA Notice: package is installing tmpfiles 
without calling"
+   eqawarn "tmpfiles_process in pkg_postinst phase"
+   fi
fi
 }
 



  1   2   >