[gentoo-dev] Initial review: registration for text/vnd.gentoo.manifest media type

2022-09-07 Thread Michał Górny
Additional information: Deprecated alias names for this type: none Magic number(s): none File extension(s): none, the file is commonly named "Manifest" Macintosh file type code(s): none Person & email address to contact for further information: Michał Górny Intended usage: COMMON Rest

Re: [gentoo-dev] Registering media types for Gentoo files

2022-09-06 Thread Michał Górny
On Tue, 2022-09-06 at 12:18 +0200, Florian Schmaus wrote: > On 06.09.22 11:33, Michał Górny wrote: > > Hi, everyone. > > > > Since we've been standardizing some things in Gentoo lately, I was > > thinking we could try to get some media types registered with IANA.

Re: [gentoo-dev] Registering media types for Gentoo files

2022-09-06 Thread Michał Górny
On Tue, 2022-09-06 at 10:40 +0100, Roy Bamford wrote: > On 2022.09.06 10:33, Michał Górny wrote: > > Hi, everyone. > > > > Since we've been standardizing some things in Gentoo lately, I was > > thinking we could try to get some media types registered with IANA. > >

[gentoo-dev] Registering media types for Gentoo files

2022-09-06 Thread Michał Górny
of this. Perhaps ebuilds and eclasses would also qualify for registration. WDYT? [1] https://www.gentoo.org/glep/glep-0074.html [2] https://www.gentoo.org/glep/glep-0078.html -- Best regards, Michał Górny

[gentoo-dev] [PATCH] python-utils-r1.eclass: Pass "-p no:xvfb" in epytest

2022-09-05 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 5 + 1 file changed, 5 insertions(+) GitHub PR (with package updates): diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 89013591c31b..7a5f84bd561e 100644 --- a/eclass/python-utils-r1.eclass

Re: [gentoo-dev] Last rites: dev-python/flask-security & its deps

2022-08-30 Thread Michał Górny
ace it. [1] https://github.com/crossbario/autobahn-python/pull/1573/files [2] https://github.com/Flask-Middleware/flask-security/pull/623/files -- Best regards, Michał Górny

[gentoo-dev] Last rites: dev-python/flask-security & its deps

2022-08-30 Thread Michał Górny
# Michał Górny (2022-08-30) # Flask-Security-Too is a package with high maintenance cost # and no revdeps in ::gentoo.  The next version bump (once more) # introduces more dependencies. # # The remaining listed packages are used exclusively by this package # (or its tests).  If you find one

Re: [gentoo-dev] [RFC] Encouraging using hardening options in systemd units

2022-08-25 Thread Michał Górny
s. > > Wouldn't the proper place for overrides installed by a distributions > package manager be > > /usr/lib/systemd/system/miniflux.service.d/gentoo.conf > These files are meant to be modifiable by the sysadmin, so they don't belong in /usr. -- Best regards, Michał Górny

Re: [gentoo-dev] new virtual for zig

2022-08-16 Thread Michał Górny
on't exactly mind having it added but if it's just one package, perhaps it'd be better to start with a simple || dep and see how things develop? -- Best regards, Michał Górny

[gentoo-dev] Last rites: dev-libs/libdivsufsort

2022-08-11 Thread Michał Górny
# Michał Górny (2022-08-11) # Niche library with no revdeps left.  Last commit in 2015. # Removal on 2022-09-10.  Bug #864889. dev-libs/libdivsufsort -- Best regards, Michał Górny

[gentoo-dev] [PATCH 11/11] python-utils-r1.eclass: Sterilize pytest-sugar plugin

2022-07-29 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index b793a1f13e0f..89013591c31b 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass

[gentoo-dev] [PATCH 10/11] dev-python/pygobject: Call python_optimize explicitly

2022-07-29 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-python/pygobject/pygobject-3.42.2.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/pygobject/pygobject-3.42.2.ebuild b/dev-python/pygobject/pygobject-3.42.2.ebuild index 217ae21f2c4a..d411290d7520 100644 --- a/dev-python/pygobject

[gentoo-dev] [PATCH 09/11] net-wireless/blueman: Invoke eautomake to fix py-compile script

2022-07-29 Thread Michał Górny
Signed-off-by: Michał Górny --- net-wireless/blueman/blueman-2.3.1.ebuild | 2 +- net-wireless/blueman/blueman-.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net-wireless/blueman/blueman-2.3.1.ebuild b/net-wireless/blueman/blueman-2.3.1.ebuild index

[gentoo-dev] [PATCH 08/11] dev-python/tomli: Call python_optimize explicitly

2022-07-29 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-python/tomli/tomli-2.0.1-r1.ebuild | 5 + 1 file changed, 5 insertions(+) diff --git a/dev-python/tomli/tomli-2.0.1-r1.ebuild b/dev-python/tomli/tomli-2.0.1-r1.ebuild index f24193c0c9fe..4a4c0bc1ea17 100644 --- a/dev-python/tomli/tomli-2.0.1-r1.ebuild

[gentoo-dev] [PATCH 07/11] dev-python/installer: Call python_optimize explicitly

2022-07-29 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-python/installer/installer-0.5.1-r1.ebuild | 5 + 1 file changed, 5 insertions(+) diff --git a/dev-python/installer/installer-0.5.1-r1.ebuild b/dev-python/installer/installer-0.5.1-r1.ebuild index a29b236242ca..39b7336c9b89 100644 --- a/dev-python

[gentoo-dev] [PATCH 06/11] distutils-r1.eclass: Let gpep517 compile bytecode when 9+ is used

2022-07-29 Thread Michał Górny
er, this mode is used only by a handful of ebuilds, so if any of them needs an explicit python_optimize call, we can quickly fix them. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 36 ++-- 1 file changed, 26 insertions(+), 10 deletions(-) diff -

[gentoo-dev] [PATCH 05/11] distutils-r1.eclass: Pass EPREFIX to addpredict

2022-07-29 Thread Michał Górny
Pointed out by Arfrever. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index e4ef1919bc7d..495eead1d5fd 100644 --- a/eclass/distutils-r1.eclass +++ b

[gentoo-dev] [PATCH 04/11] distutils-r1.eclass: Bump dev-python/sip dependency

2022-07-29 Thread Michał Górny
Bug: https://bugs.gentoo.org/851840 Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 85a5c8496d49..e4ef1919bc7d 100644 --- a/eclass/distutils-r1.eclass

[gentoo-dev] [PATCH 03/11] install-qa-check.d: Rewrite 60python-pyc to use gpep517

2022-07-29 Thread Michał Górny
Signed-off-by: Michał Górny --- 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

[gentoo-dev] [PATCH 02/11] distutils-r1.eclass: Require gpep517 >= 8

2022-07-29 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 9909ba70178c..85a5c8496d49 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass

[gentoo-dev] [PATCH 01/11] distutils-r1.eclass: Update pyproject.toml advice for PEP517 mode

2022-07-29 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index e64eedec5fd3..9909ba70178c 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass

[gentoo-dev] [PATCH 00/11] distutils-r1.eclass: Support for gpep517-9+ --optimize + minor changes

2022-07-29 Thread Michał Górny
t impacted performance *a lot*. The other changes include a fix for obsolete pyproject.toml recommendation, the usual build system minimal version updates, disabling pytest-sugar plugin in epytest (that makes test output awful) and fixing EPREFIX in addpredict invocations. Michał Górny (11): distutils

Re: [gentoo-dev] Rust is here to eat your Pythonz

2022-07-27 Thread Michał Górny
On Wed, 2022-07-27 at 12:52 +0200, Fabian Groffen wrote: > On 26-07-2022 08:42:57 +0200, Michał Górny wrote: > > Hi, everyone. > > > > Just a quick FYI: since Rust is going to be marked stable on the last > > architecture (sparc) that it's going to support in Gento

[gentoo-dev] [PATCH 6/6] virtualx.eclass: Do not disable sandbox

2022-07-27 Thread Michał Górny
The code responsible for disabling sandbox dates back to 2002 and does not include any explanation. Let's try if we still need it. Signed-off-by: Michał Górny --- eclass/virtualx.eclass | 7 --- 1 file changed, 7 deletions(-) diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass

[gentoo-dev] [PATCH 5/6] virtualx.eclass: Let Xvfb figure out the free DISPLAY

2022-07-27 Thread Michał Górny
Replace the antiquated search mechanism for a free DISPLAY with Xvfb's -displayfd option that makes Xvfb choose one itself and print it to given fd. Signed-off-by: Michał Górny --- eclass/virtualx.eclass | 62 ++ 1 file changed, 20 insertions(+), 42

[gentoo-dev] [PATCH 4/6] virtualx.eclass: Inline XVFB

2022-07-27 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/virtualx.eclass | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass index 05b89e814a42..d1c05e20b246 100644 --- a/eclass/virtualx.eclass +++ b/eclass/virtualx.eclass @@ -108,9

[gentoo-dev] [PATCH 3/6] virtualx.eclass: Remove unused XHOST

2022-07-27 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/virtualx.eclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass index d7b82e12cdd5..05b89e814a42 100644 --- a/eclass/virtualx.eclass +++ b/eclass/virtualx.eclass @@ -108,10 +108,9

[gentoo-dev] [PATCH 2/6] virtualx.eclass: Pass xvfbargs as an array

2022-07-27 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/virtualx.eclass | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass index 5c4b39164cff..d7b82e12cdd5 100644 --- a/eclass/virtualx.eclass +++ b/eclass/virtualx.eclass @@ -109,7

[gentoo-dev] [PATCH 1/6] virtualx.eclass: Add quoting to workaround vim syntax hl bug

2022-07-27 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/virtualx.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass index b7a25c897b4a..5c4b39164cff 100644 --- a/eclass/virtualx.eclass +++ b/eclass/virtualx.eclass @@ -53,7 +53,7 @@ case

[gentoo-dev] [PATCH 0/6] virtualx.eclass: Use Xvfb -displayfd ... + cleanup

2022-07-27 Thread Michał Górny
, Xvfb works just fine without it. Michał Górny (6): virtualx.eclass: Add quoting to workaround vim syntax hl bug virtualx.eclass: Pass xvfbargs as an array virtualx.eclass: Remove unused XHOST virtualx.eclass: Inline XVFB virtualx.eclass: Let Xvfb figure out the free DISPLAY

[gentoo-dev] Rust is here to eat your Pythonz

2022-07-26 Thread Michał Górny
. -- Best regards, Michał Górny

[gentoo-dev] Last rites: dev-python/aioredis

2022-07-24 Thread Michał Górny
# Michał Górny (2022-07-25) # aioredis has been integrated in >=dev-python/redis-py-4.2.0. # No revdeps. # Removal on 2022-08-24.  Bug #860840. dev-python/aioredis -- Best regards, Michał Górny

Re: [gentoo-dev] [PATCH data/dtd] metadata.dtd: Add nimble remote-id type

2022-07-15 Thread Michał Górny
pkgcheck > - soko (packages.gentoo.org) > - iwdevtools > - nxml-gentoo-schemas (for Emacs) > > Anything else? > > Maybe we should also list them on the wiki page, so we don't forget? Let's add adding them to the wiki page to the TODO, so we don't forget ;-). -- Best regards, Michał Górny

Re: [gentoo-dev] [GLEP78][re-post] Updating specification r3

2022-07-14 Thread Michał Górny
insertions(+), 18 deletions(-) > > diff --git a/glep-0078.rst b/glep-0078.rst > index 1f7cd9b..82c74c8 100644 > --- a/glep-0078.rst > +++ b/glep-0078.rst > @@ -2,12 +2,13 @@ > GLEP: 78 > Title: Gentoo binary package container format > Author: Michał Górny > +

Re: [gentoo-dev] [PATCH data/dtd] metadata.dtd: Add nimble remote-id type

2022-07-12 Thread Michał Górny
adds support for verifying these ids. This should be pretty easy to add based on existing entries. -- Best regards, Michał Górny

Re: [gentoo-dev] [PATCH] glep-0076: Require real name instead of legal name

2022-07-12 Thread Michał Górny
real name as a natural person, i.e., the name that > +you would use to present yourself to your colleagues. > This is insensitive to people who don't have any colleagues. -- Best regards, Michał Górny

Re: [gentoo-dev] [PATCH v2] python-utils-r1.eclass: avoid nested ebegin calls

2022-07-11 Thread Michał Górny
gt; + if python_check_deps; then > + einfo " python_check_deps succeeded" > + else > + einfo " python_check_deps failed" > + fi > } > > # @FUNCTION: python_has_version WFM. Please don't push it yet, I'll ask ionen to add it on top of his patchset for a single merge. -- Best regards, Michał Górny

Re: [gentoo-dev] [PATCH] python-utils-r1.eclass: avoid nested ebegin calls

2022-07-11 Thread Michał Górny
On Mon, 2022-07-11 at 07:36 -0400, Mike Gilbert wrote: > On Mon, Jul 11, 2022 at 3:04 AM Michał Górny wrote: > > > > On Sun, 2022-07-10 at 23:53 -0400, Mike Gilbert wrote: > > > It's common for python_check_deps to call python_has_version, which > > > calls ebegi

Re: [gentoo-dev] [PATCH] python-utils-r1.eclass: avoid nested ebegin calls

2022-07-11 Thread Michał Górny
local PYTHON_USEDEP="python_targets_${impl}(-)" > local PYTHON_SINGLE_USEDEP="python_single_target_${impl}(-)" > - ebegin " python_check_deps" > + einfo " python_check_deps" > python_check_deps > - eend ${?} > } > > # @FUNCTION: python_has_version What's the harm in nesting them? -- Best regards, Michał Górny

[gentoo-dev] Last rites: dev-python/pydispatcher

2022-07-10 Thread Michał Górny
# Michał Górny (2022-07-10) # The original package was discontinued in 2015.  This is a fork that # lived for two months in 2017, and is not name-compatible with # the original.  The last revdep was removed in 2018. # Removal on 2022-08-09.  Bug #857252. dev-python/pydispatcher -- Best regards

Re: [gentoo-dev] proposal

2022-07-06 Thread Michał Górny
be able to learn from them and do better next time. This also implies package maintainers learning that they're not the only people who will ever touch the package in question and starting to document the pitfalls. -- Best regards, Michał Górny

[gentoo-dev] Last rites: dev-python/geoip-python

2022-07-02 Thread Michał Górny
# Michał Górny (2022-07-02) # Last release in 2014.  Archived upstream, and superseded by GeoIP2 # (not packaged).  There is only one revdep (net-p2p/deluge) for which # it is optional. # Removal on 2022-08-01.  Bug #855737. dev-python/geoip-python -- Best regards, Michał Górny

[gentoo-dev] Project:Apache is now without a member!

2022-06-30 Thread Michał Górny
] https://bugs.gentoo.org/buglist.cgi?quicksearch=assignee%3Aapache-bugs%40gentoo.org [3] https://bugs.gentoo.org/buglist.cgi?quicksearch=cc%3Aapache-bugs%40gentoo.org -- Best regards, Michał Górny

Re: [gentoo-dev] [PATCH news] 2022-06-26-mu-corruption: new entry

2022-06-26 Thread Michał Górny
\ Would be nice to explain what the expression does in human way. Also, I think using `sed -E` would make this more readable. > + > rename.sh > + # review rename.sh > +sh rename.sh > + > +Upstream issue: https://github.com/djcb/mu/issues/2268 -- Best regards, Michał Górny

[gentoo-dev] [PATCH 6/6] profiles: Introduce a dedicated "feature" profile for no Rust

2022-06-19 Thread Michał Górny
Signed-off-by: Michał Górny --- profiles/arch/alpha/package.use.mask | 8 profiles/arch/alpha/parent| 1 + profiles/arch/arm/armv4/package.mask | 28 --- profiles/arch/arm/armv4/package.use.mask | 11 - profiles/arch/arm/armv4/parent

[gentoo-dev] [PATCH 5/6] net-p2p/deluge: Dekeyword ~sparc due to twisted[crypt] dep

2022-06-19 Thread Michał Górny
Signed-off-by: Michał Górny --- net-p2p/deluge/deluge-2.0.5-r1.ebuild | 2 +- net-p2p/deluge/deluge-.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net-p2p/deluge/deluge-2.0.5-r1.ebuild b/net-p2p/deluge/deluge-2.0.5-r1.ebuild index 087d6c65dbd4

[gentoo-dev] [PATCH 4/6] profiles/arch/s390: Move s390-specific stuff to subprofile

2022-06-19 Thread Michał Górny
Rather than setting stuff specific to not-x s390 in the top profile and undoing it for s390x, move it to the new subprofile. Signed-off-by: Michał Górny --- profiles/arch/s390/make.defaults | 15 +-- profiles/arch/s390/s390/make.defaults | 16

[gentoo-dev] [PATCH 2/6] profiles/arch/s390: Introduce a s390 sub-profile (NFC)

2022-06-19 Thread Michał Górny
Signed-off-by: Michał Górny --- profiles/arch/s390/s390/eapi | 1 + profiles/arch/s390/s390/parent | 1 + profiles/default/linux/s390/parent | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 profiles/arch/s390/s390/eapi create mode 100644 profiles/arch/s390

[gentoo-dev] [PATCH 3/6] profiles/arch/s390: Make s390 inherit from top s390 profile (NFC)

2022-06-19 Thread Michał Górny
This effectively moves the explicit top profile parenting from default/linux tree straight into arch tree. Signed-off-by: Michał Górny --- profiles/arch/s390/s390x/parent | 1 + profiles/default/linux/s390/17.0/s390x/parent | 1 - 2 files changed, 1 insertion(+), 1 deletion

[gentoo-dev] [PATCH 1/6] profiles: Make s390x 17.0 profiles independent of s390 (NFC)

2022-06-19 Thread Michał Górny
Alter the s390x 17.0 profile to include all base profiles directly rather than via the parent s390 profile. This does not change anything yet but paves the way for making the two profiles more independent. Signed-off-by: Michał Górny --- profiles/default/linux/s390/17.0/s390x/parent | 5

[gentoo-dev] [PATCH 0/6] s390 restructuring + common mixin for arches without Rust

2022-06-19 Thread Michał Górny
com/gentoo/gentoo/pull/25951 -- Best regards, Michał Górny Michał Górny (6): profiles: Make s390x 17.0 profiles independent of s390 (NFC) profiles/arch/s390: Introduce a s390 sub-profile (NFC) profiles/arch/s390: Make s390 inherit from top s390 profile (NFC) profiles/arch/s390: Move s39

Re: [gentoo-dev] Re: Proposal to undeprecate EGO_SUM

2022-06-17 Thread Michał Górny
On Wed, 2022-06-15 at 07:53 +0200, Michał Górny wrote: > On Tue, 2022-06-14 at 19:03 +0200, Florian Schmaus wrote: > > On 14.06.22 18:33, Holger Hoffstätte wrote: > > > So my idea here is: instead of chucking EGO_SUM (automatically > > > generated declarative dependency

Re: [gentoo-dev] Re: Proposal to undeprecate EGO_SUM

2022-06-14 Thread Michał Górny
ownload the individual distfiles into > DISTDIR, where an, e.g., the go eclass can process them further within > the constraints of the security sandbox. > Anything that involves breaking the Portage plan-depgraph / fetch separately would require major architectural changes, so can be rejected immediately as "not going to be implemented in our lifetimes". -- Best regards, Michał Górny

Re: [gentoo-dev] Proposal to undeprecate EGO_SUM

2022-06-14 Thread Michał Górny
On Mon, 2022-06-13 at 10:29 +0200, Michał Górny wrote: > On Mon, 2022-06-13 at 09:44 +0200, Florian Schmaus wrote: > > Judging from the gentoo-dev@ mailing list discussion [1] about EGO_SUM, > > where some voices where in agreement that EGO_SUM has its raison d'être, > &

Re: [gentoo-dev] Proposal to undeprecate EGO_SUM

2022-06-13 Thread Michał Górny
On Mon, 2022-06-13 at 11:30 +0200, Florian Schmaus wrote: > On 13/06/2022 10.29, Michał Górny wrote: > > On Mon, 2022-06-13 at 09:44 +0200, Florian Schmaus wrote: > > > Judging from the gentoo-dev@ mailing list discussion [1] about EGO_SUM, > > > where some voices wher

Re: [gentoo-dev] Proposal to undeprecate EGO_SUM

2022-06-13 Thread Michał Górny
gt; I hereby propose to undeprecate EGO_SUM. > > 1: > https://archives.gentoo.org/gentoo-dev/message/1a64a8e7694c3ee11cd48a58a95f2faa > "We've been rehashing the discussion until all opposition got tired and stopped replying, then we claim everyone agrees". -- Best regards, Michał Górny

[gentoo-dev] Last rites: dev-python/editdistance-s

2022-06-13 Thread Michał Górny
# Michał Górny (2022-06-13) # Upstream has discontinued the fork.  No revdeps.  They recommend using # the original editdistance (not packaged on Gentoo) # or dev-python/ukkonen. # Removal on 2022-07-13.  Bug #851678. dev-python/editdistance-s -- Best regards, Michał Górny

Re: [gentoo-dev] [PATCH news] 2022-06-13-python3-10: new entry

2022-06-11 Thread Michał Górny
On Sat, 2022-06-11 at 12:59 +0200, Mickaël Bucas wrote: > Le ven. 10 juin 2022 à 10:10, Michał Górny a écrit : > > > +Title: Python 3.10 to become the default on 2021-07-01 > Typo : should probably be 2022 Fixed already. > > +Posted: 2022-06-13 > Why is the period be

[gentoo-dev] [PATCH v2] distutils-r1.eclass: Add assertions for bindir correctness

2022-06-10 Thread Michał Górny
the copied and the original scriptdir have the same list of files. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 30 +++--- 1 file changed, 27 insertions(+), 3 deletions(-) Changes in v2: - use diff instead of cksum -- which makes the code both simpler

[gentoo-dev] [PATCH news] 2022-06-13-python3-10: new entry

2022-06-10 Thread Michał Górny
Add a news item for the switch to Python 3.10. The text is roughly the same as for 3.9, with some minor grammar fixes. Signed-off-by: Michał Górny --- .../2022-06-13-python3-10.en.txt | 120 ++ 1 file changed, 120 insertions(+) create mode 100644 2022-06-13

[gentoo-dev] [PATCH] python-r1.eclass: Warn about direct foreach_impl calls in d-r1

2022-06-09 Thread Michał Górny
Warn if python_foreach_impl is called directly from within a phase function that is already covered by a distutils-r1 sub-phase. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 1 + eclass/python-r1.eclass| 18 ++ 2 files changed, 19 insertions(+) diff --git

[gentoo-dev] [PATCH] distutils-r1.eclass: Add assertions for bindir correctness

2022-06-09 Thread Michał Górny
the copied and the original scriptdir have the same list of files. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index f3d224a51224

[gentoo-dev] Last rites: dev-python/pyroute2, net-misc/pulseaudio-dlna

2022-06-07 Thread Michał Górny
# Michał Górny (2022-06-08) # pyroute2 is pending version bump for over 1.5 years already. # The tests are restricted.  pulseaudio-dlna is the only revdep. # # pulseaudio-dlna has not seen any upstream activity since 2017, # and has had its last release in 2016.  It does not feature a non-live

[gentoo-dev] [PATCH 7/7] dev-python/gpep517: Use DISTUTILS_USE_PEP517=no

2022-06-07 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-python/gpep517/gpep517-6-r1.ebuild | 41 ++ 1 file changed, 41 insertions(+) create mode 100644 dev-python/gpep517/gpep517-6-r1.ebuild diff --git a/dev-python/gpep517/gpep517-6-r1.ebuild b/dev-python/gpep517/gpep517-6-r1.ebuild new

[gentoo-dev] [PATCH 6/7] dev-python/installer: Use DISTUTILS_USE_PEP517=no

2022-06-07 Thread Michał Górny
Signed-off-by: Michał Górny --- .../installer/installer-0.5.1-r1.ebuild | 37 +++ 1 file changed, 37 insertions(+) create mode 100644 dev-python/installer/installer-0.5.1-r1.ebuild diff --git a/dev-python/installer/installer-0.5.1-r1.ebuild b/dev-python/installer

[gentoo-dev] [PATCH 5/7] dev-python/tomli: Use DISTUTILS_USE_PEP517=no

2022-06-07 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-python/tomli/tomli-2.0.1-r1.ebuild | 36 ++ 1 file changed, 36 insertions(+) create mode 100644 dev-python/tomli/tomli-2.0.1-r1.ebuild diff --git a/dev-python/tomli/tomli-2.0.1-r1.ebuild b/dev-python/tomli/tomli-2.0.1-r1.ebuild new

[gentoo-dev] [PATCH 4/7] distutils-r1.eclass: Introduce DISTUTILS_USE_PEP517=no mode

2022-06-07 Thread Michał Górny
he uses of python-r1. In this mode, the eclass does not add PEP 517-specific dependencies and the default python_compile() is a no-op. However, it does set dependencies, REQUIRED_USE and enables sub-phase usage (with respect to DISTUTILS_OPTIONAL). It also permits using distutils_enable_{sphinx,tests}. S

[gentoo-dev] [PATCH 3/7] distutils-r1.eclass: Move python_optimize call to post-install

2022-06-07 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 32 ++-- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 370b8bb7c6e0..9293f744c7c2 100644 --- a/eclass/distutils-r1.eclass +++ b

[gentoo-dev] [PATCH 2/7] distutils-r1.eclass: Future-proof python_install() for empty root

2022-06-07 Thread Michał Górny
Account for the possibility that ${BUILD_DIR}/install does not contain any files to merge, in preparation for DISTUTILS_USE_PEP517=no. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/eclass/distutils-r1

[gentoo-dev] [PATCH 1/7] distutils-r1.eclass: Move venv creation to post-compile

2022-06-07 Thread Michał Górny
--- eclass/distutils-r1.eclass | 65 ++ 1 file changed, 38 insertions(+), 27 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 7829e521ca7b..e5e11c75e39f 100644 --- a/eclass/distutils-r1.eclass +++

[gentoo-dev] [PATCH 0/7] distutils-r1.eclass: DISTUTILS_USE_PEP517=no, take two

2022-06-07 Thread Michał Górny
needs to be called if you override python_install and expect the merging to happen. Michał Górny (7): distutils-r1.eclass: Move venv creation to post-compile distutils-r1.eclass: Future-proof python_install() for empty root distutils-r1.eclass: Move python_optimize call to post-install

[gentoo-dev] Last rites: dev-python/pytest-flakes

2022-06-05 Thread Michał Górny
# Michał Górny (2022-06-05) # The current version in Gentoo is broken with modern pytest.  The new # version (from Dec 2021) fails tests with modern pyflakes.  No revdeps. # Removal on 2022-07-05.  Bug #834816. dev-python/pytest-flakes -- Best regards, Michał Górny

[gentoo-dev] Last rites: dev-python/polygon

2022-06-05 Thread Michał Górny
# Michał Górny (2022-06-05) # Barely any upstream activity since 2017.  The LICENSE in ebuild # is incorrect and the package bundles sources with non-free license. # No revdeps. # Removal on 2022-07-05.  Bug #849824. dev-python/polygon -- Best regards, Michał Górny

[gentoo-dev] Last rites: dev-python/mysql-connector-python

2022-06-05 Thread Michał Górny
# Michał Górny (2022-06-05) # Pending bump since January.  No Python 3.10 compat.  Tests restricted. # Uses PEP517-incompatible hacks to build.  Hard requires dev-db/mysql # (and blocks dev-db/mariad).  No revdeps in Gentoo. # Use dev-python/mysqlclient instead. # Removal on 2022-07-05.  Bug

[gentoo-dev] [PATCH 18/18] distutils-r1.eclass: Add "_trial_temp" to forbidden package names

2022-06-04 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 9536e5c466be..db5cced50952 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass

[gentoo-dev] [PATCH 17/18] distutils-r1.eclass: small docs format fixes

2022-06-04 Thread Michał Górny
From: Arthur Zamarin Signed-off-by: Arthur Zamarin --- eclass/distutils-r1.eclass | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 30f7d941f0d4..9536e5c466be 100644 --- a/eclass/distutils-r1.eclass +++

[gentoo-dev] [PATCH 16/18] python-any-r1.eclass: use python_has_version in examples

2022-06-04 Thread Michał Górny
From: Arthur Zamarin python_has_version is preferred as it gives nicer output and safer defaults, instead of has_version. --- eclass/python-any-r1.eclass | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass

[gentoo-dev] [PATCH 15/18] app-admin/gnome-abrt: Use DISTUTILS_USE_PEP517=no

2022-06-04 Thread Michał Górny
Signed-off-by: Michał Górny --- .../gnome-abrt/gnome-abrt-1.4.1-r1.ebuild | 57 +++ 1 file changed, 57 insertions(+) create mode 100644 app-admin/gnome-abrt/gnome-abrt-1.4.1-r1.ebuild diff --git a/app-admin/gnome-abrt/gnome-abrt-1.4.1-r1.ebuild b/app-admin/gnome-abrt/gnome

[gentoo-dev] [PATCH 14/18] dev-python/gpep517: Use DISTUTILS_USE_PEP517=no

2022-06-04 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-python/gpep517/gpep517-6-r1.ebuild | 41 ++ 1 file changed, 41 insertions(+) create mode 100644 dev-python/gpep517/gpep517-6-r1.ebuild diff --git a/dev-python/gpep517/gpep517-6-r1.ebuild b/dev-python/gpep517/gpep517-6-r1.ebuild new

[gentoo-dev] [PATCH 13/18] dev-python/installer: Use DISTUTILS_USE_PEP517=no

2022-06-04 Thread Michał Górny
Signed-off-by: Michał Górny --- .../installer/installer-0.5.1-r1.ebuild | 37 +++ 1 file changed, 37 insertions(+) create mode 100644 dev-python/installer/installer-0.5.1-r1.ebuild diff --git a/dev-python/installer/installer-0.5.1-r1.ebuild b/dev-python/installer

[gentoo-dev] [PATCH 12/18] dev-python/tomli: Use DISTUTILS_USE_PEP517=no

2022-06-04 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-python/tomli/tomli-2.0.1-r1.ebuild | 36 ++ 1 file changed, 36 insertions(+) create mode 100644 dev-python/tomli/tomli-2.0.1-r1.ebuild diff --git a/dev-python/tomli/tomli-2.0.1-r1.ebuild b/dev-python/tomli/tomli-2.0.1-r1.ebuild new

[gentoo-dev] [PATCH 11/18] python-utils-r1.eclass: Add explicit checks for incorrect phase

2022-06-04 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 13 + 1 file changed, 13 insertions(+) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index fd04cf374ce4..b9cf9c03caeb 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1

[gentoo-dev] [PATCH 10/18] python-utils-r1.eclass: Support python_domodule outside src_install

2022-06-04 Thread Michał Górny
Make it possible to use python_domodule() outside src_install(), in order to install files into the ${BUILD_DIR}/install tree used by distutils-r1. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 29 ++--- 1 file changed, 22 insertions(+), 7 deletions

[gentoo-dev] [PATCH 09/18] python-utils-r1.eclass: Fix typo in python_moduleinto doc

2022-06-04 Thread Michał Górny
Fix python_moduleinto doc to mention python_domodule rather than python_doscript (copy-paste error, probably). Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python

[gentoo-dev] [PATCH 08/18] distutils-r1.eclass: Introduce DISTUTILS_USE_PEP517=no mode

2022-06-04 Thread Michał Górny
ng distutils_enable_{sphinx,tests}. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 30 +- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 208bd2718cb8..30f7d941f0d4 100644 --- a

[gentoo-dev] [PATCH 07/18] distutils-r1.eclass: Move venv/merge-root logic to post-phases

2022-06-04 Thread Michał Górny
Move the PEP517 venv logic, install executable wrapping and root-merging logic all into post-phases. This will enable the ebuilds that do not use the standard phase implementations to use them. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 124

[gentoo-dev] [PATCH 06/18] distutils-r1.eclass: Make *-nspkg.pth warning fatal for EAPI 9+

2022-06-04 Thread Michał Górny
Now that we've essentially removed non-implicit namespace packages from Gentoo and setuptools upstream has deprecated their old solution, it's time to make this check fatal. Unfortunately, I did not think of it when adding PEP517 mode, so let's do that in EAPI 9. Signed-off-by: Michał Górny

[gentoo-dev] [PATCH 05/18] distutils-r1.eclass: Remove the obsolete pypy/share check

2022-06-04 Thread Michał Górny
The PyPy 'share' directory check was necessary because of the historical prefix logic that we patched in Gentoo. All modern versions of PyPy use '/usr' as sys.prefix natively, so the check is no longer needed. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 12 1 file

[gentoo-dev] [PATCH 04/18] distutils-r1.eclass: Move install QA checks to post-phase function

2022-06-04 Thread Michał Górny
Perform the install QA check (the invalid package name check) in a post- phase function. This enables it to be performed even when distutils-r1_python_install is not used. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 54 ++ 1 file changed, 31

[gentoo-dev] [PATCH 03/18] distutils-r1.eclass: Call egg-info cleanup via post-test phase

2022-06-04 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index d6fd176192de..b690f21f9159 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils

[gentoo-dev] [PATCH 02/18] distutils-r1.eclass: Support internal post-python_* phase functions

2022-06-04 Thread Michał Górny
Support running additional post-python_* phase functions for internal usage. The goal is to replace some of the inline logic in distutils-r1_python_* functions that relies on the user calling them and additional calls to python_foreach_impl. Signed-off-by: Michał Górny --- eclass/distutils-r1

[gentoo-dev] [PATCH 01/18] python-utils-r1.eclass: Strip stray *-pytest-*.pyc files in epytest

2022-06-04 Thread Michał Górny
The test suites of pytest plugins cause additional *-pytest-*.pyc files to be created. Remove them in order to prevent them from being installed alongside the package. Closes: https://bugs.gentoo.org/847235 Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 5 + 1 file changed

[gentoo-dev] [PATCH 00/18] distutils-r1.eclass D_U_PEP517=no mode & other patches

2022-06-04 Thread Michał Górny
*() functions now fail if called outside src_install() - add `_trial_temp` to disallowed top-level packages - minor doc fixes -- Best regards, Michał Górny Arthur Zamarin (2): python-any-r1.eclass: use python_has_version in examples distutils-r1.eclass: small docs format fixes Michał

Re: [gentoo-dev] [PATCH 0/2] Add esed.eclass for sed that dies if caused no changes

2022-06-02 Thread Michał Górny
ment for the most common use cases. One thing I'd love to see is a simple substitution command that would work for paths/CFLAGS on RHS without having to worry about them conflicting with the pattern delimiter. -- Best regards, Michał Górny

[gentoo-dev] Last rites: dev-python/jaraco-packaging

2022-06-02 Thread Michał Górny
# Michał Górny (2022-06-02) # The current Gentoo version requires setup.py to exist which breaks # the new versions of its revdeps.  The new upstream release is broken # by design and requires installing setuptools in a virtualenv (enjoy # pep517) to get the package's version, so fails without

[gentoo-dev] Last rites: dev-python/m2r, dev-python/sphinxcontrib-openapi

2022-05-24 Thread Michał Górny
# Michał Górny (2022-05-25) # dev-python/m2r has not seen any activity since Jun 2019 and requires # old version of dev-python/mistune.  dev-python/sphinxcontrib-openapi # has not seen any activity since Oct 2020.  Their only revdep # is dev-python/jupyter_server[doc], so let's mask the flag

Re: [gentoo-dev] Upstream remote-id types in package metadata

2022-05-22 Thread Michał Górny
e — particularly linking the provider in question and documenting the value syntax. -- Best regards, Michał Górny

[gentoo-dev] Last rites: dev-python/dicttoxml

2022-05-21 Thread Michał Górny
# Michał Górny (2022-05-21) # No commit activity since 2016.  Requires patching for Python 3.10. # No tests.  No revdeps. # Removal on 2022-06-20.  Bug #846788. dev-python/dicttoxml -- Best regards, Michał Górny

[gentoo-dev] Last rites: dev-python/flask-mongoengine, dev-python/mongoengine

2022-05-21 Thread Michał Górny
# Michał Górny (2022-05-21) # dev-python/mongoengine has had repeated test regressions, and this # time I am unable to get them anywhere close to passing.  The current # Gentoo version is over a year old.  There are no revdeps to the two # packages remaining. # Removal on 2022-06-20.  Bug #846656

[gentoo-dev] Last rites: dev-python/unicodecsv

2022-05-19 Thread Michał Górny
# Michał Górny (2022-05-19) # No upstream commits since 2015.  The project seems only relevant # to Python 2.  No revdeps left. # Removal on 2022-06-18.  Bug #846449. dev-python/unicodecsv -- Best regards, Michał Górny

<    4   5   6   7   8   9   10   11   12   13   >