summaryrefslogtreecommitdiffstats
path: root/testing/py-xattr/APKBUILD
blob: ece10bf523176d8e33e17acbdf5f92daa7bc5d60 (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
30
31
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-xattr
_pkgname=pyxattr
pkgver=0.5.2
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="http://pyxattr.k1024.org/downloads/$_pkgname-$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="9ff2e4218badc201b689b6d254290001  pyxattr-0.5.2.tar.gz"
sha256sums="19accb3927a833b36b1fb0fddeae45c32b08715cce38b1b106faff22c4ba79d9  pyxattr-0.5.2.tar.gz"
sha512sums="8dfe6583b1bb54c1674ca90ea99ad50d7ad51b858a1f40bfd4a3660fcba71b59540e5957bb601d816e82c9fec91985394f51193e5a2452c4b1b27cb5edf51e2f  pyxattr-0.5.2.tar.gz"