blob: fd3e6bef5935c02d063187b0371b44062c34cddf (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-udev
pkgver=0.21.0
pkgrel=0
pkgdesc="Python bindings to libudev"
url="http://pyudev.readthedocs.org"
arch="noarch"
license="LGPLv2.1"
depends="python2 eudev"
makedepends="python2-dev py-setuptools"
install=""
subpackages=""
source="py-udev-$pkgver.tar.gz::https://github.com/pyudev/pyudev/archive/v$pkgver.tar.gz"
builddir="$srcdir/pyudev-$pkgver"
build() {
cd "$builddir"
python2 setup.py build || return 1
}
package() {
cd "$builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
sha512sums="c6cc8786c69de2a07eeae39cb57e33db6ca5fea83c38fdab277070bf052c97bd053911ab08a11fe65cb56c463492111e74451801390d89dc7f00fd00e68bba19 py-udev-0.21.0.tar.gz"
|