diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-06-19 15:05:31 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-06-19 15:09:40 +0200 |
commit | a4bff2ba88bfe82f98cd76f7f89e4c98664a47b1 (patch) | |
tree | 2b165e26332d5997a5bdf6d55f77724c95394998 /www-apps | |
parent | www-apps/jekyll-watch: add ruby26 (diff) | |
download | gentoo-a4bff2ba88bfe82f98cd76f7f89e4c98664a47b1.tar.gz gentoo-a4bff2ba88bfe82f98cd76f7f89e4c98664a47b1.tar.bz2 gentoo-a4bff2ba88bfe82f98cd76f7f89e4c98664a47b1.zip |
www-apps/jekyll-coffeescript: add 2.0.0
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/jekyll-coffeescript/Manifest | 1 | ||||
-rw-r--r-- | www-apps/jekyll-coffeescript/jekyll-coffeescript-2.0.0.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/www-apps/jekyll-coffeescript/Manifest b/www-apps/jekyll-coffeescript/Manifest index 2ad6e1fc2b17..2961b148dde7 100644 --- a/www-apps/jekyll-coffeescript/Manifest +++ b/www-apps/jekyll-coffeescript/Manifest @@ -1 +1,2 @@ DIST jekyll-coffeescript-1.2.2.tar.gz 5963 BLAKE2B d71d343786f855d480694aa9bac99497b21498ed730198d5fef3f309b96bf5924ecefbf0dee9a6e2ecc9272941c58206508dc47ce0b5bd88afab500bdf07b7e3 SHA512 4b531fd69553036bae22c6f9bae2552da13eb6957e122592ebfa9253b260718a6ec66c34dda8fea83d6d2a0e01eea16c65a4915d6c730dbc6ed53632d2eae198 +DIST jekyll-coffeescript-2.0.0.tar.gz 5984 BLAKE2B 2158f138820253a4e181035dcdf7e25ac7ded26ce7b6e6d6fb5f73e18f5c7e8bbeed8b47a8b12c059b2e7e5167e41f0f9645d5d08e85ff8ab52d400b1c4eb3c7 SHA512 31742ff4a9139d56baaa657b8259c1327a3f7ea14465203907b4d98e6c2b70286f5a1a7515140638a2347db86a35645e715a527b4b85fd536176277f7cfa3400 diff --git a/www-apps/jekyll-coffeescript/jekyll-coffeescript-2.0.0.ebuild b/www-apps/jekyll-coffeescript/jekyll-coffeescript-2.0.0.ebuild new file mode 100644 index 000000000000..b508938a3c9b --- /dev/null +++ b/www-apps/jekyll-coffeescript/jekyll-coffeescript-2.0.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md History.markdown" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_GEMSPEC="jekyll-coffeescript.gemspec" + +inherit ruby-fakegem + +SRC_URI="https://github.com/jekyll/jekyll-coffeescript/archive/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="A CoffeeScript Converter for Jekyll" +HOMEPAGE="https://github.com/jekyll/jekyll-coffeescript" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +all_ruby_prepare() { + sed -i -e '/bundler/d' Rakefile || die + sed -i -e "/^RSpec/i \ + require 'jekyll'"\ + -e "/^RSpec/i \ + require 'jekyll-coffeescript'" spec/spec_helper.rb || die + sed -i -e 's/git ls-files/find -type f -print/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +ruby_add_rdepend ">=dev-ruby/coffee-script-2.2 + >=dev-ruby/coffee-script-source-1.12" +ruby_add_bdepend "test? ( www-apps/jekyll )" |