diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-ruby/snmplib | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-ruby/snmplib')
-rw-r--r-- | dev-ruby/snmplib/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/snmplib/metadata.xml | 5 | ||||
-rw-r--r-- | dev-ruby/snmplib/snmplib-1.2.0-r1.ebuild | 40 | ||||
-rw-r--r-- | dev-ruby/snmplib/snmplib-1.2.0.ebuild | 40 |
4 files changed, 86 insertions, 0 deletions
diff --git a/dev-ruby/snmplib/Manifest b/dev-ruby/snmplib/Manifest new file mode 100644 index 00000000000..5faa86e430b --- /dev/null +++ b/dev-ruby/snmplib/Manifest @@ -0,0 +1 @@ +DIST snmp-1.2.0.gem 205824 SHA256 e0a0b76497ac4a6f2238098f2379fc6ea39d1b96a72b4b76c86ebf35557b8d98 SHA512 861910d0a9182098043dec2c4c6e2f3782988de28f56dd399a0fbf3d8e3ae3494fa79f5dede978b15065bd5adb842dd876bd05b578cb4bb9510fae73201e92cd WHIRLPOOL d683c22c8daca6f569b22874524a61baab76dd5bddb8ffa7ae6a88adb12e9ec6c10ecc1bd467e8ade797f5d149652227b58c5a19aeba6abc22901fe8f0d21587 diff --git a/dev-ruby/snmplib/metadata.xml b/dev-ruby/snmplib/metadata.xml new file mode 100644 index 00000000000..85213618336 --- /dev/null +++ b/dev-ruby/snmplib/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ruby</herd> +</pkgmetadata> diff --git a/dev-ruby/snmplib/snmplib-1.2.0-r1.ebuild b/dev-ruby/snmplib/snmplib-1.2.0-r1.ebuild new file mode 100644 index 00000000000..83bde454cc1 --- /dev/null +++ b/dev-ruby/snmplib/snmplib-1.2.0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_NAME="snmp" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +IUSE="" + +DESCRIPTION="SNMP library implemented in pure Ruby" +HOMEPAGE="http://snmplib.rubyforge.org/" + +KEYWORDS="~amd64 ~ppc ~x86" +LICENSE="Ruby" +SLOT="0" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-4:0 )" + +all_ruby_prepare() { + sed -e '2igem "minitest", "~>4.0"' -i test/test_*.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} + +all_ruby_install() { + all_fakegem_install + + insinto /usr/share/doc/${PF} + doins -r examples +} diff --git a/dev-ruby/snmplib/snmplib-1.2.0.ebuild b/dev-ruby/snmplib/snmplib-1.2.0.ebuild new file mode 100644 index 00000000000..ce29d8c00c5 --- /dev/null +++ b/dev-ruby/snmplib/snmplib-1.2.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20" + +RUBY_FAKEGEM_NAME="snmp" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +IUSE="" + +DESCRIPTION="SNMP library implemented in pure Ruby" +HOMEPAGE="http://snmplib.rubyforge.org/" + +KEYWORDS="amd64 ppc x86" +LICENSE="Ruby" +SLOT="0" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-4:0 )" + +all_ruby_prepare() { + sed -e '2igem "minitest", "~>4.0"' -i test/test_*.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} + +all_ruby_install() { + all_fakegem_install + + insinto /usr/share/doc/${PF} + doins -r examples +} |