blob: c9de187f24ff49fa73bc7e1ca82df66c5ba17089 (
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
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-github3
_pkgname=github3.py
pkgver=0.9.1
pkgrel=0
pkgdesc="Python wrapper for the GitHub API"
url="https://github3py.readthedocs.org/"
arch="noarch"
license="BSD"
depends="python2 py-requests py-uritemplate"
depends_dev=""
makedepends="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"
python2 setup.py build || return 1
}
package() {
cd "$_builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="021890b36a21cf7d05c2ec8c7608eee9 github3.py-0.9.1.tar.gz"
sha256sums="0708a306ff13be3895e3f17ef65b6e290bdc159a78ff4ad6ef43043c1b759d9d github3.py-0.9.1.tar.gz"
sha512sums="f978eade8a0c1004c45f0085873704ba8dbc885721c1c7ed99f0c3973b5f453a0a3a43dfe29cfa0be87c3cb505f7b72a7f683e4fd812c0fe6e9c9ac99256bb5e github3.py-0.9.1.tar.gz"
|