mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:47:13 +08:00
4fa66c12ef
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
29 lines
870 B
Bash
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"
|
|
}
|