~roshless/PKGBUILDs

9d3644e292d772de599c366cb61ae4b638a2161d — Roshless a month ago b8fbba5
Initial upload: python-django-graphiql-debug-toolbar 0.2.0-1
A python-django-graphiql-debug-toolbar/.SRCINFO => python-django-graphiql-debug-toolbar/.SRCINFO +14 -0
@@ 0,0 1,14 @@
pkgbase = python-django-graphiql-debug-toolbar
	pkgdesc = Django Debug Toolbar for GraphiQL IDE.
	pkgver = 0.2.0
	pkgrel = 1
	url = https://github.com/flavors/django-graphiql-debug-toolbar
	arch = any
	license = MIT
	makedepends = python-setuptools
	depends = python
	depends = python-django
	source = https://files.pythonhosted.org/packages/source/d/django-graphiql-debug-toolbar/django-graphiql-debug-toolbar-0.2.0.tar.gz
	md5sums = 6f559229718b700f1007231bd90b226a

pkgname = python-django-graphiql-debug-toolbar

A python-django-graphiql-debug-toolbar/PKGBUILD => python-django-graphiql-debug-toolbar/PKGBUILD +26 -0
@@ 0,0 1,26 @@
# Maintainer: Roshless <pkg@roshless.com>

pkgname=python-django-graphiql-debug-toolbar
_name=${pkgname#python-}
pkgver=0.2.0
pkgrel=1
pkgdesc='Django Debug Toolbar for GraphiQL IDE.'
url='https://github.com/flavors/django-graphiql-debug-toolbar'
arch=('any')
license=('MIT')
depends=('python' 'python-django')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")

build() {
  cd $_name-$pkgver
  python setup.py build
}

package() {
  cd $_name-$pkgver
  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
  install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}

md5sums=('6f559229718b700f1007231bd90b226a')