Date: Friday, April 7, 2023 @ 18:36:20
Author: felixonmars
Revision: 1441447
archrelease: copy trunk to community-staging-any
Added:
python-graphql-relay/repos/community-staging-any/
python-graphql-relay/repos/community-staging-any/PKGBUILD
(from rev 1441446, python-graphql-relay/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: python-graphql-relay/repos/community-staging-any/PKGBUILD (from rev
1441446, python-graphql-relay/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-07 18:36:20 UTC (rev 1441447)
@@ -0,0 +1,42 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+
+pkgname=python-graphql-relay
+pkgver=3.2.0
+pkgrel=2
+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
+)
+_tag=97ba15e573eabcefd13e249d05fc5557f0296804
+source=(git+https://github.com/graphql-python/graphql-relay-py.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+ cd graphql-relay-py
+
+ git describe --tags | sed 's/^v//'
+}
+
+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: