summaryrefslogtreecommitdiff
path: root/pcr/python-prettytable/PKGBUILD
blob: 92d42f18ea260b9e80b18f938e5de6717b9d5eaf (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
# Maintainer: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
# Contributor: Xiao Er <xia0er@gmail.com>
# Contributor: Victor Noel <victor.noel@crazydwarves.org>

# Hack for AUR
pkgname='python2-prettytable'
true && pkgname=('python-prettytable' 'python2-prettytable')

pkgver=0.6.1
pkgrel=2
pkgdesc="A simple Python library for easily displaying tabular data in a visually appealing ASCII table format"
url="http://pypi.python.org/pypi/PrettyTable"
arch=('any')
license=('BSD')
makedepends=('python-distribute' 'python2-distribute')
source=(http://pypi.python.org/packages/source/P/PrettyTable/prettytable-${pkgver}.tar.gz)
md5sums=('8f97da999f52e47e28ec4ffe7f25c4d8')

package_python-prettytable() {
  depends=('python')
  cd $srcdir/prettytable-$pkgver
  python setup.py install --root="$pkgdir/"
}

package_python2-prettytable() {
  depends=('python2')
  cd $srcdir/prettytable-$pkgver
  python2 setup.py install --root="$pkgdir/"
}