diff options
author | Hans de Graaff <graaff@gentoo.org> | 2015-05-24 06:55:45 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2015-05-24 06:55:45 +0000 |
commit | 369129e22b5055909894e73ffe74b6ccd7d25f67 (patch) | |
tree | 85a43aaf3589bacfb546533bb8012c35d6d0993b /dev-ruby | |
parent | Add ruby22. Drop ruby19 due to heredoc_unindent dependency. Be specific about... (diff) | |
download | gentoo-2-369129e22b5055909894e73ffe74b6ccd7d25f67.tar.gz gentoo-2-369129e22b5055909894e73ffe74b6ccd7d25f67.tar.bz2 gentoo-2-369129e22b5055909894e73ffe74b6ccd7d25f67.zip |
Make nokogumbo dependency less restrictive.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/sanitize/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/sanitize/sanitize-4.0.0-r1.ebuild (renamed from dev-ruby/sanitize/sanitize-4.0.0.ebuild) | 11 |
2 files changed, 16 insertions, 3 deletions
diff --git a/dev-ruby/sanitize/ChangeLog b/dev-ruby/sanitize/ChangeLog index d0ec09d1c898..bf8e70ea9e8b 100644 --- a/dev-ruby/sanitize/ChangeLog +++ b/dev-ruby/sanitize/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/sanitize # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sanitize/ChangeLog,v 1.6 2015/05/17 09:13:50 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sanitize/ChangeLog,v 1.7 2015/05/24 06:55:45 graaff Exp $ + +*sanitize-4.0.0-r1 (24 May 2015) + + 24 May 2015; Hans de Graaff <graaff@gentoo.org> -sanitize-4.0.0.ebuild, + +sanitize-4.0.0-r1.ebuild: + Make nokogumbo dependency less restrictive. *sanitize-4.0.0 (17 May 2015) diff --git a/dev-ruby/sanitize/sanitize-4.0.0.ebuild b/dev-ruby/sanitize/sanitize-4.0.0-r1.ebuild index 9a88db7445db..831d3b9e4162 100644 --- a/dev-ruby/sanitize/sanitize-4.0.0.ebuild +++ b/dev-ruby/sanitize/sanitize-4.0.0-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sanitize/sanitize-4.0.0.ebuild,v 1.1 2015/05/17 09:13:50 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sanitize/sanitize-4.0.0-r1.ebuild,v 1.1 2015/05/24 06:55:45 graaff Exp $ EAPI=5 @@ -9,10 +9,13 @@ USE_RUBY="ruby19 ruby20 ruby21 ruby22" RUBY_FAKEGEM_RECIPE_DOC="none" RUBY_FAKEGEM_EXTRADOC="HISTORY.md README.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + inherit ruby-fakegem DESCRIPTION="Sanitize is a whitelist-based HTML sanitizer" HOMEPAGE="https://github.com/rgrove/sanitize" +SRC_URI="https://github.com/rgrove/sanitize/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="4" @@ -22,9 +25,13 @@ IUSE="test" ruby_add_rdepend " >=dev-ruby/crass-1.0.2 =dev-ruby/crass-1.0* >=dev-ruby/nokogiri-1.4.4 - =dev-ruby/nokogumbo-1.4.1" + >=dev-ruby/nokogumbo-1.4.1 =dev-ruby/nokogumbo-1.4*" ruby_add_bdepend "test? ( dev-ruby/minitest )" +all_ruby_prepare() { + sed -i -e '/nokogumbo/ s/1.4.1/~> 1.4.1/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + each_ruby_test() { ${RUBY} -Ilib test/test_sanitize.rb || die } |