[arch-commits] Commit in python-graphql-core/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Sun Mar 6 15:53:16 UTC 2022
Date: Sunday, March 6, 2022 @ 15:53:16
Author: foutrelis
Revision: 1142583
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 1142582, python-graphql-core/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: python-graphql-core/repos/community-staging-any/PKGBUILD (from rev 1142582, python-graphql-core/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2022-03-06 15:53:16 UTC (rev 1142583)
@@ -0,0 +1,42 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-graphql-core
+pkgver=3.2.0
+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=66e5ae9d4936c3d28dfe00290d8316f2acdefd30
+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