[arch-commits] Commit in (3 files)

Maxime Gauduin alucryd at archlinux.org
Thu May 30 20:05:26 UTC 2019


    Date: Thursday, May 30, 2019 @ 20:05:26
  Author: alucryd
Revision: 475185

add python-graphene

Added:
  python-graphene/
  python-graphene/trunk/
  python-graphene/trunk/PKGBUILD

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

Added: python-graphene/trunk/PKGBUILD
===================================================================
--- python-graphene/trunk/PKGBUILD	                        (rev 0)
+++ python-graphene/trunk/PKGBUILD	2019-05-30 20:05:26 UTC (rev 475185)
@@ -0,0 +1,37 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Sven Schneider <archlinux.sandmann at googlemail.com>
+
+pkgname=python-graphene
+pkgver=2.1.3
+pkgrel=1
+pkgdesc='GraphQL framework for Python'
+arch=(any)
+url=https://graphene-python.org/
+license=(MIT)
+depends=(
+  python-aniso8601
+  python-graphql-core
+  python-graphql-relay
+  python-six
+)
+makedepends=(
+  git
+  python-setuptools
+)
+source=(git+https://github.com/graphql-python/graphene.git#tag=v${pkgver})
+sha512sums=(SKIP)
+
+build() {
+  cd graphene
+
+  python setup.py build
+}
+
+package() {
+  cd graphene
+
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-graphene
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list