summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* eclass/ruby-ng.eclass: turn off loud publication banner in cucumberHans de Graaff2021-11-241-1/+1
| | | | | | | Use the environment variable rather than the command-line option for easy backward compatibility with cucumber < 7. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* eclass/ruby-ng.eclass: ruby25 is no longer availableHans de Graaff2021-09-121-1/+1
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* eclass/ruby-ng.eclass: remove EAPI 4 supportHans de Graaff2021-07-181-11/+11
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* eclass/ruby-ng.eclass: add EAPI 8 supportHans de Graaff2021-07-181-9/+6
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ruby-ng.eclass: die on errors in ruby_rbconfig_valueHans de Graaff2021-05-011-1/+1
| | | | | | | | | | Die on errors in ruby_rbconfig_value, so that any issues with it cause an immediate stop, rather than returning a nil value which may propagate into installed ebuilds and cause hard-to-diagnose issues. Closes: https://bugs.gentoo.org/776322 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* eclass/ruby-{ng,fakegem}.eclass: fix did_you_mean issuesHans de Graaff2021-04-281-1/+1
| | | | | | | | | | | | | | | | | | The default gem did_you_mean was unbundled in 2e225cca1aa95b8a5e54cbd855f17dbaf88940d9 to fix bug 758464. Unfortunately ruby 2.7 fails when did_you_mean is not present at all, making it impossible to install this ruby version. 2.6 and 3.0 are not affected by this. With this change we explicitly disable the did_you_mean gem when invoking ruby in the eclasses. Thanks to naota for diagnosing the issue and coming up with a solution. Closes: https://bugs.gentoo.org/705346 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ruby-ng.eclass: add @DESCRIPTION as extension of @RETURNSam James2021-03-311-1/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* eclass: [QA] Revert multiple meaningless doc changesMichał Górny2020-12-281-1/+0
| | | | | | | | | | | Revert multiple meaningless eclass documentation changes, notably adding a lot of placeholders and documenting implementation details. These changes were aimed at silencing (valid) documentation warnings without actually providing valuable documentation to the end users. While some of these changes were beneficial, it would take a lot of effort to review them all and the author is unwilling to fix his mistakes. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/ruby-ng: fixup EclassDocErrorAaron Bauman2020-12-161-0/+1
| | | | Signed-off-by: Aaron Bauman <bman@gentoo.org>
* eclass/ruby-{ng,utils}.eclass: mark ruby24 as removedHans de Graaff2020-08-071-1/+1
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ruby-ng.eclass: Include (-) in RUBY_TARGETS USE-dependenciesMichał Górny2020-01-051-4/+4
| | | | | | | Using 2-style USE dependencies on packages not having the flag in question is forbidden by PMS. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* ruby-ng.eclass: Add RESTRICT="!test? ( test )"Michał Górny2019-11-041-1/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* ruby-ng.eclass: remove emtpy line in documentationHans de Graaff2019-07-281-1/+0
| | | | | | | | This was breaking man page generation. Fixes: https://bugs.gentoo.org/690868 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ruby-ng.eclass: remove 2-arg calling of depend methods in EAPI 7Hans de Graaff2019-07-251-6/+20
| | | | | | | No longer allow the deprecated 2 argument calls to the ruby*depend methods in EAPI 7. These are already deprecated for a long time. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ruby-ng.eclass: handle BDEPEND for EAPI 7Hans de Graaff2019-07-251-15/+47
| | | | | | | | | | | | | | | | | | | | | | Add support for BDEPEND in EAPI 7. It is not clear how to handle test dependencies since the test framework will need to run on the CBUILD host but the code that needs to run is already cross-compiled for the CHOST. Most likely tests won't work at all in this case. Add test dependencies to BDEPEND in EAPI 7 since this matches most closely to how the test will be executed. Adjust `ruby_add_bdepend` to add to BDEPEND on EAPI 7. This also allows us to keep the name for this method. Add a new `ruby_add_depend` to add to DEPEND in EAPI 7 and newer only. This allows for the rare case where gems need to link to other gem code (e.g. dev-ruby/nokogumbo). Add ruby itself to RDEPEND, BDEPEND, and DEPEND since it is expected to be present in all three cases. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ruby-ng.eclass: use ruby_rbconfig_valueHans de Graaff2019-07-251-3/+3
| | | | | | | Consistently use ruby_rbconfig_value to get ruby configuration information. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ruby-ng.eclass: make presence of RUBY_PATCHES fatalHans de Graaff2019-07-251-1/+6
| | | | | | | | The eqawarn in EAPI 6 is easy to mis and may lead to patches "silently" not being applied. die on this in EAPI 7 to make this situation more explicit. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ruby-ng.eclass: stop inheriting toolchain-funcsHans de Graaff2019-07-251-2/+5
| | | | | | | | Stop inheriting toolchain-funcs in EAPI 7. The eclass does not use this eclass and any ebuild that requires it should inherit it directly instead. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ruby-ng.eclass: add EAPI 7 supportHans de Graaff2019-07-251-3/+3
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ruby-ng.eclass: future proof EAPI checksHans de Graaff2019-07-211-3/+5
| | | | | | | Explicitly list old EAPIs but use a wildcard for the latest EAPI, so that these changes will also be used by default in newer EAPIs. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ruby-ng.eclass: drop support for EAPI 2 and EAPI 3Hans de Graaff2019-07-211-33/+10
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ruby-ng.eclass: add missing 'estack' inherit to EAPI=6Sergei Trofimovich2019-07-201-0/+3
| | | | | | | | | | | | Noticed when ran egencache: $ PORTAGE_ELOG_CLASSES="qa" egencache --repo=gentoo --update --update-use-local-desc --jobs=$(nproc) * Call stack: * ruby-ng.eclass, line 142: Called command_not_found_handle 'eshopts_push' '-o' 'noglob' * ebuild.sh, line 325: Called __qa_source '/gentoo-ebuilds/gentoo/eclass/ruby-fakegem.eclass' * ebuild.sh, line 624: Called source '/gentoo-ebuilds/gentoo/dev-ruby/moneta/moneta-1.1.0.ebuild' * ebuild.sh, line 89: Called die Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* ruby-ng.eclass: drop support for jrubyHans de Graaff2019-07-201-11/+1
| | | | | | | | jruby has been removed from the tree for quite some time and is not used at all anymore in ebuilds. This also drops an inherit of java-utils-2. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ruby-ng.eclass: remove commented-out codeHans de Graaff2019-07-181-10/+0
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* eclass/ruby-ng.eclass: make ruby23 a no-opHans de Graaff2019-05-121-2/+2
| | | | | | | dev-lang/ruby:2.3 has been removed after being masked for a month. With no implementation in the tree anymore make ruby23 a no-op. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ruby-ng.eclass: add @SUPPORTED_EAPISMichał Górny2018-08-151-0/+1
|
* eclass/ruby-ng.eclass: ignore ruby22 target in ebuildsHans de Graaff2018-04-271-2/+2
|
* ruby-ng.eclass: refer to ruby-utils.eclass for targets listHans de Graaff2017-12-251-6/+1
|
* ruby-ng.eclass: Fix eclass doc warningsHans de Graaff2017-11-181-0/+1
| | | | Closes: https://bugs.gentoo.org/637868
* eclass/ruby-ng.eclass: mark ruby21 as a removed targetHans de Graaff2017-08-201-1/+1
|
* ruby-ng.eclass: Kill jrubyMichał Górny2017-05-151-2/+1
|
* ruby-ng.eclass: Kill ruby20Michał Górny2017-05-151-2/+1
|
* ruby-ng.eclass: Kill ruby19Michał Górny2017-05-151-1/+3
|
* ruby-ng.eclass: Indirect USE_RUBY into a functionMichał Górny2017-05-151-7/+22
|
* ruby-ng.eclass: Replace unnecessary 'eval ls' with array fnexpMichał Górny2017-03-081-2/+9
| | | | | | | | | | | | | | Replace the unnecessary use of 'eval ls -d ...' with much simpler and safer filename expansion via bash array. The 'eval' was completely unnecessary in the original code; however, the late addition of quoting would have broken it if eval did not implicitly discard the quotes. The 'ls -d' was unnecessary as well since bash performs filename expansion before passing the parameter to 'ls'. Furthermore, a check for accidental multiple expansion has been added. A complementary check for failed expansion can not be added since the function is called in src_unpack() as well and the expansion fails then.
* Drop $Id$ per council decision in bug #611234.Robin H. Johnson2017-02-281-1/+0
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* ruby-ng.eclass: use the default src_prepare in EAPI 6Hans de Graaff2017-02-251-13/+30
| | | | | | | | This removes the need for inheriting eutils in EAPI 6. It also use the standard PATCHES support instead of RUBY_PATCHES, which was introduced to handle arrays on patches at the time. The default phase also handles eapply_user to handle user patches.
* ruby-ng.eclass: add support for EAPI=6Hans de Graaff2017-02-251-4/+10
|
* ruby-ng.eclass, ruby-utils.eclass: Add ruby24 supportHans de Graaff2016-12-261-0/+1
|
* eclass/ruby-ng: Remove ree18 supportManuel Rüger2016-11-131-14/+3
|
* ruby-ng.eclass, ruby-utils.eclass: add ruby23 supportHans de Graaff2015-12-271-0/+1
|
* ruby-ng.eclass: add missing '|| die' on pushd/popdJulian Ospald2015-10-261-8/+8
| | | | Reviewed-By: Hans de Graaff <graaff@gentoo.org>
* eclass: gentoo.org has https per defaultJustin Lecher2015-09-251-1/+1
| | | | Signed-off-by: Justin Lecher <jlec@gentoo.org>
* proj/gentoo: Initial commitRobin H. Johnson2015-08-081-0/+724
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed