You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/pymtp/pymtp-0.0.4-r1.ebuild

34 lines
879 B

# Copyright 1999-2012 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-r1.ebuild,v 1.2 2012/05/24 03:18:45 ssuominen Exp $
EAPI=4
PYTHON_DEPEND="2:2.6"
SUPPORT_PYTHON_ABIS=1
RESTRICT_PYTHON_ABIS="2.5 3.*"
inherit distutils eutils
PATCH_LEVEL=4
DESCRIPTION="LibMTP bindings for Python"
HOMEPAGE="http://packages.debian.org/libmtp http://libmtp.sourceforge.net/ http://pypi.python.org/pypi/PyMTP"
DEB_URI="mirror://debian/pool/main/${PN:0:1}/${PN}"
SRC_URI="${DEB_URI}/${PN}_${PV}.orig.tar.gz
${DEB_URI}/${PN}_${PV}-${PATCH_LEVEL}.debian.tar.gz"
LICENSE=GPL-3
SLOT=0
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
RDEPEND=">=media-libs/libmtp-1.1.0"
DEPEND=${RDEPEND}
PYTHON_MODNAME=pymtp.py
src_prepare() {
EPATCH_FORCE=yes EPATCH_SUFFIX=diff epatch "${WORKDIR}"/debian/patches
}