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

Felix Yan felixonmars at archlinux.org
Thu Nov 12 18:58:30 UTC 2020


    Date: Thursday, November 12, 2020 @ 18:58:29
  Author: felixonmars
Revision: 753288

archrelease: copy trunk to community-staging-any

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

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

Copied: python-graphql-server-core/repos/community-staging-any/PKGBUILD (from rev 753286, python-graphql-server-core/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 18:58:29 UTC (rev 753288)
@@ -0,0 +1,40 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-graphql-server-core
+pkgver=2.0.0
+pkgrel=2
+pkgdesc='Core package for using GraphQL in a custom server easily'
+url=https://github.com/graphql-python/graphql-server-core
+arch=(any)
+license=(MIT)
+depends=(
+  python-graphql-core
+  python-promise
+)
+makedepends=(
+  git
+  python-setuptools
+)
+source=(git+https://github.com/graphql-python/graphql-server-core.git#tag=340236fa759917a51803583ba193074b34d584e1)
+sha256sums=(SKIP)
+
+pkgver() {
+  cd graphql-server-core
+
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd graphql-server-core
+
+  python setup.py build
+}
+
+package() {
+  cd graphql-server-core
+
+  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-graphql-server-core/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list