Maxime Gauduin pushed to branch main at Arch Linux / Packaging / Packages / python-graphql-relay
Commits: 4bc1a25d by Maxime Gauduin at 2023-12-27T11:32:52+01:00 drop setup.py - - - - - 2 changed files: - + .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,21 @@ +pkgbase = python-graphql-relay + pkgdesc = A library to help construct a graphql-py server supporting react-relay + pkgver = 3.2.0 + pkgrel = 3 + url = https://github.com/graphql-python/graphql-relay-py + arch = any + license = MIT + makedepends = git + makedepends = python-build + makedepends = python-installer + makedepends = python-poetry-core + makedepends = python-setuptools + makedepends = python-wheel + depends = python-graphql-core + depends = python-promise + depends = python-six + depends = python-typing_extensions + source = git+https://github.com/graphql-python/graphql-relay-py.git#tag=97ba15e573eabcefd13e249d05fc5557f0296804 + sha256sums = SKIP + +pkgname = python-graphql-relay ===================================== PKGBUILD ===================================== @@ -2,7 +2,7 @@ pkgname=python-graphql-relay pkgver=3.2.0 -pkgrel=2 +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) @@ -11,10 +11,15 @@ depends=( python-graphql-core python-promise python-six + python-typing_extensions ) makedepends=( git + python-build + python-installer + python-poetry-core python-setuptools + python-wheel ) _tag=97ba15e573eabcefd13e249d05fc5557f0296804 source=(git+https://github.com/graphql-python/graphql-relay-py.git#tag=${_tag}) @@ -22,21 +27,17 @@ sha256sums=(SKIP) pkgver() { cd graphql-relay-py - git describe --tags | sed 's/^v//' } build() { cd graphql-relay-py - - python setup.py build + python -m build --wheel --no-isolation } 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/ + python -m installer --destdir="${pkgdir}" graphql-relay-py/dist/*.whl + install -Dm 644 graphql-relay-py/LICENSE -t "${pkgdir}"/usr/share/licenses/python-graphql-relay/ } # vim: ts=2 sw=2 et: View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-graphql-relay/-/commit/4bc1a25d25da2a5b7386642346a9d07667e9f8f7 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-graphql-relay/-/commit/4bc1a25d25da2a5b7386642346a9d07667e9f8f7 You're receiving this email because of your account on gitlab.archlinux.org.