commit:     db5fc51bc4b1f79678ad878adb35f31ce215f961
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 26 15:56:30 2021 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Jan 26 15:56:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db5fc51b

www-apps/jekyll-watch: install proper gemspec

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 www-apps/jekyll-watch/jekyll-watch-2.2.1-r1.ebuild | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)

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 00000000000..ea15f9cf3f7
--- /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
+}

Reply via email to