summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-11-02 08:00:37 +0100
committerHans de Graaff <graaff@gentoo.org>2022-11-02 08:00:37 +0100
commit287963f0801e41d5738b4fab4846df3b3497af9a (patch)
treed81c5c098de873504891a75104957088820be2a2 /dev-ruby
parentwww-apps/wordpress: bump to 6.1 (diff)
downloadgentoo-287963f0801e41d5738b4fab4846df3b3497af9a.tar.gz
gentoo-287963f0801e41d5738b4fab4846df3b3497af9a.tar.bz2
gentoo-287963f0801e41d5738b4fab4846df3b3497af9a.zip
dev-ruby/kpeg: add 1.3.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/kpeg/Manifest1
-rw-r--r--dev-ruby/kpeg/kpeg-1.3.2.ebuild23
2 files changed, 24 insertions, 0 deletions
diff --git a/dev-ruby/kpeg/Manifest b/dev-ruby/kpeg/Manifest
index 21a46ceb81ca..dfb9cbbc2c04 100644
--- a/dev-ruby/kpeg/Manifest
+++ b/dev-ruby/kpeg/Manifest
@@ -2,3 +2,4 @@ DIST kpeg-1.1.0.gem 57856 BLAKE2B 6aab84aec59c4962ef39f31a7de89a7bb84f0ae2b64327
DIST kpeg-1.2.0.gem 57856 BLAKE2B 6397792524e00594c7f64acc79b920781b6dca28d0954fa73de0c9644afc4788969fa2e807cf196807808d93e5520db0e1b1cdd412391a592334c8811f687132 SHA512 97a1e573dcff89f4a8a6832876e4ce737a85fae63ffe6ac8dad001db8ff8237f32d437813252f3487e68a0708c161ee5731b468e5f1b039e59d714b461722e7a
DIST kpeg-1.3.0.gem 57856 BLAKE2B 783c0f6fad341139dcf8b69adb9bee829a302997917e07cc2beb7dfbabff759e26c31bf1c9b272193919a7a78d9b793db7db85ecde1b5c6ad7c5eeefd95e103e SHA512 a84aa2afd0bb9148dae3cd3c8e1f3104bf4b4997e7c89524ef8b3be1c6fa9dfe7364c931eb9c0e641277590b634b164ab78b8e8e499937fbea65ebb7aa556fd6
DIST kpeg-1.3.1.gem 57856 BLAKE2B 73f589e0bbd1ebefc3b9068b96476a607214bd32a44920020a57964d705ff45b103bd4846bb2355d8fe30e0c8e585a29dbd2484385b78f87533c152e9ecf496b SHA512 73baedc77d44d671e6e9d074bc4f9053a19aa50fa62f7394206d328c4c102d5a869a4b69b52de16acadafa8c88573bef9593bb4e3278ccf239e7d0850cd63ea9
+DIST kpeg-1.3.2.gem 58368 BLAKE2B 511a5fe47aa7d62ecdea120f7e91066c44da9ef23d3ff9ebf7881854b62ce3dce2c56f89a9f0acf3935f238965045e68af3789dae90e995c4b24d88979683f89 SHA512 8fee4248f5201c54c54f3460db769ac1ad60ee60dc0f73a536ed14610a20a372af233b30aa076cf67ce43a57948d40ce0c47631acdb47077d1021dab2011a614
diff --git a/dev-ruby/kpeg/kpeg-1.3.2.ebuild b/dev-ruby/kpeg/kpeg-1.3.2.ebuild
new file mode 100644
index 000000000000..1ac41c869bde
--- /dev/null
+++ b/dev-ruby/kpeg/kpeg-1.3.2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+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 ~loong ~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
+}