| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Calling ebegin here makes no sense because it is likely that the called
function will also generate output. This will lead to the "[ ok ]"
potentially appearing many lines later.
It also leads to nested ebegin calls, which make no sense for the same
reason.
Closes: https://bugs.gentoo.org/839585
Closes: https://bugs.gentoo.org/839588
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
|
| |
Deprecated for a while but newer grep emits deprecation warnings.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
|
|
|
| |
It's fine to call inherit multiple times and this avoids a EclassDocMissingVar
warning for the variable 'inherits'.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/835396
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
| |
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
| |
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Aaron Bauman <bman@gentoo.org>
|
|
|
|
| |
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
| |
This was breaking man page generation.
Fixes: https://bugs.gentoo.org/690868
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Consistently use ruby_rbconfig_value to get ruby configuration
information.
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
| |
|
|
|
|
| |
Closes: https://bugs.gentoo.org/637868
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|