aboutsummaryrefslogtreecommitdiffstats
path: root/python-yaml/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'python-yaml/Pkgfile')
-rw-r--r--python-yaml/Pkgfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/python-yaml/Pkgfile b/python-yaml/Pkgfile
new file mode 100644
index 0000000..2474b35
--- /dev/null
+++ b/python-yaml/Pkgfile
@@ -0,0 +1,17 @@
+# Description: Interface Python pour YAML, utilisant la bibliothèque libYAML.
+# URL: http://pyyaml.org/
+# Maintainer: piernov <piernov@piernov.org>
+# Packager: piernov <piernov@piernov.org>
+# Depends on: python, libyaml
+# Run on: libyaml
+
+name=python-yaml
+version=3.10
+release=1
+source=(http://pyyaml.org/download/pyyaml/PyYAML-$version.tar.gz)
+
+build() {
+ cd PyYAML-$version
+ python2 setup.py install --prefix=/usr --root=$PKG
+ python setup.py install --prefix=/usr --root=$PKG
+}