Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252136 - dev-ruby/ruby-rdig-0.3.5: new ebuild
Summary: dev-ruby/ruby-rdig-0.3.5: new ebuild
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-21 23:54 UTC by Wim Muskee
Modified: 2011-02-10 17:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
new ebuild for dev-ruby/ruby-rdig-0.3.5 (ruby-rdig-0.3.5.ebuild,553 bytes, text/plain)
2008-12-21 23:56 UTC, Wim Muskee
Details
new ebuild (from source) for dev-ruby/rdig (rdig-0.3.5.ebuild,1.91 KB, text/plain)
2008-12-27 22:08 UTC, Wim Muskee
Details
patch for bin/rdig file (bin-rdig.patch,492 bytes, patch)
2008-12-27 22:09 UTC, Wim Muskee
Details | Diff
improved ebuild (from source) for dev-ruby/rdig (rdig-0.3.5.ebuild,1.84 KB, text/plain)
2008-12-28 14:58 UTC, Wim Muskee
Details
improved patch for bin/rdig file (bin-rdig.patch,440 bytes, patch)
2008-12-28 15:00 UTC, Wim Muskee
Details | Diff
loader file for rdig (rdig.rb,160 bytes, text/plain)
2008-12-28 15:01 UTC, Wim Muskee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wim Muskee 2008-12-21 23:54:31 UTC
Made an ebuild for the rdig gem.

Reproducible: Always




Installed and tested with:

dev-ruby/rake-0.8.1
dev-ruby/hpricot-0.6
dev-ruby/ruby-ferret-0.11.4
app-text/poppler-0.8.7
app-text/wv-1.2.3-r1

Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 Intel(R) Celeron(R) CPU 2.00GHz
Timestamp of tree: Mon, 15 Dec 2008 08:11:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.7.9-r1, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Wim Muskee 2008-12-21 23:56:28 UTC
Created attachment 176115 [details]
new ebuild for dev-ruby/ruby-rdig-0.3.5
Comment 2 Hans de Graaff gentoo-dev Security 2008-12-23 21:12:04 UTC
Thanks for submitting the ebuild. The ruby herd is currently still understaffed, so I'm not sure how quickly we can process it.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-23 21:55:55 UTC
A few notes:

- since the name of the package is just rdig, it might be better to call the package like that if there is no obvious collision with another package;
- is this primarily used as a Ruby library or is it primarily used for indexing; in the latter case it might be better suited as app-text/rdig;
- if upstream provides a non-gem release it might be much better to not use the gem (see http://blog.flameeyes.eu/2008/12/12/id-rather-keep-myself-away-from-gems for some reasoning and bug #252257 as an example of where a working FEATURES=test is quite helpful).
Comment 4 Wim Muskee 2008-12-27 22:08:25 UTC
Created attachment 176545 [details]
new ebuild (from source) for dev-ruby/rdig

Installs from source instead of gem. Did not use the install.rb file, but instead copied everything manually. The bin/rdig file was patched (see bin-rdig.patch) to be run from commandline without rubygems.
Unfortunately $LOAD_PATH has to be loaded in each ruby script calling rdig. This is not necessary in the gem ebuild version.
Comment 5 Wim Muskee 2008-12-27 22:09:01 UTC
Created attachment 176546 [details, diff]
patch for bin/rdig file
Comment 6 Wim Muskee 2008-12-28 14:58:51 UTC
Created attachment 176610 [details]
improved ebuild (from source) for dev-ruby/rdig

An added loader file (files/rdig.rb) loads the appdir into $LOAD_PATH, making the call in each ruby script needing rdig not necessary anymore. a3li ;)
Comment 7 Wim Muskee 2008-12-28 15:00:23 UTC
Created attachment 176612 [details, diff]
improved patch for bin/rdig file

removed $LOAD_PATH line, this is done by the new loader file (files/rdig.rb)
Comment 8 Wim Muskee 2008-12-28 15:01:03 UTC
Created attachment 176614 [details]
loader file for rdig
Comment 9 Wim Muskee 2011-02-10 17:25:52 UTC
Never mind looking for a maintainer for this package. The last commit on the source was three years ago, and I'm not using it anymore.