diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-15 12:27:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-15 12:27:33 +0100 |
commit | 868fd5dc8aab84930cfaa5252b8be06b35552765 (patch) | |
tree | 0c0cebf818c30c6f871f00ce1e7599775a7e561c /dev-ruby/nkf | |
parent | f7adcd4ee556b2c3a420239c13fb74113d791f6a (diff) |
gentoo auto-resync : 15:07:2024 - 12:27:33
Diffstat (limited to 'dev-ruby/nkf')
-rw-r--r-- | dev-ruby/nkf/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/nkf/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/nkf/nkf-0.2.0.ebuild | 33 |
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/nkf/Manifest b/dev-ruby/nkf/Manifest new file mode 100644 index 000000000000..5bc58de7a879 --- /dev/null +++ b/dev-ruby/nkf/Manifest @@ -0,0 +1,3 @@ +DIST nkf-0.2.0.tar.gz 196728 BLAKE2B 198575e067d1a61aedd61468c28a55a495057a182c1f8f492ca96f38cb643698db5b00cdf9d69121d852b86859dda7c29367e62e78e21c76c69f7af22cd7f9ca SHA512 a3d06d0797368d15d118dac621c8230816ffc0af852c998f21d095acb09a3600c6d82e3f540672a2f11536e1f16c70335388e5c2dfe9f06b957caf635615bff5 +EBUILD nkf-0.2.0.ebuild 976 BLAKE2B 81adb6557b3b824e4c32791f9a70aa84f71ab7088a805cb66e30a11c96013f3e6ec5ef7cd80db48c1959f3dcc124ffaf806383100f1b545ce91851f08bac811d SHA512 6b25874cefe443bbe393568deaa54889d0bff0959d20cdad9fa7220ee24601d56ed83015d228c1a0418f29d2fbc00b316bfe125850f8cd3f3485a70179eaac23 +MISC metadata.xml 335 BLAKE2B f717e325c1a4d73082fcf955eaa517cc9a5431b5a596232e1bc9908f793e1ac79cbd37ab019c9c35e6b6a12d6d7db32bfc3062c396c6f2cfac44363bac937b4a SHA512 c678a2a7115fabb54d954c9b908ea29eff09c7a84052682c51560aa1979e20ea8d00916a95291bb40cd1239473679f8bf5bfd38a1927c1c2dfc1c829967494fa diff --git a/dev-ruby/nkf/metadata.xml b/dev-ruby/nkf/metadata.xml new file mode 100644 index 000000000000..c872c7296592 --- /dev/null +++ b/dev-ruby/nkf/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://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">ruby/nkf</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/nkf/nkf-0.2.0.ebuild b/dev-ruby/nkf/nkf-0.2.0.ebuild new file mode 100644 index 000000000000..130f9b05866b --- /dev/null +++ b/dev-ruby/nkf/nkf-0.2.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_BINWRAP="" +RUBY_FAKEGEM_EXTENSIONS=(ext/nkf/extconf.rb) +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="nkf.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Ruby extension for Network Kanji Filter" +HOMEPAGE="https://github.com/ruby/nkf" +SRC_URI="https://github.com/ruby/nkf/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/test-unit )" + +all_ruby_prepare() { + sed -e 's:__dir__:".":' \ + -e 's/git ls-files -z/find * -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test:test/lib -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die +} |