Gentoo Archives: gentoo-commits

From: "Joe Sapp (nixphoeni)" <nixphoeni@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/gourmet: ChangeLog gourmet-0.16.1-r3.ebuild
Date: Sun, 09 Feb 2014 17:28:31
Message-Id: 20140209172826.EF96C2004E@flycatcher.gentoo.org
1 nixphoeni 14/02/09 17:28:26
2
3 Modified: ChangeLog
4 Added: gourmet-0.16.1-r3.ebuild
5 Log:
6 Add patch to fix adding pictures in "oddball WMs" per bug #489974
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 341D8825)
9
10 Revision Changes Path
11 1.39 app-misc/gourmet/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/gourmet/ChangeLog?rev=1.39&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/gourmet/ChangeLog?rev=1.39&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/gourmet/ChangeLog?r1=1.38&r2=1.39
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-misc/gourmet/ChangeLog,v
20 retrieving revision 1.38
21 retrieving revision 1.39
22 diff -u -r1.38 -r1.39
23 --- ChangeLog 19 Nov 2013 02:45:49 -0000 1.38
24 +++ ChangeLog 9 Feb 2014 17:28:26 -0000 1.39
25 @@ -1,6 +1,13 @@
26 # ChangeLog for app-misc/gourmet
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-misc/gourmet/ChangeLog,v 1.38 2013/11/19 02:45:49 nixphoeni Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-misc/gourmet/ChangeLog,v 1.39 2014/02/09 17:28:26 nixphoeni Exp $
31 +
32 +*gourmet-0.16.1-r3 (09 Feb 2014)
33 +
34 + 09 Feb 2014; Joe Sapp <nixphoeni@g.o> +gourmet-0.16.1-r3.ebuild,
35 + +files/gourmet-0.16.1-pictures-dir.patch:
36 + Add patch to fix adding pictures in "oddball WMs" per bug #489974 (thanks
37 + m0par)
38
39 *gourmet-0.16.1-r2 (19 Nov 2013)
40
41
42
43
44 1.1 app-misc/gourmet/gourmet-0.16.1-r3.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/gourmet/gourmet-0.16.1-r3.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/gourmet/gourmet-0.16.1-r3.ebuild?rev=1.1&content-type=text/plain
48
49 Index: gourmet-0.16.1-r3.ebuild
50 ===================================================================
51 # Copyright 1999-2014 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/app-misc/gourmet/gourmet-0.16.1-r3.ebuild,v 1.1 2014/02/09 17:28:26 nixphoeni Exp $
54
55 EAPI="5"
56 PYTHON_COMPAT=( python{2_6,2_7} )
57 PYTHON_REQ_USE="sqlite"
58 # Parallel builds fail when building translations
59 DISTUTILS_NO_PARALLEL_BUILD=1
60
61 inherit distutils-r1
62
63 DESCRIPTION="Recipe Organizer and Shopping List Generator for Gnome"
64 HOMEPAGE="http://thinkle.github.com/gourmet/"
65 SRC_URI="https://github.com/thinkle/gourmet/archive/${PV}.tar.gz -> ${P}.tar.gz"
66
67 LICENSE="GPL-2"
68 SLOT="0"
69 KEYWORDS="~amd64 ~x86"
70 IUSE="-i18n -ipython pdf print spell sound web"
71
72 RDEPEND=">=dev-python/pygtk-2.22.0:2[${PYTHON_USEDEP}]
73 >=dev-python/sqlalchemy-0.7.9-r1[${PYTHON_USEDEP}]
74 virtual/python-imaging[${PYTHON_USEDEP}]
75 i18n? ( dev-python/elib-intl[${PYTHON_USEDEP}] )
76 ipython? ( >=dev-python/ipython-0.13.2[${PYTHON_USEDEP}] )
77 pdf? ( >=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
78 >=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}] )
79 print? ( >=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
80 >=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}] )
81 spell? ( dev-python/gtkspell-python )
82 sound? ( >=dev-python/gst-python-0.10.22-r1:0.10[${PYTHON_USEDEP}] )
83 web? ( >=dev-python/beautifulsoup-3.2.1-r1:python-2[${PYTHON_USEDEP}] )"
84 DEPEND="${RDEPEND}
85 dev-util/intltool
86 >=dev-python/python-distutils-extra-2.37-r1[${PYTHON_USEDEP}]"
87
88 PATCHES=( ${FILESDIR}/no-docs.patch \
89 ${FILESDIR}/nutritional-db-fix.patch \
90 ${FILESDIR}/desktop-entry.patch \
91 ${FILESDIR}/${P}-PIL-png.patch \
92 ${FILESDIR}/${P}-pictures-dir.patch )
93 # distutils gets a bunch of default docs
94 DOCS=( ChangeLog CODING FAQ TESTS TODO )
95
96 python_prepare_all() {
97 # Modify these lines before copying them out
98 sed -i "s:base_dir = '..':base_dir = '/usr/share':" gourmet/settings.py || die
99 sed -i 's:data_dir = os.path.join(base_dir, "gourmet", "data"):data_dir = os.path.join(base_dir, "gourmet"):' gourmet/settings.py || die
100 sed -i 's:\(icon_base = os.path.join(data_dir,\) "icons",:\1 "gourmet",:' gourmet/settings.py || die
101 sed -i 's:\(locale_base = os.path.join(base_dir, "gourmet",\) "build",:\1:' gourmet/settings.py || die
102 sed -i 's:\(plugin_base = os.path.join(base_dir,\) "gourmet", "build", "share",:\1:' gourmet/settings.py || die
103 distutils-r1_python_prepare_all
104 }
105
106 python_prepare() {
107 distutils-r1_python_prepare
108 sed -i "s:\(lib_dir = \)'../gourmet':\1'$(python_get_sitedir)':" gourmet/settings.py || die
109 }
110
111 src_install() {
112 distutils-r1_src_install
113 doman gourmet.1
114 }