From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/tomoe-gtk/
Date: Sat, 12 Aug 2017 14:21:54 +0000 (UTC) [thread overview]
Message-ID: <1502547700.0f0b2c8b7c4d48faa49167d3f227ce3a63ac18d3.hattya@gentoo> (raw)
commit: 0f0b2c8b7c4d48faa49167d3f227ce3a63ac18d3
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 12 14:11:47 2017 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat Aug 12 14:21:40 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f0b2c8b
app-i18n/tomoe-gtk: fix build with USE=python
Gentoo-Bug: 567632
Package-Manager: Portage-2.3.6, Repoman-2.3.1
app-i18n/tomoe-gtk/metadata.xml | 16 ++++++------
app-i18n/tomoe-gtk/tomoe-gtk-0.6.0-r4.ebuild | 38 ++++++++--------------------
2 files changed, 18 insertions(+), 36 deletions(-)
diff --git a/app-i18n/tomoe-gtk/metadata.xml b/app-i18n/tomoe-gtk/metadata.xml
index bb5bed5adfa..b26c59a53cf 100644
--- a/app-i18n/tomoe-gtk/metadata.xml
+++ b/app-i18n/tomoe-gtk/metadata.xml
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>cjk@gentoo.org</email>
- <name>Cjk</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">tomoe</remote-id>
- <remote-id type="sourceforge-jp">tomoe</remote-id>
- </upstream>
+ <maintainer type="project">
+ <email>cjk@gentoo.org</email>
+ <name>Cjk</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">tomoe</remote-id>
+ <remote-id type="sourceforge-jp">tomoe</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/app-i18n/tomoe-gtk/tomoe-gtk-0.6.0-r4.ebuild b/app-i18n/tomoe-gtk/tomoe-gtk-0.6.0-r4.ebuild
index 6bb529d3d14..91da3cffbfd 100644
--- a/app-i18n/tomoe-gtk/tomoe-gtk-0.6.0-r4.ebuild
+++ b/app-i18n/tomoe-gtk/tomoe-gtk-0.6.0-r4.ebuild
@@ -1,59 +1,41 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI="6"
PYTHON_COMPAT=( python2_7 )
inherit python-single-r1
-MY_P="tomoe-gtk-${PV}"
DESCRIPTION="Tomoe GTK+ interface widget library"
HOMEPAGE="http://tomoe.sourceforge.jp/"
-SRC_URI="mirror://sourceforge/tomoe/${MY_P}.tar.gz"
+SRC_URI="mirror://sourceforge/tomoe/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~x86"
-
IUSE="python static-libs"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-RDEPEND="
- >=app-i18n/tomoe-0.6.0
+RDEPEND="app-i18n/tomoe[python(+)?,${PYTHON_USEDEP}]
python? (
${PYTHON_DEPS}
- >=app-i18n/tomoe-0.6.0[python,${PYTHON_USEDEP}]
- dev-python/pygtk:2[${PYTHON_USEDEP}]
dev-python/pygobject:2[${PYTHON_USEDEP}]
- )
-"
+ dev-python/pygtk:2[${PYTHON_USEDEP}]
+ )"
DEPEND="${RDEPEND}
dev-util/gtk-doc-am
- virtual/pkgconfig
sys-devel/gettext
-"
-
-S="${WORKDIR}/${MY_P}"
+ virtual/pkgconfig"
pkg_setup() {
- if use python ; then
- python-single-r1_pkg_setup
- fi
+ use python && python-single-r1_pkg_setup
}
src_configure() {
- local myconf
- #--with-python b0rked hard
- unset PYTHON
- use python || myconf="${myconf} --without-python"
-
- # Rely on precompiled gtk-doc files,
- # https://wiki.gentoo.org/wiki/Project:GNOME/Gnome_Team_Ebuild_Policies#gtk-doc
econf \
- --disable-gtk-doc \
- --without-gucharmap \
$(use_enable static-libs static) \
- ${myconf}
+ $(use_with python python "") \
+ --without-gucharmap
}
src_install() {
next reply other threads:[~2017-08-12 14:21 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-12 14:21 Akinori Hattori [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-08-23 13:34 [gentoo-commits] repo/gentoo:master commit in: app-i18n/tomoe-gtk/ Akinori Hattori
2020-08-23 13:34 Akinori Hattori
2020-08-23 13:34 Akinori Hattori
2020-04-30 18:37 Andreas Sturmlechner
2020-04-30 18:37 Andreas Sturmlechner
2020-04-30 18:37 Andreas Sturmlechner
2020-02-09 16:11 Michał Górny
2018-07-22 12:29 Akinori Hattori
2017-08-12 14:21 Akinori Hattori
2017-08-12 14:21 Akinori Hattori
2017-08-12 14:21 Akinori Hattori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1502547700.0f0b2c8b7c4d48faa49167d3f227ce3a63ac18d3.hattya@gentoo \
--to=hattya@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox