diff options
author | Hans de Graaff <graaff@gentoo.org> | 2015-04-18 05:55:36 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2015-04-18 05:55:36 +0000 |
commit | 67d114061af4a1a959cfbc83007ac2c6aaa4e7d1 (patch) | |
tree | aad51e840bda3f0b32868d876b12a34088303fb3 /www-apps | |
parent | Cleanup. (diff) | |
download | gentoo-2-67d114061af4a1a959cfbc83007ac2c6aaa4e7d1.tar.gz gentoo-2-67d114061af4a1a959cfbc83007ac2c6aaa4e7d1.tar.bz2 gentoo-2-67d114061af4a1a959cfbc83007ac2c6aaa4e7d1.zip |
Add missing test dependency on dev-ruby/vcr and drop x86 keyword because of it, bug 546964.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/nanoc/ChangeLog | 8 | ||||
-rw-r--r-- | www-apps/nanoc/nanoc-3.7.5-r1.ebuild | 58 |
2 files changed, 65 insertions, 1 deletions
diff --git a/www-apps/nanoc/ChangeLog b/www-apps/nanoc/ChangeLog index c2dec84eaab2..0a13b8927769 100644 --- a/www-apps/nanoc/ChangeLog +++ b/www-apps/nanoc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-apps/nanoc # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/nanoc/ChangeLog,v 1.18 2015/04/18 05:48:56 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/nanoc/ChangeLog,v 1.19 2015/04/18 05:55:36 graaff Exp $ + +*nanoc-3.7.5-r1 (18 Apr 2015) + + 18 Apr 2015; Hans de Graaff <graaff@gentoo.org> +nanoc-3.7.5-r1.ebuild: + Add missing test dependency on dev-ruby/vcr and drop x86 keyword because of + it, bug 546964. 18 Apr 2015; Hans de Graaff <graaff@gentoo.org> -nanoc-3.6.5.ebuild: Cleanup. diff --git a/www-apps/nanoc/nanoc-3.7.5-r1.ebuild b/www-apps/nanoc/nanoc-3.7.5-r1.ebuild new file mode 100644 index 000000000000..fa0ecc8e79b7 --- /dev/null +++ b/www-apps/nanoc/nanoc-3.7.5-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/nanoc/nanoc-3.7.5-r1.ebuild,v 1.1 2015/04/18 05:55:36 graaff Exp $ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21" + +RUBY_FAKEGEM_EXTRADOC="ChangeLog NEWS.md README.md" + +RUBY_FAKEGEM_TASK_DOC="doc" +RUBY_FAKEGEM_TASK_TEST="test:all" + +inherit ruby-fakegem + +DESCRIPTION="nanoc is a simple but very flexible static site generator written in Ruby" +HOMEPAGE="http://nanoc.ws/" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="${IUSE} minimal" + +DEPEND+="test? ( app-text/asciidoc app-text/highlight )" + +ruby_add_rdepend "!minimal? ( + dev-ruby/mime-types + dev-ruby/rack +) + >=dev-ruby/cri-2.3:0" + +ruby_add_bdepend "test? ( + >=dev-ruby/mocha-0.13 + dev-ruby/minitest + =dev-ruby/rdoc-4* + dev-ruby/systemu + dev-ruby/vcr + dev-ruby/yard +) +doc? ( + dev-ruby/kramdown + dev-ruby/rdiscount + dev-ruby/yard +)" + +all_ruby_prepare() { + use doc || use test || (rm tasks/doc.rake || die) + use test || (rm tasks/test.rake || die) + + # Avoid dependency on coveralls. + sed -i -e '/coverall/I s:^:#:' test/helper.rb || die + + # Avoid non-optional tests for w3c_validators which we don't have + # packaged and which require network access. + rm test/extra/checking/checks/test_{css,html}.rb || die + + # Skip a test that produces slightly different javascript. + sed -i -e '/test_filter_with_options/,/^ end/ s:^:#:' test/filters/test_uglify_js.rb || die +} |