blob: 2d9368e0f6dcdd786fd936d29fc53fda6a7cece3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyudev/pyudev-0.2.ebuild,v 1.2 2010/12/26 15:36:45 arfrever Exp $
EAPI="2"
PYTHON_DEPEND="2:2.6"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.[45] 3.*"
inherit distutils
DESCRIPTION="pyudev is a Python and PyQt4 binding for libudev"
HOMEPAGE="http://packages.python.org/pyudev/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="qt4"
RDEPEND="qt4? ( dev-python/PyQt4 )"
DEPEND="${RDEPEND}"
DOCS="CHANGES.rst"
src_prepare() {
if ! use qt4; then
sed -i -e "s:, 'qudev'::g" setup.py
fi
distutils_src_prepare
}
|