From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 55395139695 for ; Sat, 5 Aug 2017 14:48:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55221E0C56; Sat, 5 Aug 2017 14:48:00 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 21F68E0D20 for ; Sat, 5 Aug 2017 14:48:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0A918341810 for ; Sat, 5 Aug 2017 14:47:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7454C75EE for ; Sat, 5 Aug 2017 14:47:57 +0000 (UTC) From: "Akinori Hattori" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Akinori Hattori" Message-ID: <1501944451.231f4e431067c62ba7684fe80050e5a5e9d8d279.hattya@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/tomoe/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/tomoe/metadata.xml app-i18n/tomoe/tomoe-0.6.0-r2.ebuild X-VCS-Directories: app-i18n/tomoe/ X-VCS-Committer: hattya X-VCS-Committer-Name: Akinori Hattori X-VCS-Revision: 231f4e431067c62ba7684fe80050e5a5e9d8d279 X-VCS-Branch: master Date: Sat, 5 Aug 2017 14:47:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 03f65b88-af41-433a-bc32-0e7cd58ad95f X-Archives-Hash: 1c2ff3cac713bb790d26963afaab5368 commit: 231f4e431067c62ba7684fe80050e5a5e9d8d279 Author: Akinori Hattori gentoo org> AuthorDate: Sat Aug 5 14:38:22 2017 +0000 Commit: Akinori Hattori gentoo org> CommitDate: Sat Aug 5 14:47:31 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=231f4e43 app-i18n/tomoe: update to EAPI 6 Package-Manager: Portage-2.3.6, Repoman-2.3.1 app-i18n/tomoe/metadata.xml | 23 +++++----- app-i18n/tomoe/tomoe-0.6.0-r2.ebuild | 84 +++++++++++++----------------------- 2 files changed, 42 insertions(+), 65 deletions(-) diff --git a/app-i18n/tomoe/metadata.xml b/app-i18n/tomoe/metadata.xml index 4d49745ebe5..216815207e4 100644 --- a/app-i18n/tomoe/metadata.xml +++ b/app-i18n/tomoe/metadata.xml @@ -1,16 +1,15 @@ - - cjk@gentoo.org - Cjk - - - Enable support for - app-text/hyperestraier - - - tomoe - tomoe - + + cjk@gentoo.org + Cjk + + + Enable support for app-text/hyperestraier + + + tomoe + tomoe + diff --git a/app-i18n/tomoe/tomoe-0.6.0-r2.ebuild b/app-i18n/tomoe/tomoe-0.6.0-r2.ebuild index 94c10714110..b922e94e490 100644 --- a/app-i18n/tomoe/tomoe-0.6.0-r2.ebuild +++ b/app-i18n/tomoe/tomoe-0.6.0-r2.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 - +EAPI="6" PYTHON_COMPAT=( python2_7 ) -inherit autotools eutils multilib python-single-r1 + +inherit autotools ltprune python-single-r1 DESCRIPTION="Japanese handwriting recognition engine" HOMEPAGE="http://tomoe.sourceforge.jp/" @@ -13,80 +13,58 @@ SRC_URI="mirror://sourceforge/tomoe/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="amd64 ~x86" -IUSE="doc hyperestraier mysql ruby python static-libs subversion" +IUSE="hyperestraier mysql python ruby static-libs subversion" +RESTRICT="test" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" -RDEPEND=">=dev-libs/glib-2.4 - ruby? ( dev-ruby/ruby-glib2 ) +RDEPEND="dev-libs/glib:2 hyperestraier? ( app-text/hyperestraier ) - subversion? ( - >=dev-libs/apr-1 - dev-vcs/subversion - ) mysql? ( dev-db/mysql ) python? ( ${PYTHON_DEPS} dev-python/pygobject:2[${PYTHON_USEDEP}] dev-python/pygtk:2[${PYTHON_USEDEP}] - )" -# test? ( app-dicts/uconv ) - -DEPEND="${DEPEND} + ) + ruby? ( dev-ruby/ruby-glib2 ) + subversion? ( dev-vcs/subversion )" +DEPEND="${RDEPEND} dev-util/gtk-doc-am dev-util/intltool - virtual/pkgconfig - doc? ( dev-util/gtk-doc )" - -REQUIRED_USE=${PYTHON_REQUIRED_USE} + virtual/pkgconfig" -RESTRICT="test" +PATCHES=( + "${FILESDIR}"/${PN}-gentoo.patch + "${FILESDIR}"/${PN}-export-symbols.patch + "${FILESDIR}"/${PN}-glib-2.32.patch +) pkg_setup() { - if use python ; then - python-single-r1_pkg_setup - fi + use python && python-single-r1_pkg_setup } src_prepare() { - epatch \ - "${FILESDIR}/${PN}-gentoo.patch" \ - "${FILESDIR}/${PN}-export-symbols.patch" \ - "${FILESDIR}/${PN}-glib-2.32.patch" + sed -i \ + -e "s/use_est=yes/use_est=$(usex hyperestraier)/" \ + -e "s/use_mysql=yes/use_mysql=$(usex mysql)/" \ + configure.ac - if ! use hyperestraier ; then - sed -i -e "s/use_est=yes/use_est=no/" configure.ac || die - fi - if ! use mysql ; then - sed -i -e "s/use_mysql=yes/use_mysql=no/" configure.ac || die - fi - if ! use subversion ; then - sed -i -e "s/use_svn=yes/use_svn=no/" macros/svn.m4 || die - fi + sed -i "s/use_svn=yes/use_svn=$(usex subversion)/" macros/svn.m4 + default eautoreconf } src_configure() { - local myconf - - # --with-python b0rked hard - unset PYTHON - use python || myconf="${myconf} --without-python" - econf \ - $(use_enable doc gtk-doc) \ - $(use_with ruby) \ - $(use_enable static-libs static) \ $(use_enable ruby dict-ruby) \ - ${myconf} || die + $(use_enable static-libs static) \ + $(use_with python python "") \ + $(use_with ruby) \ + --with-svn-include="${EPREFIX}"/usr/include \ + --with-svn-lib="${EPREFIX}"/usr/$(get_libdir) } src_install() { - emake DESTDIR="${D}" install || die "make install failed" - - find "${ED}/usr/$(get_libdir)/tomoe" \( -name '*.la' -o -name '*.a' \) -type f -delete || die - if ! use static-libs ; then - find "${ED}" -name '*.la' -type f -delete || die - fi - - dodoc AUTHORS ChangeLog NEWS TODO || die + default + prune_libtool_files --modules }