Skip to content

Commit

Permalink
app-misc/gourmet: Drop deprecated usage of DISTUTILS_NO_PARALLEL_BUIL…
Browse files Browse the repository at this point in the history
…D and QA fixes

properly use distutils-r1.eclasses phases
fix whitespaces

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <[email protected]>
  • Loading branch information
jlec committed Oct 22, 2015
1 parent 0ecf16f commit e0906a4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 19 deletions.
18 changes: 10 additions & 8 deletions app-misc/gourmet/gourmet-0.17.4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
EAPI="5"
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="sqlite"
# Parallel builds fail when building translations
DISTUTILS_NO_PARALLEL_BUILD=1

inherit distutils-r1

Expand All @@ -24,10 +22,14 @@ RDEPEND=">=dev-python/pygtk-2.22.0:2[${PYTHON_USEDEP}]
virtual/python-imaging[${PYTHON_USEDEP}]
i18n? ( dev-python/elib-intl[${PYTHON_USEDEP}] )
ipython? ( >=dev-python/ipython-0.13.2[${PYTHON_USEDEP}] )
pdf? ( >=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
>=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}] )
print? ( >=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
>=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}] )
pdf? (
>=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
>=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}]
)
print? (
>=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
>=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}]
)
spell? ( >=dev-python/gtkspell-python-2.25.3-r1[${PYTHON_USEDEP}] )
sound? ( >=dev-python/gst-python-0.10.22-r1:0.10[${PYTHON_USEDEP}] )
web? ( >=dev-python/beautifulsoup-3.2.1-r1:python-2[${PYTHON_USEDEP}] )"
Expand All @@ -53,7 +55,7 @@ python_prepare() {
sed -i "s:\(lib_dir = \)'../gourmet':\1'$(python_get_sitedir)':" gourmet/settings.py || die
}

src_install() {
distutils-r1_src_install
python_install_all() {
distutils-r1_python_install_all
doman gourmet.1
}
17 changes: 6 additions & 11 deletions app-misc/gourmet/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,20 @@
<remote-id type="github">thinkle/gourmet</remote-id>
</upstream>
<use>
<flag name='i18n'>
<pkg>&gt;app-misc/gourmet-0.16</pkg>
<flag name="i18n"><pkg>&gt;app-misc/gourmet-0.16</pkg>
Enable support for i18n through elib.intl
</flag>
<flag name='ipython'>
<pkg>&gt;app-misc/gourmet-0.16</pkg>
<flag name="ipython"><pkg>&gt;app-misc/gourmet-0.16</pkg>
Enable support for the interactive Python console plugin
</flag>
<flag name='pdf'>Enable export to PDF</flag>
<flag name='print'>
<pkg>&gt;app-misc/gourmet-0.16</pkg>
<flag name="pdf">Enable export to PDF</flag>
<flag name="print"><pkg>&gt;app-misc/gourmet-0.16</pkg>
Enable pretty Python printing
</flag>
<flag name='spell'>
<pkg>&gt;app-misc/gourmet-0.16</pkg>
<flag name="spell"><pkg>&gt;app-misc/gourmet-0.16</pkg>
Enable support for the spell check plugin
</flag>
<flag name='web'>
<pkg>&gt;app-misc/gourmet-0.16</pkg>
<flag name="web"><pkg>&gt;app-misc/gourmet-0.16</pkg>
Enable support for the web import plugin
</flag>
</use>
Expand Down

0 comments on commit e0906a4

Please sign in to comment.