summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2008-06-29 18:46:45 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2008-06-29 18:46:45 +0000
commit25bec9f5b6ad349904ee35259e15954a0c1505bb (patch)
tree443120252e6ad9886c7dee752ec3923b165a0b34 /net-news/straw
parentamd64 stable, bug #229907 (diff)
downloadgentoo-2-25bec9f5b6ad349904ee35259e15954a0c1505bb.tar.gz
gentoo-2-25bec9f5b6ad349904ee35259e15954a0c1505bb.tar.bz2
gentoo-2-25bec9f5b6ad349904ee35259e15954a0c1505bb.zip
adding maintainer-needed in metadata.xml
(Portage version: 2.2_rc1/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64)
Diffstat (limited to 'net-news/straw')
-rw-r--r--net-news/straw/ChangeLog10
-rw-r--r--net-news/straw/metadata.xml1
-rw-r--r--net-news/straw/straw-0.27.ebuild77
3 files changed, 86 insertions, 2 deletions
diff --git a/net-news/straw/ChangeLog b/net-news/straw/ChangeLog
index ca15a05e2ec2..53ec7465915d 100644
--- a/net-news/straw/ChangeLog
+++ b/net-news/straw/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-news/straw
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/straw/ChangeLog,v 1.9 2007/04/08 15:10:44 dev-zero Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-news/straw/ChangeLog,v 1.10 2008/06/29 18:46:45 eva Exp $
+
+*straw-0.27 (29 Jun 2008)
+
+ 29 Jun 2008; Gilles Dartiguelongue <eva@gentoo.org> metadata.xml,
+ +straw-0.27.ebuild:
+ adding maintainer-needed in metadata.xml
08 Apr 2007; Tiziano Müller <dev-zero@gentoo.org> straw-0.26.ebuild:
Fixed bug #173761 (thanks to Anton Kuzmin) by adding a sed-line to replace
diff --git a/net-news/straw/metadata.xml b/net-news/straw/metadata.xml
index 9b1bc26a9df2..d5a6a95668ec 100644
--- a/net-news/straw/metadata.xml
+++ b/net-news/straw/metadata.xml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+<herd>maintainer-needed</herd>
<herd>gnome</herd>
<herd>python</herd>
</pkgmetadata>
diff --git a/net-news/straw/straw-0.27.ebuild b/net-news/straw/straw-0.27.ebuild
new file mode 100644
index 000000000000..e0c4eef693b9
--- /dev/null
+++ b/net-news/straw/straw-0.27.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-news/straw/straw-0.27.ebuild,v 1.1 2008/06/29 18:46:45 eva Exp $
+
+inherit gnome2 python distutils virtualx
+
+DESCRIPTION="RSS/RDF News Aggregator"
+HOMEPAGE="http://www.gnome.org/projects/straw/"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=">=dev-lang/python-2.4"
+
+RDEPEND="${DEPEND}
+ gnome-base/gconf
+ >=gnome-base/libglade-2.4
+ >=gnome-base/libgnome-2.0.1
+ >=dev-python/gnome-python-1.99.13
+ >=dev-python/pygtk-2.8
+ >=dev-python/bsddb3-3.4.0
+ >=dev-python/egenix-mx-base-2
+ dev-python/gnome-python-extras
+ dev-python/dbus-python
+ !ppc? ( >=dev-python/adns-python-1.0.0 )"
+
+# dev-python/gnome-python-extras provides gtkhtml2 python module
+
+# REMIND : egenix-mx-base is only needed for the conversion of
+# pre 0.22 straw databases. It should be removed at some point.
+# foser <foser@gentoo.org> 18 Feb 2004
+
+src_unpack() {
+ gnome2_src_unpack
+ sed -i \
+ -e 's/bsddb.db/bsddb3.db/' \
+ "${S}/setup.py" || die "sed failed"
+}
+
+# This about of virtualmake in src_compile and src_install are
+# pretty horrible.. why can't I compile gtk base modules in
+# distutils without that (ps. I'm the upstream guy to blame)
+# Olivier Crete <tester@gentoo.org>
+
+src_compile() {
+ export maketype="distutils_src_compile"
+ virtualmake || die "compilation failed"
+}
+
+src_install() {
+ # work around bug in straw's install script
+ export maketype="distutils_src_install"
+ virtualmake \
+ --prefix=/usr \
+ --sysconfdir=${D}/etc \
+ --disable-schemas-install
+}
+
+pkg_postinst() {
+
+ distutils_pkg_postinst
+ gnome2_pkg_postinst # need this for gconf schemas
+
+ echo
+ einfo "Consult the README if you have database conversion problems on startup."
+ echo
+
+}
+
+pkg_postrm() {
+
+ distutils_pkg_postrm
+ gnome2_pkg_postrm
+
+}