blob: 481e70d527a4bfc0e5eba20132066c1809c72714 (
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
|
# Maintainer: Roshless <pkg@roshless.com>
pkgname=python-graphene-django
_name=${pkgname#python-}
pkgver=2.15.0
pkgrel=2
pkgdesc='Graphene Django integration'
url='https://github.com/graphql-python/graphene-django'
arch=('any')
license=('MIT')
depends=('python' 'python-pip' 'python-django' 'python-graphene')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
build() {
cd $_name-$pkgver
python setup.py build
}
package() {
cd $_name-$pkgver
python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}
md5sums=('dca5a9ef3976690d724fe1975bf49fe5')
|