summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
...
* meson.eclass: fix tc-endian call for native fileMike Gilbert2020-05-021-1/+1
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* meson.eclass: implement support for native machine filesMike Gilbert2020-05-021-20/+87
| | | | | | | | | | | Using a native file avoids putting meson into cross-compiler mode for multilib builds. Reference: https://mesonbuild.com/Machine-files.html Reference: https://mesonbuild.com/Native-environments.html Bug: https://bugs.gentoo.org/719382 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* distutils-r1: fix test runner for setup.pyAlexey Sokolov2020-05-011-1/+2
| | | | | | | It didn't fail under nonfatal (e.g. by virtx) if the test failed. Closes: https://github.com/gentoo/gentoo/pull/15590 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.eclass: Remove old slotsMichał Górny2020-05-011-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/tests/distutils-r1.sh: Revert "Update Python versions"Michał Górny2020-04-301-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Restore old CPython version reqsMichał Górny2020-04-301-7/+5
| | | | | Closes: https://bugs.gentoo.org/720048 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-install.eclass: Print elog about symlink updateMichał Górny2020-04-291-0/+7
| | | | | Bug: https://bugs.gentoo.org/719910 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass: last-rite bzr.eclassJoonas Niilola2020-04-281-1/+2
| | | | | | | | - became dysfunctional after removal of dev-vcs/bzr. Bug: https://bugs.gentoo.org/715044 Bug: https://bugs.gentoo.org/719892 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* eclass: last-rite twisted-r1.eclassJoonas Niilola2020-04-271-1/+2
| | | | | Bug: https://bugs.gentoo.org/719794 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* rebar.eclass: rebuild on erlang updates with := depHanno Böck2020-04-271-1/+1
| | | | | Closes: https://bugs.gentoo.org/714702 Signed-off-by: Hanno Böck <hanno@gentoo.org>
* mozconfig-v6.52.eclass: Replace virtual/ffmpegDavid Seifert2020-04-261-1/+1
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* eclass/rust-toolchain.eclass: add multilib support on amd64Georgy Yakovlev2020-04-241-14/+14
| | | | | Bug: https://bugs.gentoo.org/701362 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* meson.eclass: wire up pkgconfig variablesMike Gilbert2020-04-231-0/+3
| | | | | | | | | | | | meson-0.54.0 introduced a regression in how meson treats the PKG_CONFIG_PATH variable. Work around this by passing the value to meson setup on the command line. Also add sys_root and pkg_config_libdir to cross files per the upstream documentation. Bug: https://bugs.gentoo.org/719018 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* meson.eclass: export NM and READELF variablesMike Gilbert2020-04-221-0/+5
| | | | | | | These are used by the symbolextractor.py script in meson. Closes: https://bugs.gentoo.org/717720 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* rpm.eclass: use BDEPEND for EAPI 7David Michael2020-04-201-1/+4
| | | | | | | | The build system's rpm2tar command is executed during unpack, so it must be install in /. Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* eclass/tests/python-utils-r1.sh: Add tests for py3.8Michał Górny2020-04-191-0/+14
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Fix PYTHON_LIBS for py3.8+Michał Górny2020-04-191-2/+6
| | | | | | | | | | | Python 3.8+ provides two pkg-config files: python-3.8 for building Python extensions and python-3.8-embed for embedding Python in other programs. The former no longer lists -lpython*, resulting in empty PYTHON_LIBS. Since our consumers are more likely to want it non-empty if they already query it, switch to the latter file. Closes: https://bugs.gentoo.org/718344 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* texlive-module.eclass: Make SRC_URI more configurableAndreas K. Hüttel2020-04-191-3/+12
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* font.eclass: Fix condition for FONT_S in src_install().Ulrich Müller2020-04-181-1/+1
| | | | | | | Whitespace can be other characters than literal space. Fixes: 58cea2803d7aa7b1a98f72aa55b6221618dc5e5f Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* texlive-module.eclass: migrate from mirror://gentooMikle Kolyada2020-04-161-3/+3
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* kde5-functions.eclass: Remove last-rited eclassAndreas Sturmlechner2020-04-161-244/+0
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5.eclass: Remove last-rited eclassAndreas Sturmlechner2020-04-161-439/+0
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Drop references to -DNDEBUG of cmake.eclassAndreas Sturmlechner2020-04-161-3/+2
| | | | | | | Flag has been removed from there. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> (cherry picked from commit 1f4a58b2d53b1ae8d006be6fb53a491c5167a7c1)
* ecm.eclass: Drop kde5.eclass supportAndreas Sturmlechner2020-04-161-39/+14
| | | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> (cherry picked from commit ed6084d902979c53477f2084f9c292e0553b97a5)
* kde.org.eclass: Allow to use SRC_URI in addition to live sourcesAndreas Sturmlechner2020-04-161-5/+4
| | | | | | | Copied from qt5-build.eclass. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> (cherry picked from commit bb9352eaa4e149475a4f2c8a34f115b9e27fe732)
* fcaps.eclass: Remove sys-libs/libcap-ng supportMatt Turner2020-04-151-66/+33
| | | | | | | | | | | | | | | libcap-ng-0.7.10 changed the output format slightly (in upstream commit bc1a9c07ebf5 "- Add capng_have_permitted_capabilities function and use it in filecap"), breaking our usage of it. It's obvious that it's not supposed to be used programmatically given the awful sed'ing we were already doing. It doesn't seem like there was a compelling reason why it was added either (bug #454908), so let's just get rid of it. At the same time, fix the dependency on sys-libs/libcap by moving it to RDEPEND, as dependencies in DEPEND/BDEPEND are not guaranteed to exist during pkg_postinst() when this eclass is intended to run. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* mozextension.eclass: fix sed which determines extension idThomas Deutschmann2020-04-151-8/+8
| | | | | Closes: https://bugs.gentoo.org/717348 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* texlive-module.eclass: Optimize src_unpack()Michał Górny2020-04-141-10/+8
| | | | | | | | | This goes a bit further than slyfox's work. On my machine, it reduces the post-unpack time from ~44m to ~13m. Bug: https://bugs.gentoo.org/688922 Acked-by: Mikle Kolyada <zlogene@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* meson.eclass: update the example to use modern helper functionsMarek Szuba2020-04-141-3/+3
| | | | | | | | We have now got meson_use and meson_feature yet the example still used usex. Signed-off-by: Marek Szuba <marecki@gentoo.org> Reviewed-by: Mike Gilbert <floppym@gentoo.org>
* python-utils-r1.eclass: Bump python:3.7 depMichał Górny2020-04-141-1/+1
| | | | | | Hopefully it resolves package issues that were caused by 3.7.6. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Pass --skip-build when installingMichał Górny2020-04-141-1/+1
| | | | | | | | | | | | | | | Explicitly pass --skip-build in order to prevent distutils from rebuilding files when installing. This is especially relevant to some packages that build extensions, and the extensions get built again in src_install(). Technically, this can break some customized build systems that write implementation-specific data into source directory, and right now the implied rebuild caused it to be rewritten when installing. With this patch, the newest version of the file would be installed for all interpreters. I am not aware of any such packages, though. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-single-r1.eclass: Allow using PYTHON_USEDEP againMichał Górny2020-04-141-8/+14
| | | | | | | | | Instead of requiring people to type PYTHON_MULTI_USEDEP, permit shorter form of PYTHON_USEDEP. This does not restore the old behavior but improves consistency between eclasses that was broken by python-single-r1 API changes. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* meson.eclass: add MYMESONARGS variableMike Gilbert2020-04-121-0/+11
| | | | | | This was requested to allow users to pass aribtrary arguments to meson. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* meson.eclass: clean up meson_src_configureMike Gilbert2020-04-121-10/+20
| | | | | | | This mainly rearranges some code to make it easier to read. Also changes the bare 'meson' call to 'meson setup'. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* toolchain.eclass: use https:// for git protocol, bug #717056Sergei Trofimovich2020-04-111-1/+1
| | | | | | Reported-by: Hanno Böck Closes: https://bugs.gentoo.org/717056 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: fix ada build with ltoAlfredo Tupone2020-04-101-2/+2
| | | | | | Closes: https://bugs.gentoo.org/716570 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* qt5-build.eclass: Drop obsolete in-source build workaround for >=5.14.2Andreas Sturmlechner2020-04-091-5/+11
| | | | | | | | | | | | | Fixed upstream in 5.11.1. See also: https://bugreports.qt.io/browse/QTBUG-37417 Upstream commit 67aa365d41ebfe082b4efcfd725e4d5f08be678c qtbase forwarding header was introduced to fix bug 599636 in commit: d82f92ed064996dfb187ef668d74ed5b05546b2d Closes: https://bugs.gentoo.org/676948 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Add missing -no-feature-gssapi switchAndreas Sturmlechner2020-04-091-0/+1
| | | | | | Upstream commit 1a8f4a3c8fa30265e7f184373c738dbc3574663a Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* gnome2-utils.eclass: Inherit eutils.eclass for emktemp().Arfrever Frehtes Taifersar Arahesis2020-04-071-2/+3
| | | | | | Bug: https://bugs.gentoo.org/694012 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* gnome2-utils.eclass: Fix missing "/" with EAPI >= 7.Arfrever Frehtes Taifersar Arahesis2020-04-071-9/+9
| | | | | | Bug: https://bugs.gentoo.org/694012 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* gnome2-utils.eclass: Fix double "/" with EAPI < 7.Arfrever Frehtes Taifersar Arahesis2020-04-071-10/+10
| | | | | | Bug: https://bugs.gentoo.org/694012 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* gnome2-utils.eclass: remove redundant @USAGE linesBen Kohler2020-04-071-5/+0
| | | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* leechcraft.eclass: add qtcore and qtgui deps0xd34df00d2020-04-051-0/+6
| | | | | | | | | | | | Every lc plugin necessarily links to both qtcore and qtgui, otherwise it is not loadable by the lc-core. Although possibly being a (mis)feature of the plugin API, this is unlikely to get fixed any time soon if at all, so let's save some duplication and avoid putting these deps in each of the ~70 ebuilds. Signed-off-by: Georg Rudoy <0xd34df00d@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/14924 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* Improve the name-version regexLuca Barbato2020-04-041-1/+1
| | | | | | | | | See: https://doc.rust-lang.org/cargo/reference/manifest.html#the-name-field Unbreaks crates using `curl-sys` version `0.4.30+curl-7.69.1` and such. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* toolchain.eclass: add support to ada during compileTupone Alfredo2020-04-041-3/+22
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* toolchain.eclass: drop I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS guardSergei Trofimovich2020-04-021-16/+0
| | | | | | Let's rely on keywording alone to guard against accidental installation. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* office-ext-r1.eclass: Inherit eutils.eclass for emktemp()Arfrever Frehtes Taifersar Arahesis2020-04-021-2/+5
| | | | | | Closes: https://bugs.gentoo.org/715666 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake.eclass: do not append -DNDEBUG to CPPFLAGSMike Gilbert2020-04-011-9/+0
| | | | | | | | | | | | | | | | | | | The NDEBUG macro turns the assert() function into a noop. This gives a small performance boost, but may allow subtle programming errors to go unnoticed. This code was added back in 2008, when we started passing -DCMAKE_BUILD_TYPE=None instead of Release or Debug. It probably tries to mimic a default behavior of Release type builds. Other common build systems do not do this by default. For example, autoconf's AC_HEADER_ASSERT macro only sets NDEBUG if --disable-assert is passed to configure (it defaults to enabled). It is better to let users add this to CPPFLAGS themselves if they really want to save those few CPU cycles. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* waf-utils.eclass: Replace NO_WAF_LIBDIR with an automatic checkChris Mayo2020-04-011-8/+4
| | | | | | | | Test `waf --help` for --libdir support instead. Signed-off-by: Chris Mayo <aklhfex@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/15093 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* waf-utils.eclass: Support --docdir and --htmldirChris Mayo2020-04-011-3/+11
| | | | | | | | | | | waf can optionally set the standard GNU directories [1]. Based on the code for econf in Portage's phase-helpers.sh. [1] https://waf.io/apidocs/tools/gnu_dirs.html Closes: https://bugs.gentoo.org/711612 Signed-off-by: Chris Mayo <aklhfex@gmail.com> Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>