summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/python_modules/python-yaml/PKGBUILD36
-rw-r--r--abs/core/python_modules/python-yaml/__changelog1
2 files changed, 37 insertions, 0 deletions
diff --git a/abs/core/python_modules/python-yaml/PKGBUILD b/abs/core/python_modules/python-yaml/PKGBUILD
new file mode 100644
index 0000000..f0fd7e6
--- /dev/null
+++ b/abs/core/python_modules/python-yaml/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Michal Bozon <michal.bozon__at__gmail.com>
+
+pkgbase=python-yaml
+pkgname=(python2-yaml)
+pkgver=3.11
+pkgrel=1
+pkgdesc="Python bindings for YAML, using fast libYAML library"
+arch=('i686' 'x86_64')
+url="http://pyyaml.org"
+license=('MIT')
+makedepends=('python2' 'libyaml')
+install='python-yaml.install'
+source=(http://pyyaml.org/download/pyyaml/PyYAML-$pkgver.tar.gz)
+md5sums=('f50e08ef0fe55178479d3a618efe21db')
+
+build() {
+ true
+}
+
+package_python2-yaml() {
+ depends=('python2' 'libyaml')
+
+ cd $srcdir/PyYAML-$pkgver
+ python2 setup.py install --prefix=/usr --root=$pkgdir
+ install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
+
+#package_python-yaml() {
+# depends=('python' 'libyaml')
+
+# cd $srcdir/PyYAML-$pkgver
+# python setup.py install --prefix=/usr --root=$pkgdir
+# install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+#}
diff --git a/abs/core/python_modules/python-yaml/__changelog b/abs/core/python_modules/python-yaml/__changelog
new file mode 100644
index 0000000..488d3cf
--- /dev/null
+++ b/abs/core/python_modules/python-yaml/__changelog
@@ -0,0 +1 @@
+PKGBUILD: rm py 3 stuff