summaryrefslogtreecommitdiff
path: root/dev-ruby/leto
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-21 10:04:00 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-21 10:04:00 +0100
commit7c334a9594ae315e537bf98259b95bafc60d479c (patch)
treefc41ac024e70df2bad3160b2d02fd5a01adde46b /dev-ruby/leto
parentd1849ceeb9c09150c11cc0d112883cfba503af27 (diff)
gentoo auto-resync : 21:07:2023 - 10:04:00
Diffstat (limited to 'dev-ruby/leto')
-rw-r--r--dev-ruby/leto/Manifest3
-rw-r--r--dev-ruby/leto/leto-2.1.0.ebuild30
-rw-r--r--dev-ruby/leto/metadata.xml12
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/leto/Manifest b/dev-ruby/leto/Manifest
new file mode 100644
index 000000000000..8b22eea2849a
--- /dev/null
+++ b/dev-ruby/leto/Manifest
@@ -0,0 +1,3 @@
+DIST leto-2.1.0.tar.gz 8874 BLAKE2B d7d39a13ad6ceed2d14d7e9c9a39c037115797ce00629a114bad832bc70397a90c3ba86bdc73789b0c0f852df059d15d026338324cd3de9f38a40bf4885d6a9a SHA512 c0bda72b32a96c83ad01281fd2a6e224f504aa45b030e4a203c2df0810bb6dd52dcb9c2633f2514d239a39b14b5c0428f912799eae756373dc0b15051be5e260
+EBUILD leto-2.1.0.ebuild 764 BLAKE2B bab49561182c6144da7b92a66e6672ec314ac125c7456d94483b03c5758bbc66b60628b40cc4b4d74d5e47842d511131b1784b75e022670de1668629516a8810 SHA512 931f4d33f470b88afc040b8ca276e07c646a8893335f26bac8331703ce04abce24bed394f1e79f05b780c437891a177c33da8516c28f1c4d9d0bacd312f1bf23
+MISC metadata.xml 389 BLAKE2B aadeffc1c73e5288ee6b19b8fb51a29f2ea81605fd815aaebe86d01d459a0f67df41fc92c7b0e798b51f0a3800bce7db6c5b28adc18e8c2ae48fdcb29330c64e SHA512 c54f0344c9d96a51d2ba185ff778a206cb5ca07edd9b236fc271b7cc2ca4b6597ee29fcbe6f57020253c375d1593ff363cf4791348d25398cb8e4b4f2f8b8bf4
diff --git a/dev-ruby/leto/leto-2.1.0.ebuild b/dev-ruby/leto/leto-2.1.0.ebuild
new file mode 100644
index 000000000000..422ec312686f
--- /dev/null
+++ b/dev-ruby/leto/leto-2.1.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+RUBY_FAKEGEM_GEMSPEC="leto.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Generic object traverser for Ruby"
+HOMEPAGE="https://github.com/jaynetics/leto"
+SRC_URI="https://github.com/jaynetics/leto/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE=""
+
+all_ruby_prepare() {
+ sed -e 's:_relative ": "./:' \
+ -e 's/git ls-files -z/find * -print0/' \
+ -e 's/__dir__/"."/' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+ sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die
+}
diff --git a/dev-ruby/leto/metadata.xml b/dev-ruby/leto/metadata.xml
new file mode 100644
index 000000000000..8bb4371efdb1
--- /dev/null
+++ b/dev-ruby/leto/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">jaynetics/leto</remote-id>
+ <remote-id type="rubygems">leto</remote-id>
+ </upstream>
+</pkgmetadata>