diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /app-text/ronn-ng | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'app-text/ronn-ng')
-rw-r--r-- | app-text/ronn-ng/Manifest | 1 | ||||
-rw-r--r-- | app-text/ronn-ng/ronn-ng-0.9.1-r2.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/app-text/ronn-ng/Manifest b/app-text/ronn-ng/Manifest index 92e7944f5805..d56535351280 100644 --- a/app-text/ronn-ng/Manifest +++ b/app-text/ronn-ng/Manifest @@ -1,4 +1,5 @@ DIST ronn-ng-0.9.1.gem 69120 BLAKE2B 9da30156104ef448c458199ee33fb5369f7d97c7bbeac8072567127b964456a34226bcc15f72d6f2875f524175d31ec9652a282b369e818748790cd07f290786 SHA512 5ad7dc426d9bc77bca86fbb06775a3b19f1b8d79f5a4331d117e9fa394e7a9c3b0440b70b993672d77a24f56f5da3ebd0e41a5183f4330707b7ddb83c9108bdf EBUILD ronn-ng-0.9.1-r1.ebuild 1042 BLAKE2B 3dafc566661b2c26aa5bef3c7596d1bc3dfff4b5a8da62b9e86690512739010f19e24c86de1acfc0a65271dd47c98e0a9eb99422d228ea1121c045926c9f0fd8 SHA512 0f8e700b14cf6978b4c976bf0491e9e5df8ad4c0ee0f3548978ecba5fd720a7c907dc37e85e8e621802b7d716409df759089232458548bea7dcd63f539d54cd9 +EBUILD ronn-ng-0.9.1-r2.ebuild 1091 BLAKE2B 4f51ce0cc44590403c89d53bb2e6e8c70388d1c3268997c4564fb754f6e75d9e3b4645e5aa9b83d1aa503f4c337b6feacdc2703e5e219751620efa7dcd0c2146 SHA512 cf25ccfa3e0bb54da01a6e137341bae9175fd638de59b009c00a1bd5f5c16586b31079f9ba5e1116d16729959df645f87eb407b505d9d5354d165bffe334fac7 EBUILD ronn-ng-0.9.1.ebuild 863 BLAKE2B fed56aad57398dcd1ef31bc4eb8306763bdbcb5ed1279769dd36b450bee1d50f33549b980d30a003b28b1e1024ef976e56996e6460125cfc6f0a4de1b5d978bd SHA512 86a2137c9f8437c7de9b79a2a6a04a29af3e4dc6fccda25639f8873533a7cbdcc547d9c66134d4d366491267729155402c7d27960144a1e44e67cc99b9d95af7 MISC metadata.xml 342 BLAKE2B 71ab5a2d2a9e2d20165f54c1cf79f483768c3637cc87a32acf80708d79b3be9d24408a330ed23ad837848933b0a40f1165f60d7b7e08146a28088a4d9d558630 SHA512 92e6778f8a2f44a81dfdbbd6699ce2186cc48b801f5c462c99b4bc35f79806ff154d72bec2916d79dc7435c1a9b75f2bf3842b7dba2b132335afc38d00d22780 diff --git a/app-text/ronn-ng/ronn-ng-0.9.1-r2.ebuild b/app-text/ronn-ng/ronn-ng-0.9.1-r2.ebuild new file mode 100644 index 000000000000..17a0b8f79daf --- /dev/null +++ b/app-text/ronn-ng/ronn-ng-0.9.1-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOC="AUTHORS CHANGES README.md" +RUBY_FAKEGEM_GEMSPEC="ronn-ng.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Builds manuals in HTML and Unix man page format from Markdown" +HOMEPAGE="https://github.com/apjanke/ronn-ng" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~sparc ~x86" + +IUSE="" + +RDEPEND+="!app-text/ronn" + +DEPS=" + >=dev-ruby/kramdown-2.1:2 + >=dev-ruby/nokogiri-1.9.0:0 +" + +ruby_add_rdepend " + =dev-ruby/mustache-1* + ${DEPS} +" + +ruby_add_bdepend "${DEPS}" + +all_ruby_prepare() { + sed -i -e '/mustache/ s/0.7/1.0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_prepare() { + # Make sure that we always use the right interpreter during tests. + sed -i -e "/output/ s:ronn:${RUBY} bin/ronn:" test/test_ronn.rb || die + sed -i -e "1igem 'psych', '~> 3.0'" Rakefile || die +} + +all_ruby_compile() { + PATH="${S}/bin:${PATH}" rake man || die +} + +all_ruby_install() { + all_fakegem_install + + doman man/ronn.1 man/ronn-format.7 +} |