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/pg_array_parser/
Date: Wed,  9 Sep 2015 05:49:46 +0000 (UTC)	[thread overview]
Message-ID: <1441777769.0efc6ad6c6deba1f262e2d79bcabcf77a94c56e0.graaff@gentoo> (raw)

commit:     0efc6ad6c6deba1f262e2d79bcabcf77a94c56e0
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  9 05:48:57 2015 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Sep  9 05:49:29 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0efc6ad6

dev-ruby/pg_array_parser: fix many issues.

Fix LICENSE.
Fix USE=doc and FEATURES=test.
Actually compile and install the compiled extension.

Package-Manager: portage-2.2.20.1

 ....0.9.ebuild => pg_array_parser-0.0.9-r1.ebuild} | 22 +++++++++++++++++-----
 1 file changed, 17 insertions(+), 5 deletions(-)

diff --git a/dev-ruby/pg_array_parser/pg_array_parser-0.0.9.ebuild b/dev-ruby/pg_array_parser/pg_array_parser-0.0.9-r1.ebuild
similarity index 75%
rename from dev-ruby/pg_array_parser/pg_array_parser-0.0.9.ebuild
rename to dev-ruby/pg_array_parser/pg_array_parser-0.0.9-r1.ebuild
index c1f9691..e70da98 100644
--- a/dev-ruby/pg_array_parser/pg_array_parser-0.0.9.ebuild
+++ b/dev-ruby/pg_array_parser/pg_array_parser-0.0.9-r1.ebuild
@@ -1,21 +1,24 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: Exp $
+# $Id$
 
 EAPI=5
-USE_RUBY="ruby19 ruby20 ruby21"
+USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
 
 inherit ruby-fakegem versionator
 
 DESCRIPTION="Simple library to parse PostgreSQL arrays into a array of strings"
 HOMEPAGE="https://github.com/dockyard/pg_array_parser"
-SRC_URI="mirror://rubygems/${P}.gem"
 
-LICENSE="BSD"
+LICENSE="MIT"
 SLOT="$(get_version_component_range 1-3)"
 KEYWORDS="~amd64 ~arm ~x86"
 IUSE=""
-RESTRICT=test
 
 ruby_add_bdepend "dev-ruby/bundler"
 
@@ -40,3 +43,12 @@ each_ruby_prepare() {
 		BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
 	fi
 }
+
+each_ruby_configure() {
+	${RUBY} -Cext/pg_array_parser extconf.rb || die
+}
+
+each_ruby_compile() {
+	emake -Cext/pg_array_parser V=1
+	cp ext/pg_array_parser/pg_array_parser.so lib/
+}


             reply	other threads:[~2015-09-09  5:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-09  5:49 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-01 18:02 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg_array_parser/ Hans de Graaff
2023-12-31 11:09 Hans de Graaff
2023-06-29 20:13 Hans de Graaff
2022-04-30  9:08 Hans de Graaff
2021-10-31 11:35 Hans de Graaff
2021-10-17  6:04 Hans de Graaff
2019-01-28 21:45 Hans de Graaff
2018-04-16 18:32 Hans de Graaff
2017-08-25  6:09 Hans de Graaff
2017-08-25  6:09 Hans de Graaff
2016-08-13  6:43 Hans de Graaff
2016-04-16 21:22 Manuel Rüger
2015-09-07 21:56 Richard Farina

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=1441777769.0efc6ad6c6deba1f262e2d79bcabcf77a94c56e0.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