summaryrefslogtreecommitdiffstats
path: root/main/py-yaml
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-25 19:09:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-25 19:09:16 +0000
commitea99ee49d159d96cd7aa573f50b9167ba4da57f3 (patch)
tree842c3e6ccff5aa702d958e5076ac6be5c7591646 /main/py-yaml
parentf6e9ded62b17e83b396445a24e43700d478d4d13 (diff)
downloadaports-ea99ee49d159d96cd7aa573f50b9167ba4da57f3.tar.bz2
aports-ea99ee49d159d96cd7aa573f50b9167ba4da57f3.tar.xz
main/py-yaml: moved from testing
Diffstat (limited to 'main/py-yaml')
-rw-r--r--main/py-yaml/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/main/py-yaml/APKBUILD b/main/py-yaml/APKBUILD
new file mode 100644
index 000000000..d9cb46889
--- /dev/null
+++ b/main/py-yaml/APKBUILD
@@ -0,0 +1,29 @@
+# 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"