summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-01-30 08:24:34 +0100
committerHans de Graaff <graaff@gentoo.org>2023-01-30 08:29:58 +0100
commit6dabc27ce6578a2aece1d719102bf10c311ece23 (patch)
tree85a57e5803239e3489229d70b1e4b0de863e783a /dev-ruby
parentnet-fs/davfs2: add 1.7.0 (diff)
downloadgentoo-6dabc27ce6578a2aece1d719102bf10c311ece23.tar.gz
gentoo-6dabc27ce6578a2aece1d719102bf10c311ece23.tar.bz2
gentoo-6dabc27ce6578a2aece1d719102bf10c311ece23.zip
dev-ruby/redcarpet: add 3.6.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/redcarpet/Manifest1
-rw-r--r--dev-ruby/redcarpet/redcarpet-3.6.0.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/redcarpet/Manifest b/dev-ruby/redcarpet/Manifest
index a0a34baf2c31..868f93e23d19 100644
--- a/dev-ruby/redcarpet/Manifest
+++ b/dev-ruby/redcarpet/Manifest
@@ -1 +1,2 @@
DIST redcarpet-3.5.1.tar.gz 106950 BLAKE2B 2f84e0dbadaa79827d9d244988b19161996e249e493208b20b6339f0eccf73160fe84d79f11a23419573693bbc9c1faae61e690ffe5ec133f8a0baddb69d92b5 SHA512 348ee8fc56b89bb1b9fe0b004cab08e9542f3806a885fb5fb0ff58c9a0fa704ad37611484e071951ad00d1d337988d5dae6d240cd65df890f8fe0865e242608d
+DIST redcarpet-3.6.0.tar.gz 108308 BLAKE2B 0dc15dc6ee17fdc8a0a171eb268315c4682b95145c5e79168e004c38cd856bd68f78e48b1b0c14a1d20676630d197fce86905cf15be5a1af0a83103855a63e6b SHA512 6d20340b10ee495319c6d3d24a42daf6ce78d5daafd1a650793f6743cc06b0523a560f2dd3d13030025e3592bbf05663e4b9393607b81b1d76b8a0da5be2dbce
diff --git a/dev-ruby/redcarpet/redcarpet-3.6.0.ebuild b/dev-ruby/redcarpet/redcarpet-3.6.0.ebuild
new file mode 100644
index 000000000000..408b5e2e2f60
--- /dev/null
+++ b/dev-ruby/redcarpet/redcarpet-3.6.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+
+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 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 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~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
+}