gentoo-ebuilds/dev-ruby/creole/creole-0.5.0-r2.ebuild
Hans de Graaff b83c1d00ad
dev-ruby/creole: enable ruby34
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
2025-01-02 10:16:34 +01:00

30 lines
760 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33 ruby34"
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="test"
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
}