summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cd3a8ef696758ec60cae4e2a8f7e5ebf68e8f5de (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
# Maintainer: 0b100100 <0b100100 at protonmail dot ch>
# Contributor: Felix Yan <felixonmars@archlinux.org>
# Contributor: Jelle van der Waa <jelle@vdwaa.nl>
# Contributer: Allan McRae <allan@archlinux.org>

pkgname=python2-six
pkgver=1.16.0
pkgrel=6
pkgdesc="Python 2 and 3 compatibility utilities"
arch=('any')
url="https://pypi.python.org/pypi/six/"
license=('MIT')
makedepends=('python2-setuptools')
#checkdepends=('python2-pytest' 'tk')
source=("https://pypi.io/packages/source/s/six/six-$pkgver.tar.gz")
sha512sums=('076fe31c8f03b0b52ff44346759c7dc8317da0972403b84dfe5898179f55acdba6c78827e0f8a53ff20afe8b76432c6fe0d655a75c24259d9acbaa4d9e8015c0')

build() {
  cd "six-$pkgver"
  python2 setup.py build
}

#check() {
#  cd "six-$pkgver"
#  python2 -m pytest
#}

package() {
  cd "six-$pkgver"
  python2 setup.py install --root "$pkgdir/" --optimize=1 --skip-build
  install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}