summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-01-09 13:00:58 +0100
committerHans de Graaff <graaff@gentoo.org>2022-01-10 08:21:55 +0100
commitf37c5ba5e4e0b20e6d8f359db583f02f134cbeb3 (patch)
treec8b429027ed9b3abf403d860144471d522e2908b /dev-ruby/tins
parentdev-ruby/thor: add 1.2.1 (diff)
downloadgentoo-f37c5ba5e4e0b20e6d8f359db583f02f134cbeb3.tar.gz
gentoo-f37c5ba5e4e0b20e6d8f359db583f02f134cbeb3.tar.bz2
gentoo-f37c5ba5e4e0b20e6d8f359db583f02f134cbeb3.zip
dev-ruby/tins: add 1.31.0
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/tins')
-rw-r--r--dev-ruby/tins/Manifest1
-rw-r--r--dev-ruby/tins/tins-1.31.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/tins/Manifest b/dev-ruby/tins/Manifest
index 2477e6bb1294..8651bb968165 100644
--- a/dev-ruby/tins/Manifest
+++ b/dev-ruby/tins/Manifest
@@ -1 +1,2 @@
DIST tins-1.29.1.gem 307200 BLAKE2B b7e95094662df021d81ea7b580cee5c4ce8f9fa6a09ecf63afa2c84f42ffab62f96f37ae734392021506da373ccabbf68c2dbf55f5ff09224168e24031b1fa99 SHA512 043a49d0755bb158cfd60554b530cd315cfe869520ab02ee819addc0fea39f441960a6c416753c0e69dc0dbf122523842f940ff89dcb43e64f5825a2c0c5a53e
+DIST tins-1.31.0.gem 307712 BLAKE2B 2f4808bada4ddad9de6b6ba93c9a123d79cdd6d038bbca64712afaa46c8b031407989e522f359bbbeaa37685c65407781f34a639501b68507b9af927bc06868a SHA512 390ef8366304582e635e702f1175e8f3c59aa1051765b6a971469b4057e9d4025848c13a21961ac960c12297783e9c1f1485e13310dc117e4a04bde5c18018ed
diff --git a/dev-ruby/tins/tins-1.31.0.ebuild b/dev-ruby/tins/tins-1.31.0.ebuild
new file mode 100644
index 000000000000..fa0092a12ee4
--- /dev/null
+++ b/dev-ruby/tins/tins-1.31.0.ebuild
@@ -0,0 +1,37 @@
+# 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_RECIPE_TEST="none"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="All the stuff that isn't good enough for a real library"
+HOMEPAGE="https://github.com/flori/tins"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/sync"
+
+ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )"
+
+each_ruby_prepare() {
+ case ${RUBY} in
+ *ruby25)
+ sed -i -e '/sync/d' ${RUBY_FAKEGEM_GEMSPEC} || die
+ ;;
+ esac
+}
+
+each_ruby_test() {
+ ruby-ng_testrb-2 -Ilib tests/*_test.rb
+}