From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/nkf/
Date: Mon, 15 Jul 2024 07:47:56 +0000 (UTC) [thread overview]
Message-ID: <1721029665.c0e369821ab117dcbf004ec718a4c669b5d034ac.graaff@gentoo> (raw)
commit: c0e369821ab117dcbf004ec718a4c669b5d034ac
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 15 07:43:02 2024 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Jul 15 07:47:45 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0e36982
dev-ruby/nkf: new package, add 0.2.0
Extracted from dev-lang/ruby, migrated keywords accordingly.
New dependency for dev-ruby/mechanize.
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/nkf/Manifest | 1 +
dev-ruby/nkf/metadata.xml | 11 +++++++++++
dev-ruby/nkf/nkf-0.2.0.ebuild | 33 +++++++++++++++++++++++++++++++++
3 files changed, 45 insertions(+)
diff --git a/dev-ruby/nkf/Manifest b/dev-ruby/nkf/Manifest
new file mode 100644
index 000000000000..8a77413d01a3
--- /dev/null
+++ b/dev-ruby/nkf/Manifest
@@ -0,0 +1 @@
+DIST nkf-0.2.0.tar.gz 196728 BLAKE2B 198575e067d1a61aedd61468c28a55a495057a182c1f8f492ca96f38cb643698db5b00cdf9d69121d852b86859dda7c29367e62e78e21c76c69f7af22cd7f9ca SHA512 a3d06d0797368d15d118dac621c8230816ffc0af852c998f21d095acb09a3600c6d82e3f540672a2f11536e1f16c70335388e5c2dfe9f06b957caf635615bff5
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
+}
next reply other threads:[~2024-07-15 7:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-15 7:47 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-06 14:27 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/nkf/ Sam James
2024-12-29 9:06 Hans de Graaff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1721029665.c0e369821ab117dcbf004ec718a4c669b5d034ac.graaff@gentoo \
--to=graaff@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox