aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-gi/APKBUILD
blob: c59c239dda8d5243920b58376b19813e30378115 (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="python"
depends_dev=""
makedepends="$depends_dev python-dev py-setuptools"
install=""
subpackages=""
source="https://pypi.python.org/packages/0f/6a/6baccd9dba213be347964fcf27a7946005e9fbad2192876b17edb0c1b842/$_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"