summaryrefslogtreecommitdiff
path: root/dev-ruby/contracts/contracts-0.17.2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/contracts/contracts-0.17.2.ebuild')
-rw-r--r--dev-ruby/contracts/contracts-0.17.2.ebuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-ruby/contracts/contracts-0.17.2.ebuild b/dev-ruby/contracts/contracts-0.17.2.ebuild
new file mode 100644
index 000000000000..b08d25dc3799
--- /dev/null
+++ b/dev-ruby/contracts/contracts-0.17.2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.markdown README.md TODO.markdown TUTORIAL.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="provides contracts for Ruby"
+HOMEPAGE="https://github.com/egonSchiele/contracts.ruby"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+each_ruby_test() {
+ # COLUMNS needed for specs that test line wrapping in spec/contracts_spec.rb
+ local -x COLUMNS=80
+ each_fakegem_test
+}