Date: Tuesday, November 30, 2021 @ 20:24:42 Author: felixonmars Revision: 1058226
archrelease: copy trunk to community-staging-x86_64 Added: python-simplejson/repos/community-staging-x86_64/ python-simplejson/repos/community-staging-x86_64/PKGBUILD (from rev 1058224, python-simplejson/trunk/PKGBUILD) ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Copied: python-simplejson/repos/community-staging-x86_64/PKGBUILD (from rev 1058224, python-simplejson/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-11-30 20:24:42 UTC (rev 1058226) @@ -0,0 +1,36 @@ +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# Contributor: Jaroslav Lichtblau <dragonl...@aur.archlinux.org> +# Contributor: Allan McRae <al...@archlinux.org> +# Contributor: David Moore <dav...@sjsoft.com> + +pkgname=python-simplejson +pkgver=3.17.6 +pkgrel=2 +pkgdesc='Simple, fast, extensible JSON encoder/decoder for Python' +license=('MIT') +arch=('x86_64') +url='https://github.com/simplejson/simplejson' +depends=('python') +makedepends=('python-setuptools') +checkdepends=('python-pytest-runner') +source=("$pkgname-$pkgver.tar.gz::https://github.com/simplejson/simplejson/archive/v$pkgver.tar.gz") +sha512sums=('48b74388cd3a5cf0acf46a9aa050d628513d842297625f791c7ae07a7c9289afcb0be8d374f77af3bebd50f4c200844bc69f5b77a67220fee357cdfc0d913726') + +build() { + cd "$srcdir"/simplejson-$pkgver + python setup.py build +} + +check() { + cd "$srcdir"/simplejson-$pkgver + python setup.py pytest +} + +package_python-simplejson() { + cd simplejson-$pkgver + python setup.py install --root="$pkgdir" + install -Dm644 "$srcdir"/simplejson-$pkgver/LICENSE.txt \ + "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et: