diff options
author | Hans de Graaff <graaff@gentoo.org> | 2014-05-19 18:05:22 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2014-05-19 18:05:22 +0000 |
commit | ba9d73d375335bacce830ab442d9b4531e06f0e4 (patch) | |
tree | 4f1be53ae9932e0ae1bd0b0d287ca07f2fb9c74b /dev-ruby | |
parent | Drop the middle version that required python-exec:0. (diff) | |
download | historical-ba9d73d375335bacce830ab442d9b4531e06f0e4.tar.gz historical-ba9d73d375335bacce830ab442d9b4531e06f0e4.tar.bz2 historical-ba9d73d375335bacce830ab442d9b4531e06f0e4.zip |
Ruby bindings for net-analyzer/rrdtool as a separate package to facilitate building the bindings for multiple ruby targets. Fixes bug 427662.
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/rrdtool-bindings/ChangeLog | 11 | ||||
-rw-r--r-- | dev-ruby/rrdtool-bindings/Manifest | 14 | ||||
-rw-r--r-- | dev-ruby/rrdtool-bindings/metadata.xml | 6 | ||||
-rw-r--r-- | dev-ruby/rrdtool-bindings/rrdtool-bindings-1.4.8.ebuild | 48 |
4 files changed, 79 insertions, 0 deletions
diff --git a/dev-ruby/rrdtool-bindings/ChangeLog b/dev-ruby/rrdtool-bindings/ChangeLog new file mode 100644 index 000000000000..20aa0c9d92d4 --- /dev/null +++ b/dev-ruby/rrdtool-bindings/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-ruby/rrdtool-bindings +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rrdtool-bindings/ChangeLog,v 1.1 2014/05/19 18:05:15 graaff Exp $ + +*rrdtool-bindings-1.4.8 (19 May 2014) + + 19 May 2014; Hans de Graaff <graaff@gentoo.org> + +rrdtool-bindings-1.4.8.ebuild, +metadata.xml: + Ruby bindings for net-analyzer/rrdtool as a separate package to facilitate + building the bindings for multiple ruby targets. Fixes bug 427662. + diff --git a/dev-ruby/rrdtool-bindings/Manifest b/dev-ruby/rrdtool-bindings/Manifest new file mode 100644 index 000000000000..f28ee0eb45c3 --- /dev/null +++ b/dev-ruby/rrdtool-bindings/Manifest @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST rrdtool-1.4.8.tar.gz 1379482 SHA256 de95b9f5aa488b0683600aad5a07c316f8d98cbe8d00aa0a1c87e2b2ef89f3d6 SHA512 c525978829508e1db393092c948d8db910554f42e1221acc4064a8f546ceac5d68943f603c6f0ef0e6510bbe5f606cfe6862672145ea1b630cd2b7fd07fa805b WHIRLPOOL f3926aed715a80c8d8287b057c39bbe614d81ebf9f24d1e285a9a438594d5c4c66b59934cc7c6be0550f0f729f319b01a46efc32ccf0b412563c43cf74a21564 +EBUILD rrdtool-bindings-1.4.8.ebuild 1135 SHA256 8bdb4ad71f2f2669abfd8751510b499b56dd46ac8090e4edd21b2d80b353fcd0 SHA512 22e7a76d3bca67ec7cd46c32d00aa4296a4d796410296b1e1f140b520ac9e387a8ade302925844f93ec118c9543f8f402a1d0364fa05445ae8a25d615eacf87e WHIRLPOOL 12aca5251dc4781ece6d2b5660e69ad5de9af6f10778ac29f9996584b457fc275c2784878ad80959b0cf815f297321d003f88d7f3932f222f37e61ccb09fe0a8 +MISC ChangeLog 508 SHA256 e526780021cfc9bd36a960c7682e4f124392fc48601f2715e26c249620d8ae1a SHA512 82dbaa802db65a99a46e3f8fbe1338875bab2bd9b24b8a6ed5d47ca377a48f8c743c5a4b5d9e7b9bca8a8beb427ddece04f0985a606bcb3d95cd1d2435449dc7 WHIRLPOOL ce7ff24290aa3203ba0c95a1832e6f59560782c52cbe1d1816db2d1c43cea3aa3224c9934b175417b715bc3b1651b96cef0af82c56e282ff4477aa69c337c08a +MISC metadata.xml 181 SHA256 40d8b725637f7e849948d3b29440a26a9fb30886a09e2dfbaa7947c5aaff75de SHA512 f45ea0075a8089e9da38d4e2946fa477f86bfcb217bbc7ff1bd08209196f4f23003fc5a06e422a247f4c4ff28d81a7fc26371dbab5f308fbba0c365a93539a8e WHIRLPOOL dbb1768a2fb1a581e2ec126368e11ab91e385ffcb40b7f8b61f72f3e576dc639a01208df63aa56ae350790554cca6b4fd1e5e478e78bb265bc86bf5aec27420b +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iF4EAREIAAYFAlN6R+IACgkQiIP6VqMIqNfoVQD/U5rhrBntJFthHNMd/sOI16P7 +2mChNDrW430iMwEGsc0BAIXZGJSt9Q1lhRKQZXq/YlLo0DD7H12RBVN/UtJgVBGH +=IN3R +-----END PGP SIGNATURE----- diff --git a/dev-ruby/rrdtool-bindings/metadata.xml b/dev-ruby/rrdtool-bindings/metadata.xml new file mode 100644 index 000000000000..fb22d6691302 --- /dev/null +++ b/dev-ruby/rrdtool-bindings/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>ruby</herd> + <herd>netmon</herd> +</pkgmetadata> diff --git a/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.4.8.ebuild b/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.4.8.ebuild new file mode 100644 index 000000000000..4e4268b1ac4c --- /dev/null +++ b/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.4.8.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.4.8.ebuild,v 1.1 2014/05/19 18:05:15 graaff Exp $ + +EAPI="5" + +USE_RUBY="ruby19 ruby20 ruby21" + +RUBY_FAKEGEM_TASK_DOC="" + +inherit ruby-ng + +MY_P=${P/-bindings} + +DESCRIPTION="Ruby bindings for rrdtool." +HOMEPAGE="http://oss.oetiker.ch/rrdtool/" +SRC_URI="http://oss.oetiker.ch/rrdtool/pub/${MY_P}.tar.gz" +RUBY_S="$MY_P"/bindings/ruby + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos ~x86-solaris" +IUSE="" + +# Block on older versions of rrdtool that installl the bindings +# themselves. +RDEPEND="${RDEPEND} net-analyzer/rrdtool !!<net-analyzer/rrdtool-4.8.1-r1" +DEPEND="${DEPEND} net-analyzer/rrdtool" + +each_ruby_configure() { + ${RUBY} extconf.rb || die +} + +each_ruby_compile() { + emake V=1 +} + +each_ruby_test() { + ${RUBY} -I. test.rb || die +} + +all_ruby_install() { + dodoc CHANGES README +} + +each_ruby_install() { + DESTDIR=${D} emake install +} |