Date: Saturday, August 6, 2022 @ 20:05:00 Author: arodseth Revision: 1260475
archrelease: copy trunk to community-x86_64 Added: python-simplejson/repos/community-x86_64/PKGBUILD (from rev 1260474, python-simplejson/trunk/PKGBUILD) Deleted: python-simplejson/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 70 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 34 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-08-06 20:04:53 UTC (rev 1260474) +++ PKGBUILD 2022-08-06 20:05:00 UTC (rev 1260475) @@ -1,36 +0,0 @@ -# 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=3 -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: Copied: python-simplejson/repos/community-x86_64/PKGBUILD (from rev 1260474, python-simplejson/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-06 20:05:00 UTC (rev 1260475) @@ -0,0 +1,34 @@ +# 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=4 +pkgdesc='Simple, fast, extensible JSON encoder/decoder for Python' +license=(MIT) +arch=(x86_64) +url='https://github.com/simplejson/simplejson' +depends=(python) +makedepends=(git python-setuptools) +checkdepends=(python-pytest-runner) +source=("git+$url#commit=02221b19672b1b35188080435c7360cd2d6af6fb") # tag: v3.17.6 +b2sums=(SKIP) + +build() { + cd simplejson + python setup.py build +} + +check() { + cd simplejson + python setup.py pytest +} + +package_python-simplejson() { + cd simplejson + python setup.py install --root="$pkgdir" + install -Dm644 ../simplejson/LICENSE.txt \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}