[arch-commits] Commit in python-graphql-relay (3 files)
Maxime Gauduin
alucryd at archlinux.org
Thu May 30 19:59:28 UTC 2019
Date: Thursday, May 30, 2019 @ 19:59:28
Author: alucryd
Revision: 475176
archrelease: copy trunk to community-any
Added:
python-graphql-relay/repos/
python-graphql-relay/repos/community-any/
python-graphql-relay/repos/community-any/PKGBUILD
(from rev 475175, python-graphql-relay/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: python-graphql-relay/repos/community-any/PKGBUILD (from rev 475175, python-graphql-relay/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD (rev 0)
+++ repos/community-any/PKGBUILD 2019-05-30 19:59:28 UTC (rev 475176)
@@ -0,0 +1,35 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+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:
More information about the arch-commits
mailing list