diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-06 17:58:59 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-06 17:58:59 +0000 |
commit | af1214e9839a5b279def31a8dea960c2880b12c8 (patch) | |
tree | 9ce2ddc742a6f2ce917244a1a163451476922189 /dev-python/pymtp/pymtp-0.0.4.ebuild | |
parent | Version bump (diff) | |
download | gentoo-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/pymtp-0.0.4.ebuild')
-rw-r--r-- | dev-python/pymtp/pymtp-0.0.4.ebuild | 26 |
1 files changed, 26 insertions, 0 deletions
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 +} |