diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-04-30 13:44:14 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-04-30 13:44:14 (GMT) |
commit | d46cbc46a5675e936be028d13336fe85d2f61dc8 (patch) | |
tree | 6afcedc3bc82421f6bd5fd11c5ae02585ea016c2 /abs | |
parent | 70ab5535c3d7b47b586a0188409631616924fdc7 (diff) | |
download | linhes_pkgbuild-d46cbc46a5675e936be028d13336fe85d2f61dc8.zip linhes_pkgbuild-d46cbc46a5675e936be028d13336fe85d2f61dc8.tar.gz linhes_pkgbuild-d46cbc46a5675e936be028d13336fe85d2f61dc8.tar.bz2 |
python-yaml: initial inclusion
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/python_modules/python-yaml/PKGBUILD | 36 | ||||
-rw-r--r-- | abs/core/python_modules/python-yaml/__changelog | 1 |
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 |