blob: 5c81514183c15ddeea7be074a681ac6493a839f2 (
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.10
pkgrel=1
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="74c94a383886519e9e7b3dd1ee540247 PyYAML-3.10.tar.gz"
sha256sums="e713da45c96ca53a3a8b48140d4120374db622df16ab71759c9ceb5b8d46fe7c PyYAML-3.10.tar.gz"
sha512sums="57536fd9e5515916189c37487e0da583c8e9f79dd52dedb18342f65aefb6c063c4f141326ae7b49411d0cfdfd493bb0516f5c53737c76a69c7050a74a2834a33 PyYAML-3.10.tar.gz"
|