[arch-commits] Commit in (3 files)
Maxime Gauduin
alucryd at archlinux.org
Thu May 30 19:54:09 UTC 2019
Date: Thursday, May 30, 2019 @ 19:54:08
Author: alucryd
Revision: 475163
add python-graphql-core
Added:
python-graphql-core/
python-graphql-core/trunk/
python-graphql-core/trunk/PKGBUILD
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Added: python-graphql-core/trunk/PKGBUILD
===================================================================
--- python-graphql-core/trunk/PKGBUILD (rev 0)
+++ python-graphql-core/trunk/PKGBUILD 2019-05-30 19:54:08 UTC (rev 475163)
@@ -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