gourmet team mailing list archive
-
gourmet team
-
Mailing list archive
-
Message #00007
Gourmet Gentoo ebuild (was: Re: [Question #238352]: Can not import from webpage)
Am 2013-11-03 18:31, schrieb imesg:
> Question #238352 on Gourmet changed:
> https://answers.launchpad.net/gourmet/+question/238352
>
> imesg posted a new comment:
> You are exactly right about beautifulsoup. However I don't know if this
> will fix the problem because gentoo is in the middle of a big fubar with
> python-exec and I can't install anything related to python (bummer). As
> soon as this fubar sorts itself I will report back.
>
> Most likely the problem is that the gentoo ebuild does not include
> beautifulsoup as a dependency for gourmet. Will you see to this or
> should I post a bug report with gentoo?
I've taken a look at the current unstable 0.16.1 ebuild
(http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-misc/gourmet/)
and, having been a Gentoo user myself a long time ago, attempted to fix it.
This includes updates to other RDEPENDencies and USE flags as well, see
attached patch. (Note that after applying that patch,
gourmet-0.16.1.ebuild still needs to be renamed to
gourmet-0.16.1-r1.ebuild.) Also, the change to manifest.xml probably
requires updating the USE flags for the 0.15.9 ebuild found at the same
location.
I'm CC'ing other potentially interested parties. Please note that I'm
not a Gentoo developer nor user these days, so *I did not test this
ebuild*. I still hope it's useful and makes its way to the Gentoo
repositories in some way or another -- please keep me posted!
> Thanks for the help as always.
You're welcome, thanks for telling me about this bug.
> Great program by the way.
Kudos go to Tom Hinkle, who started it almost some 10 years ago -- I've
been maintaining it only relatively recently.
> Gene
Bernhard
diff -u 0.16.1/ChangeLog 0.16.1-r1/ChangeLog
--- 0.16.1/ChangeLog 2013-11-04 19:18:30.493049000 +0100
+++ 0.16.1-r1/ChangeLog 2013-11-04 19:42:06.232069764 +0100
@@ -1,6 +1,15 @@
# ChangeLog for app-misc/gourmet
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/gourmet/ChangeLog,v 1.36 2013/09/17 03:23:26 patrick Exp $
+# $Header: $
+
+*gourmet-0.16.1-r1 (04 Nov 2013)
+
+ 04 Nov 2013; Bernhard Reiter <ockham@xxxxxxxxx> +gourmet-0.16.1.ebuild,
+ metadata.xml:
+ Drop obsolete gnome-print and rtf USE flags; document pdf USE flag in
+ metadata.xml; in RDEPEND, drop obsolete libgnome-python-2, libglade-2, and
+ metakit dependencies, version-depend on >=pygtk-2.22.0:2 and
+ >=sqlalchemy-0.7.0, and add beautifulsoup:python-2, ipython, and gst-python.
*gourmet-0.16.1 (17 Sep 2013)
Nur in 0.16.1-r1/: ChangeLog~.
diff -u 0.16.1/gourmet-0.16.1.ebuild 0.16.1-r1/gourmet-0.16.1.ebuild
--- 0.16.1/gourmet-0.16.1.ebuild 2013-11-04 19:20:14.089563170 +0100
+++ 0.16.1-r1/gourmet-0.16.1.ebuild 2013-11-04 19:41:43.427956686 +0100
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/gourmet/gourmet-0.16.1.ebuild,v 1.1 2013/09/17 03:23:26 patrick Exp $
+# $Header: $
EAPI="5"
PYTHON_COMPAT=( python2_7 )
@@ -15,22 +15,18 @@
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="gnome-print pdf rtf"
+IUSE="pdf"
-RDEPEND=">=dev-python/pygtk-2.3.93:2
+RDEPEND=">=dev-python/pygtk-2.22.0:2
dev-python/pygobject:2
- >=dev-python/libgnome-python-2
- >=gnome-base/libglade-2
- dev-python/sqlalchemy
- !=dev-python/sqlalchemy-0.6.4
+ >=dev-python/sqlalchemy-0.7.0
dev-python/pillow
dev-python/gtkspell-python
dev-python/python-distutils-extra
- dev-db/metakit[python]
+ dev-python/beautifulsoup:python-2
+ dev-python/ipython
+ dev-python/gst-python
pdf? ( dev-python/reportlab dev-python/python-poppler )
- rtf? ( dev-python/pyrtf )
- gnome-print? ( dev-python/libgnomeprint-python
- dev-python/python-poppler )"
DEPEND="${RDEPEND}"
# distutils gets a bunch of default docs
Nur in 0.16.1-r1/: gourmet-0.16.1.ebuild~.
diff -u 0.16.1/metadata.xml 0.16.1-r1/metadata.xml
--- 0.16.1/metadata.xml 2013-11-04 19:17:55.140874000 +0100
+++ 0.16.1-r1/metadata.xml 2013-11-04 19:22:23.486204852 +0100
@@ -23,8 +23,6 @@
<remote-id type="github">thinkle/gourmet</remote-id>
</upstream>
<use>
- <flag name="rtf">Enable export to RTF</flag>
- <flag name="gnome-print">Enable pretty Python printing with
- gnome-print</flag>
+ <flag name="pdf">Enable export to PDF</flag>
</use>
-</pkgmetadata>
\ Kein Zeilenumbruch am Dateiende.
+</pkgmetadata>
Nur in 0.16.1-r1/: metadata.xml~.