diff options
Diffstat (limited to 'community/py-udev')
-rw-r--r-- | community/py-udev/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community/py-udev/APKBUILD b/community/py-udev/APKBUILD new file mode 100644 index 0000000000..c3ca9fc29b --- /dev/null +++ b/community/py-udev/APKBUILD @@ -0,0 +1,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" |