[arch-commits] Commit in python-graphql-server-core/repos/community-any (2 files)
Maxime Gauduin
alucryd at archlinux.org
Sat May 30 13:34:50 UTC 2020
Date: Saturday, May 30, 2020 @ 13:34:50
Author: alucryd
Revision: 637428
archrelease: copy trunk to community-any
Added:
python-graphql-server-core/repos/community-any/PKGBUILD
(from rev 637427, python-graphql-server-core/trunk/PKGBUILD)
Deleted:
python-graphql-server-core/repos/community-any/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 40 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-30 13:34:42 UTC (rev 637427)
+++ PKGBUILD 2020-05-30 13:34:50 UTC (rev 637428)
@@ -1,34 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-
-pkgname=python-graphql-server-core
-pkgver=1.1.1
-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#commit=62fe600f592d70573c53aa59df1453a17955fc2a)
-sha256sums=(SKIP)
-
-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:
Copied: python-graphql-server-core/repos/community-any/PKGBUILD (from rev 637427, python-graphql-server-core/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-05-30 13:34:50 UTC (rev 637428)
@@ -0,0 +1,40 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-graphql-server-core
+pkgver=2.0.0
+pkgrel=1
+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