summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2010-05-28 15:48:28 +0000
committerThilo Bangert <bangert@gentoo.org>2010-05-28 15:48:28 +0000
commit714507bc1421aef2cf4dd238204b781fab8070a7 (patch)
tree2ad1d697209505e12419bc3d990194046626a0a0 /app-pda
parentDepend on kde-4.4, bug 321775. (diff)
downloadgentoo-2-714507bc1421aef2cf4dd238204b781fab8070a7.tar.gz
gentoo-2-714507bc1421aef2cf4dd238204b781fab8070a7.tar.bz2
gentoo-2-714507bc1421aef2cf4dd238204b781fab8070a7.zip
version bump - fix python deprecation stuff (#314061)
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'app-pda')
-rw-r--r--app-pda/libplist/ChangeLog7
-rw-r--r--app-pda/libplist/libplist-1.3.ebuild42
2 files changed, 48 insertions, 1 deletions
diff --git a/app-pda/libplist/ChangeLog b/app-pda/libplist/ChangeLog
index 528312b2d729..79704161c1d7 100644
--- a/app-pda/libplist/ChangeLog
+++ b/app-pda/libplist/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-pda/libplist
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/ChangeLog,v 1.6 2010/05/28 10:08:51 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/ChangeLog,v 1.7 2010/05/28 15:48:28 bangert Exp $
+
+*libplist-1.3 (28 May 2010)
+
+ 28 May 2010; Thilo Bangert <bangert@gentoo.org> +libplist-1.3.ebuild:
+ version bump - fix python deprecation stuff (#314061)
28 May 2010; Markus Meier <maekke@gentoo.org> libplist-1.2.ebuild:
add ~x86, bug #313691
diff --git a/app-pda/libplist/libplist-1.3.ebuild b/app-pda/libplist/libplist-1.3.ebuild
new file mode 100644
index 000000000000..50535f182eee
--- /dev/null
+++ b/app-pda/libplist/libplist-1.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/libplist-1.3.ebuild,v 1.1 2010/05/28 15:48:28 bangert Exp $
+
+EAPI=2
+inherit cmake-utils eutils multilib python
+
+DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
+HOMEPAGE="http://libimobiledevice.org/"
+SRC_URI="http://cloud.github.com/downloads/JonathanBeck/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="test"
+
+RDEPEND="dev-libs/glib:2
+ dev-libs/libxml2"
+DEPEND="${RDEPEND}
+ dev-lang/swig"
+
+src_prepare() {
+ sed -e 's:-Werror::g' \
+ -i swig/CMakeLists.txt || die "sed failed"
+}
+
+src_configure() {
+ mycmakeargs="-DCMAKE_SKIP_RPATH=ON
+ -DCMAKE_INSTALL_LIBDIR=$(get_libdir)
+ -DPYTHON_VERSION=$(python_get_version) VERBOSE=1
+ "
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ python_mod_optimize /usr/$(get_libdir)/python$(python_get_version)/site-packages/plist
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/$(get_libdir)/python$(python_get_version)/site-packages/plist
+}