[gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: app-admin/needrestart/

2020-03-08 Thread Robin H. Johnson
Can you please clarify why you removed the last stable version of
app-admin/needrestart? Repoman used to warn about this, and I think
pkgcheck does as well.

On Sun, Mar 01, 2020 at 04:12:05PM +, Craig Andrews wrote:
> commit: 50f6c4ac7c78b6c293308c84dbbeb30a5ebf1e05
> Author: Craig Andrews  gentoo  org>
> AuthorDate: Sun Mar  1 16:06:23 2020 +
> Commit: Craig Andrews  gentoo  org>
> CommitDate: Sun Mar  1 16:11:57 2020 +
> URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50f6c4ac
> 
> app-admin/needrestart: Cleanup old versions
...
> diff --git a/app-admin/needrestart/needrestart-3.3.ebuild 
> b/app-admin/needrestart/needrestart-3.3.ebuild
> deleted file mode 100644
> index 2ba6e13ba34..000
> --- a/app-admin/needrestart/needrestart-3.3.ebuild
> +++ /dev/null
> @@ -1,41 +0,0 @@
> -# Copyright 1999-2018 Gentoo Foundation
> -# Distributed under the terms of the GNU General Public License v2
> -
> -EAPI=6
> -
> -if [[ ${PV} == "" ]] ; then
> - EGIT_REPO_URI="https://github.com/liske/${PN}.git";
> - inherit git-r3
> - SRC_URI=""
> - KEYWORDS="amd64 x86"
> -else
> - SRC_URI="https://github.com/liske/${PN}/archive/v${PV}.tar.gz -> 
> ${P}.tar.gz"
> - KEYWORDS="amd64 x86"
> -fi
> -
> -DESCRIPTION="Restart daemons after library updates"
> -HOMEPAGE="https://fiasko-nw.net/~thomas/tag/needrestart.html 
> https://github.com/liske/needrestart";
> -
> -SLOT="0"
> -LICENSE="GPL-2+"
> -
> -RDEPEND="
> - >=sys-apps/sed-4.2.2
> - dev-lang/perl:=
> - dev-perl/libintl-perl
> - dev-perl/Module-Find
> - dev-perl/Module-ScanDeps
> - dev-perl/Proc-ProcessTable
> - dev-perl/Sort-Naturally
> - dev-perl/TermReadKey
> - sys-apps/init-system-helpers
> -"
> -DEPEND="${RDEPEND}
> - sys-devel/gettext
> -"
> -
> -src_install() {
> - default
> - doman man/*.1
> - dodoc -r ex
> -}
> 

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


signature.asc
Description: PGP signature


[gentoo-dev] [PATCH] fcaps.eclass: skip fcaps() on Prefix.

2020-03-08 Thread heroxbd
From: Benda Xu 

Gentoo Prefix runs with a normal user and cannot grant extra
capabilities.  Exit gracefully with a message.

Signed-off-by: Benda Xu 
---
 eclass/fcaps.eclass | 5 +
 1 file changed, 5 insertions(+)

diff --git a/eclass/fcaps.eclass b/eclass/fcaps.eclass
index 467f955f5e9a..fb0af8cbbde6 100644
--- a/eclass/fcaps.eclass
+++ b/eclass/fcaps.eclass
@@ -78,6 +78,11 @@ DEPEND="filecaps? ( sys-libs/libcap )"
 fcaps() {
debug-print-function ${FUNCNAME} "$@"
 
+   if [[ ${EUID} != 0 ]] ; then
+   einfo "Insufficient privileges to execute ${FUNCNAME}, 
skipping."
+   return 0
+   fi
+
# Process the user options first.
local owner='root'
local group='0'
-- 
2.25.0




Re: [gentoo-dev] News item: Removing ABI_X86_32 support from virtual/opencl

2020-03-08 Thread Matt Turner
On Wed, Mar 4, 2020 at 8:49 AM Marek Szuba  wrote:
>
> This will be shown as relevant to everyone who has installed
> virtual/opencl, i.e. also to people on amd64 who have NOT enabled
> abi_x86_32 for this package - but there is no way to filter news items
> by use flags, is there? Anyway, comments are welcome!

Yes, please!



[gentoo-dev] Automated Package Removal and Addition Tracker, for the week ending 2020-03-08 23:59 UTC

2020-03-08 Thread Robin H. Johnson
The attached list notes all of the packages that were added or removed
from the tree, for the week ending 2020-03-08 23:59 UTC.

Removals:
app-misc/hachoir-metadata  20200304-16:39 mgorny 
27a5ebf5fa5
app-misc/hachoir-urwid 20200304-16:39 mgorny 
50627494222
app-misc/pystopwatch   20200304-16:36 mgorny 
c1f212db2db
app-mobilephone/lightblue  20200304-16:35 mgorny 
cf180bade03
app-text/pybookreader  20200304-16:40 mgorny 
08840d3d3c0
dev-perl/Gtk2-AppIndicator 20200306-00:48 asturm 
023e7916a94
dev-python/e4u 20200304-16:40 mgorny 
66f2fd27603
dev-python/hachoir-core20200304-16:39 mgorny 
a9065d4d7b6
dev-python/hachoir-parser  20200304-16:39 mgorny 
2faaf8ac1ba
dev-python/pygtkglext  20200304-16:35 mgorny 
245ebd553c5
dev-util/gquilt20200304-16:36 mgorny 
f6d1d663207
dev-util/xesam-tools   20200304-16:35 mgorny 
8c09eb30969
games-misc/fortune-mod-calvin  20200304-16:54 mgorny 
a5727bb0b48
games-misc/fortune-mod-debilneho   20200304-16:54 mgorny 
79639f51c27
games-misc/fortune-mod-discworld   20200304-16:52 mgorny 
a12b2faed54
games-misc/fortune-mod-dubya   20200304-16:51 mgorny 
db633206770
games-misc/fortune-mod-dune20200304-16:47 mgorny 
b8e15a92f38
games-misc/fortune-mod-familyguy   20200304-16:46 mgorny 
a4e647f89f1
games-misc/fortune-mod-firefly 20200304-16:46 mgorny 
2fcfd012119
games-misc/fortune-mod-futurama20200304-16:54 mgorny 
83ff2b5b37e
games-misc/fortune-mod-hitchhiker  20200304-16:53 mgorny 
7cae4bc9b5d
games-misc/fortune-mod-homer   20200304-16:43 mgorny 
4913cfc2359
games-misc/fortune-mod-pqf 20200304-16:43 mgorny 
454946a9d9d
games-misc/fortune-mod-simpsons-chalkboard 20200304-16:53 mgorny 
9039f0f2a7f
games-misc/fortune-mod-slackware   20200304-16:43 mgorny 
fa4e3b0affe
games-misc/fortune-mod-sp-fortunes 20200304-16:42 mgorny 
10ff9dbf275
games-misc/fortune-mod-starwars20200304-16:53 mgorny 
3b6fd4d1bb7
games-misc/fortune-mod-strangelove 20200304-16:49 mgorny 
8c7471d0f7d
games-misc/fortune-mod-woody-allen-it  20200304-16:42 mgorny 
c32a2cf387b
sci-chemistry/shelx20200306-18:03 ulm
ef6fd343ead
sys-apps/man   20200307-21:54 floppym
ce370f012e2
sys-firmware/iwl6050-ucode 20200307-16:13 mpagano
65ccb37d0f4
x11-misc/googsystray   20200304-16:36 mgorny 
ffb438b9294
x11-plugins/pidgin-indicator   20200306-00:47 asturm 
3be4204def9

Additions:
acct-group/icinga  20200304-16:45 prometheanfire 
b6aa3f48b71
acct-group/icingacmd   20200304-16:46 prometheanfire 
b870c690f16
acct-group/quagga  20200308-16:25 pinkbyte   
b75ae5312b7
acct-user/icinga   20200304-16:51 prometheanfire 
d1615bb7979
acct-user/quagga   20200308-16:24 pinkbyte   
c04a59db94c
app-antivirus/fangfrisch   20200222-13:19 dilfridge  
5ac8bf8b635
dev-libs/nss-pem   20200306-14:15 anarchy
66e2f1113ae
dev-python/genson  20200304-18:00 alexxy 
62060ce5c73
dev-python/readthedocs-sphinx-ext  20200303-06:37 mgorny 
1aab4f5e665
dev-python/sphinx_selective_exclude20200308-11:50 grozin 
1d88408e4fe
dev-vcs/cli20200217-08:57 robbat2
f56f5d49049
net-misc/wget2 20200308-21:02 polynomial-c   
dc759f10b10
sci-libs/m4rie 20200306-14:52 mjo
10c3378f2ec
sys-apps/mlxup-bin 20200304-19:30 chutzpah   
fe61cae8b65
sys-libs/liburing  20200302-16:27 polynomial-c   
9398e247b56

--
Robin Hugh Johnson
Gentoo Linux Developer
E-Mail : robb...@gentoo.org
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85
Removed Packages:
sys-apps/man,removed,floppym,20200307-21:54,ce370f012e2
sys-firmware/iwl6050-ucode,removed,mpagano,20200307-16:13,65ccb37d0f4
sci-chemistry/shelx,removed,ulm,20200306-18:03,ef6fd343ead
dev-perl/Gtk2-AppIndicator,removed,asturm,20200306-00:48,023e7916a94
x11-plugins/pidgin-indicator,removed,asturm,20200306-00:47,3be4204def9
games-misc/fortune-mod-calvin,removed,mgorny,20200304-16:54,a5727bb0b48
games-misc/fortune-mod-futurama,removed,mgorny,20200304-16:54,83ff2b5b37e

Re: [gentoo-dev] [PATCH] fcaps.eclass: skip fcaps() on Prefix.

2020-03-08 Thread Mike Gilbert
On Sun, Mar 8, 2020 at 5:20 AM  wrote:
>
> From: Benda Xu 
>
> Gentoo Prefix runs with a normal user and cannot grant extra
> capabilities.  Exit gracefully with a message.
>
> Signed-off-by: Benda Xu 
> ---
>  eclass/fcaps.eclass | 5 +
>  1 file changed, 5 insertions(+)
>
> diff --git a/eclass/fcaps.eclass b/eclass/fcaps.eclass
> index 467f955f5e9a..ddc4d3ccc6d8 100644
> --- a/eclass/fcaps.eclass
> +++ b/eclass/fcaps.eclass
> @@ -78,6 +78,11 @@ DEPEND="filecaps? ( sys-libs/libcap )"
>  fcaps() {
> debug-print-function ${FUNCNAME} "$@"
>
> +   if [[ ${EUID} != 0 ]] ; then
> +   einfo "Insufficient privileges to execute ${FUNCNAME}, skip."
> +   return 0
> +   fi
> +

It seems like you are commanding the user to skip.

s/skip/skipping/



Re: [gentoo-dev] [PATCH] dev-python/metadata.xml: Clarify description

2020-03-08 Thread Michał Górny
On Sun, 2020-03-08 at 10:24 +0100, Francesco Riosa wrote:
> longdescription lang="it"
> 
> La categoria dev-python contiene pacchetti il cui scopo principale
> è fornire moduli, estensioni e bindings per Python,
> nonché strumenti e utilità per lo sviluppo nel linguaggio
> di programmazione Python.
> 

Thanks, added.

-- 
Best regards,
Michał Górny



signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] Last rites: dev-python/*, python-maintained, py3.6-only, no-revdep

2020-03-08 Thread David Seifert
On Sat, 2020-03-07 at 22:22 +0100, Ulrich Mueller wrote:
> > > > > > On Sat, 07 Mar 2020, Michał Górny wrote:
> > Surely, you can claim we could just drop them to maintainer-needed.
> > What problem does that solve?  The package would still miss 3.7 support.
> > Users will still suffer when we switch the default (if they have any
> > users, that is).  We would still have to last rite them when 3.6 is
> > gone.  What's the gain?
> > Right, let's talk about m-needed.  Over 2000 packages already and still
> > growing.  What message does *that* send to the users?
> 
> Sorry, but where have I suggested to drop these packages to m-n?
> 
> > How about the following message: the difference between Gentoo
> > and Debian stable is that Gentoo doesn't have the 'b'.
> > Finally, what message does it send to our users when developers keep
> > picking up fights like this?  You seem to disagree with my work
> > on Gentoo, and the only solution you can come up is publicly shaming me?
> > This isn't 'let's discuss a better solution' kind of mail, this is
> > 'justify yourself before me, you puny developer, how dare you do things
> > I don't like'.
> 
> This is neither a fight nor a personal issue. Also, please don't put
> words in my mouth that I haven't said and never intended to say.
> 
> Ulrich

In general, I don't the see the point of this thread. Python requires explicit
implementation enabling, and unless you're willing to help test py3.7 on py3.6-
only packages, complaining about masking packages gets us absolutely nowhere.
Propose actual solutions and step in to help and bump packages. Walk the walk,
don't just talk the talk.




Re: [gentoo-dev] [PATCH] dev-python/metadata.xml: Clarify description

2020-03-08 Thread Francesco Riosa
longdescription lang="it"

La categoria dev-python contiene pacchetti il cui scopo principale
è fornire moduli, estensioni e bindings per Python,
nonché strumenti e utilità per lo sviluppo nel linguaggio
di programmazione Python.

Il giorno dom 8 mar 2020 alle ore 09:52 Michał Górny  ha
scritto:

> Rewrite the description for dev-python category in order to clarify
> its purpose.  It has been pointed out that the previous description may
> have suggested that it is the category for *all* things written
> in Python.
>
> Signed-off-by: Michał Górny 
> ---
>  dev-python/metadata.xml | 44 +++--
>  1 file changed, 12 insertions(+), 32 deletions(-)
>
> // If you can supply translations for the remaining languages, please
> // send them my way and I'll update the patch.
>
> diff --git a/dev-python/metadata.xml b/dev-python/metadata.xml
> index ed6a813dd009..b90b8f66f45a 100644
> --- a/dev-python/metadata.xml
> +++ b/dev-python/metadata.xml
> @@ -2,41 +2,21 @@
>  http://www.gentoo.org/dtd/metadata.dtd";>
>  
> 
> -   The dev-python category contains libraries, utilities or
> -   bindings written in or for the Python programming
> language.
> +   The dev-python category contains packages whose primary
> purpose
> +   is to provide Python modules, extensions and bindings, as
> well
> +   as tools and utilities useful for development in the Python
> +   programming language.
> 
> 
> -   Die Kategorie dev-python enthält Bibliotheken und
> Werkzeuge für die
> -   Programmiersprache Python.
> -   
> -   
> -   La categoría dev-python contiene librerias y utilidades
> referentes al
> -   lenguaje de programación Python.
> -   
> -   
> -   dev-pythonカテゴリーにはPythonプログラミング言語で記述された/のために
> -   記述されたライブラリーと>ユーティリティとバインディングが含まれます。
> -   
> -   
> -   De dev-python categorie bevat bibliotheken en hulpmiddelen
> voor het
> -   gebruik van de programmeertaal Python.
> -   
> -   
> -   Nhóm dev-python chứa các thư viện và tiện ích liên quan
> -   đến ngôn ngữ lập trình Python.
> -   
> -   
> -   La categoria dev-python contiene librerie ed utilità per
> il linguaggio
> -   di programmazione Python.
> -   
> -   
> -   A categoria dev-python contém bibliotecas, utilitários e
> -   bindings escritos em ou para a linguagem de programação
> Python.
> +   Die Kategorie dev-python enthält Pakete, die hauptsächlich
> +   Module, Erweiterungen und Sprachbindungen für Python zur
> +   Verfügung stellen, sowie Werkzeuge und Dienstprogramme für
> die
> +   Entwicklung in der Programmiersprache Python
> 
> 
> -   Kategoria dev-python zawiera biblioteki, narzędzia i
> powiązania
> -   (bindings) napisane w lub stworzone do pisania w języku
> programowania
> -   Python.
> +   Kategoria dev-python zawiera paczki dostarczające przede
> +   wszystkim moduły, rozszerzenia i powiązania (bindings)
> Pythona,
> +   jak również przydatne narzędzia dla wiary programującej
> +   w Pythonie.
> 
>  
> -
> --
> 2.25.1
>
>
>


[gentoo-dev] [PATCH] fcaps.eclass: skip fcaps() on Prefix.

2020-03-08 Thread heroxbd
From: Benda Xu 

Gentoo Prefix runs with a normal user and cannot grant extra
capabilities.  Exit gracefully with a message.

Signed-off-by: Benda Xu 
---
 eclass/fcaps.eclass | 5 +
 1 file changed, 5 insertions(+)

diff --git a/eclass/fcaps.eclass b/eclass/fcaps.eclass
index 467f955f5e9a..ddc4d3ccc6d8 100644
--- a/eclass/fcaps.eclass
+++ b/eclass/fcaps.eclass
@@ -78,6 +78,11 @@ DEPEND="filecaps? ( sys-libs/libcap )"
 fcaps() {
debug-print-function ${FUNCNAME} "$@"
 
+   if [[ ${EUID} != 0 ]] ; then
+   einfo "Insufficient privileges to execute ${FUNCNAME}, skip."
+   return 0
+   fi
+
# Process the user options first.
local owner='root'
local group='0'
-- 
2.25.0




Re: [gentoo-dev] [PATCH] dev-python/metadata.xml: Clarify description

2020-03-08 Thread Ulrich Mueller
> On Sun, 08 Mar 2020, Michał Górny wrote:

> + The dev-python category contains packages whose primary purpose
> + is to provide Python modules, extensions and bindings, as well
> + as tools and utilities useful for development in the Python
> + programming language.

> [...]

> + Die Kategorie dev-python enthält Pakete, die hauptsächlich
> + Module, Erweiterungen und Sprachbindungen für Python zur
> + Verfügung stellen, sowie Werkzeuge und Dienstprogramme für die
> + Entwicklung in der Programmiersprache Python

It's my own wording, but reading it again, I think "Dienstprogramme"
doesn't quite catch it. Just say "Werkzeuge für die Entwicklung in der
Programmiersprache Python." (and put a full stop at the end).


signature.asc
Description: PGP signature


[gentoo-dev] [PATCH] dev-python/metadata.xml: Clarify description

2020-03-08 Thread Michał Górny
Rewrite the description for dev-python category in order to clarify
its purpose.  It has been pointed out that the previous description may
have suggested that it is the category for *all* things written
in Python.

Signed-off-by: Michał Górny 
---
 dev-python/metadata.xml | 44 +++--
 1 file changed, 12 insertions(+), 32 deletions(-)

// If you can supply translations for the remaining languages, please
// send them my way and I'll update the patch.

diff --git a/dev-python/metadata.xml b/dev-python/metadata.xml
index ed6a813dd009..b90b8f66f45a 100644
--- a/dev-python/metadata.xml
+++ b/dev-python/metadata.xml
@@ -2,41 +2,21 @@
 http://www.gentoo.org/dtd/metadata.dtd";>
 

-   The dev-python category contains libraries, utilities or
-   bindings written in or for the Python programming language. 
+   The dev-python category contains packages whose primary purpose
+   is to provide Python modules, extensions and bindings, as well
+   as tools and utilities useful for development in the Python
+   programming language.


-   Die Kategorie dev-python enthält Bibliotheken und Werkzeuge für 
die
-   Programmiersprache Python.
-   
-   
-   La categoría dev-python contiene librerias y utilidades 
referentes al
-   lenguaje de programación Python.
-   
-   
-   dev-pythonカテゴリーにはPythonプログラミング言語で記述された/のために
-   記述されたライブラリーと>ユーティリティとバインディングが含まれます。
-   
-   
-   De dev-python categorie bevat bibliotheken en hulpmiddelen voor 
het 
-   gebruik van de programmeertaal Python.
-   
-   
-   Nhóm dev-python chứa các thư viện và tiện ích liên quan
-   đến ngôn ngữ lập trình Python.
-   
-   
-   La categoria dev-python contiene librerie ed utilità per il 
linguaggio
-   di programmazione Python.
-   
-   
-   A categoria dev-python contém bibliotecas, utilitários e
-   bindings escritos em ou para a linguagem de programação Python.
+   Die Kategorie dev-python enthält Pakete, die hauptsächlich
+   Module, Erweiterungen und Sprachbindungen für Python zur
+   Verfügung stellen, sowie Werkzeuge und Dienstprogramme für die
+   Entwicklung in der Programmiersprache Python


-   Kategoria dev-python zawiera biblioteki, narzędzia i powiązania
-   (bindings) napisane w lub stworzone do pisania w języku 
programowania
-   Python.
+   Kategoria dev-python zawiera paczki dostarczające przede
+   wszystkim moduły, rozszerzenia i powiązania (bindings) Pythona,
+   jak również przydatne narzędzia dla wiary programującej
+   w Pythonie.

 
-
-- 
2.25.1




Re: [gentoo-dev] [PATCH] fcaps.eclass: disable fcaps() on Prefix.

2020-03-08 Thread Ulrich Mueller
> On Sun, 08 Mar 2020, heroxbd  wrote:
>   debug-print-function ${FUNCNAME} "$@"
>  
> + if [[ ${EUID} != 0 ]] ; then
> + einfo "Insufficient privileges to execute ${FUNCNAME[0]}"

Just a small comment on style, maybe try to stay consistent with the
rest of the eclass? That is, either have just FUNCNAME here, or change
it to FUNCNAME[0] everywhere else.

Ulrich


signature.asc
Description: PGP signature