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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 16:55:23 UTC 2020


    Date: Monday, November 9, 2020 @ 16:55:23
  Author: foutrelis
Revision: 747693

archrelease: copy trunk to community-staging-any

Added:
  python-graphql-core/repos/community-staging-any/
  python-graphql-core/repos/community-staging-any/PKGBUILD
    (from rev 747692, python-graphql-core/trunk/PKGBUILD)

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

Copied: python-graphql-core/repos/community-staging-any/PKGBUILD (from rev 747692, python-graphql-core/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 16:55:23 UTC (rev 747693)
@@ -0,0 +1,42 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-graphql-core
+pkgver=3.1.2
+pkgrel=2
+pkgdesc='GraphQL base implementation for Python'
+url=https://github.com/graphql-python/graphql-core
+arch=(any)
+license=(MIT)
+depends=(
+  python-six
+  python-promise
+  python-rx
+)
+makedepends=(
+  git
+  python-setuptools
+)
+_tag=3267c4c5c5ea06968beb59f16425de4a4b835ee1
+source=(git+https://github.com/graphql-python/graphql-core.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+  cd graphql-core
+
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd graphql-core
+
+  python setup.py build
+}
+
+package() {
+  cd graphql-core
+
+  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-graphql-core/
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list