blob: c3ca9fc29bb5b6134fd234176125c969ccc85b71 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-udev
pkgver=0.20.0
pkgrel=0
pkgdesc="Python bindings to libudev"
url="http://pyudev.readthedocs.org"
arch="noarch"
license="LGPLv2.1"
depends="python eudev"
makedepends="python-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"
python setup.py build || return 1
}
package() {
cd "$builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="e8b28775db6c6eecc2b7389fca96abdf py-udev-0.20.0.tar.gz"
sha256sums="a4dcef45ebdd58882112659c0d206c9af1f9ee707bf54245b23c8b70326ee8ef py-udev-0.20.0.tar.gz"
sha512sums="a04374df8d9f4b6ef10ba5bf1e185ee69928cb645abba682048b8edd557c3593feb2cf5ddbb681ee8e47e10d004f930493b247caa1d41046d16d729fbee6f778 py-udev-0.20.0.tar.gz"
|