diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/unf | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/unf')
-rw-r--r-- | dev-ruby/unf/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/unf/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/unf/unf-0.1.4.ebuild | 46 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-ruby/unf/Manifest b/dev-ruby/unf/Manifest new file mode 100644 index 000000000000..441a66133809 --- /dev/null +++ b/dev-ruby/unf/Manifest @@ -0,0 +1,3 @@ +DIST unf-0.1.4.gem 120320 BLAKE2B ab339ce957a1d3251d14944ccb4f68a9c7271f0f918f20b57c70824ded730fa18abb5078312d9820e7ef056163b5f1340c1cf72974b6c255279dcf572fb3e87a SHA512 a4784afa8b852497f758d1b6cdcf095eb9e5397a36c97b1f22b53cf8077cfedbf83fdcda36f359acf59ba61f1ab8b706ddd31d097afbc98a40d2dbd0f934292b +EBUILD unf-0.1.4.ebuild 1188 BLAKE2B d06ede34da641d4d653ddb480878acdde91bdd99cfc5a632699441bb46720dcc7b23d148100510dfe15e3855f0239ac26873a8379609b11bc42ea1352cbf8635 SHA512 675fce135cbf51d2bc9422898fcca2af4c87fd2b5a19a0910adb39117babe27b022bbd535d2b35168300b4942b87f364a44f5e0f7fa9ce7af94fccea75a7b6a5 +MISC metadata.xml 338 BLAKE2B bb58c8e1fade253376d76c2d310ad6455b8495185859dc74605cc8455f7f738eedf03b2a7a092d0db4e9ac06f04e885ae154d06e599fe8720ad50c191e61d37d SHA512 a3be34f62ed4475626a8b984fb80cc1f502798913eedcce341951640e27ff408c0c915848b40c7ab692940e6696a37769389657cc6c996f161c0f75f42f75683 diff --git a/dev-ruby/unf/metadata.xml b/dev-ruby/unf/metadata.xml new file mode 100644 index 000000000000..b0d01ac86eed --- /dev/null +++ b/dev-ruby/unf/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">knu/ruby-unf</remote-id> + </upstream> +</pkgmetadata> 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..a33f672d0a41 --- /dev/null +++ b/dev-ruby/unf/unf-0.1.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25" + +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="~alpha amd64 ~arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="test" + +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_test() { + ruby-ng_testrb-2 test/test_*.rb +} |