[arch-commits] Commit in python-graphql-core (3 files)

Maxime Gauduin alucryd at archlinux.org
Thu May 30 19:54:26 UTC 2019


    Date: Thursday, May 30, 2019 @ 19:54:25
  Author: alucryd
Revision: 475164

archrelease: copy trunk to community-any

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

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

Copied: python-graphql-core/repos/community-any/PKGBUILD (from rev 475163, python-graphql-core/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2019-05-30 19:54:25 UTC (rev 475164)
@@ -0,0 +1,35 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-graphql-core
+pkgver=2.1.0
+pkgrel=1
+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
+)
+source=(git+https://github.com/graphql-python/graphql-core.git#tag=v${pkgver})
+sha256sums=(SKIP)
+
+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