blob: fca9f8d96c4c2af0028149938e2b7463d86d561c (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Anthony25 <Anthony Ruhier>
#
# Thanks to Jeremy "Ichimonji10" Audet <ichimonji10 at gmail dot com> for
# his PKGBUILD that served as a base for this one
pkgbase=python-coreapi
_pkgbase="${pkgbase#python-}"
pkgname=(python-coreapi python2-coreapi)
pkgver=2.3.1
pkgrel=1
pkgdesc='Python client library for Core API. http://core-api.github.io/python-client/'
arch=(any)
url='https://github.com/core-api/python-client'
license=(BSD)
makedepends=(
python-setuptools
python2-setuptools
)
options=(!emptydirs)
source=("https://github.com/core-api/python-client/archive/${pkgver}.tar.gz")
sha256sums=('9fd9c51206c74a3290ce758bc3ad51eadf73fcadbe95039c9cc067bde076fee9')
package_python-coreapi() {
depends=(
'python-coreschema'
'python-itypes'
'python-requests'
'python-uritemplate'
)
cd "${srcdir}/python-client-${pkgver}"
python setup.py install --root="${pkgdir}/" --optimize=1
}
package_python2-coreapi() {
depends=(
'python2-coreschema'
'python2-itypes'
'python2-requests'
'python2-uritemplate'
)
cd "${srcdir}/python-client-${pkgver}"
python2 setup.py install --root="${pkgdir}/" --optimize=1
}
# vim:set ts=2 sw=2 et:
|