summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/unf')
-rw-r--r--dev-ruby/unf/ChangeLog7
-rw-r--r--dev-ruby/unf/Manifest10
-rw-r--r--dev-ruby/unf/unf-0.1.4.ebuild57
3 files changed, 69 insertions, 5 deletions
diff --git a/dev-ruby/unf/ChangeLog b/dev-ruby/unf/ChangeLog
index aba02fc10f89..f09b1c937a72 100644
--- a/dev-ruby/unf/ChangeLog
+++ b/dev-ruby/unf/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/unf
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/unf/ChangeLog,v 1.14 2014/01/19 17:00:50 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/unf/ChangeLog,v 1.15 2014/04/07 06:19:31 graaff Exp $
+
+*unf-0.1.4 (07 Apr 2014)
+
+ 07 Apr 2014; Hans de Graaff <graaff@gentoo.org> +unf-0.1.4.ebuild:
+ Version bump.
19 Jan 2014; Pacho Ramos <pacho@gentoo.org> unf-0.1.3-r1.ebuild:
amd64 stable, bug 495010
diff --git a/dev-ruby/unf/Manifest b/dev-ruby/unf/Manifest
index 6943deb19775..6e8f7cf06cfb 100644
--- a/dev-ruby/unf/Manifest
+++ b/dev-ruby/unf/Manifest
@@ -3,14 +3,16 @@ Hash: SHA256
DIST unf-0.1.1.gem 119808 SHA256 ee54b0166568bb428b5128af446955b3109621f99aad35ab5b73011edc3cefe0 SHA512 089e5af46462d7f2cf784cd6c0a6d867c83a32148293f73d43d5bf4c233397cfdd8c004e88318fda5ba4137c9aa271cc1f3529eb5571c56eac0f43dcc12740da WHIRLPOOL bbf54da0c1c64b75fcbdc7206175ce85245e52cded7fcc3c500b412d5e72828389db4a98d347d9095a698dd132074a36f85dba7f25cbcbd49d2baa261df64e3e
DIST unf-0.1.3.gem 120320 SHA256 550bc894b05a85a769f0668ca162f83fddace095aa9b8c80c1e83ddb7b4558b8 SHA512 eac742e51bb32305c73c9cc5cd5c8b4ca1b6b83f2d17df134728befe2f8b9e043b3a01de35cee9cd86ea328142a02cc375d54311b551c7747c2661a0e7a6af16 WHIRLPOOL a4c921657787f37d23ad659df18153e689d9d2cd7eb2f6d54b77b1e7897196351460f2aba7c16e7b7cf93ae8bf92cc425fa1e824b4ff592bcce3d066e4384f29
+DIST unf-0.1.4.gem 120320 SHA256 4999517a531f2a955750f8831941891f6158498ec9b6cb1c81ce89388e63022e SHA512 a4784afa8b852497f758d1b6cdcf095eb9e5397a36c97b1f22b53cf8077cfedbf83fdcda36f359acf59ba61f1ab8b706ddd31d097afbc98a40d2dbd0f934292b WHIRLPOOL 10528155b0377d171a040ddf47f48fc65e9fa38ab83bdc37a39f5c18c72b70414bcd109e9866996dbe82f3a35de208d0a488ce20bc9a8c959433bf52ffaacc30
EBUILD unf-0.1.1.ebuild 1600 SHA256 2907eea2f256e822366231ea4798ca14dfb0b41ebc3c729d05d21f9f6ec7c477 SHA512 a66063902d357c73e7c7bb828044affbf9cd82a7317e5762f56b21be9f9b6126a13e7904fd9650512ee1910260a5614320dc5b5e00c65d375d7f32e585ec58d3 WHIRLPOOL 165a68f5da844c0cfedfb5794acbe74d02ffb5f08bdf0a0cf90b9d8b0eafba065a2736595eab52547c90fdff591a51e09da0d4916af5fe3c64a196dd4d0319b2
EBUILD unf-0.1.3-r1.ebuild 1613 SHA256 05fb55536f8625729ea96f194a6939fff185b254a93b19ef221b05d281178bfe SHA512 f3e8fa332d50145c929e2053412750f1716375a72baf0aa9ce459ef6e9205e510741a4a8b0ad9e4b5f1fc854d2ce8ff7baa142e7f80a2979e74fb4a9df0bae35 WHIRLPOOL a697d97f5f739342c6786034a91617c792e26228b5b02cce2bdc88c952c88dc67f89152d43f4f8d24a91a28f778623b67baaee9d4df07e9c40034a7f7d8b64a3
-MISC ChangeLog 2013 SHA256 24eb3bb21222728ddb34063ee7109b9b11c12395d66d8d1d919f06639bc29792 SHA512 20dad9e337dbc867e43bb56ee0abfe916b89345e1051b164477169d4dc0a9ef46e16126e7d8e068e3e60dca67ef6d276299c2dd0722231f54d81c266dc787916 WHIRLPOOL 9f1bd61300319254d9a874c800451a9711c12c418c8c9ccaaecdf45514172abad825efefe38504cd3a46805b48a7325d9a19227559d97d8123b47582f893be09
+EBUILD unf-0.1.4.ebuild 1605 SHA256 e2e3de344923adc4ca3acab70c048b16862ed55ab7537e11f785b0c86846b3e7 SHA512 a8ccefb54c62799cd94a5c7fbdc28632caa74e70cefe6998f49efc324c486efe0a1aa5ff2ac4c6469b6dad837fcecd65bd3bee4e263095e2b237cd05fac46705 WHIRLPOOL f8b456c4a3fc7a2de33bcec9c1670fa108d9150069d8dd73913e0a26963b9a0e3654487a73e51a57d4d33d1bc75acd87dee902bc7b46f361ed25da9a5049f916
+MISC ChangeLog 2126 SHA256 8d263e3930f2a53e3a5e37bbba2a382a49da7c13b71e24e25c4f8f590249bcf0 SHA512 69017a687f5e333a571f4d6f875e4dc72a8156b5a96bc32cad3a537d8578c2f46fd6ad93ad1f68a8507bb461172125c1751e55d1b6bdd51431bc3f867f0d5b16 WHIRLPOOL 0c67422a985824691c99c969e5f25854303a863585021bee23fa9d8909745432ae9870921429018643b288480baa5a5e04474955075b02f047b654655eae1e60
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iEYEAREIAAYFAlLcBMMACgkQCaWpQKGI+9SnZwCfXt9SPeA992ENYgRK7KOZyc48
-abgAnjLHMtws+roIO5zX7vL4OzKHIU5K
-=WVBL
+iF4EAREIAAYFAlNCQ3oACgkQiIP6VqMIqNdB5gD/deYOVSZE//fJLLbhEKsoacXW
+6DKLBAXD5R8kGrkNONgA/22GnBlVgw4MD84LG1t37sGGpepWl1NmzN2y/QghUQcj
+=jh11
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/unf/unf-0.1.4.ebuild b/dev-ruby/unf/unf-0.1.4.ebuild
new file mode 100644
index 000000000000..89dfa69b05f3
--- /dev/null
+++ b/dev-ruby/unf/unf-0.1.4.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/unf/unf-0.1.4.ebuild,v 1.1 2014/04/07 06:19:31 graaff Exp $
+
+EAPI=5
+
+USE_RUBY="ruby19 ruby20 jruby"
+
+RUBY_FAKEGEM_RECIPE_TEST="none"
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A wrapper library to bring Unicode Normalization Form support to Ruby/JRuby."
+HOMEPAGE="https://github.com/knu/ruby-unf"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE="test"
+
+# jruby already has support for UNF so it does not need the extension.
+USE_RUBY=${USE_RUBY/jruby/} ruby_add_rdepend "dev-ruby/unf_ext"
+
+ruby_add_bdepend "
+ test? (
+ >=dev-ruby/test-unit-2.5.1-r1
+ dev-ruby/shoulda
+ )"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/,/end/ d' test/helper.rb || die
+
+ # Remove development dependencies; also remove platform as we don't
+ # care about it as it is, they only use it to avoid the unf_ext dep
+ # that we tackle on our own; finally remove git ls-files usage.
+ sed -i -e '/dependency.*\(shoulda\|bundler\|jeweler\|rcov\)/d' \
+ -e '/platform/d' \
+ -e '/git ls/d' \
+ ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_prepare() {
+ if [[ ${RUBY} == *jruby ]]; then
+ # Remove dependency over unf_ext which does not exist for JRuby
+ # remove platform, we don't set it.
+ sed -i -e '/dependency.*unf_ext/d' \
+ ${RUBY_FAKEGEM_GEMSPEC} || die
+ fi
+}
+
+each_ruby_test() {
+ ruby-ng_testrb-2 test/test_*.rb
+}