summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: befda511a8a1e49d09583a9eb9955e7be24e6b08 (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
# Maintainer: Matthew Gamble <git@matthewgamble.net>

# The tests aren't working on my machine at the moment, not sure why.

pkgname=python2-surt
pkgver=0.3.0
pkgrel=1
pkgdesc="Sort-friendly URI Reordering Transform (SURT)"
arch=("any")
url="https://github.com/internetarchive/surt"
license=("AGPLv3")
depends=("python2" "python2-six" "python2-tldextract>=2.0")
makedepends=("python2-setuptools")
#checkdepends=('python2-pytest' 'python2-pytest-cov')
source=("https://pypi.python.org/packages/ec/d7/fb0415d56de89d20a9f17bd3c0b3f805cbdc12dc33f2327819d015a1264e/surt-${pkgver}.tar.gz")
md5sums=("8dfe0bc4ff2b13d62689ae12957c4979")

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

#check() {
#    cd "surt-${pkgver}"
#    python2 setup.py test
#}

package() {
    cd "surt-${pkgver}"
    python2 setup.py install --root=${pkgdir} --skip-build
}