summaryrefslogtreecommitdiffstats
path: root/abs/core/python_modules/python-simplejson/PKGBUILD
blob: 73dc754f71c1dc82df96112da4e24817c3c1e3a4 (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
37
# $Id$
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: David Moore <davidm@sjsoft.com>

pkgbase=python-simplejson
pkgname=('python2-simplejson')
pkgver=3.6.5
pkgrel=1
pkgdesc='Simple, fast, extensible JSON encoder/decoder for Python'
license=('MIT')
arch=('x86_64' 'i686')
url='http://undefined.org/python/#simplejson'
makedepends=('python2-setuptools' 'git')
source=("git://github.com/simplejson/simplejson.git#tag=v$pkgver")
md5sums=('SKIP')

#package_python-simplejson() {
#  depends=('python')

#  cd simplejson
#  python setup.py install --root="$pkgdir"
#  install -Dm644 "$srcdir/simplejson/LICENSE.txt" \
#    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
#}

package_python2-simplejson() {
  depends=('python2')

  cd simplejson
  python2 setup.py install --root="$pkgdir"
  install -Dm644 "$srcdir/simplejson/LICENSE.txt" \
    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim:set ts=2 sw=2 et: