summaryrefslogtreecommitdiffstats
path: root/testing/py-yaml/APKBUILD
blob: 29e0f3e62c0445c13d4003c9a7f7db975d9642f9 (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-yaml
_pkgname=PyYAML
pkgver=3.10
pkgrel=0
pkgdesc="Python bindings for YAML"
url="http://pyyaml.org"
arch="all"
license="MIT"
depends=
depends_dev=
makedepends="libyaml-dev python-dev"
install=""
subpackages=""
source="http://pyyaml.org/download/pyyaml/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver

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

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

md5sums="74c94a383886519e9e7b3dd1ee540247  PyYAML-3.10.tar.gz"