core/python2-udev/PKGBUILD
totte 4fa66c12ef multiple: s/setuptools/python{2,3}-setuptools/, s/python{2,3}-distribute/python{2,3}-setuptools/
Conflicts:
	mysql-python/PKGBUILD
	net-snmp/PKGBUILD
	python-cssutils/PKGBUILD
	python-dateutil/PKGBUILD
	python-distutils-extra/PKGBUILD
	python-jinja/PKGBUILD
	python-markupsafe/PKGBUILD
	python-simplejson/PKGBUILD
	python2-udev/PKGBUILD
2013-12-13 14:48:01 +01:00

29 lines
870 B
Bash

#
# Platform Packages for Chakra, part of chakra-project.org
#
pkgname=python2-udev
pkgver=0.16.1
pkgrel=1
pkgdesc="Python binding for libudev"
arch=('any')
url="http://pyudev.readthedocs.org/en/latest/index.html"
license=('LGPL')
depends=('python2' 'udev' 'libffi')
conflicts=('pyudev')
replaces=('pyudev')
provides=('pyudev')
makedepends=('python2-setuptools')
optdepends=('python2-qt: pyqt4 integration'
'pyside: pyside integration'
'pygobject: glib integration')
source=("http://pypi.python.org/packages/source/p/pyudev/pyudev-${pkgver}.tar.gz")
md5sums=('4034de584b6d9efcbfc590a047c63285')
package() {
cd "$srcdir/pyudev-$pkgver"
python2 setup.py install --root "${pkgdir}" -O1
install -D -m644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README.rst"
install -m644 CHANGES.rst "${pkgdir}/usr/share/doc/${pkgname}/CHANGES.rst"
}