summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-02-13 17:32:29 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-02-13 17:32:29 +0000
commitdf426563e776c745ef793989d0b68173a809377f (patch)
tree6c12aebf19efbd3afc98239701f945a837fc7d01 /net-irc/rbot
parentVersion bump (diff)
downloadgentoo-2-df426563e776c745ef793989d0b68173a809377f.tar.gz
gentoo-2-df426563e776c745ef793989d0b68173a809377f.tar.bz2
gentoo-2-df426563e776c745ef793989d0b68173a809377f.zip
Revision bump, rbot moved to GIT now rather than Subversion. Drop the snapshot USE flag as there is no more a progressive number to be used.
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-irc/rbot')
-rw-r--r--net-irc/rbot/ChangeLog11
-rw-r--r--net-irc/rbot/rbot-9999-r8.ebuild (renamed from net-irc/rbot/rbot-9999-r7.ebuild)26
2 files changed, 19 insertions, 18 deletions
diff --git a/net-irc/rbot/ChangeLog b/net-irc/rbot/ChangeLog
index 720c7d37ef7b..04528740b475 100644
--- a/net-irc/rbot/ChangeLog
+++ b/net-irc/rbot/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-irc/rbot
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/ChangeLog,v 1.27 2007/12/28 14:08:10 flameeyes Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/ChangeLog,v 1.28 2008/02/13 17:32:29 flameeyes Exp $
+
+*rbot-9999-r8 (13 Feb 2008)
+
+ 13 Feb 2008; Diego Pettenò <flameeyes@gentoo.org> -rbot-9999-r7.ebuild,
+ +rbot-9999-r8.ebuild:
+ Revision bump, rbot moved to GIT now rather than Subversion. Drop the
+ snapshot USE flag as there is no more a progressive number to be used.
28 Dec 2007; Diego Pettenò <flameeyes@gentoo.org> rbot-9999-r7.ebuild:
Properly disable the time plugin if timezone USE flag is disabled.
diff --git a/net-irc/rbot/rbot-9999-r7.ebuild b/net-irc/rbot/rbot-9999-r8.ebuild
index 5e9516412f79..e55c1e1125a0 100644
--- a/net-irc/rbot/rbot-9999-r7.ebuild
+++ b/net-irc/rbot/rbot-9999-r8.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/rbot-9999-r7.ebuild,v 1.2 2007/12/28 14:08:10 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/rbot-9999-r8.ebuild,v 1.1 2008/02/13 17:32:29 flameeyes Exp $
inherit ruby gems eutils
-[[ ${PV} == "9999" ]] && inherit subversion
+[[ ${PV} == "9999" ]] && inherit git
DESCRIPTION="rbot is a ruby IRC bot"
-HOMEPAGE="http://www.linuxbrit.co.uk/rbot/"
+HOMEPAGE="http://ruby-rbot.org/"
LICENSE="as-is"
SLOT="0"
@@ -34,7 +34,7 @@ DEPEND=""
if [[ ${PV} == "9999" ]]; then
SRC_URI=""
- ESVN_REPO_URI="svn://linuxbrit.co.uk/giblet/rbot/trunk"
+ EGIT_REPO_URI="git://ruby-rbot.org/rbot.git"
DEPEND="${DEPEND}
dev-ruby/rake
@@ -50,20 +50,14 @@ pkg_setup() {
enewuser rbot -1 -1 /var/lib/rbot nobody
}
-svn_gem_version() {
- use snapshot && \
- echo 9998.${ESVN_WC_REVISION} || \
- echo 9999
-}
-
src_unpack() {
[[ ${PV} == "9999" ]] || return 0
- subversion_src_unpack
+ git_src_unpack
cd "${S}"
- sed -i -e "/s.version =/s:'.\+':'$(svn_gem_version)':" Rakefile \
+ sed -i -e "/s.version =/s:'.\+':'9999':" Rakefile \
|| die "Unable to fix Rakefile version."
- sed -i -e '/\$version=/s:".\+":"'$(svn_gem_version)'":' bin/rbot \
+ sed -i -e '/\$version=/s:".\+":"'9999'":' bin/rbot \
|| die "Unable to fix rbot script version."
}
@@ -75,8 +69,8 @@ src_compile() {
src_install() {
if [[ ${PV} == "9999" ]]; then
- GEM_SRC="${S}/pkg/rbot-$(svn_gem_version).gem"
- MY_P="${PN}-$(svn_gem_version)"
+ GEM_SRC="${S}/pkg/rbot-9999.gem"
+ MY_P="${PN}-9999"
else
MY_P="${P}"
fi