Date: Saturday, May 30, 2020 @ 13:28:54 Author: alucryd Revision: 637424
archrelease: copy trunk to community-any Added: python-graphql-relay/repos/community-any/PKGBUILD (from rev 637423, python-graphql-relay/trunk/PKGBUILD) Deleted: python-graphql-relay/repos/community-any/PKGBUILD ----------+ PKGBUILD | 76 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 41 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-05-30 13:28:48 UTC (rev 637423) +++ PKGBUILD 2020-05-30 13:28:54 UTC (rev 637424) @@ -1,35 +0,0 @@ -# Maintainer: Maxime Gauduin <aluc...@archlinux.org> - -pkgname=python-graphql-relay -pkgver=0.4.5 -pkgrel=3 -pkgdesc='A library to help construct a graphql-py server supporting react-relay' -url=https://github.com/graphql-python/graphql-relay-py -arch=(any) -license=(MIT) -depends=( - python-graphql-core - python-promise - python-six -) -makedepends=( - git - python-setuptools -) -source=(git+https://github.com/graphql-python/graphql-relay-py.git#commit=48856fb3cf9e6c122535076a82d862bac3c21779) -sha256sums=(SKIP) - -build() { - cd graphql-relay-py - - python setup.py build -} - -package() { - cd graphql-relay-py - - python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 - install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-graphql-relay/ -} - -# vim: ts=2 sw=2 et: Copied: python-graphql-relay/repos/community-any/PKGBUILD (from rev 637423, python-graphql-relay/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-05-30 13:28:54 UTC (rev 637424) @@ -0,0 +1,41 @@ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> + +pkgname=python-graphql-relay +pkgver=3.0.0 +pkgrel=1 +pkgdesc='A library to help construct a graphql-py server supporting react-relay' +url=https://github.com/graphql-python/graphql-relay-py +arch=(any) +license=(MIT) +depends=( + python-graphql-core + python-promise + python-six +) +makedepends=( + git + python-setuptools +) +source=(git+https://github.com/graphql-python/graphql-relay-py.git#tag=dfdb6351bc5cc10847f086dee5344aa0b43ce47d) +sha256sums=(SKIP) + +pkgver() { + cd graphql-relay-py + + git describe --tags | sed 's/^v//' +} + +build() { + cd graphql-relay-py + + python setup.py build +} + +package() { + cd graphql-relay-py + + python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 + install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-graphql-relay/ +} + +# vim: ts=2 sw=2 et: