aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-google-apputils/APKBUILD
blob: c7f36f4e7bcca186105984e96384d99efec3ea1b (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
# Contributor: Corentin Henry <corentinhenry@gmail.com>
# Maintainer: Corentin Henry <corentinhenry@gmail.com>
pkgname=py-google-apputils
_pkgname=google-apputils
pkgver=0.4.0
pkgrel=0
pkgdesc="Google Application Utilities for Python"
url="https://github.com/google/google-apputils"
arch="noarch"
license="ASL-2.0"
depends="python py-dateutil>=1.4 py-gflags>=1.4 py-tz>=2010"
makedepends="python-dev py-setuptools"
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$builddir"
	python setup.py build || return 1
}

package() {
	cd "$builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="59e19f16b9a1adb2c84987581ee8b659  google-apputils-0.4.0.tar.gz"
sha256sums="b260eb39f2723b71329ad016773033b95a31e89d8c9e13b8e6a1ef8eed8e94a3  google-apputils-0.4.0.tar.gz"
sha512sums="5dbbf50e9551b33d882557ef9385c64691dcff6d6c219c9ff6aea2dc73c8af6d03392b3088fe1fb4000979e227830a0e437dc347520488627657085c8ea23f5e  google-apputils-0.4.0.tar.gz"