[arch-commits] Commit in python-graphql-core/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Oct 25 20:01:36 UTC 2019
Date: Friday, October 25, 2019 @ 20:01:34
Author: felixonmars
Revision: 519684
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 519683, python-graphql-core/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: python-graphql-core/repos/community-staging-any/PKGBUILD (from rev 519683, python-graphql-core/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 20:01:34 UTC (rev 519684)
@@ -0,0 +1,35 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-graphql-core
+pkgver=2.2.1
+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
+)
+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