aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-xattr/APKBUILD
blob: 9c8b9712d449c2f711bfafc6b368a03d04ac4cd7 (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
29
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-xattr
_pkgname=pyxattr
pkgver=0.5.1
pkgrel=1
pkgdesc="A python module for accessing filesystem Extended Attributes"
url="http://pyxattr.k1024.org/"
arch="all"
license="LGPL2+"
depends=""
depends_dev=""
makedepends="python-dev attr-dev py-setuptools"
install=""
subpackages=""
source="https://github.com/downloads/iustin/pyxattr/pyxattr-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --root="$pkgdir" || return 1
}

md5sums="bb9560510b17625015aa45f2fbc3b520  pyxattr-0.5.1.tar.gz"