summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ruby-fakegem.eclass: warn about using the fallback gemspecHans de Graaff2019-07-271-0/+9
| | | | | | | | | | | | The fallback gemspec does not contain dependencies so it will only work for packages without any runtime gem dependencies. It is easy to use it by mistake when switching from a gem to a source-based archive, because the source-based archive does not contain the generated metadata, but RUBY_FAKEGEM_GEMSPEC has not been set yet. This warning alerts developers to this situation and encourages them to set RUBY_FAKEGEM_GEMSPEC instead. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ruby-fakegem.eclass: change default DOC recipe to use rdocHans de Graaff2019-07-271-1/+8
| | | | | | | | | | | The previous default was "rake" but this turned out to be a poor choice because many packages do not implement "rake doc" and even if they do there are usually many local development environment assumption attached to that task. Using a consistent "rdoc" call that is handled by the eclass gets more consistent results at the code of missing out on specific rdoc options set by packages. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ruby-fakegem.eclass: enable EAPI 7Hans de Graaff2019-07-271-2/+9
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ruby-fakegem.eclass: drop support for old EAPIsHans de Graaff2019-07-221-8/+8
| | | | | | Drop support for EAPI 0, 1, 2, 3. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ruby-fakegem.eclass: List myself as authorHans de Graaff2019-07-221-0/+1
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ruby-fakegem.eclass: remove obsolete jruby supportHans de Graaff2019-07-221-16/+5
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* eclass/ruby-fakegem.eclass: fix warning about compressed docsHans de Graaff2018-12-091-1/+2
| | | | | | | | | | | Remove automatically generated compressed versions of the javascript code to avoid warnings about colliding files by ecompress. We can only do this for the "rdoc" recipe because that is the only predictable generation method. The other recipes will need to handle this in the ebuilds. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ruby-fakegem.eclass: add @SUPPORTED_EAPISMichał Górny2018-08-151-0/+1
|
* ruby-fakegem.eclass: Add EAPI guard up to EAPI=6Hans de Graaff2018-05-071-1/+9
| | | | | This will allow us to introduce new defaults for some of the ruby-fakegem settings when switching to EAPI=7.
* ruby-fakegem.eclass: fix RUBY_FAKEGEM_EXTRAINSTALLHans de Graaff2017-11-251-1/+1
| | | | Remove wrong default value and fix documentation accordingly.
* ruby-fakegem.eclass: Fix eclass doc warningsHans de Graaff2017-11-191-25/+15
| | | | | | | Move eclass variable definitions to the right place just behind their documentation or declare them as default unset. Closes: https://bugs.gentoo.org/637866
* ruby-fakegem.eclass: use dodoc to install documentation filesHans de Graaff2017-07-161-1/+1
| | | | | | | dohtml is deprecated in EAPI 6, but more importantly it does not actually do what we want, which is to install all the documentation files, including fonts, javascript, and css to make the documentation pages look as intended.
* ruby-ng.eclass: Indirect USE_RUBY into a functionMichał Górny2017-05-151-1/+1
|
* Drop () from function in documentationJustin Lecher2017-03-191-1/+1
| | | | Signed-off-by: Justin Lecher <jlec@gentoo.org>
* ruby-fakegem.eclass: Remove completely unnecessary 'eval ls'Michał Górny2017-03-081-3/+2
| | | | | | Filename expansion is performed when the variable is referenced unquoted already. There is really no need to call 'ls' on top of that, and even less reason to wrap it all in 'eval'.
* ruby-fakegem.eclass: Drop stale CVS $Revision$ keywordUlrich Müller2017-03-011-3/+3
| | | | Acked by graaff.
* 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-fakegem.eclass: fix documentationHans de Graaff2016-12-291-1/+1
|
* eclass/ruby-fakegem.eclass: support non-default bindirHans de Graaff2015-12-301-3/+10
| | | | | | | | | | | | By default gems can provide binaries to be bin-wrapped in /usr/bin in a directory called "bin" in the gem. This is only a default, and it is possible for the gem to indicate that another directory contains the binaries to be bin-wrapped using the gemspec bindir option. dev-ruby/rspec-core and dev-ruby/bundler are gems where the binaries are placed in an "exe" directory. This change introduces RUBY_FAKEGEM_BINDIR, defaulting to "bin" for backward compatibility, allowing this directory to be specified.
* ruby-fakegem.eclass: add missing '|| die' on pushd/popdJulian Ospald2015-10-261-6/+6
| | | | Reviewed-By: Hans de Graaff <graaff@gentoo.org>
* proj/gentoo: Initial commitRobin H. Johnson2015-08-081-0/+532
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