commit:     661bf35a5b09440d90ecd65e6834373b12beb8a8
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 16 16:15:43 2015 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed Nov 18 12:48:17 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=661bf35a

app-pda/synce-sync-engine: remove opensync USE flag

opensync packages are being removed.

Gentoo-bug: Gentoo-bug: 550234

Package-Manager: portage-2.2.24

 app-pda/synce-sync-engine/metadata.xml             |  3 ---
 .../synce-sync-engine-0.15.1-r3.ebuild             | 30 +++-------------------
 2 files changed, 3 insertions(+), 30 deletions(-)

diff --git a/app-pda/synce-sync-engine/metadata.xml 
b/app-pda/synce-sync-engine/metadata.xml
index 8b3d48c..ba58102 100644
--- a/app-pda/synce-sync-engine/metadata.xml
+++ b/app-pda/synce-sync-engine/metadata.xml
@@ -2,9 +2,6 @@
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
        <herd>pda</herd>
-       <use>
-               <flag name="opensync">Enable OpenSync 
(<pkg>app-pda/libopensync</pkg>) python plug-in</flag>
-       </use>
        <upstream>
                <remote-id type="sourceforge">synce</remote-id>
        </upstream>

diff --git a/app-pda/synce-sync-engine/synce-sync-engine-0.15.1-r3.ebuild 
b/app-pda/synce-sync-engine/synce-sync-engine-0.15.1-r3.ebuild
index 9bc4c18..9f7d524 100644
--- a/app-pda/synce-sync-engine/synce-sync-engine-0.15.1-r3.ebuild
+++ b/app-pda/synce-sync-engine/synce-sync-engine-0.15.1-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -17,7 +17,7 @@ SRC_URI="mirror://sourceforge/synce/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="opensync"
+IUSE=""
 
 RDEPEND="app-pda/synce-core[python]
        >=dev-libs/librra-0.16[python]
@@ -25,11 +25,7 @@ RDEPEND="app-pda/synce-core[python]
        dev-libs/libxml2[python]
        dev-libs/libxslt[python]
        dev-python/dbus-python
-       dev-python/pygobject:2
-       opensync? ( || (
-               >=app-pda/libopensync-0.39[python]
-               ( =app-pda/libopensync-0.22*[python] 
app-pda/libopensync-plugin-python )
-               ) )"
+       dev-python/pygobject:2"
 DEPEND=${RDEPEND}
 
 PYTHON_MODNAME=SyncEngine
@@ -49,25 +45,5 @@ src_install() {
 
        distutils_src_install
 
-       ### opensync plug-in BEGIN
-       find "${ED}" -type d -name plugins -exec rm -rf {} +
-
-       if use opensync; then
-               local plug=plugins/synce-opensync-plugin-
-
-               if has_version ">=app-pda/libopensync-0.39"; then
-                       insinto /usr/$(get_libdir)/libopensync1/python-plugins
-                       newins ${plug}3x.py synce-plugin.py || die
-               else
-                       # See OPENSYNC_PYTHONPLG_DIR variable in 
libopensync-python-plugin-0.22
-                       # to verify path for python plugins.
-                       insinto /usr/$(get_libdir)/opensync/python-plugins
-                       newins ${plug}2x.py synce-plugin.py || die
-               fi
-
-               dodoc ${plug}3x.README || die
-       fi
-       ### opensync plug-in END
-
        rm -rf "${ED}"/usr/foobar
 }

Reply via email to