diff options
-rw-r--r-- | www-apps/jekyll/Manifest | 1 | ||||
-rw-r--r-- | www-apps/jekyll/jekyll-3.2.1.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/www-apps/jekyll/Manifest b/www-apps/jekyll/Manifest index 05fc2613f570..6b561ffdc23e 100644 --- a/www-apps/jekyll/Manifest +++ b/www-apps/jekyll/Manifest @@ -1 +1,2 @@ DIST jekyll-3.1.6.tar.gz 967662 SHA256 13499de259a2aa05c24c0302e8cdb3c410c40e09571ffd1b5553997b072926ee SHA512 b60241e23baa1d08216cd1c88ce2e9218f61344d4fb68a812090566e76543ce3c3dde3db6a8a7799822120781212e8702d0fb17193e0b8f89c336b79ab78517c WHIRLPOOL 9967c214bd53bcb7bb7125da18cc7e76a69f4eaa1787aaab8b568dba0e7588dfb8ce37cb2c4cb9da7c7a5f1d20ee280f7e5bf5d1611baaf8a56002308c12aad5 +DIST jekyll-3.2.1.tar.gz 1010949 SHA256 6c1eb0330a7dbbf6d874052c7a2b0108b0a0d4148dc888a82192f80d23796072 SHA512 36360e852b8438ae12a64320514204c7b0f8bc53d6cb04f6024a25d5294f562c37c1464fc0e632502814d8e2dd0900877b48c3ccb0046d7c6a145bb1dae37b48 WHIRLPOOL 5daa369ebd5066db37712ad0bea476c977d8c977ec8125a9c0bec11c3fb48f95bcebbc502f950ab025d90bd35b1f5d3c322c7434c132ca6da7aeba4ca9a1cf7d diff --git a/www-apps/jekyll/jekyll-3.2.1.ebuild b/www-apps/jekyll/jekyll-3.2.1.ebuild new file mode 100644 index 000000000000..c9d205266bd5 --- /dev/null +++ b/www-apps/jekyll/jekyll-3.2.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22" + +inherit ruby-fakegem + +RUBY_FAKEGEM_EXTRADOC="CONTRIBUTING.markdown README.markdown History.markdown" +RUBY_FAKEGEM_EXTRAINSTALL="features site" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +DESCRIPTION="A simple, blog aware, static site generator" +HOMEPAGE="http://jekyllrb.com https://github.com/jekyll/jekyll" +SRC_URI="https://github.com/jekyll/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/colorator-1.0 + >=dev-ruby/kramdown-1.3 + >=dev-ruby/liquid-3.0:3 + >=dev-ruby/mercenary-0.3.3 + >=dev-ruby/pathutil-0.9 + >=dev-ruby/safe_yaml-1.0 + >=dev-ruby/rouge-1.7 + >=www-apps/jekyll-sass-converter-1.0 + >=www-apps/jekyll-watch-1.1" + +ruby_add_bdepend "test? ( + dev-ruby/rspec-mocks + dev-ruby/launchy + dev-ruby/mime-types:0 + >=dev-ruby/rdiscount-2.0 + >=dev-ruby/redcloth-4.2.1 + >=dev-ruby/rouge-1.7 + >=dev-ruby/shoulda-3 + dev-ruby/test-unit:2 )" + +all_ruby_prepare() { + sed -i -e "/simplecov/,+5d"\ + -e "1igem 'test-unit'"\ + -e "1igem 'minitest', '~> 5.0'"\ + -e "/reporters/d"\ + -e "/profile/d"\ + -e "/Reporters/,+4d" test/helper.rb || die + # Drop bundler + sed -i -e "/self.class.require_from_bundler/d" lib/jekyll/plugin_manager.rb || die + # This test fails without bundler + rm test/test_plugin_manager.rb || die + rm test/test_theme.rb || die +} |