[arch-commits] Commit in python-graphene/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 02:33:29 UTC 2019


    Date: Monday, November 4, 2019 @ 02:33:28
  Author: felixonmars
Revision: 523016

archrelease: copy trunk to community-staging-any

Added:
  python-graphene/repos/community-staging-any/
  python-graphene/repos/community-staging-any/PKGBUILD
    (from rev 523015, python-graphene/trunk/PKGBUILD)

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

Copied: python-graphene/repos/community-staging-any/PKGBUILD (from rev 523015, python-graphene/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 02:33:28 UTC (rev 523016)
@@ -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=2
+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