Date: Thursday, May 30, 2019 @ 19:59:15
  Author: alucryd
Revision: 475175

add python-graphql-relay

Added:
  python-graphql-relay/
  python-graphql-relay/trunk/
  python-graphql-relay/trunk/PKGBUILD

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Added: python-graphql-relay/trunk/PKGBUILD
===================================================================
--- python-graphql-relay/trunk/PKGBUILD                         (rev 0)
+++ python-graphql-relay/trunk/PKGBUILD 2019-05-30 19:59:15 UTC (rev 475175)
@@ -0,0 +1,35 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+
+pkgname=python-graphql-relay
+pkgver=0.4.5
+pkgrel=1
+pkgdesc='A library to help construct a graphql-py server supporting 
react-relay'
+url=https://github.com/graphql-python/graphql-relay-py
+arch=(any)
+license=(MIT)
+depends=(
+  python-graphql-core
+  python-promise
+  python-six
+)
+makedepends=(
+  git
+  python-setuptools
+)
+source=(git+https://github.com/graphql-python/graphql-relay-py.git#commit=48856fb3cf9e6c122535076a82d862bac3c21779)
+sha256sums=(SKIP)
+
+build() {
+  cd graphql-relay-py
+
+  python setup.py build
+}
+
+package() {
+  cd graphql-relay-py
+
+  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+  install -Dm 644 LICENSE -t 
"${pkgdir}"/usr/share/licenses/python-graphql-relay/
+}
+
+# vim: ts=2 sw=2 et:

Reply via email to