summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-05-09 12:24:23 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-05-09 12:24:23 +0000
commita2ae773e3a34318bd0cf8e64cb683fe0300a7250 (patch)
tree083c9efaf050b7d6922416abe4d7df3c03900860 /dev-ruby/hpricot
parentMigrate to EAPI 2. (diff)
downloadgentoo-2-a2ae773e3a34318bd0cf8e64cb683fe0300a7250.tar.gz
gentoo-2-a2ae773e3a34318bd0cf8e64cb683fe0300a7250.tar.bz2
gentoo-2-a2ae773e3a34318bd0cf8e64cb683fe0300a7250.zip
Update HOMEPAGE and fetch the tarball generated by me over the one provided by github that is not stable.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/hpricot')
-rw-r--r--dev-ruby/hpricot/ChangeLog6
-rw-r--r--dev-ruby/hpricot/hpricot-0.8.ebuild12
2 files changed, 8 insertions, 10 deletions
diff --git a/dev-ruby/hpricot/ChangeLog b/dev-ruby/hpricot/ChangeLog
index 7812543f09f6..e406cc499856 100644
--- a/dev-ruby/hpricot/ChangeLog
+++ b/dev-ruby/hpricot/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ruby/hpricot
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hpricot/ChangeLog,v 1.15 2009/05/08 10:34:35 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hpricot/ChangeLog,v 1.16 2009/05/09 12:24:23 flameeyes Exp $
+
+ 09 May 2009; Diego E. Pettenò <flameeyes@gentoo.org> hpricot-0.8.ebuild:
+ Update HOMEPAGE and fetch the tarball generated by me over the one
+ provided by github that is not stable.
08 May 2009; Diego E. Pettenò <flameeyes@gentoo.org> ChangeLog:
Sign.
diff --git a/dev-ruby/hpricot/hpricot-0.8.ebuild b/dev-ruby/hpricot/hpricot-0.8.ebuild
index 4f3e85726ad9..83e40be959fa 100644
--- a/dev-ruby/hpricot/hpricot-0.8.ebuild
+++ b/dev-ruby/hpricot/hpricot-0.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hpricot/hpricot-0.8.ebuild,v 1.1 2009/05/08 10:31:40 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hpricot/hpricot-0.8.ebuild,v 1.2 2009/05/09 12:24:23 flameeyes Exp $
EAPI=2
@@ -11,9 +11,9 @@ GITHUB_USER=why
USE_RUBY="ruby18"
DESCRIPTION="A fast and liberal HTML parser for Ruby."
-HOMEPAGE="http://code.whytheluckystiff.net/hpricot/"
+HOMEPAGE="http://wiki.github.com/why/hpricot"
-SRC_URI="http://github.com/${GITHUB_USER}/${PN}/tarball/${PV} -> ${P}.tgz"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="MIT"
SLOT="0"
@@ -39,8 +39,6 @@ EOF
}
src_compile() {
- cd "${WORKDIR}"/${GITHUB_USER}-${PN}-*
-
rake compile || die "rake failed"
if use doc; then
@@ -49,8 +47,6 @@ src_compile() {
}
src_test() {
- cd "${WORKDIR}"/${GITHUB_USER}-${PN}-*
-
for ruby in $USE_RUBY; do
[[ -n `type -p $ruby` ]] || continue
$ruby $(type -p rake) test || die "testsuite failed"
@@ -58,8 +54,6 @@ src_test() {
}
src_install() {
- cd "${WORKDIR}"/${GITHUB_USER}-${PN}-*
-
pushd lib
doruby -r *.rb hpricot || die "doruby failed"
exeinto $(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitearchdir"]')