diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-12-30 10:20:49 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-12-31 10:05:07 +0100 |
commit | 54cc9662bed8d4f2382930c750a73f9cfc0510ee (patch) | |
tree | 4f93b019a021286f32387974164e23cf22b9cb30 /dev-ruby/redcarpet | |
parent | dev-ruby/rash_alt: add 0.4.9 (diff) | |
download | gentoo-54cc9662bed8d4f2382930c750a73f9cfc0510ee.tar.gz gentoo-54cc9662bed8d4f2382930c750a73f9cfc0510ee.tar.bz2 gentoo-54cc9662bed8d4f2382930c750a73f9cfc0510ee.zip |
dev-ruby/redcarpet: add 3.5.1
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/redcarpet')
-rw-r--r-- | dev-ruby/redcarpet/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/redcarpet/redcarpet-3.5.1.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/redcarpet/Manifest b/dev-ruby/redcarpet/Manifest index 038ffbd14222..3fa182f42dc6 100644 --- a/dev-ruby/redcarpet/Manifest +++ b/dev-ruby/redcarpet/Manifest @@ -1,2 +1,3 @@ DIST redcarpet-3.4.0.tar.gz 105525 BLAKE2B 38b28f400b7300ea49cebda9b4739193b54c322c1c20ecba50938893286ad87e44ba9e9da83eab8433af0790d76bc0db4189fc0b70a4438480fe784570809e1a SHA512 25ed1fd35ebf815f396ed819baec69aae366bafab3983a53d364b1ef0d3f18cecaa523953d12cb0e5b896c30ac86e000318f33c633047bd271362474b9b8f877 DIST redcarpet-3.5.0.tar.gz 106773 BLAKE2B 34c72d21c8ea4d841c9728e3c7e66be02c69943e5e0ee091688992c400748cf0a0900fa15de7bbaf18db8a89bc0309160fd5c2b2ca83ee86f6d46dd5d13d9770 SHA512 8d48f1b437297aa556d7f3c5e69c8dde04c63388e78ffe15ea3c36e4764790b5cb75a8baaf75ad64317bccc63384fa0a42251d05718902096229f9f6a24f06c9 +DIST redcarpet-3.5.1.tar.gz 106950 BLAKE2B 2f84e0dbadaa79827d9d244988b19161996e249e493208b20b6339f0eccf73160fe84d79f11a23419573693bbc9c1faae61e690ffe5ec133f8a0baddb69d92b5 SHA512 348ee8fc56b89bb1b9fe0b004cab08e9542f3806a885fb5fb0ff58c9a0fa704ad37611484e071951ad00d1d337988d5dae6d240cd65df890f8fe0865e242608d diff --git a/dev-ruby/redcarpet/redcarpet-3.5.1.ebuild b/dev-ruby/redcarpet/redcarpet-3.5.1.ebuild new file mode 100644 index 000000000000..42d91fe8cfc9 --- /dev/null +++ b/dev-ruby/redcarpet/redcarpet-3.5.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOCS="README.markdown CONTRIBUTING.md CHANGELOG.md doc" +RUBY_FAKEGEM_TASK_TEST="test:unit" + +RUBY_FAKEGEM_GEMSPEC="redcarpet.gemspec" + +inherit multilib ruby-fakegem + +SRC_URI="https://github.com/vmg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="A Ruby wrapper for Upskirt" +HOMEPAGE="https://github.com/vmg/redcarpet" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/d' -e 's/=> :compile//' Rakefile || die + + # Avoid unneeded dependency on rake-compiler + sed -i -e '/extensiontask/I s:^:#:' Rakefile || die +} + +each_ruby_prepare() { + sed -i -e "s#ruby#${RUBY}#" bin/redcarpet || die +} + +each_ruby_configure() { + ${RUBY} -Cext/redcarpet extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/${PN} + cp ext/${PN}/*$(get_modname) lib || die +} |