diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-07-06 10:11:23 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-07-06 10:37:36 +0200 |
commit | a2cf2b99cea3c69319e669a644c4fbc6539a4fe4 (patch) | |
tree | ffd5e15cbcccbd9ec101d3fae8537bc5e5619be7 /www-apps/nanoc-core | |
parent | www-apps/nanoc: cleanup (diff) | |
download | gentoo-a2cf2b99cea3c69319e669a644c4fbc6539a4fe4.tar.gz gentoo-a2cf2b99cea3c69319e669a644c4fbc6539a4fe4.tar.bz2 gentoo-a2cf2b99cea3c69319e669a644c4fbc6539a4fe4.zip |
www-apps/nanoc-core: cleanup
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'www-apps/nanoc-core')
-rw-r--r-- | www-apps/nanoc-core/Manifest | 2 | ||||
-rw-r--r-- | www-apps/nanoc-core/nanoc-core-4.11.10.ebuild | 65 | ||||
-rw-r--r-- | www-apps/nanoc-core/nanoc-core-4.11.11.ebuild | 65 |
3 files changed, 0 insertions, 132 deletions
diff --git a/www-apps/nanoc-core/Manifest b/www-apps/nanoc-core/Manifest index 2f4a2c6a08e1..94faa65dd386 100644 --- a/www-apps/nanoc-core/Manifest +++ b/www-apps/nanoc-core/Manifest @@ -1,3 +1 @@ -DIST nanoc-core-4.11.10.tar.gz 308049 BLAKE2B 8b587245d9935dad34bc0912ba65200cc6f3e8ebda00e21fc3c30e367264076d17d64fe9cc762c5ec11ab9624695f66132d5a69b29dcbf9f85fc7b0d57828592 SHA512 f4997b03834966fbda5aa28c392712ed53dda4f3d3b70b52d73e96c39612158c88f24543e0bcf74cea8ba24d108e2d64026ce3d4364f6eabbc9034ca5adf4814 -DIST nanoc-core-4.11.11.tar.gz 308375 BLAKE2B aed881153fb57561b62e5c5efb771777e3944232f5963dcf8bf5461802c7767b14776c161aa19bd0905b6ff5f91932d6b2ef2f0a90594e530beeac201e413568 SHA512 6db50ffb5b91e74e3d830fc8c154dcadec35376c18d8c8b909799b1d51031d307f70113f2319b1a5163ba746a2304a1aa3949e414a50e02e7396d5fd26e15a3f DIST nanoc-core-4.11.12.tar.gz 310160 BLAKE2B ef34bf6d28d5a9287053a939ef14bc59f99bde003d7bbcd7eee861ab882a6beaa48812137c8ad87fe464d27e371cfd40022467f8d10ac5f85ff16ef19215e340 SHA512 0503d0a6a0cf1ca9a9c57b831f320abb5102a3e7aa82c016d1f72c4d9f614ef53a0e4df30d50e05a98107fecacae4d70dfa5ee5c15910d575bc30df411430863 diff --git a/www-apps/nanoc-core/nanoc-core-4.11.10.ebuild b/www-apps/nanoc-core/nanoc-core-4.11.10.ebuild deleted file mode 100644 index ccc331cdd62d..000000000000 --- a/www-apps/nanoc-core/nanoc-core-4.11.10.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby24 ruby25 ruby26" - -RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="nanoc is a simple but very flexible static site generator written in Ruby" -HOMEPAGE="https://nanoc.ws/" -SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="MIT" - -KEYWORDS="~amd64" -SLOT="0" -IUSE="${IUSE} minimal" - -DEPEND+="test? ( app-text/asciidoc app-text/highlight )" - -RUBY_S="nanoc-${PV}/nanoc-core" - -ruby_add_rdepend " - dev-ruby/ddmemoize:1 - dev-ruby/ddmetrics:1 - dev-ruby/ddplugin:1 - =dev-ruby/hamster-3* - >=dev-ruby/json_schema-0.19:0 - dev-ruby/slow_enumerator_tools:1 - >=dev-ruby/zeitwerk-2.1:2 -" - -ruby_add_bdepend "test? ( - dev-ruby/bundler - dev-ruby/rspec:3 - dev-ruby/rspec-its - dev-ruby/fuubar - dev-ruby/minitest - dev-ruby/timecop - dev-ruby/yard -) -" - -all_ruby_prepare() { - # Avoid unneeded development dependencies - sed -i -e '/simplecov/I s:^:#:' \ - -e '/codecov/I s:^:#:' ../common/spec/spec_helper_head_core.rb || die - sed -i -e '/coverall/I s:^:#:' \ - -e '/rubocop/ s:^:#:' Rakefile || die - sed -i -e '1i require "tmpdir"; require "pathname"' spec/spec_helper.rb || die - - echo "-r ./spec/spec_helper.rb" > .rspec || die - - sed -i -e "s:require_relative 'lib:require './lib:" ${RUBY_FAKEGEM_GEMSPEC} || die - - # Use useable tmp dir - sed -i -e 's:/tmp/whatever:'${T}'/whatever:' spec/nanoc/core/checksummer_spec.rb || die -} - -each_ruby_test() { - RUBYLIB="${S}/lib" ${RUBY} -S rake spec || die -} diff --git a/www-apps/nanoc-core/nanoc-core-4.11.11.ebuild b/www-apps/nanoc-core/nanoc-core-4.11.11.ebuild deleted file mode 100644 index ccc331cdd62d..000000000000 --- a/www-apps/nanoc-core/nanoc-core-4.11.11.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby24 ruby25 ruby26" - -RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="nanoc is a simple but very flexible static site generator written in Ruby" -HOMEPAGE="https://nanoc.ws/" -SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="MIT" - -KEYWORDS="~amd64" -SLOT="0" -IUSE="${IUSE} minimal" - -DEPEND+="test? ( app-text/asciidoc app-text/highlight )" - -RUBY_S="nanoc-${PV}/nanoc-core" - -ruby_add_rdepend " - dev-ruby/ddmemoize:1 - dev-ruby/ddmetrics:1 - dev-ruby/ddplugin:1 - =dev-ruby/hamster-3* - >=dev-ruby/json_schema-0.19:0 - dev-ruby/slow_enumerator_tools:1 - >=dev-ruby/zeitwerk-2.1:2 -" - -ruby_add_bdepend "test? ( - dev-ruby/bundler - dev-ruby/rspec:3 - dev-ruby/rspec-its - dev-ruby/fuubar - dev-ruby/minitest - dev-ruby/timecop - dev-ruby/yard -) -" - -all_ruby_prepare() { - # Avoid unneeded development dependencies - sed -i -e '/simplecov/I s:^:#:' \ - -e '/codecov/I s:^:#:' ../common/spec/spec_helper_head_core.rb || die - sed -i -e '/coverall/I s:^:#:' \ - -e '/rubocop/ s:^:#:' Rakefile || die - sed -i -e '1i require "tmpdir"; require "pathname"' spec/spec_helper.rb || die - - echo "-r ./spec/spec_helper.rb" > .rspec || die - - sed -i -e "s:require_relative 'lib:require './lib:" ${RUBY_FAKEGEM_GEMSPEC} || die - - # Use useable tmp dir - sed -i -e 's:/tmp/whatever:'${T}'/whatever:' spec/nanoc/core/checksummer_spec.rb || die -} - -each_ruby_test() { - RUBYLIB="${S}/lib" ${RUBY} -S rake spec || die -} |