summaryrefslogtreecommitdiff
path: root/dev-ruby/crack
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-17 06:49:08 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-17 06:49:08 +0000
commit2bf68d7062b64d9f815f3b8ce6942a66afe53b0d (patch)
treeac1e773aaa4d3575d18d178ae260cab963bbf64c /dev-ruby/crack
parentcd356b722fd8d162f02a5059fae1a66e00be52e3 (diff)
gentoo auto-resync : 17:03:2024 - 06:49:08
Diffstat (limited to 'dev-ruby/crack')
-rw-r--r--dev-ruby/crack/Manifest2
-rw-r--r--dev-ruby/crack/crack-1.0.0.ebuild33
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/crack/Manifest b/dev-ruby/crack/Manifest
index 80cbf7f63a6c..3cd028e332e0 100644
--- a/dev-ruby/crack/Manifest
+++ b/dev-ruby/crack/Manifest
@@ -1,6 +1,8 @@
AUX crack-0.4.4-psych4.patch 1053 BLAKE2B 280da92d42ad5c4138b7f4293cbd9efafb0033914cd2b7014214052790e54b260c0eb68d118276b3a935c050407d067e75bf18886eaeb4e4f40999ff49e1a2b7 SHA512 1ea889b08f03e10f3359f1de0237f0890c7bc480d1b7a92c3c5fb75d7ebe0614c3cf6bb173ec33399fc9532060d7a2d7e60582b28369124f72a5c7dcd5f82e2c
DIST crack-0.4.4.tar.gz 586633 BLAKE2B 26e2cda6e9447fb3c9fe02092a6e9d6a8097c7bca6a483a3af42aa8ba491b737bc0dc3ae1936ef8ffb5c5d5cbbed3fde69c9641f05b9e3eb3beab87c375f68fd SHA512 3f86c76718a3c2a65ee11b15434035396c2355a8562bdb642432a659b52c3e811e930318e0dc2df3ff06bd53ac14d0694471e425420ae3b7971f5d4f818bba87
DIST crack-0.4.6.tar.gz 587341 BLAKE2B eafe4e3682cfbcfd2369c66cc47e7eab8557cce568f401599a6a72efac361be5b16f47ee7eb2916ada111b10c7ee6aa0dfa8cbb4988eb822304d22f3b8a51a6f SHA512 b004d4fc69319f4d05a79e34c04fe7d46bb78dc516d1481e09b07b9b0835e50925c5a1a89ee17070eceaf29ac1c371b6a590319b02b0d22b85c6ab26ee979d23
+DIST crack-1.0.0.tar.gz 587402 BLAKE2B 265948336f3a0567d08766ddd179502e9dac0b0ef647a636d74b2bf7b6d8a2bb08385df566f118151cf4b72c700d17c3f69bfe8d61dc7035102319c2513190c1 SHA512 01f2231033a64aa3a107de3c0185559800be32c679671835962bd4e8f74cb644b9cb1e4895880ab03bc15e82aac465875d1ce187b977be65f514282718b7837c
EBUILD crack-0.4.4-r3.ebuild 1417 BLAKE2B cc657dfd5ae24c58e3bd8ff62bcf654ba80e444342c3e46e9486fc4ad672bb293a4f25f34cfec3412cb7a8925b0d3ce89b659684abd913f1c33bac953bec55f4 SHA512 e92099e858c0425a3be5b91305531ef97fa8050711592ee8a47b1826284fda53382c2b4ac5de93ec9514323353cb993a26c1663366b647e240a9cebbc63a7d6e
EBUILD crack-0.4.6.ebuild 1402 BLAKE2B d6bca0160047a0a12a49d970e3b3e419446c8e2cc75316cbc537780a793d0f9d711acbeae3ae74b90bdadb2849fdec68840b21db1e96378c1ade923acc362c9d SHA512 2f4eafd04678996a69aea0bfc0fd97b93e082b84301048c70d48e82bd81fb17812593cb41d74d127df5b73a65c50122cc63e6c23ece3ddaf4d4e84861b57107c
+EBUILD crack-1.0.0.ebuild 942 BLAKE2B ea5c52188fa59c317481dab0599ed4a997f58a25ab4e3ecbdae96b805fb4fa0625e9b4a63b9a010f2262b16f0ab953c8b67bb2d4d31c75681396fda17e83f720 SHA512 123cbcb12a088431331e4f9e13e511061cf4dacfac3de509f26bfc93d56c9032b1ba3eb05cdc19d6168e661503944a5af22e54f218bd0a571b01e88eebb077e5
MISC metadata.xml 343 BLAKE2B e98d01493c40195b22fa423e30e512b5f4b5ef08676138f4c5c3b7d18aae166fdc5fbb11ea465370de681fc85ded672dabefe34546f2b3140379984a187399f0 SHA512 44de19ae2a745da9ef90d7300e56efc80f892f0a7173ea6967c1bd079a24d0b50fa5de6eb1565254d7db84b5875679c9e70d2f3a87a60c31c9aa33f7bb4d6616
diff --git a/dev-ruby/crack/crack-1.0.0.ebuild b/dev-ruby/crack/crack-1.0.0.ebuild
new file mode 100644
index 000000000000..55be284cf774
--- /dev/null
+++ b/dev-ruby/crack/crack-1.0.0.ebuild
@@ -0,0 +1,33 @@
+# 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_EXTRADOC="README.md History"
+
+RUBY_FAKEGEM_GEMSPEC="crack.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Really simple JSON and XML parsing, ripped from Merb and Rails"
+HOMEPAGE="https://github.com/jnunemaker/crack"
+SRC_URI="https://github.com/jnunemaker/crack/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="test"
+
+ruby_add_rdepend "dev-ruby/bigdecimal dev-ruby/rexml"
+
+ruby_add_bdepend "test? ( dev-ruby/minitest )"
+
+all_ruby_prepare() {
+ sed -i -e 's/git ls-files --/find/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Itest -Ilib -e 'Dir["test/*_test.rb"].each { |f| load f }' || die
+}