Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 539346 - new package: dev-ruby/vcard
Summary: new package: dev-ruby/vcard
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2015-02-08 15:55 UTC by Michael Orlitzky
Modified: 2015-02-14 01:06 UTC (History)
0 users

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


Attachments
vcard-0.2.12.ebuild (vcard-0.2.12.ebuild,336 bytes, text/plain)
2015-02-08 15:55 UTC, Michael Orlitzky
Details
vcard-0.2.12.ebuild (vcard-0.2.12.ebuild,613 bytes, text/plain)
2015-02-08 21:23 UTC, Michael Orlitzky
Details
vcard-0.2.12.ebuild (vcard-0.2.12.ebuild,606 bytes, text/plain)
2015-02-11 03:35 UTC, Michael Orlitzky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Orlitzky gentoo-dev 2015-02-08 15:55:19 UTC
Created attachment 395904 [details]
vcard-0.2.12.ebuild

This is used by the Redmine people plugin (from https://github.com/RCRM/redmine_people). I've tested it with ruby19, but have taken the gem's word that it works with ruby20 and ruby21.

If the ruby team doesn't want to maintain this, I'm happy to, but can someone give it a quick review to make sure I didn't do anything stupid? Thanks!
Comment 1 Manuel Rüger (RETIRED) gentoo-dev 2015-02-08 19:24:51 UTC
Please add working tests to the ebuild first. If you need help, feel free to ask in #gentoo-ruby
Comment 2 Michael Orlitzky gentoo-dev 2015-02-08 21:23:06 UTC
Created attachment 395942 [details]
vcard-0.2.12.ebuild

Thanks, I've enabled the test suite and turned off the default rdoc recipe (which crashed with USE=doc).

I avoided the rake recipe in favor of test-unit and a custom src_test according to the wiki and some examples I found. The test suite passes for ruby19/ruby20 here but I have yet to try it with ruby21 (portage threw a fit when I tried to enable it).
Comment 3 Manuel Rüger (RETIRED) gentoo-dev 2015-02-10 14:33:48 UTC
Does it work with ruby22? 
If so, add it. 
Please add a slot to test-unit

If you add it to the tree, feel free to add <herd>ruby</herd> in addition to yourself as maintainer.

Btw. if you're going to add redmine plugins to the tree, please think about maintaining redmine, too. It still has bug #491758 open and its maintainers seem to be inactive.
Comment 4 Michael Orlitzky gentoo-dev 2015-02-11 03:35:03 UTC
Created attachment 396164 [details]
vcard-0.2.12.ebuild

ruby-2.2 was an adventure but it looks like it works =)

I added that and a slot dep on test-unit. I have a few more of these; I'll commit them all this weekend with myself as maintainer and <herd>ruby</herd>.

Thanks again for the reviews.

Unfortunately while we use Redmine, I don't use the web-apps version, And I don't like how most of the web-apps stuff works so I wouldn't make a very good maintainer. Instead I maintain a package in an overlay called www-dependencies/redmine, which installs only the deps, and I handle the Redmine install myself.

I still need all of Redmine's dependencies, of course, so if you'd like help maintaining any of those, I'd rather do it in-tree than in an overlay.
Comment 5 Michael Orlitzky gentoo-dev 2015-02-14 01:06:41 UTC
*vcard-0.2.12 (14 Feb 2015)

  14 Feb 2015; Michael Orlitzky <mjo@gentoo.org> +metadata.xml,
  +vcard-0.2.12.ebuild:
  New package dev-ruby/vcard fixing bug #539346.