mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
@@ -1 +1,2 @@
|
||||
DIST tilt-2.0.11.tar.gz 53041 BLAKE2B 2509cc3efe5e6302c8943c00108eeda6ee4b23a18952ad23049e11ea28b397b80a21d34c4d241119f45cedf2a978a2673d857a6cc32d7e26a2016caa510458f9 SHA512 e28e31ab92aa42eada34e0f6c05dab6a54945d07b649588356b1635ba8a36700f6e537e8702613883693501442d21690d8b3690b06f7b9f331192134511b78b7
|
||||
DIST tilt-2.1.0.tar.gz 54542 BLAKE2B b2d7729654efb51d9f61afe75476d6620edd7c104c045dc68c6a5e983cea8dec612d2e5013c51ee7736c87d770acdf8e6f186ff156d177f3281e0fb58d0e8422 SHA512 a450bdc51d782169cda2c43b550fad1425d4ee1a8f3c2da0bb1112051eb9ccfd95e903984ed6d3c76b0f322a243021587c6614f6452c385450ff1a985cfbcaa5
|
||||
|
||||
41
dev-ruby/tilt/tilt-2.1.0.ebuild
Normal file
41
dev-ruby/tilt/tilt-2.1.0.ebuild
Normal file
@@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby27 ruby30 ruby31 ruby32"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="none"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md docs/TEMPLATES.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="tilt.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Thin interface over template engines to make their usage as generic as possible"
|
||||
HOMEPAGE="https://github.com/jeremyevans/tilt"
|
||||
SRC_URI="https://github.com/jeremyevans/tilt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
# Block on some of the potential test dependencies. These dependencies
|
||||
# are optional for the test suite, and we don't want to depend on all of
|
||||
# them to faciliate keywording and stabling.
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/erubi
|
||||
dev-ruby/nokogiri
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm Gemfile || die
|
||||
sed -e '/bundler/I s:^:#:' -i Rakefile test/test_helper.rb || die
|
||||
|
||||
# Avoid tests with minor syntax differences since this happens all
|
||||
# the time when details in the dependencies change.
|
||||
rm -f test/tilt_sasstemplate_test.rb || die
|
||||
|
||||
# Skip tests for unpackaged asciidoctor converter
|
||||
sed -i -e '/docbook 4.5/askip' test/tilt_asciidoctor_test.rb || die
|
||||
}
|
||||
Reference in New Issue
Block a user