summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* java-pkg-simple.eclass: added support for module-info.java compilationMiroslav Šulc2021-06-241-4/+53
| | | | | | | for more info see https://bugs.gentoo.org/796875 Bug: https://bugs.gentoo.org/796875 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* acct-user.eclass: EAPI 8 supportDavid Michael2021-06-241-9/+10
| | | | | | | | | | | | | | | | | | | Update the documentation to describe how to depend on GLEP 81 packages with EAPI 8. There is no NSS module for resolving the accounts installed in $SYSROOT, so acct-* packages might also need need to be in $BROOT e.g. for fowners which directly calls chown. - BDEPEND so the build system can resolve names when building packages in nonempty $SYSROOT at src_install time. - IDEPEND so the build system can resolve names when installing binary packages in nonempty $ROOT at pkg_preinst time. - RDEPEND so the target system can use the accounts. Closes: https://github.com/gentoo/gentoo/pull/21377 Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* acct-group.eclass: EAPI 8 supportDavid Michael2021-06-241-9/+10
| | | | | | | | | | | | | | | | | | Update the documentation to describe how to depend on GLEP 81 packages with EAPI 8. There is no NSS module for resolving the accounts installed in $SYSROOT, so acct-* packages might also need need to be in $BROOT e.g. for fowners which directly calls chown. - BDEPEND so the build system can resolve names when building packages in nonempty $SYSROOT at src_install time. - IDEPEND so the build system can resolve names when installing binary packages in nonempty $ROOT at pkg_preinst time. - RDEPEND so the target system can use the accounts. Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* user.eclass: EAPI 8 supportDavid Michael2021-06-241-3/+4
| | | | | | | Also drop support for EAPIs 0-4 to match user-info.eclass. Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* user-info.eclass: EAPI 8 supportDavid Michael2021-06-241-2/+2
| | | | | Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* python-utils-r1.eclass: Revert "Remove python_optimize support..."Michał Górny2021-06-241-2/+6
| | | | | | | | python_optimize is still used in dev-python/pypy. Reverts: 964f5c61816659b0138c8fe98593786d9da7f084 Closes: https://bugs.gentoo.org/798330 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Remove _python_ln_relMichał Górny2021-06-231-40/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Enable EAPI 8Michał Górny2021-06-231-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Use 'dosym -r' in EAPI 8Michał Górny2021-06-231-2/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Ban dift --via-home in EAPI 8Michał Górny2021-06-231-0/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Require >=pyproject2setuppy-15Michał Górny2021-06-231-3/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Replace mydistutilsargs with DISTUTILS_ARGSMichał Górny2021-06-231-7/+16
| | | | | | | Add a new correctly-cased DISTUTILS_ARGS variable that replaces mydistutilsargs. Ban the latter in EAPI 8. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Refactor --install-scripts rewriting logicMichał Górny2021-06-231-22/+21
| | | | | | | | | Refactor the --install-scripts rewriting logic in distutils-r1_python_install to be less horrid. Instead of using variable indirection, just inline the mydistutilsargs logic from esetup.py and rewrite the combined argument array. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-r1.eclass: Enable EAPI 8Michał Górny2021-06-231-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-r1.eclass: Use 'dosym -r' in EAPI 8Michał Górny2021-06-231-1/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-r1.eclass: Ban python_gen_usedep in EAPI 8Michał Górny2021-06-231-0/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-r1.eclass: Remove obsolete QA hack for PYTHON_USEDEPMichał Górny2021-06-231-14/+4
| | | | | | | | | Remove the QA hack for PYTHON_USEDEP that originally prevented python-r1 ebuilds from wrongly depending on python-single-r1 packages. Since the latter no longer define python_targets*, these dependencies are now caught without any hacks. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* multibuild.eclass: Enable EAPI 8Michał Górny2021-06-231-4/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-r1.eclass: Update doc for -2/-3 arg removalMichał Górny2021-06-231-35/+28
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-single-r1.eclass: Enable EAPI 8Michał Górny2021-06-231-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-single-r1.eclass: Ban PYTHON_MULTI_USEDEP in EAPI 8Michał Górny2021-06-231-6/+6
| | | | | | | PYTHON_MULTI_USEDEP was a temporary transition measure, and is now equivalent to PYTHON_USEDEP. Ban it in EAPI 8 to clean up ebuilds. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-single-r1.eclass: Update doc for -2/-3 arg removalMichał Górny2021-06-231-20/+16
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-any-r1.eclass: Enable EAPI 8Michał Górny2021-06-231-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-any-r1.eclass: Remove obsolete PYTHON_USEDEP single-r1 hackMichał Górny2021-06-231-7/+7
| | | | | | | | | Remove the QA hack for PYTHON_USEDEP that originally prevented python-r1 ebuilds from wrongly depending on python-single-r1 packages. Since the latter no longer define python_targets*, these dependencies are now caught without any hacks. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-any-r1.eclass: Remove obsolete eselect-python useMichał Górny2021-06-231-16/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Enable EAPI 8Michał Górny2021-06-231-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Fix python_fix_shebang for py3.10+Michał Górny2021-06-231-5/+7
| | | | | | We should be safe until Python 3.99 now ;-). Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Deprecated and EAPI8-ban python_is_python3Michał Górny2021-06-232-0/+7
| | | | | | | There is no use for python_is_python3 anymore, as Python 2 is no longer supported at runtime and the remaining any-r1 uses are pure-2. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Ban py2 deps in python_gen* in EAPI 8Michał Górny2021-06-231-13/+26
| | | | | | | | Ban using -2 or python2* as an argument to python_gen_cond_dep and other functions using _python_impl_matches, in order to force cleaning up old entries, in EAPI 8. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Eliminate local python_is_python3 usesMichał Górny2021-06-231-10/+6
| | | | | | | | Do not use python_is_python3 in eclass functions to ease banning it. Except for wrapper setup that is still used in py2 any-r1 context, we can unconditionally assume Python 3 everywhere. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Rename *into vars to use underscoresMichał Górny2021-06-231-6/+6
| | | | | | | | Rename helper variables used by *into to mark them private with underscores. The old names are leftovers from deprecated API that permitted setting them directly. It was last used in ::gentoo in 2016. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Remove python_optimize support for py<3.5Michał Górny2021-06-231-6/+2
| | | | | | | | Remove the support code for Python 2.7, <3.5, as well as PyPy2.7. These are no longer supported at runtime, so byte-compiling should not be used for these impls. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Use 'dosym -r' in EAPI 8Michał Górny2021-06-231-2/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Ban private API in EAPI 8Michał Górny2021-06-231-0/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* darcs.eclass: mark as DEAD for removalSergei Trofimovich2021-06-231-0/+3
| | | | | Suggested-by: Ulrich Mueller <ulm@gentoo.org> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* git-r3.eclass: Remove git-2 backwards compatibility codeUlrich Müller2021-06-231-50/+4
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* git-r3.eclass: Support EAPI 8, drop support for EAPI 4Ulrich Müller2021-06-231-12/+6
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* flag-o-matic.eclass: Support EAPI 8Ulrich Müller2021-06-231-2/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* libtool.eclass: Support EAPI 8Ulrich Müller2021-06-231-7/+4
| | | | | | | Drop support for EAPIs 0 to 4. Remove uclibctoolize and darwintoolize (after 10+ years). Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* multilib.eclass: Update a commentUlrich Müller2021-06-231-1/+1
| | | | | Reported-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* multilib.eclass: Support EAPI 8Ulrich Müller2021-06-231-2/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* toolchain-funcs.eclass: Support EAPI 8Ulrich Müller2021-06-231-2/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* gnuconfig.eclass: Support EAPI 8Ulrich Müller2021-06-231-6/+3
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* apache-2.eclass: [QA] add virtual/libcrypt dependencySam James2021-06-221-1/+2
| | | | | | | Needed for upcoming libcrypt migration. Acked-by: David Seifert <soap@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* eclass/tests: Add EAPI decls to fix running testsDavid Seifert2021-06-226-6/+12
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* kernel-build.eclass: add cpio to BDEPENDDavid Michael2021-06-221-0/+1
| | | | | | | | | When CONFIG_IKHEADERS is set, a script is run that requires cpio to be installed. The default config files enable this setting. Closes: https://bugs.gentoo.org/797613 Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* vdr-plugin-2.eclass: fix IncorrectCopyrightSam James2021-06-221-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* vdr-plugin-2.eclass: fix pkgcheck findings in documentationMartin Dummer2021-06-221-43/+82
| | | | | | | | | | | | | | | | Add documentation to eclass functions and variables as found by pkgcheck, no functional changes. pkgcheck reported: EclassDocMissingFunc: vdr-plugin-2: undocumented functions: has_vdr, vdr-plugin-2_print_enable_command, vdr-plugin-2_src_util, vdr_create_header_checksum_file, vdr_create_plugindb_file, vdr_detect_po_dir, vdr_gettext_missing, vdr_i18n, vdr_linguas_support, vdr_patchmakefile EclassDocMissingVar: vdr-plugin-2: undocumented variables: COMMON_DEPEND, VDRPLUGIN Signed-off-by: Martin Dummer <martin.dummer@gmx.net> Closes: https://github.com/gentoo/gentoo/pull/20845 Signed-off-by: Sam James <sam@gentoo.org>
* multilib.eclass: store EAPI=0 support used by crossdevSergei Trofimovich2021-06-211-2/+3
| | | | | | Reported-by: Marco Scardovi (scardracs) Bug: https://bugs.gentoo.org/797367 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain-funcs.eclass: restore EAPI=0 support used by crossdevSergei Trofimovich2021-06-211-1/+2
| | | | | | Reported-by: Marco Scardovi (scardracs) Bug: https://bugs.gentoo.org/797367 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>