summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* preserve-libs.eclass: add EAPI 8Sam James2023-04-071-3/+3
| | | | | | Trivial changes. Signed-off-by: Sam James <sam@gentoo.org>
* unpacker.eclass: Don't assume the default tar is stdinArsen Arsenović2023-04-061-1/+1
| | | | | | | | | | | | | Despite common misconception, the default GNU tar tarfile is not stdin. On some systems, this can cause tar to fail to extract relevant files. See '(tar)file tutorial' for a description of how the default is picked. Closes: https://bugs.gentoo.org/903631 Closes: https://bugs.gentoo.org/903914 Closes: https://bugs.gentoo.org/903919 Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
* llvm.org.eclass: Enable prebuilt manpages for 16.0.1Michał Górny2023-04-051-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Remove < dep on dev-python/setuptoolsMichał Górny2023-04-051-7/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* qmail.eclass: Patch make-makelib.sh only if it is presentPetr Vaněk2023-04-041-1/+6
| | | | | | | | | | | | | | | Some packages use qmail_set_cc function but they don't contain make-makelib.sh script. However, recent addition of || die to the sed patching this file is newly triggering build failure. This commit addresses the problem by checking if the script is available. Closes: https://bugs.gentoo.org/902009 Closes: https://bugs.gentoo.org/902019 Fixes: fd4e88c55e34 ("qmail.eclass: remove EAPI 6") Closes: https://github.com/gentoo/gentoo/pull/30456 Closes: https://github.com/gentoo/gentoo/pull/30205 Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Signed-off-by: Florian Schmaus <flow@gentoo.org>
* sgml-catalog-r1.eclass: Strip ROOT when generating catalogRaul E Rangel2023-04-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | When cross compiling by setting the ROOT variable, the eclass was writing the full EROOT path into the catalog file. This results in an invalid path at runtime. i.e., $ cat /build/amd64-host/etc/sgml/catalog CATALOG "/build/amd64-host/etc/sgml/sgml-docbook.cat" CATALOG "/build/amd64-host/etc/sgml/sgml-ent.cat" CATALOG "/build/amd64-host/etc/sgml/xml-docbook-4.1.2.cat" Instead we should be stripping off the ROOT so we get a valid path: $ cat /build/amd64-host/etc/sgml/catalog CATALOG "/etc/sgml/sgml-docbook.cat" CATALOG "/etc/sgml/sgml-ent.cat" CATALOG "/etc/sgml/xml-docbook-4.1.2.cat" We don't strip EROOT because we want to keep the prefix if it's present. Closes: https://bugs.gentoo.org/903747 Signed-off-by: Raul E Rangel <rrangel@chromium.org> Closes: https://github.com/gentoo/gentoo/pull/30462 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* gnome.org.eclass: Handle GNOME's .alpha/.beta/.rc versioningMatt Turner2023-04-011-2/+2
| | | | | | | | | | | | Tested by removing SRC_URI and S overrides in evince-44_rc.ebuild and glib-networking-2.76_beta.ebuild and confirming that we fetch the same distfile and build from the same source directory. Also confirmed that (alpha|beta|rc).<num> works by making a glib-networking-2.76_beta1.ebuild and seeing that we attempt to fetch glib-networking-2.76.beta.1.tar.xz. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* gnome.org.eclass: Add GNOME_ORG_PV variableMatt Turner2023-04-011-0/+7
| | | | | | | Provides the package version in the format used upstream by GNOME projects. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* gnome.org.eclass: Rename GNOME_ORG_PVP -> GNOME_ORG_RELEASEMatt Turner2023-04-011-4/+4
| | | | | | I don't think PVP stood for anything. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* ruby-ng.eclass: improve error when no valid Ruby in USE_RUBYSam James2023-03-311-1/+6
| | | | | | | | This means we don't get confusing *DEPEND/REQUIRED_USE errors about it being unparseable and instead just get a straightforward die message indicating the problem. Signed-off-by: Sam James <sam@gentoo.org>
* linux-info.eclass: fix @AUTHOR eclassdocSam James2023-03-291-1/+1
| | | | | | | This breaks our brittle eclass2manpages script for now. Fixes: 8435a16eb3e375dfe0a37f076eb6a1ebfed0a55b Signed-off-by: Sam James <sam@gentoo.org>
* toolchain-autoconf.eclass: Add option to disable Info slottingArsen Arsenović2023-03-271-3/+43
| | | | | Closes: https://bugs.gentoo.org/902461 Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
* elisp-common.eclass: Update NEED_EMACS to 25.3Ulrich Müller2023-03-261-1/+1
| | | | | | | This corresponds to the oldest version of Emacs (other than slot 18) currently in the tree. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* cmake.eclass: Set Python3_FIND_UNVERSIONED_NAMES FIRSTAndreas Sturmlechner2023-03-261-0/+1
| | | | | | | | See also: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/8287 Bug: https://bugs.gentoo.org/835799 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* webapp.eclass: fix spellingSam James2023-03-261-1/+1
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* waf-utils.eclass: fix spellingSam James2023-03-261-1/+1
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* virtualx.eclass: fix spellingSam James2023-03-261-1/+1
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* vdr-plugin-2.eclass: fix spellingSam James2023-03-261-1/+1
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* unpacker.eclass: fix spellingSam James2023-03-261-2/+2
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* toolchain.eclass: fix spellingSam James2023-03-261-5/+5
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* texlive-module.eclass: fix spellingSam James2023-03-261-2/+2
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* subversion.eclass: fix spellingSam James2023-03-261-1/+1
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* selinux-policy-2.eclass: fix spellingSam James2023-03-261-5/+5
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* ruby-fakegem.eclass: fix spellingSam James2023-03-261-1/+1
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* rebar.eclass: fix spellingSam James2023-03-261-2/+2
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* qmail.eclass: fix spellingSam James2023-03-261-1/+1
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* pypi.eclass: fix spellingSam James2023-03-261-1/+1
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* portability.eclass: fix spellingSam James2023-03-261-3/+3
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* pam.eclass: fix spellingSam James2023-03-261-3/+3
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* office-ext-r1.eclass: fix spellingSam James2023-03-261-1/+1
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* ninja-utils.eclass: fix spellingSam James2023-03-261-1/+1
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* multilib.eclass: fix spellingSam James2023-03-261-1/+1
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* mozcoreconf-v6.eclass: fix spellingSam James2023-03-261-2/+2
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* mate.eclass: fix spellingSam James2023-03-261-2/+2
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* linux-mod.eclass: fix spellingSam James2023-03-261-3/+3
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* linux-info.eclass: fix spellingSam James2023-03-261-3/+3
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* kernel-2.eclass: fix spellingSam James2023-03-261-14/+14
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* java-vm-2.eclass: fix spellingSam James2023-03-261-1/+1
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* java-utils-2.eclass: fix spellingSam James2023-03-261-5/+5
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* java-pkg-2.eclass: fix spellingSam James2023-03-261-1/+1
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* java-ant-2.eclass: fix spellingSam James2023-03-261-1/+1
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* haskell-cabal.eclass: fix spellingSam James2023-03-261-5/+5
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* gstreamer-meson.eclass: fix spellingSam James2023-03-261-1/+1
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* gnustep-base.eclass: fix spellingSam James2023-03-261-2/+2
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* gnome2-utils.eclass: fix spellingSam James2023-03-261-1/+1
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* git-r3.eclass: fix spellingSam James2023-03-261-3/+3
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* fortran-2.eclass: fix spellingSam James2023-03-261-1/+1
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* epatch.eclass: fix spellingSam James2023-03-261-3/+3
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp.eclass: fix spellingSam James2023-03-261-1/+1
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* distutils-r1.eclass: fix spellingSam James2023-03-261-1/+1
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>