Skip to content

Commit

Permalink
app-pda/synce-sync-engine: remove opensync USE flag
Browse files Browse the repository at this point in the history
opensync packages are being removed.

Gentoo-bug: Gentoo-bug: 550234

Package-Manager: portage-2.2.24
  • Loading branch information
Michael Palimaka committed Nov 18, 2015
1 parent 5e9bae0 commit 661bf35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 30 deletions.
3 changes: 0 additions & 3 deletions app-pda/synce-sync-engine/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
30 changes: 3 additions & 27 deletions app-pda/synce-sync-engine/synce-sync-engine-0.15.1-r3.ebuild
Original file line number Diff line number Diff line change
@@ -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$

Expand All @@ -17,19 +17,15 @@ 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]
>=dev-libs/librtfcomp-1.2[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
Expand All @@ -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
}

0 comments on commit 661bf35

Please sign in to comment.