aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-yaml/APKBUILD
blob: 6fdad7aa9ae70da6b6dfd9153df36ca113b3523b (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-yaml
_pkgname=PyYAML
pkgver=3.11
pkgrel=0
pkgdesc="Python bindings for YAML"
url="http://pyyaml.org"
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends="yaml-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="f50e08ef0fe55178479d3a618efe21db  PyYAML-3.11.tar.gz"
sha256sums="c36c938a872e5ff494938b33b14aaa156cb439ec67548fcab3535bb78b0846e8  PyYAML-3.11.tar.gz"
sha512sums="76de005f59e1842108399af53178cfac2c08ee5cc996cc38ab6ec8b046c6b894422c461a1f1ed1df91abf96f154d41170227912cae7336cff88adfd3c0e8d783  PyYAML-3.11.tar.gz"