summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-05-06 17:58:59 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-05-06 17:58:59 +0000
commitaf1214e9839a5b279def31a8dea960c2880b12c8 (patch)
tree9ce2ddc742a6f2ce917244a1a163451476922189 /dev-python/pymtp
parentVersion bump (diff)
downloadgentoo-2-af1214e9839a5b279def31a8dea960c2880b12c8.tar.gz
gentoo-2-af1214e9839a5b279def31a8dea960c2880b12c8.tar.bz2
gentoo-2-af1214e9839a5b279def31a8dea960c2880b12c8.zip
Initial commit wrt #227191, thanks to Andrea Pinazzi
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pymtp')
-rw-r--r--dev-python/pymtp/ChangeLog9
-rw-r--r--dev-python/pymtp/metadata.xml5
-rw-r--r--dev-python/pymtp/pymtp-0.0.4.ebuild26
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/pymtp/ChangeLog b/dev-python/pymtp/ChangeLog
new file mode 100644
index 000000000000..e1f6df03ad25
--- /dev/null
+++ b/dev-python/pymtp/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-python/pymtp
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pymtp/ChangeLog,v 1.1 2009/05/06 17:58:59 ssuominen Exp $
+
+*pymtp-0.0.4 (06 May 2009)
+
+ 06 May 2009; Samuli Suominen <ssuominen@gentoo.org> +pymtp-0.0.4.ebuild:
+ Initial commit wrt #227191, thanks to Andrea Pinazzi
+
diff --git a/dev-python/pymtp/metadata.xml b/dev-python/pymtp/metadata.xml
new file mode 100644
index 000000000000..301d2207cc29
--- /dev/null
+++ b/dev-python/pymtp/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+</pkgmetadata>
diff --git a/dev-python/pymtp/pymtp-0.0.4.ebuild b/dev-python/pymtp/pymtp-0.0.4.ebuild
new file mode 100644
index 000000000000..d9dd9187dd9b
--- /dev/null
+++ b/dev-python/pymtp/pymtp-0.0.4.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pymtp/pymtp-0.0.4.ebuild,v 1.1 2009/05/06 17:58:59 ssuominen Exp $
+
+inherit distutils multilib python
+
+DESCRIPTION="libmtp bindings for python"
+HOMEPAGE="http://nick125.com/projects/pymtp/"
+SRC_URI="http://downloads.nick125.com/projects/pymtp/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=media-libs/libmtp-0.2.6"
+DEPEND="${RDEPEND}"
+
+pkg_postinst() {
+ python_version
+ python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/pymtp.py
+}
+
+pkg_postrm() {
+ python_mod_cleanup
+}