This commit is contained in:
Philipp A 2020-08-01 12:38:33 +02:00
commit 2a68cbecd7
3 changed files with 37 additions and 0 deletions

14
.SRCINFO Normal file
View File

@ -0,0 +1,14 @@
pkgbase = python-genson
pkgdesc = GenSON is a powerful, user-friendly JSON Schema generator.
pkgver = 1.2.1
pkgrel = 1
url = https://github.com/wolverdude/genson
arch = any
license = MIT
makedepends = python-setuptools
depends = python
source = https://files.pythonhosted.org/packages/source/g/genson/genson-1.2.1.tar.gz
sha256sums = 40b8faa17f53240f224d683d7a302b5f7b35eb7ab2aba1c223a58a38b8d09c42
pkgname = python-genson

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
/src/
/pkg/
/*.pkg.*
/*.tar.gz

19
PKGBUILD Normal file
View File

@ -0,0 +1,19 @@
# Maintainer: Philipp A. <flying-sheep@web.de>
_name=genson
pkgname=python-$_name
pkgver=1.2.1
pkgrel=1
pkgdesc='GenSON is a powerful, user-friendly JSON Schema generator.'
arch=(any)
url="https://github.com/wolverdude/$_name"
license=(MIT)
depends=(python)
makedepends=(python-setuptools)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-$pkgver.tar.gz")
sha256sums=('40b8faa17f53240f224d683d7a302b5f7b35eb7ab2aba1c223a58a38b8d09c42')
package() {
cd "$srcdir/${_name//-/_}-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
}