aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-gi/APKBUILD
blob: 4603933c3ba0604661d991293da0530dbc8a25c1 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-gi
_pkgname=gi
pkgver=1.2
pkgrel=0
pkgdesc="Command line to private gist. Example: gi.py myFile"
url="http://github.com/inconditus/gi"
arch="noarch"
license="MIT"
depends="python2"
depends_dev=""
makedepends="$depends_dev python2-dev py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.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="63bdf817281813f049064133ed584a6e  gi-1.2.tar.gz"
sha256sums="13e5a3c227a8bb6fdaf22ca5b70aa81acc936955cb5d3ec10c1c8bf34b79aaea  gi-1.2.tar.gz"
sha512sums="9651f05423bfd75f1bab1fa03193fab351fbc3b675e49f233613f0e8d6d615bb4d48c31884b633b71c63eb438e669104d5baf89d509279bfaa851d0ebd3e7005  gi-1.2.tar.gz"