summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-03-30 03:20:16 +0000
committerMike Frysinger <vapier@gentoo.org>2008-03-30 03:20:16 +0000
commit9b5c0349f68b2b19dcba998abdfe2ec67cd106e3 (patch)
treef15c8ccf85e9f3736a343a659da8e6de98a2b71d /app-text
parentdrop keywords now that we have a real release (diff)
downloadgentoo-2-9b5c0349f68b2b19dcba998abdfe2ec67cd106e3.tar.gz
gentoo-2-9b5c0349f68b2b19dcba998abdfe2ec67cd106e3.tar.bz2
gentoo-2-9b5c0349f68b2b19dcba998abdfe2ec67cd106e3.zip
Version bump #215336 by Benoît Giraudou.
(Portage version: 2.2_pre5)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/nfoview/ChangeLog10
-rw-r--r--app-text/nfoview/files/nfoview-1.1-build.patch13
-rw-r--r--app-text/nfoview/nfoview-1.1.ebuild26
3 files changed, 47 insertions, 2 deletions
diff --git a/app-text/nfoview/ChangeLog b/app-text/nfoview/ChangeLog
index 8007ed0bdf9d..af6398a9eae0 100644
--- a/app-text/nfoview/ChangeLog
+++ b/app-text/nfoview/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/nfoview
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/nfoview/ChangeLog,v 1.1 2007/08/21 21:41:30 vapier Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/nfoview/ChangeLog,v 1.2 2008/03/30 03:20:15 vapier Exp $
+
+*nfoview-1.1 (30 Mar 2008)
+
+ 30 Mar 2008; Mike Frysinger <vapier@gentoo.org>
+ +files/nfoview-1.1-build.patch, +nfoview-1.1.ebuild:
+ Version bump #215336.
*nfoview-9999 (21 Aug 2007)
diff --git a/app-text/nfoview/files/nfoview-1.1-build.patch b/app-text/nfoview/files/nfoview-1.1-build.patch
new file mode 100644
index 000000000000..8e6440350422
--- /dev/null
+++ b/app-text/nfoview/files/nfoview-1.1-build.patch
@@ -0,0 +1,13 @@
+--- setup.py
++++ setup.py
+@@ -40,9 +40,7 @@
+ from distutils.command.sdist import sdist
+ from distutils.core import setup
+
+-os.chdir(os.path.dirname(__file__) or ".")
+-sys.path.insert(0, os.path.dirname(__file__))
+-from nfoview import __version__
++__version__ = os.environ['PV']
+
+
+ class Clean(clean):
diff --git a/app-text/nfoview/nfoview-1.1.ebuild b/app-text/nfoview/nfoview-1.1.ebuild
new file mode 100644
index 000000000000..b1d36b4f0b00
--- /dev/null
+++ b/app-text/nfoview/nfoview-1.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/nfoview/nfoview-1.1.ebuild,v 1.1 2008/03/30 03:20:15 vapier Exp $
+
+ESVN_REPO_URI="svn://svn.gna.org/svn/nfoview/trunk"
+inherit eutils distutils
+[[ ${PV} == "9999" ]] && inherit subversion
+
+DESCRIPTION="simple viewer for NFO files, which are ASCII art in the CP437 codepage"
+HOMEPAGE="http://home.gna.org/nfoview/"
+[[ ${PV} != "9999" ]] && SRC_URI="http://download.gna.org/nfoview/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+
+DOCS="AUTHORS"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-build.patch
+}