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

Evangelos Foutras foutrelis at gemini.archlinux.org
Wed Dec 1 14:57:24 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:57:24
  Author: foutrelis
Revision: 1059596

archrelease: copy trunk to community-staging-any

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

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

Copied: python-graphene/repos/community-staging-any/PKGBUILD (from rev 1059595, python-graphene/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 14:57:24 UTC (rev 1059596)
@@ -0,0 +1,44 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Sven Schneider <archlinux.sandmann at googlemail.com>
+
+pkgname=python-graphene
+pkgver=3.0.0
+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
+)
+_tag=27f19e5a905f95f3703a187aaabb67f1623d4a92
+source=(git+https://github.com/graphql-python/graphene.git#tag=${_tag})
+sha512sums=(SKIP)
+
+pkgver() {
+  cd graphene
+
+  git describe --tags | sed 's/^v//'
+}
+
+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