Date: Thursday, May 30, 2019 @ 20:16:46 Author: alucryd Revision: 475194
add python-graphql-server-core Added: python-graphql-server-core/ python-graphql-server-core/trunk/ python-graphql-server-core/trunk/PKGBUILD ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Added: python-graphql-server-core/trunk/PKGBUILD =================================================================== --- python-graphql-server-core/trunk/PKGBUILD (rev 0) +++ python-graphql-server-core/trunk/PKGBUILD 2019-05-30 20:16:46 UTC (rev 475194) @@ -0,0 +1,34 @@ +# Maintainer: Maxime Gauduin <[email protected]> + +pkgname=python-graphql-server-core +pkgver=1.1.1 +pkgrel=1 +pkgdesc='Core package for using GraphQL in a custom server easily' +url=https://github.com/graphql-python/graphql-server-core +arch=(any) +license=(MIT) +depends=( + python-graphql-core + python-promise +) +makedepends=( + git + python-setuptools +) +source=(git+https://github.com/graphql-python/graphql-server-core.git#commit=62fe600f592d70573c53aa59df1453a17955fc2a) +sha256sums=(SKIP) + +build() { + cd graphql-server-core + + python setup.py build +} + +package() { + cd graphql-server-core + + python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 + install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-graphql-server-core/ +} + +# vim: ts=2 sw=2 et:
