Commit Graph
545805 Commits
Author SHA1 Message Date
Michał Górny ddd9cd63e8 python-utils-r1.eclass: Add QA check for obsolete PYTHON_COMPAT
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 <mgorny@gentoo.org>
2022-02-09 09:43:57 +01:00
Michał Górny f8e51b15e3 python-any-r1.eclass: Do not test EPYTHON twice
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 <mgorny@gentoo.org>
2022-02-09 09:43:56 +01:00
Michał Górny ae26acc232 python-utils-r1.eclass: Support matching impls by stdlib version
Update _python_impl_matches() (used to implement python_gen*,
python_setup) to support specifying stdlib versions ("3.8", "3.9")
in addition to exact implementation names.  This makes handling PyPy3
version changes much easier when dealing with backports.

For example, 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 <mgorny@gentoo.org>
2022-02-09 09:43:55 +01:00
Michał Górny 0cc9d3cc4f python-utils-r1.eclass: Add status messages to python_optimize
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-02-09 09:43:55 +01:00
Michał Górny 7dfd276145 python-utils-r1.eclass: Remove old phase check from python_optimize
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-02-09 09:43:54 +01:00
Michał Górny 3445afea17 python-utils-r1.eclass: Use heredoc instead of "python -c"
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-02-09 09:43:53 +01:00
Michał Górny 5eed1a007f distutils-r1.eclass: Use heredoc instead of "python -c"
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 <mgorny@gentoo.org>
2022-02-09 09:43:52 +01:00
Michał Górny 1f2b04df57 python-single-r1.eclass: Remove PYTHON_MULTI_USEDEP
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-02-09 09:43:52 +01:00
Michał Górny beda1fe93a python-utils-r1.eclass: Remove python_is_python3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-02-09 09:43:51 +01:00
Michał Górny 072aacf0f7 python-r1.eclass: Improve comment for USE-dep generation
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-02-09 09:43:50 +01:00
Michał Górny 39c96ff9f7 python-single-r1.eclass: Inline & simplify USE-deps in gen_cond_dep
Generate simpler USE-deps inline in python_gen_cond_dep() and remove
_python_gen_usedep().  The original code always repeated USE deps
on all targets to aid Portage in giving better suggestions.  However,
since there always will be exactly one implementation selected, this
is unnecessary and we can just have every cond-dep match exactly that
one target.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-02-09 09:43:49 +01:00
Michał Górny ae1762f85b python-utils-r1.eclass: Remove python_wrapper_setup
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-02-09 09:43:49 +01:00
Michał Górny 2e00253a6a python-utils-r1.eclass: Remove deprecated python_export
Remove python_export, as it is no longer used by any ebuilds
in ::gentoo.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-02-09 09:43:48 +01:00
Michał Górny c14accfbbd python-utils-r1.eclass: Fix sphinx_build for non-autodoc case
Fix the regression in calling sphinx-build for the non-autodoc case
that causes the build to fail if dev-python/sphinx isn't built
for the newest Python interpreter available.  To account for this,
we need to call sphinx-build as an executable (i.e. via python-exec).

Ideally, build_sphinx would be aware of which case it is used for,
and use appropriate invocation.  Unfortunately, we cannot do that
without breaking backwards compatibility.  However, we can simply check
if Sphinx is available via ${EPYTHON}, and fall back to calling
python-exec directly.  This is effectively equivalent to choosing
the specific invocation directly, as python-exec would have respected
the implementation specified by EPYTHON anyway if sphinx-build
executable was available for it.

Fixes: f6a17acb8b (...: Run sphinx-build via EPYTHON)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-02-09 09:43:47 +01:00
Michał Górny 1788cb332f distutils-r1.eclass: Fix has_version for distutils_enable_sphinx
Fix the has_version calls for distutils_enable_sphinx to use -b option
(--host-root in earlier EAPIs).

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-02-09 09:43:46 +01:00
Michał Górny bcf57dbbf5 python-utils-r1.eclass: Inline python_is_installed
Inline the python_is_installed function that is used exactly once
(in _python_run_check_deps).  This helps us avoid having to grab
PYTHON_PKG_DEP twice.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-02-09 09:43:46 +01:00
Michał Górny 950d2685fb python-utils-r1.eclass: Report _python_run_check_deps verbosely
Report dep checking progress verbosely, to help users understand why
a particular implementations was rejected or selected.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-02-09 09:43:45 +01:00
Michał Górny aa491be20f python-any-r1.eclass: Explain the reason for interpreter choice
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-02-09 09:43:44 +01:00
Michał Górny d918d2e7cb python-utils-r1.eclass: Add function to run python_check_deps()
Add a function encompassing the common logic to run python_check_deps()
from python-any-r1 and python-r1.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-02-09 09:43:43 +01:00
Michał Górny c3365e7fe4 python-any-r1.eclass: Move EPYTHON validity check to python_setup()
Move the EPYTHON validity check from _python_EPYTHON_supported()
to python_setup() where it belongs.  This avoids unnecessarily retesting
implementations taken from PYTHON_COMPAT and paves the way towards
moving the common logic to python-utils-r1.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-02-09 09:43:43 +01:00
Michał Górny 284a6f27aa python-r1.eclass: Remove deprecated python_gen_usedep
This function is deprecated for some time already and there are no more
consumers left in ::gentoo.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-02-09 09:43:42 +01:00
Michał Górny a1d03cf2cb dev-python/isort: Switch to PEP 517 build
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-02-09 09:43:41 +01:00
Michał Górny 9e0be2f0b9 distutils-r1.eclass: Create distutils_pep517_install helper
Split the wheel build & install logic into a a new helper.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-02-09 09:43:40 +01:00
Michał Górny 2fcd67da82 distutils-r1.eclass: Get wheel name from the backend
Use the wheel name returned by build_wheel() rather than trying to guess
it from WHEEL_DIR.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-02-09 09:43:40 +01:00
Michał Górny afeff5639b distutils-r1.eclass: Split backend getting code into a function
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-02-09 09:43:39 +01:00
Marek Szuba 0251e43c1e mail-mta/protonmail-bridge: add 2.1.0
Signed-off-by: Marek Szuba <marecki@gentoo.org>
2022-02-09 08:18:08 +00:00
Marek Szuba 8b4e2a8202 mail-mta/protonmail-bridge: drop 1.8.10
Signed-off-by: Marek Szuba <marecki@gentoo.org>
2022-02-09 08:18:07 +00:00
Fabian Groffen f2e9fef93a app-shells/tcsh-6.24.00: version bump, fix old urls, #832929
Closes: https://bugs.gentoo.org/832929
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2022-02-09 09:15:32 +01:00
Sam James 6760b37ba3 dev-libs/pugixml: add 1.12
Signed-off-by: Sam James <sam@gentoo.org>
2022-02-09 07:03:07 +00:00
Agostino Sarubbo a75143f324 dev-libs/double-conversion: sparc stable wrt bug #832620
Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
2022-02-09 07:54:09 +01:00
Agostino Sarubbo 63352be57d dev-util/cmake: ppc64 stable wrt bug #832947
Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
2022-02-09 07:53:53 +01:00
Agostino Sarubbo df02a68e47 dev-util/cmake: ppc stable wrt bug #832947
Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
2022-02-09 07:53:35 +01:00
Agostino Sarubbo 30d2a66861 app-arch/libarchive: amd64 stable wrt bug #832897
Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
2022-02-09 07:53:07 +01:00
Agostino Sarubbo 93a68c0ef6 dev-vcs/qgit: amd64 stable wrt bug #832664
Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
2022-02-09 07:53:00 +01:00
Agostino Sarubbo df06d74ed8 dev-libs/double-conversion: amd64 stable wrt bug #832620
Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
2022-02-09 07:52:54 +01:00
Hans de Graaff aac98dad11 dev-ruby/spy: add 1.0.2
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
2022-02-09 07:04:06 +01:00
Hans de Graaff 85d316cb80 dev-ruby/liquid-c: add 4.1.0
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
2022-02-09 07:01:28 +01:00
Yixun Lan 5b1d3e4b6d sys-boot/gnu-efi: keyword ~riscv
tested on unmatched board

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan <dlan@gentoo.org>
2022-02-09 13:51:37 +08:00
Sam James 2ee65e4c7a sci-mathematics/cvc4: revbump for CMake config file fix
This file is installed and embeds the libdir path which will affect
consumers trying to build against/detect cvc4.

See: 0332138250
Closes: https://bugs.gentoo.org/820515
Signed-off-by: Sam James <sam@gentoo.org>
2022-02-09 01:37:43 +00:00
Sam James 52bf43aab4 dev-util/cmake: Stabilize 3.22.2 amd64, #832947
Signed-off-by: Sam James <sam@gentoo.org>
2022-02-09 01:24:50 +00:00
Sam James f394e83787 dev-python/twisted: Stabilize 22.1.0 arm64, #832903
Signed-off-by: Sam James <sam@gentoo.org>
2022-02-09 01:24:33 +00:00
Sam James bae387c3a5 dev-java/javax-inject: Stabilize 1-r4 arm64, #832902
Signed-off-by: Sam James <sam@gentoo.org>
2022-02-09 01:24:29 +00:00
Sam James 461a889eda app-arch/libarchive: Stabilize 3.5.3 arm64, #832897
Signed-off-by: Sam James <sam@gentoo.org>
2022-02-09 01:24:26 +00:00
Sam James a8dd668584 dev-java/jackrabbit-webdav: Stabilize 2.10.1-r2 arm64, #832896
Signed-off-by: Sam James <sam@gentoo.org>
2022-02-09 01:24:23 +00:00
Sam James a2df61fd92 dev-java/commons-httpclient: Stabilize 3.1-r2 arm64, #832896
Signed-off-by: Sam James <sam@gentoo.org>
2022-02-09 01:24:22 +00:00
Sam James dc17ce1d5f dev-java/slf4j-nop: Stabilize 1.7.30 arm64, #832896
Signed-off-by: Sam James <sam@gentoo.org>
2022-02-09 01:24:21 +00:00
Sam James 26c830b3d4 dev-java/bndlib: Stabilize 2.1.0-r1 arm64, #832896
Signed-off-by: Sam James <sam@gentoo.org>
2022-02-09 01:24:20 +00:00
Sam James b7c14b0f4e dev-java/osgi-enterprise-api: Stabilize 5.0.0-r1 arm64, #832896
Signed-off-by: Sam James <sam@gentoo.org>
2022-02-09 01:24:19 +00:00
Sam James b1906f88df java-virtuals/servlet-api: Stabilize 2.5-r2 arm64, #832896
Signed-off-by: Sam James <sam@gentoo.org>
2022-02-09 01:24:18 +00:00
Sam James 20ecb0bfc7 java-virtuals/servlet-api: Stabilize 2.3-r1 arm64, #832896
Signed-off-by: Sam James <sam@gentoo.org>
2022-02-09 01:24:17 +00:00