Re: [gentoo-portage-dev] Normaliser function for distfiles

2022-05-17 Thread Michał Górny
you can do a `--fetchonly` with no extra packages necessary. The "normalizer" wouldn't be trivial either. In the end, we're talking about getting 100% consistent results on all platforms, over a reasonably long timeframe. -- Best regards, Michał Górny

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

2022-05-16 Thread Michał Górny
# Michał Górny (2022-05-16) # This was only added for dev-python/nptyping, and nptyping-2.0.0 # no longer uses it.  No activity since Aug 2021. # Removal on 2022-06-15.  Bug #837299. dev-python/typish -- Best regards, Michał Górny

Re: [gentoo-dev] [PATCH v2 4/5] qmail.eclass: egrep -> grep -E

2022-05-15 Thread Michał Górny
${line}" "${f}" || echo "${line}" >> "${f}" > > done > > done > > } > > NACK, but for the simple reason that this doesn't need the extended syntax > at all. Just drop it and use plain grep here. Does it use a regex at all? Maybe 'grep -F' would be more appropriate. -- Best regards, Michał Górny

[gentoo-dev] Python 3.11 is ready to enter PYTHON_COMPAT (and other Python news)

2022-05-13 Thread Michał Górny
too-python. We can help, point you at the right docs or good examples of ebuilds. TIA for all you help and have fun with new Pythons! -- Best regards, Michał Górny

[gentoo-dev] Last rites: dev-python/backports-entry_points_selectable

2022-05-11 Thread Michał Górny
# Michał Górny (2022-05-11) # A backport with no revdeps left. # Removal on 2022-06-10.  Bug #843791. dev-python/backports-entry_points_selectable -- Best regards, Michał Górny

[gentoo-dev] [PATCH 5/5] dev-python/python-poppler-qt5: Bump to 21.3.0

2022-05-10 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-python/python-poppler-qt5/Manifest| 1 + .../python-poppler-qt5-21.3.0.ebuild | 33 +++ 2 files changed, 34 insertions(+) create mode 100644 dev-python/python-poppler-qt5/python-poppler-qt5-21.3.0.ebuild diff --git a/dev

[gentoo-dev] [PATCH 4/5] distutils-r1.eclass: Introduce sipbuild backend support

2022-05-10 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 53 -- 1 file changed, 51 insertions(+), 2 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 17286070e712..0962ef5e2356 100644 --- a/eclass/distutils-r1.eclass

[gentoo-dev] [PATCH 3/5] qmake-utils.eclass: Reuse qt5_get_qmake_args in eqmake5

2022-05-10 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/qmake-utils.eclass | 28 +--- 1 file changed, 5 insertions(+), 23 deletions(-) diff --git a/eclass/qmake-utils.eclass b/eclass/qmake-utils.eclass index a4be44fa65a5..a86ce1fbabb8 100644 --- a/eclass/qmake-utils.eclass +++ b/eclass

[gentoo-dev] [PATCH 2/5] qmake-utils.eclass: Add a function to get qmake args

2022-05-10 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/qmake-utils.eclass | 27 +++ 1 file changed, 27 insertions(+) diff --git a/eclass/qmake-utils.eclass b/eclass/qmake-utils.eclass index 1f09cbd9ca77..a4be44fa65a5 100644 --- a/eclass/qmake-utils.eclass +++ b/eclass/qmake-utils.eclass

[gentoo-dev] [PATCH 1/5] dev-python/sip: Backport PEP517 argument passing support

2022-05-10 Thread Michał Górny
Signed-off-by: Michał Górny --- .../sip/files/sip-6.5.0-pep517-args.patch | 190 ++ dev-python/sip/sip-6.5.0-r1.ebuild| 36 2 files changed, 226 insertions(+) create mode 100644 dev-python/sip/files/sip-6.5.0-pep517-args.patch create mode 100644 dev-python

[gentoo-dev] [PATCH 0/5] distutils-r1.eclass: sipbuild PEP517 support

2022-05-10 Thread Michał Górny
included. -- Best regards, Michał Górny Michał Górny (5): dev-python/sip: Backport PEP517 argument passing support qmake-utils.eclass: Add a function to get qmake args qmake-utils.eclass: Reuse qt5_get_qmake_args in eqmake5 distutils-r1.eclass: Introduce sipbuild backend support dev-python

[gentoo-dev] [PATCH] distutils-r1.eclass: Update license stripping for hatch

2022-05-10 Thread Michał Górny
Signed-off-by: Michał Górny --- 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 0962ef5e2356..ed368da79896 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1

[gentoo-dev] [PATCH] python-utils-r1.eclass: Switch epytest to "count" progress reports

2022-05-09 Thread Michał Górny
Switch epytest to report test counts rather than percentages. This is more precise when we're dealing with large numbers of tests. 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

Re: [gentoo-dev] [PATCH 3/5] cmake.eclass: Support dev-util/samurai

2022-05-09 Thread Michał Górny
install" > + DESTDIR="${D}" ${generator} install "$@" || > + die "died running ${generator} install" > popd > /dev/null || die I'm sorry for missing this earlier but could we perhaps reuse cmake_build here? Instead of this whole block above, something like: DESTDIR="${D}" cmake_build install "$@" > > if [[ ${EAPI} == 7 ]]; then -- Best regards, Michał Górny

[gentoo-dev] [PATCH 2/2] distutils-r1.eclass: Move setup from src_configure to prepare_all

2022-05-08 Thread Michał Górny
-r1_python_prepare_all() call, so let's move them there. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index c2f5ab263cd5..17286070e712 100644 --- a/eclass/distutils-r1.eclass

[gentoo-dev] [PATCH 1/2] distutils-r1.eclass: Print buildsys package versions to aid debug

2022-05-08 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 92 ++ 1 file changed, 92 insertions(+) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index e9a28056e9cc..c2f5ab263cd5 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass

[gentoo-dev] [PATCH] distutils-r1.eclass: Support DISTUTILS_ARGS in PEP517 mode

2022-05-08 Thread Michał Górny
Use gpep517 --config-json support to pass DISTUTILS_ARGS in PEP517 mode. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 32 +++- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index

[gentoo-dev] [PATCH 6/6] dev-lang/python: Add python-exec dep to 3.11.0_beta1

2022-05-08 Thread Michał Górny
Signed-off-by: Michał Górny --- ...ython-3.11.0_beta1.ebuild => python-3.11.0_beta1-r1.ebuild} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename dev-lang/python/{python-3.11.0_beta1.ebuild => python-3.11.0_beta1-r1.ebuild} (99%) diff --git a/dev-lang/python/python-3.11.0

[gentoo-dev] [PATCH 5/6] dev-lang/python-exec: Enable python3.11 support

2022-05-08 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-lang/python-exec/python-exec-2.4.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/python-exec/python-exec-2.4.8.ebuild b/dev-lang/python-exec/python-exec-2.4.8.ebuild index 7cab7a668f31..4fd31fa50604 100644 --- a/dev-lang

[gentoo-dev] [PATCH 4/6] profiles: Add flags for python3.11

2022-05-08 Thread Michał Górny
Signed-off-by: Michał Górny --- profiles/base/package.use.force | 1 + profiles/base/use.stable.mask | 7 ++- profiles/desc/python_single_target.desc | 1 + profiles/desc/python_targets.desc | 1 + 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/profiles

[gentoo-dev] [PATCH 3/6] eclass/tests/python-utils-r1.eclass: Add tests for adding new impls

2022-05-08 Thread Michał Górny
Add tests that verify that new Python implementations are added to all the places that need them. Signed-off-by: Michał Górny --- eclass/tests/python-utils-r1.sh | 35 + 1 file changed, 35 insertions(+) diff --git a/eclass/tests/python-utils-r1.sh b/eclass/tests

[gentoo-dev] [PATCH 2/6] eclass/tests/python-utils-r1.sh: Streamline the tests

2022-05-08 Thread Michał Górny
Streamline the python-utils-r1.eclass tests to use a for loop instead of copying the same tests over and over again. While at it, group tests by purpose. Signed-off-by: Michał Górny --- eclass/tests/python-utils-r1.sh | 112 1 file changed, 28 insertions(+), 84

[gentoo-dev] [PATCH 1/6] python-utils-r1.eclass: Add support for python3.11

2022-05-08 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 10 ++ eclass/tests/python-utils-r1.sh | 14 ++ 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 7b1bd012a37e..2b22b0539ecb

[gentoo-dev] [PATCH 0/6] python-utils-r1.eclass: Python 3.11 support

2022-05-08 Thread Michał Górny
Hi, Here's a patchset to enable Python 3.11 support in the eclasses. Along with the usual mechanical changes, I have refactored the tests to avoid repetition and cover verifying that all the mechanical changes were done. -- Best regards, Michał Górny Michał Górny (6): python-utils-r1.eclass

[gentoo-dev] Last rites: dev-db/pgadmin4

2022-05-07 Thread Michał Górny
# Michał Górny (2022-05-07) # The current version is severely outdated and blocks upgrade # of dependencies.  Packaging a new release poses serious problems. # Removal on 2022-06-06.  Bug #836282. dev-db/pgadmin4 -- Best regards, Michał Górny

[gentoo-dev] Packages up for grabs: app-shells/pwsh-bin, dev-dotnet/dotnet-sdk-bin, virtual/dotnet-sdk

2022-05-06 Thread Michał Górny
the remaining dotnet packages that were reassigned before). The two binary packages have various bugs open against them and seem to be in need of version bumps. -- Best regards, Michał Górny

[gentoo-dev] Last rites: other dev-python/* mailman dependencies (better quality)

2022-05-06 Thread Michał Górny
# Michał Górny (2022-05-06) # The "better quality" dependencies of Mailman.  These packages were # generally fixed by the Python team but they have no reverse # dependencies.  If you need them, please let us know and we'll keep # them. # Removal on 2022-06-05.  Bug #842888. dev-python/a

[gentoo-dev] Last rites: net-mail/mailman* and its (bad quality) dependencies

2022-05-06 Thread Michał Górny
# Michał Górny (2022-05-06) # Mailman along with a bunch of dependencies that are of bad quality. # At the very least, the Mailman packages need a dedicated maintainer. # Their Python dependencies can be maintained by the Python team # if someone takes care of getting the tests working. # Removal

[gentoo-dev] [PATCH v2] multiprocessing.eclass: Default makeopts_jobs to inf=nproc+1

2022-04-28 Thread Michał Górny
: $(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)") The ebuilds and eclasses using makeopts_loadavg have been updated to pass the old default. Signed-off-by: Michał Górny --- eclass/multiprocessing.eclass | 9 - eclass/tests/multiprocessing_m

Re: [gentoo-dev] [PATCH] multiprocessing.eclass: Default makeopts_jobs to inf=$(get_nproc)

2022-04-28 Thread Michał Górny
On Thu, 2022-04-28 at 12:59 +0200, Michał Górny wrote: > Change the default value for 'inf' argument to makeopts_jobs from 999 > to $(get_nproc). This means that if MAKEOPTS specifies a `-j` argument > without a specific value, nproc will be used rather than infinity-ish > nu

[gentoo-dev] [PATCH] multiprocessing.eclass: Default makeopts_jobs to inf=$(get_nproc)

2022-04-28 Thread Michał Górny
: $(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)") The ebuilds and eclasses using makeopts_loadavg have been updated to pass the old default. Signed-off-by: Michał Górny --- eclass/multiprocessing.eclass | 9 - eclass/tests/multiprocessing_m

[gentoo-dev] Last rites: dev-python/namespace-sphinxcontrib

2022-04-27 Thread Michał Górny
(adding to the existing p.mask) # Michał Górny (2022-04-22) # Obsolete namespace packages. PEP 420 implicit namespaces are now # the preferred solution. Upgrade the reverse dependencies to get # these packages unmerged. # Removal on 2022-05-09. dev-python/namespace-sphinxcontrib -- Best

Re: [gentoo-dev] [PATCH 3/3] sys-apps/portage: add support for recognizing LoongArch ABIs

2022-04-24 Thread Michał Górny
On Sun, 2022-04-24 at 23:21 +0800, WANG Xuerui wrote: > Signed-off-by: WANG Xuerui > --- > .../portage/files/3.0.30-loong-abis.patch | 133 + > Why add a patch when we can make a new Portage release with this? -- Best regards, Michał Górny

[gentoo-dev] [PATCH] distutils-r1.eclass: Unleash dev-python/gpep517

2022-04-23 Thread Michał Górny
Switch the distutils-r1.eclass to gpep517 code branches unconditionally. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 84 +++--- 1 file changed, 15 insertions(+), 69 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1

Re: [gentoo-dev] [PATCH 2/3] kernel-2.eclass: add masked-by-default IUSE=experimental-loong

2022-04-23 Thread Michał Górny
g only. > # This is not inside use.mask, because crossdev toolchain packages would > # want to have the flag enabled without hassle. > +sys-kernel/linux-headers experimental-loong > sys-libs/glibc experimental-loong > > # James Le Cuirot (2022-02-24) -- Best regards, Michał Górny

[gentoo-dev] Last rites: most of dev-python/namespace-*

2022-04-22 Thread Michał Górny
# Michał Górny (2022-04-22) # Obsolete namespace packages.  PEP 420 implicit namespaces are now # the preferred solution.  Upgrade the reverse dependencies to get # these packages unmerged. # Removal on 2022-05-09. dev-python/namespace-google dev-python/namespace-lazr dev-python/namespace-paste

[gentoo-dev] [PATCH 1/3] distutils-r1.eclass: Run build_ext only if there are 2+ files

2022-04-22 Thread Michał Górny
Run parallel build_ext only if there are at least two potential source files to compile. This call is expensive and parallel builds do not benefit us if there is only one file to compile. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 12 1 file changed, 8 insertions

[gentoo-dev] [PATCH 3/3] distutils-r1.eclass: Account for func args when counting makejobs

2022-04-22 Thread Michał Górny
Account for distutils-r1_python_compile arguments when counting makejobs. This is needed to correctly detect forced "-j1", e.g. in dev-python/pandas. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass

[gentoo-dev] [PATCH 2/3] distutils-r1.eclass: Run build_ext only with --jobs -gt 1

2022-04-22 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 d213cca4bb72..c314c52a78cd 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass

[gentoo-dev] [PATCH 1/2] python-utils-r1.eclass: pypy3 is now Python 3.9

2022-04-21 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 98cb49c95fd7..a6f5f24c8bdd 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python

[gentoo-dev] [PATCH 2/2] eclass/tests/python-utils-r1.sh: Add tests for stdlib ver matching

2022-04-21 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/tests/python-utils-r1.sh | 9 + 1 file changed, 9 insertions(+) diff --git a/eclass/tests/python-utils-r1.sh b/eclass/tests/python-utils-r1.sh index ef7687b8a9cf..9c41798c4727 100755 --- a/eclass/tests/python-utils-r1.sh +++ b/eclass/tests/python

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

2022-04-17 Thread Michał Górny
# Michał Górny (2022-04-17) # Unmaintained in Gentoo.  Pending a bump since January.  Non-trivial # to test.  No revdeps. # Removal on 2022-05-17.  Bug #838895. dev-python/pymssql -- Best regards, Michał Górny

Re: [gentoo-dev] [PATCH v2 1/1] edo.eclass: add new eclass

2022-04-16 Thread Michał Górny
+# Intended for single commands, otherwise regular ebegin/eend should be used. > +edob() { > + ebegin "Running $@" > + "$@" > + eend $? || die -n "$@ failed" > +} > + > +fi -- Best regards, Michał Górny

[gentoo-dev] Last rites: media-video/gxine

2022-04-12 Thread Michał Górny
# Michał Górny (2022-04-13) # Unmaintained.  Last release in 2017, the Gentoo ebuild has not been # even bumped to it.  Requires old dev-lang/spidermonkey that requires # Python 2.7. # Removal on 2022-05-13.  Bug #838139. media-video/gxine -- Best regards, Michał Górny

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

2022-04-11 Thread Michał Górny
# Michał Górny (2022-04-11) # Tests are broken once again.  Last activity in Jan 2020, last release # in Aug 2019.  No revdeps. # Removal on 2022-05-11.  Bug #832317. dev-python/ctypescrypto -- Best regards, Michał Górny

[gentoo-dev] Last rites: dev-python/repoze-sphinx-autointerface

2022-04-10 Thread Michał Górny
# Michał Górny (2022-04-10) # Last release in 2016.  Last git commit in 2020.  No revdeps. # Removal on 2022-05-10.  Bug #837641. dev-python/repoze-sphinx-autointerface -- Best regards, Michał Górny

[gentoo-dev] [PATCH] distutils-r1.eclass: Introduce distutils_write_namespace

2022-04-10 Thread Michał Górny
Introduce a distutils_write_namespace helper that can be used to temporarily write a namespace __init__.py as needed to run tests when legacy dev-python/namespace-* packages are installed. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 41 ++ 1

[gentoo-dev] [PATCH 2/2] distutils-r1.eclass: Skip build_ext when there no .c/.pyx files

2022-04-09 Thread Michał Górny
Skip issuing build_ext when there appears to be no .c/.pyx files. Since starting setuptools is expensive, this gives a major speedup to building pure Python packages. If the check misfires, the worst that can happen is that C extensions will be built serialized. Signed-off-by: Michał Górny

[gentoo-dev] [PATCH 1/2] distutils-r1.eclass: Call build_ext instead of build in PEP517 mode

2022-04-09 Thread Michał Górny
(and then repeats via PEP517 call), the ebuild can build a few seconds faster. Since this is a potentially breaking change (but very unlikely to actually break anything), let's test it behind GPEP517_TESTING. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 6 +- 1 file changed, 5 insertions

[gentoo-dev] Last rites: dev-python/zope-testrunner

2022-04-09 Thread Michał Górny
# Michał Górny (2022-04-09) # A test runner specific to zope packages that was never really used # (only as a mistaken test-dep).  No revdeps left. # Removal on 2022-05-09.  Bug #837530. dev-python/zope-testrunner -- Best regards, Michał Górny

Re: [gentoo-dev] Re: [RFC] dev-python/namespace-* retirement plan

2022-04-09 Thread Michał Górny
On Sat, 2022-04-09 at 19:08 +0300, Arthur Zamarin wrote: > On 09/04/2022 18.20, Michał Górny wrote: > > Hi, everyone. > > > > TL;DR I think I came up with a feasible plan towards cleanly removing > > dev-python/namespace-* packages that aren't technically needed anymo

[gentoo-dev] [PATCH 2/2] distutils-r1.eclass: Issue a QA warning if "build" exists

2022-04-09 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index e6b0ab5e0e32..2e4a11bb8826 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass

[gentoo-dev] [PATCH 1/2] distutils-r1.eclass: Prefer "rm -rf build" over "setup.py clean -a"

2022-04-09 Thread Michał Górny
and tell you to use "git clean" (sic!), e.g. dev-python/scipy. This is a potentially (but unlikely) breaking change, so do it conditionally to GPEP517_TESTING. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-)

[gentoo-dev] [RFC] dev-python/namespace-* retirement plan

2022-04-09 Thread Michał Górny
n transition gradually. Once all packages with namespace-* dep are gone, we can lastrite that package and add blockers to trigger cleanup from user systems. We'll have to keep the test hack for some more time but I don't think that's a deal breaker. WDYT? -- Best regards, Michał Górny

[gentoo-dev] [RFC] Moving s outta metadata.xml, into a consistent mapping

2022-04-07 Thread Michał Górny
ta.xml has the advantage that they are immediately available (provided that they are actually listed there), I don't think this is really a show-stopper. WDYT? -- Best regards, Michał Górny

Re: [gentoo-dev] proposal: use only one hash function in manifest files

2022-04-05 Thread Michał Górny
files as we do now: it's quicker to compare sizes on large files than > it is to read and hash the whole thing, so this gives us a "free" way > of noticing quick corruption. The primary use of knowing the file size is to know whether to try to resume fetching. -- Best regards, Michał Górny

[gentoo-dev] [PATCH] disttils-r1.eclass: Support GPEP517_TESTING mode

2022-04-05 Thread Michał Górny
Support GPEP517_TESTING variable to enable using dev-python/gpep517 instead of inline Python snippets. This is meant to provide the necessary testing before we stabilize it and switch over. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 88

[gentoo-dev] [PATCH] python-utils-r1.eclass: Make python_fix_shebang force full path

2022-03-31 Thread Michał Górny
distutils-r1 PEP517 mode (python_fix_shebang is not used in such a way in ::gentoo) Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 134 eclass/tests/python-utils-r1.sh | 86 2 files changed, 106 insertions(+), 114 dele

Re: [gentoo-dev] Repository mirrors & CI are looking for a new "maintainer"

2022-03-27 Thread Michał Górny
On Thu, 2022-03-24 at 17:31 -0700, Alec Warner wrote: > On Thu, Mar 24, 2022 at 3:41 PM Michał Górny wrote: > > > > Hi, everyone. > > > > TL;DR: I need someone to take over the job of minimal "maintenance" work > > around repo mirrors & CI. I c

Re: [gentoo-dev] Repository mirrors & CI are looking for a new "maintainer"

2022-03-27 Thread Michał Górny
On Thu, 2022-03-24 at 23:41 +0100, Michał Górny wrote: > If you're interested, please ping me on IRC and I'll give you a quick > run-around and add you where necessary. I don't think you need strictly > to be a dev but you'll need editbugs. laumann will be taking care of the repo rep

[gentoo-dev] [PATCH] distutils-r1.eclass: Support backend-path in pyproject.toml

2022-03-25 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index ed2e9f70269f..0491452104be 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass

[gentoo-dev] Repository mirrors & CI are looking for a new "maintainer"

2022-03-24 Thread Michał Górny
for setting this up, so I'll do my best to keep the code working but I need somebody else to do the maintenance work. If you're interested, please ping me on IRC and I'll give you a quick run-around and add you where necessary. I don't think you need strictly to be a dev but you'll need editbugs.

Re: [gentoo-dev] Deprecating repoman

2022-03-19 Thread Michał Górny
gorny in 2016 [1]. Have these > issues with pkgcheck been fixed in the meantime? Yes, I think all the blockers were fixed since. -- Best regards, Michał Górny

Re: [gentoo-portage-dev] The build system (and install layout) of Portage

2022-03-17 Thread Michał Górny
On Thu, 2022-03-17 at 20:57 +, James Le Cuirot wrote: > On Thu, 2022-03-17 at 18:22 +0100, Michał Górny wrote: > > An alternative is to go back to using (at least partially) Makefiles or > > Meson. However, that would have the important drawback that we'd lose > > t

[gentoo-portage-dev] The build system (and install layout) of Portage

2022-03-17 Thread Michał Górny
.g. inside a virtualenv). At this point, I've pretty much lost all motivation to work on it. Nevertheless, it's something that needs to be done eventually. Does anyone have some idea, motivation and will to transition Portage to another build system? -- Best regards, Michał Górny

[gentoo-dev] Last rites: dev-python/sphinx-jinja

2022-03-15 Thread Michał Górny
# Michał Górny (2022-03-15) # No maintainer.  This package is repeatedly non-bumpable due to missing # upstream tags.  No revdeps. # Removal on 2022-04-14.  Bug #835352. dev-python/sphinx-jinja -- Best regards, Michał Górny

[gentoo-dev] Last rites: www-client/midori

2022-02-26 Thread Michał Górny
# Michał Górny (2022-02-26) # The original Midori browser has been discontinued, and the new # Electron-based "Midori" (sic!) does not seem worth the effort # of packaging it. # Removal on 2022-03-28.  Bug #834120. www-client/midori -- Best regards, Michał Górny

Re: [gentoo-dev] [PATCH] go-module.eclass: deprecate EGO_SUM and call ego instead of go

2022-02-26 Thread Michał Górny
quot;project/" instead of > "project-1.0/". > > Does tar have an option to change that top level path that I don't know > about? > If you're working from a git repo, you should use 'git archive' and it has --prefix= option that does what you need. git archive --prefix=project-1.0/ vendor | xz -9 > project-1.0-vendor.tar.xz -- Best regards, Michał Górny

Re: [gentoo-dev] [PATCH] go-module.eclass: deprecate EGO_SUM and call ego instead of go

2022-02-25 Thread Michał Górny
npack_verify_gosum() { > # shellcheck disable=SC2120 > debug-print-function "${FUNCNAME}" "$@" > @@ -435,7 +366,7 @@ _go-module_src_unpack_verify_gosum() { > # This will print 'downloading' messages, but it's accessing content > from > # the $GOPROXY file:/// URL! > einfo "Tidying go.mod/go.sum" > - go mod tidy >/dev/null > + ego mod tidy >/dev/null > > # This used to call 'go get' to verify by fetching everything from the > main > # go.mod. However 'go get' also turns out to recursively try to fetch > @@ -461,16 +392,13 @@ go-module_live_vendor() { > die "${FUNCNAME} only allowed when upstream isn't vendoring" > > pushd "${S}" >& /dev/null || die > - go mod vendor || die > + ego mod vendor > popd >& /dev/null || die > } > > # @FUNCTION: _go-module_gomod_encode > # @DESCRIPTION: > -# Encode the name(path) of a Golang module in the format expected by Goproxy. > -# > -# Upper letters are replaced by their lowercase version with a '!' prefix. > -# > +# This function is deprecated. > _go-module_gomod_encode() { > ## Python: > # return re.sub('([A-Z]{1})', r'!\1', s).lower() -- Best regards, Michał Górny

[gentoo-dev] [PATCH 4/4] distutils-r1.eclass: Do not filter error output from backend getter

2022-02-22 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 1fe69f1a3dde..731b4028ae59 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass

[gentoo-dev] [PATCH 3/4] distutils-r1.eclass: Make build-backend getting more reliable

2022-02-22 Thread Michał Górny
Protect build-backend getter against stray output to stdout. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 28e44cd790ef..1fe69f1a3dde 100644

[gentoo-dev] [PATCH 2/4] distutils-r1.eclass: Update the desc for PEP517 mode

2022-02-22 Thread Michał Górny
Do not call PEP517 mode "experimental" anymore, and instead describe the potential problem with it. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/di

[gentoo-dev] [PATCH 1/4] python-any-r1.eclass: Fix unsupported/invalid EPYTHON logic

2022-02-22 Thread Michał Górny
it, so that unsupported EPYTHON values are reported either as "just unsupported" or incorrect values correctly. Signed-off-by: Michał Górny --- eclass/python-any-r1.eclass | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/eclass/python-any-r1.eclass b/eclass/pyt

[gentoo-dev] [PATCH] verify-sig.eclass: Add a function to verify pure checksums

2022-02-15 Thread Michał Górny
Split the logic for verifying checksums into a dedicated functions that can also be used directly when dealing with a checksum file that uses a detached signature. Signed-off-by: Michał Górny --- eclass/verify-sig.eclass | 45 +--- 1 file changed, 38

Re: [gentoo-dev] Gentoo LLVM project needs help!

2022-02-12 Thread Michał Górny
On Fri, 2022-02-11 at 00:36 +0100, Michał Górny wrote: > 6. Work on setting up and configuring a buildbot for Gentoo LLVM builds. > This is some effort and I don't have the time to learn how to do that. > You'll probably need to set up a local instance and figure out how to > se

Re: [gentoo-dev] Gentoo LLVM project needs help!

2022-02-11 Thread Michał Górny
On Fri, 2022-02-11 at 21:19 +0200, Joonas Niilola wrote: > On 11.2.2022 1.36, Michał Górny wrote: > > Hi, > > > > As you may have noticed, I'm practically maintaining LLVM all by myself. > > This is a really tedious, time consuming and ungrateful task, and I'm > &

Re: [gentoo-dev] Gentoo LLVM project needs help!

2022-02-11 Thread Michał Górny
On Fri, 2022-02-11 at 09:40 -0800, A Schenck wrote: > On 2/10/22 15:36, Michał Górny wrote: > > Hi, > > > > As you may have noticed, I'm practically maintaining LLVM all by myself. > > This is a really tedious, time consuming and ungrateful task, and I'm > > pre

Re: [gentoo-dev] [PATCH v2 2/3] distutils-r1.eclass: Use python_has_version in ...enable_sphinx

2022-02-10 Thread Michał Górny
On Thu, 2022-02-10 at 15:27 -0800, Matt Turner wrote: > On Thu, Feb 10, 2022 at 6:45 AM Michał Górny wrote: > > > > Signed-off-by: Michał Górny > > > Looks good to me. I noticed that this implementation takes only a > single -b/-d/-r as the initial argument and the

[gentoo-dev] Gentoo LLVM project needs help!

2022-02-10 Thread Michał Górny
in the past. However, this work wasn't Gentoo-related and if anything, it required me to spend my CPU time on work and not testing LLVM for Gentoo. -- Best regards, Michał Górny

[gentoo-dev] [PATCH v2 3/3] dev-libs/libwacom: Use python_has_version for verbose output

2022-02-10 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-libs/libwacom/libwacom-1.12.ebuild | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dev-libs/libwacom/libwacom-1.12.ebuild b/dev-libs/libwacom/libwacom-1.12.ebuild index acfda32d8405..ea2521bf4559 100644 --- a/dev-libs/libwacom

[gentoo-dev] [PATCH v2 2/3] distutils-r1.eclass: Use python_has_version in ...enable_sphinx

2022-02-10 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index cdd57149720d..c14297d39757 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass

[gentoo-dev] [PATCH v2 1/3] python-utils-r1.eclass: Add a verbose python_has_version() wrapper

2022-02-10 Thread Michał Górny
Add a python_has_version() wrapper for convenient use in python_check_deps(). It includes: - verbose output - default "-b" root that's more suitable for build-time checks - forward compatibility for -b/-d/-r arguments in EAPI 6 Signed-off-by: Michał Górny --- eclass/python-utils

Re: [gentoo-dev] [PATCH 00/30] One batch of Python eclass updates to rule them all

2022-02-09 Thread Michał Górny
musl systems. Well, this seems like a rather trivial fix, so I've just added it on top of the existing batch. -- Best regards, Michał Górny

Re: [gentoo-dev] [PATCH 29/30] dev-libs/libwacom: Use python_has_version for verbose output

2022-02-08 Thread Michał Górny
On Tue, 2022-02-08 at 15:00 -0800, Matt Turner wrote: > On Sun, Feb 6, 2022 at 4:57 AM Michał Górny wrote: > > > > Signed-off-by: Michał Górny > > --- > > dev-libs/libwacom/libwacom-1.11.ebuild | 6 +++--- > > dev-libs/libwacom/libwacom-1.12.ebuild | 6 +++--- &

[gentoo-dev] [PATCH 30/30] distutils-r1.eclass: Add min version to tomli dep

2022-02-06 Thread Michał Górny
Closes: https://bugs.gentoo.org/832782 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 4feb9d7177ae..aa8496092cee 100644 --- a/eclass/distutils-r1.eclass

[gentoo-dev] [PATCH 29/30] dev-libs/libwacom: Use python_has_version for verbose output

2022-02-06 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-libs/libwacom/libwacom-1.11.ebuild | 6 +++--- dev-libs/libwacom/libwacom-1.12.ebuild | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dev-libs/libwacom/libwacom-1.11.ebuild b/dev-libs/libwacom/libwacom-1.11.ebuild index acfda32d8405

[gentoo-dev] [PATCH 28/30] python-utils-r1.eclass: Add QA check for obsolete PYTHON_COMPAT

2022-02-06 Thread Michał Górny
Add a QA check that reports obsolete implementation in PYTHON_COMPAT if ebuild has been modified in 2022 (based on copyright year). Requested by sam. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff

[gentoo-dev] [PATCH 27/30] python-any-r1.eclass: Do not test EPYTHON twice

2022-02-06 Thread Michał Górny
Avoid checking the implementation from EPYTHON via fallback iteration. While there's no technical harm in doing that, now that we output verbosely the users will notice ;-). Signed-off-by: Michał Górny --- eclass/python-any-r1.eclass | 14 -- 1 file changed, 8 insertions(+), 6

[gentoo-dev] [PATCH 26/30] dev-python/jaraco-text: Use python_gen_cond_dep w/ stdlib ver

2022-02-06 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-python/jaraco-text/jaraco-text-3.7.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/jaraco-text/jaraco-text-3.7.0-r1.ebuild b/dev-python/jaraco-text/jaraco-text-3.7.0-r1.ebuild index 66eb9f8d0462..0b6a909952eb 100644

[gentoo-dev] [PATCH 25/30] python-utils-r1.eclass: Support matching impls by stdlib version

2022-02-06 Thread Michał Górny
if you specify "3.8", then the spec will match python3_8 and pypy3, for as long as we supply PyPy3.8. Once we upgrade to PyPy3.9 completely, it will stop matching pypy3 and we won't have to manually keep updating these deps. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 5

[gentoo-dev] [PATCH 24/30] python-utils-r1.eclass: Add status messages to python_optimize

2022-02-06 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 7d6c81e14dc8..1c6409add35c 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass

[gentoo-dev] [PATCH 23/30] python-utils-r1.eclass: Remove old phase check from python_optimize

2022-02-06 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 9 - 1 file changed, 9 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index d423a28cccb5..7d6c81e14dc8 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass

[gentoo-dev] [PATCH 22/30] python-utils-r1.eclass: Use heredoc instead of "python -c"

2022-02-06 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 41 ++- 1 file changed, 36 insertions(+), 5 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index a42ae66d9c89..d423a28cccb5 100644 --- a/eclass/python-utils

[gentoo-dev] [PATCH 21/30] distutils-r1.eclass: Use heredoc instead of "python -c"

2022-02-06 Thread Michał Górny
Use heredocs instead of inlining longish scripts in "python -c", for greater readability. Thanks to arthurzam for the suggestion. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 31 +-- 1 file changed, 21 insertions(+), 10 deletions(-)

[gentoo-dev] [PATCH 20/30] python-single-r1.eclass: Remove PYTHON_MULTI_USEDEP

2022-02-06 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-single-r1.eclass | 7 --- 1 file changed, 7 deletions(-) diff --git a/eclass/python-single-r1.eclass b/eclass/python-single-r1.eclass index 73afcdc3ed6c..0e9a16a47d0e 100644 --- a/eclass/python-single-r1.eclass +++ b/eclass/python-single-r1

[gentoo-dev] [PATCH 19/30] python-utils-r1.eclass: Remove python_is_python3

2022-02-06 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 8 +++- eclass/python-utils-r1.eclass | 17 - eclass/tests/python-utils-r1.sh | 5 - 3 files changed, 3 insertions(+), 27 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1

[gentoo-dev] [PATCH 18/30] python-r1.eclass: Improve comment for USE-dep generation

2022-02-06 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-r1.eclass | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass index 469c3014abfb..bb851e167617 100644 --- a/eclass/python-r1.eclass +++ b/eclass/python-r1.eclass @@ -393,9

[gentoo-dev] [PATCH 17/30] python-single-r1.eclass: Inline & simplify USE-deps in gen_cond_dep

2022-02-06 Thread Michał Górny
can just have every cond-dep match exactly that one target. Signed-off-by: Michał Górny --- eclass/python-single-r1.eclass | 45 +++--- 1 file changed, 3 insertions(+), 42 deletions(-) diff --git a/eclass/python-single-r1.eclass b/eclass/python-single-r1.eclass index

[gentoo-dev] [PATCH 16/30] python-utils-r1.eclass: Remove python_wrapper_setup

2022-02-06 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 16 1 file changed, 16 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 99662c0a2e16..a2de1c2b506e 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils

[gentoo-dev] [PATCH 15/30] python-utils-r1.eclass: Remove deprecated python_export

2022-02-06 Thread Michał Górny
Remove python_export, as it is no longer used by any ebuilds in ::gentoo. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 17 - 1 file changed, 17 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 362e55aed06f

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