summaryrefslogtreecommitdiffstats
path: root/abs/core/python_modules/python-yaml/PKGBUILD
blob: f0fd7e66bf33d52bc412b72002f5eec250e7fb06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
#}