diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-01-26 16:56:30 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-01-26 16:56:36 +0100 |
commit | db5fc51bc4b1f79678ad878adb35f31ce215f961 (patch) | |
tree | 1307e17cd98f1747a829d72542e6ffe8dc4c33c2 /www-apps/jekyll-watch | |
parent | dev-ros/ament_cmake_uncrustify: bump to 0.10.1 (diff) | |
download | gentoo-db5fc51bc4b1f79678ad878adb35f31ce215f961.tar.gz gentoo-db5fc51bc4b1f79678ad878adb35f31ce215f961.tar.bz2 gentoo-db5fc51bc4b1f79678ad878adb35f31ce215f961.zip |
www-apps/jekyll-watch: install proper gemspec
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'www-apps/jekyll-watch')
-rw-r--r-- | www-apps/jekyll-watch/jekyll-watch-2.2.1-r1.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/www-apps/jekyll-watch/jekyll-watch-2.2.1-r1.ebuild b/www-apps/jekyll-watch/jekyll-watch-2.2.1-r1.ebuild new file mode 100644 index 000000000000..ea15f9cf3f7b --- /dev/null +++ b/www-apps/jekyll-watch/jekyll-watch-2.2.1-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 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_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md History.markdown" + +RUBY_FAKEGEM_GEMSPEC="jekyll-watch.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Rebuild your Jekyll site when a file changes with the --watch switch" +HOMEPAGE="https://github.com/jekyll/jekyll-watch" +SRC_URI="https://github.com/jekyll/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="" + +ruby_add_rdepend "dev-ruby/listen:3" +ruby_add_bdepend "test? ( >=www-apps/jekyll-2 )" + +all_ruby_prepare() { + rm Rakefile || die + + sed -i -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} |