diff options
Diffstat (limited to 'dev-ruby/redcarpet')
-rw-r--r-- | dev-ruby/redcarpet/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/redcarpet/redcarpet-3.5.1-r1.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/redcarpet/Manifest b/dev-ruby/redcarpet/Manifest index 895d5aa3a795..08c7607b6095 100644 --- a/dev-ruby/redcarpet/Manifest +++ b/dev-ruby/redcarpet/Manifest @@ -1,3 +1,4 @@ DIST redcarpet-3.5.1.tar.gz 106950 BLAKE2B 2f84e0dbadaa79827d9d244988b19161996e249e493208b20b6339f0eccf73160fe84d79f11a23419573693bbc9c1faae61e690ffe5ec133f8a0baddb69d92b5 SHA512 348ee8fc56b89bb1b9fe0b004cab08e9542f3806a885fb5fb0ff58c9a0fa704ad37611484e071951ad00d1d337988d5dae6d240cd65df890f8fe0865e242608d +EBUILD redcarpet-3.5.1-r1.ebuild 894 BLAKE2B ae519a55ab04380b210f24cbf787a6868c7579e877958c18191a14f9030ed5aec45d44b54b6e00821d1c8c62305d7a1d3057a0df42b95f4c8d622c8594d5bc98 SHA512 2fc0216750e04e13a05605e7527cf2159d57ae7ea035e42e6236a2e1780ed9c212b5f6b93e44cd23946c0cb3cbe81ac3e9f8df4ca301b7e9380dda5996e602b1 EBUILD redcarpet-3.5.1.ebuild 1002 BLAKE2B 8b4a131b06417d79b2607b948fdbc43479b33b35afa254dd8ff68731e92277c699948aaf547315145d4232bd974599a6a18e3927bdd7797cd062b3e9a156d18c SHA512 52fdcbd6645c2ddbd5b57ecf097c6b49dcf6624b5a34b49f3ae60bfc75e8e79432ffb6706157476e2213bf600ca09239554e38517156319cbdbe37352514d9e2 MISC metadata.xml 340 BLAKE2B 6ecd160f3358aa991ab52f178132bb246abc153b05448664b38685281b3dc29704b99324e33bce621cb11266b673dc67928df1e7ea8866c382c1611b25ed4168 SHA512 aead34aa25b18b54c3348282bd72f3ea5672dc49593f34c0e59ee8a10e5c6d2043dd2c24f7e9e4ad8086931b70f67c0e041d2e78c91fea25906a3adb68b83998 diff --git a/dev-ruby/redcarpet/redcarpet-3.5.1-r1.ebuild b/dev-ruby/redcarpet/redcarpet-3.5.1-r1.ebuild new file mode 100644 index 000000000000..9372c2e1321a --- /dev/null +++ b/dev-ruby/redcarpet/redcarpet-3.5.1-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOCS="README.markdown CONTRIBUTING.md CHANGELOG.md doc" +RUBY_FAKEGEM_TASK_TEST="test:unit" + +RUBY_FAKEGEM_GEMSPEC="redcarpet.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/redcarpet/extconf.rb) + +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 ~riscv ~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 +} |