summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-10-21 07:39:27 +0200
committerHans de Graaff <graaff@gentoo.org>2021-10-21 07:42:35 +0200
commitc726aac94e84c7fa1d7402d661f0f114c6d7ce80 (patch)
tree1f9a5a4ec40d7a47319cb0034cf5ee3061d37509 /dev-ruby/kpeg
parentdev-ruby/hpricot: all arches stable (diff)
downloadgentoo-c726aac94e84c7fa1d7402d661f0f114c6d7ce80.tar.gz
gentoo-c726aac94e84c7fa1d7402d661f0f114c6d7ce80.tar.bz2
gentoo-c726aac94e84c7fa1d7402d661f0f114c6d7ce80.zip
dev-ruby/kpeg: add 1.2.0
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/kpeg')
-rw-r--r--dev-ruby/kpeg/Manifest1
-rw-r--r--dev-ruby/kpeg/kpeg-1.2.0.ebuild25
2 files changed, 26 insertions, 0 deletions
diff --git a/dev-ruby/kpeg/Manifest b/dev-ruby/kpeg/Manifest
index 3bf97fa66a69..704b274a4949 100644
--- a/dev-ruby/kpeg/Manifest
+++ b/dev-ruby/kpeg/Manifest
@@ -1 +1,2 @@
DIST kpeg-1.1.0.gem 57856 BLAKE2B 6aab84aec59c4962ef39f31a7de89a7bb84f0ae2b64327206fefa8bc243e0dd405db121bfe2f50c72b18933c2f4ce7a47a842c741cbd53db1ad73415d41b95dc SHA512 4ca7007bea74485ceb7c3f53eef1cd2e162fed45872f8f078d5b5d2ffd1ecaa0e8fc65ed6f1b220bf6f4642d455a582cb754cdc6350edf856b33d9908510cb66
+DIST kpeg-1.2.0.gem 57856 BLAKE2B 6397792524e00594c7f64acc79b920781b6dca28d0954fa73de0c9644afc4788969fa2e807cf196807808d93e5520db0e1b1cdd412391a592334c8811f687132 SHA512 97a1e573dcff89f4a8a6832876e4ce737a85fae63ffe6ac8dad001db8ff8237f32d437813252f3487e68a0708c161ee5731b468e5f1b039e59d714b461722e7a
diff --git a/dev-ruby/kpeg/kpeg-1.2.0.ebuild b/dev-ruby/kpeg/kpeg-1.2.0.ebuild
new file mode 100644
index 000000000000..7178cd2d934c
--- /dev/null
+++ b/dev-ruby/kpeg/kpeg-1.2.0.ebuild
@@ -0,0 +1,25 @@
+# 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_RECIPE_DOC="rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A simple PEG library for Ruby"
+HOMEPAGE="https://github.com/evanphx/kpeg"
+
+LICENSE="MIT"
+SLOT="1"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="test"
+
+PATCHES=( "${FILESDIR}/kpeg-1.1.0-utf8.patch" )
+
+ruby_add_bdepend "test? ( dev-ruby/minitest:5 )"
+
+each_ruby_test() {
+ ${RUBY} -Ilib:test:. -e 'gem "minitest", "~>5.0"; Dir["test/test_*.rb"].each{|f| require f}' || die
+}