30 lines
756 B
Bash
30 lines
756 B
Bash
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
USE_RUBY="ruby25 ruby26 ruby27 ruby30"
|
|
|
|
RUBY_FAKEGEM_RECIPE_TEST="rake"
|
|
RUBY_FAKEGEM_RECIPE_DOC="none"
|
|
RUBY_FAKEGEM_EXTRADOC="CHANGES README.creole"
|
|
|
|
RUBY_FAKEGEM_GEMSPEC="creole.gemspec"
|
|
|
|
inherit ruby-fakegem
|
|
|
|
DESCRIPTION="Creole-to-HTML converter for Creole, the lightweight markup language"
|
|
HOMEPAGE="https://github.com/minad/creole"
|
|
SRC_URI="https://github.com/minad/creole/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE=""
|
|
|
|
ruby_add_bdepend "test? ( dev-ruby/bacon )"
|
|
|
|
all_ruby_prepare() {
|
|
sed -e 's/git ls-files --/echo/' \
|
|
-e 's/git ls-files/find -print/' \
|
|
-i ${RUBY_FAKEGEM_GEMSPEC} || die
|
|
}
|