summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* cmake.eclass: Ban CMAKE_MIN_VERSION for realAndreas Sturmlechner2020-01-021-0/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* python*-r1.eclass: Update examples for virtual/pypy removalMichał Górny2019-12-302-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Eliminate virtual/pypyMichał Górny2019-12-302-4/+4
| | | | | | | Depend on dev-python/pypy directly, as that's the common package with the new layout. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Remove PYTHON_TARGETS="jython2_7"Michał Górny2019-12-302-4/+3
| | | | | | | | | Jython was supported as an experimental implementation but due to interoperability issues and very slow development, its (re-)deployment in ebuilds never took off. Now that Python 2.7 is going away, there's no point in keeping its future support. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Remove PYTHON_TARGETS="pypy"David Seifert2019-12-302-4/+4
| | | | | | | | | | * With the EOL of CPython 2, we also want to remove support for PyPy (i.e. PyPy for Python 2). This change does not affect PyPy3, i.e. Pypy for Python 3. Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Remove PYTHON_TARGETS="python3_5"David Seifert2019-12-302-4/+4
| | | | | | | | | | | * Python 3.5 will go EOL on 2020-09-13 and in order to reduce testing and maintenance burden, we want to keep the number of active Py3 impls below four. https://devguide.python.org/#status-of-python-branches Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Constrain to EAPI >= 5David Seifert2019-12-301-28/+9
| | | | | Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-any-r1.eclass: Constrain to EAPI >= 5David Seifert2019-12-301-6/+4
| | | | | Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/cargo.eclass: switch (b)depend to virtual/rustGeorgy Yakovlev2019-12-291-3/+3
| | | | | Bug: https://bugs.gentoo.org/695698 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* cmake-multilib.eclass: Add CMAKE_ECLASS switchAndreas Sturmlechner2019-12-291-6/+20
| | | | | | For transition from cmake-utils.eclass to cmake.eclass. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5.eclass: Switch to cmake.eclassAndreas Sturmlechner2019-12-291-15/+23
| | | | | | Provide cmake-utils_use_find_package alias. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Switch to cmake.eclassAndreas Sturmlechner2019-12-291-14/+14
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake.eclass: New eclass, EAPI-7 only cleanup of cmake-utilsAndreas Sturmlechner2019-12-291-0/+637
| | | | | | | | | | | | | | | - Drop all pre-EAPI-7 compatibility - Drop CMAKE_MIN_VERSION - Drop CMAKE_REMOVE_MODULES - Array support for CMAKE_REMOVE_MODULES_LIST - Drop pushd/popd from src_prepare - Drop _cmake_generator_to_use() CMAKE_MAKEFILE_GENERATOR validity is already checked in global scope. Move the check for dev-util/ninja into src_prepare. - Rename cmake_src_make() -> cmake_build() - Drop _cmake_ninja_src_build and _cmake_emake_src_build, move into cmake_build Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cargo.eclass: honor NOCOLOR settingGeorgy Yakovlev2019-12-271-0/+2
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* cargo.eclass: make cargo verbosity configurableGeorgy Yakovlev2019-12-271-4/+14
| | | | | Users can set CARGO_TERM_VERBOSE=false in make.conf if less build output is desired. Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* cargo.eclass: move jobs configuration to generated configfileGeorgy Yakovlev2019-12-271-3/+6
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* cargo.eclass: force offline operationsGeorgy Yakovlev2019-12-271-0/+3
| | | | | Bug: https://bugs.gentoo.org/697762 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* cargo.eclass: require rust 1.37 or newer unconditionallyGeorgy Yakovlev2019-12-271-6/+2
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* eclass/cargo.eclass: specify --path . to installDoug Goldstein2019-12-261-1/+7
| | | | | | | | | | | | | | cargo install has long required --path . for 2018 edition crates but not required it for 2015 edition crates. It is supported however for 2015 edition crates and works for all versions in the tree so it makes sense to make it the default. Added CARGO_INSTALL_PATH as an eclass variable allowing to override the default. Closes: https://bugs.gentoo.org/703590 Signed-off-by: Doug Goldstein <cardoe@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/14097 Tested-by: Georgy Yakovlev <gyakovlev@gentoo.org> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* ruby-utils.eclass: add ruby27Hans de Graaff2019-12-261-1/+5
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ruby-utils.eclass: update target preferencesHans de Graaff2019-12-251-2/+2
| | | | | | Match them to the current situation on the most common arches. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ecm.eclass: Ban variables from kde5*eclass for stricter portingAndreas Sturmlechner2019-12-241-0/+18
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5-functions.eclass: Drop functions/vars moved to ecm/kde.orgAndreas Sturmlechner2019-12-241-46/+0
| | | | | | | | | | _check_gcc_version moved to ecm.eclass KDE_GCC_MINIMAL moved to ecm.eclass KDE_BUILD_TYPE moved to kde.org.eclass punt_bogus_dep is deprecated (replaced by ecm_punt_bogus_dep in ecm.eclass) Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5.eclass: Add fallbacks in case of KDE_AUTODEPS=falseAndreas Sturmlechner2019-12-241-3/+106
| | | | | | | ECM_KDEINSTALLDIRS, KDE_DEBUG, KDE_TEST were found to be in use even with KDE_AUTODEPS disabled. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5.eclass: Inherit ecm.eclass and drop moved functions/varsAndreas Sturmlechner2019-12-241-267/+61
| | | | | | | | | | | | | | | | | | | | | Functions moved to ecm: - All phase functions so far exported by kde5 Variables moved to ecm: - ECM_KDEINSTALLDIRS - KDE_DEBUG (-> ECM_DEBUG) - KDE_DESIGNERPLUGIN (-> split into ECM_DESIGNERPLUGIN, KDE_DESIGNERPLUGIN) - KDE_EXAMPLES (-> ECM_EXAMPLES) - KDE_HANDBOOK (-> ECM_HANDBOOK) - KDE_DOC_DIR (-> ECM_HANDBOOK_DIR) - KDE_PO_DIRS (-> ECM_PO_DIRS) - KDE_QTHELP (-> ECM_QTHELP) - KDE_TEST (-> ECM_TEST) Variables deprecated: - KDE_AUTODEPS (re-use as a switch to inherit ecm or cmake-utils) Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* flag-o-matic.eclass: add LDFLAGS testing against linkerSergei Trofimovich2019-12-242-15/+59
| | | | | | | | | | | | | | | | Before the change we tested only compiler driver (gcc flag parser) for LDFLAGS. This does not cover cases when we would really like to filter out unsupported linker flags like -Wl,--hash-style=gnu passed to non-ELF targets. The change adds test-flag-CCLD() helper to perform all of assembly, compilation and linking steps. Helper is used to filter LDFLAGS variable in strip-unsupported-flags(). Closes: https://bugs.gentoo.org/333763 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* distutils-r1.eclass: Permit DISTUTILS_USE_SETUPTOOLS=manualMichał Górny2019-12-241-2/+5
| | | | | | | | | Add a new DISTUTILS_USE_SETUPTOOLS option to permit manually setting the dependencies correctly and suppressing the check. Requested by Arfrever. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* dotnet.eclass: Add EAPI 7 supportJames Le Cuirot2019-12-231-8/+10
| | | | | | | | I could not see eutils.eclass being used anywhere but multilib.eclass is needed for get_libdir. I will fix implicit use of eutils by libgdiplus for prune_libtool_files. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* eclass/tests/flag-o-matic.sh: clarify the filterSergei Trofimovich2019-12-231-1/+1
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: disable sandbox on gcc's test suiteSergei Trofimovich2019-12-221-2/+4
| | | | | | | | 'asan' wants to be preloaded first, so does 'sandbox'. To make asan tests work disable sandbox for all of test suite. 'backtrace' tests also does not like 'libsandbox.so' presence. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* elisp-common.eclass: Add missing argument to eend.Ulrich Müller2019-12-221-1/+1
| | | | | | Thanks to mgorny for pointing this out. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* llvm.org.eclass: [QA] Fix missing eend argMichał Górny2019-12-221-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* elisp-common.eclass: Report Emacs version with einfo, not elog.Ulrich Müller2019-12-211-1/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Small documentation update.Ulrich Müller2019-12-211-1/+4
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp.eclass: Depend on app-editors/emacs directly.Ulrich Müller2019-12-211-11/+7
| | | | | | | | | This replaces the indirect dependency on virtual/emacs. Update pkg_setup() to call elisp-check-emacs-version instead of the now deprecated elisp-need-emacs. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Update documentation.Ulrich Müller2019-12-211-19/+26
| | | | | | | | | | After the package split between emacs and emacs-vcs is gone, packages can depend on app-editors/emacs directly. Deprecate function elisp-need-emacs; ebuilds should assign variable NEED_EMACS instead. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: New function elisp-check-emacs-version.Ulrich Müller2019-12-211-1/+51
| | | | | | | | | | | | | | | | Tests if the Emacs version is at least the (full) version specified by NEED_EMACS, otherwise dies. Intended as a replacement for function elisp-need-emacs, which did only a simple numeric comparison of the major version. Call the new function before doing any actual work in elisp-compile() and elisp-make-autoload-file(), so ebuilds inheriting only elisp-common.eclass (but not elisp.eclass) won't have to add a pkg_setup phase function. Drop support for EAPIs 0 to 3. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* llvm.org.eclass: Fix appending GitHub SRC_URIMichał Górny2019-12-211-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* Revert "elisp-common.eclass: Drop support for EAPIs 0 to 3."Ulrich Müller2019-12-201-10/+7
| | | | | | | | | This wasn't correct. doins will indeed die by itself since EAPI 4, but die in a subshell is not guaranteed to work before EAPI 7. This reverts commit 72855c617981e1f1191a0ab2a9589d90c27f1b68. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* x11-libs/fox: bump versionsJason A. Donenfeld2019-12-161-1/+1
| | | | | Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
* qt5-build.eclass: Disable zstd for Qt5 >=5.13.2 RCC compressionAndreas Sturmlechner2019-12-161-0/+3
| | | | | Closes: https://bugs.gentoo.org/699248 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* fox.eclass: Mark @DEAD for removalMichał Górny2019-12-161-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* git-2.eclass: Mark @DEAD for removalMichał Górny2019-12-161-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* xemacs-elisp{,-common}.eclass: Mark as @DEAD for removal.Ulrich Müller2019-12-162-0/+10
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* obs-download.eclass: Mark @DEAD for removalMichał Górny2019-12-151-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* obs-service.eclass: Mark @DEAD for removalMichał Górny2019-12-151-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* git-r3.eclass: Remove SGR control sequences from messages.Ulrich Müller2019-12-151-9/+9
| | | | | | | These prevent NOCOLOR in make.conf or emerge --color=n from working correctly, and may also be problematic for accessibility. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Drop support for EAPIs 0 to 3.Ulrich Müller2019-12-151-7/+10
| | | | | | | This goes along with a small code simplification, since doins will die by itself in EAPI 4 or later. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp.eclass: Fix initial copyright year.Ulrich Müller2019-12-151-1/+1
| | | | | | The eclass was initially committed on 2002-10-29. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* ecm.eclass: Fix kde-frameworks/ minimum to major.minor of PVAndreas Sturmlechner2019-12-151-1/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>