public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/abbrev/
Date: Mon, 25 Dec 2023 10:34:45 +0000 (UTC)	[thread overview]
Message-ID: <1703500478.1197c4872e0cf449b82c42cb564bcc1608e8ebcd.graaff@gentoo> (raw)

commit:     1197c4872e0cf449b82c42cb564bcc1608e8ebcd
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 25 10:29:42 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Dec 25 10:34:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1197c487

dev-ruby/abbrev: new package, add 0.1.2

Spun out of dev-lang/ruby, migrating keywords accordingly.
New dependency for dev-ruby/rbs.

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/abbrev/Manifest            |  1 +
 dev-ruby/abbrev/abbrev-0.1.2.ebuild | 29 +++++++++++++++++++++++++++++
 dev-ruby/abbrev/metadata.xml        | 12 ++++++++++++
 3 files changed, 42 insertions(+)

diff --git a/dev-ruby/abbrev/Manifest b/dev-ruby/abbrev/Manifest
new file mode 100644
index 000000000000..4c888d0da9cd
--- /dev/null
+++ b/dev-ruby/abbrev/Manifest
@@ -0,0 +1 @@
+DIST abbrev-0.1.2.tar.gz 4679 BLAKE2B 541e28fd1af522fbc813fe03168782b5b0075eed1007b5b78c78e8d605fe2b8f0c0c69b0d562584ebfb7ad5abb9c679f38343ab0dc771b772b8e29d4455c6d4e SHA512 892d2addc0456cd040d2aca5624e526a5e0a0efa199aff7156df5d1eb488a74387baffdad3ee91787fe0b2c138471b457a1b4e3b706fcae4bbee0916dcf50d57

diff --git a/dev-ruby/abbrev/abbrev-0.1.2.ebuild b/dev-ruby/abbrev/abbrev-0.1.2.ebuild
new file mode 100644
index 000000000000..3f7d54f4f00e
--- /dev/null
+++ b/dev-ruby/abbrev/abbrev-0.1.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_GEMSPEC="abbrev.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Calculates a set of unique abbreviations for a given set of strings"
+HOMEPAGE="https://github.com/ruby/abbrev"
+SRC_URI="https://github.com/ruby/abbrev/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+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=""
+
+ruby_add_bdepend "test? ( dev-ruby/test-unit )"
+
+all_ruby_prepare() {
+	sed -e 's/__dir__/"."/' \
+		-e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \
+		-e 's/git ls-files -z/find * -print0/' \
+		-i ${RUBY_FAKEGEM_GEMSPEC} || die
+}

diff --git a/dev-ruby/abbrev/metadata.xml b/dev-ruby/abbrev/metadata.xml
new file mode 100644
index 000000000000..742bc69df3fc
--- /dev/null
+++ b/dev-ruby/abbrev/metadata.xml
@@ -0,0 +1,12 @@
+<?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/abbrev</remote-id>
+    <remote-id type="rubygems">abbrev</remote-id>
+  </upstream>
+</pkgmetadata>


             reply	other threads:[~2023-12-25 10:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-25 10:34 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-26 15:53 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/abbrev/ Hans de Graaff
2024-01-21 14:06 Fabian Groffen
2024-05-28  1:59 Sam James
2024-06-08  5:51 Arthur Zamarin
2024-06-12  7:08 Sam James
2024-07-02  3:56 Ionen Wolkens
2024-07-02  3:56 Ionen Wolkens

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=1703500478.1197c4872e0cf449b82c42cb564bcc1608e8ebcd.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