From d46cbc46a5675e936be028d13336fe85d2f61dc8 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Wed, 30 Apr 2014 13:44:14 +0000 Subject: python-yaml: initial inclusion --- abs/core/python_modules/python-yaml/PKGBUILD | 36 +++++++++++++++++++++++++ abs/core/python_modules/python-yaml/__changelog | 1 + 2 files changed, 37 insertions(+) create mode 100644 abs/core/python_modules/python-yaml/PKGBUILD create mode 100644 abs/core/python_modules/python-yaml/__changelog 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 +# Contributor: Michal Bozon + +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 -- cgit v0.12