[arch-commits] Commit in python-simplejson/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jul 17 20:24:16 UTC 2020
Date: Friday, July 17, 2020 @ 20:24:14
Author: felixonmars
Revision: 664315
archrelease: copy trunk to community-x86_64
Added:
python-simplejson/repos/community-x86_64/PKGBUILD
(from rev 664314, python-simplejson/trunk/PKGBUILD)
Deleted:
python-simplejson/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 116 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 58 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-17 20:24:00 UTC (rev 664314)
+++ PKGBUILD 2020-07-17 20:24:14 UTC (rev 664315)
@@ -1,58 +0,0 @@
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: David Moore <davidm at sjsoft.com>
-
-pkgbase=python-simplejson
-pkgname=('python-simplejson' 'python2-simplejson')
-pkgver=3.17.0
-pkgrel=1
-pkgdesc='Simple, fast, extensible JSON encoder/decoder for Python'
-license=('MIT')
-arch=('x86_64')
-url='https://github.com/simplejson/simplejson'
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/simplejson/simplejson/archive/v$pkgver.tar.gz")
-sha512sums=('3057edfa8c8a16fa1c2027a880ac71531afc70d087a12a6fa085b3e09705ab049850dbabe60acc6fc11f51d9e0cf98f58407be03980182dca2ca070c298fd023')
-
-prepare() {
- cp -a simplejson-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/simplejson-$pkgver
- python setup.py build
-
- cd "$srcdir"/simplejson-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/simplejson-$pkgver
- python setup.py pytest
-
- cd "$srcdir"/simplejson-$pkgver-py2
- python2 setup.py pytest
-}
-
-package_python-simplejson() {
- depends=('python')
-
- cd simplejson-$pkgver
- python setup.py install --root="$pkgdir"
- install -Dm644 "$srcdir"/simplejson-$pkgver/LICENSE.txt \
- "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-simplejson() {
- depends=('python2')
-
- cd simplejson-$pkgver-py2
- python2 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 664314, python-simplejson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-17 20:24:14 UTC (rev 664315)
@@ -0,0 +1,58 @@
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: David Moore <davidm at sjsoft.com>
+
+pkgbase=python-simplejson
+pkgname=('python-simplejson' 'python2-simplejson')
+pkgver=3.17.1
+pkgrel=1
+pkgdesc='Simple, fast, extensible JSON encoder/decoder for Python'
+license=('MIT')
+arch=('x86_64')
+url='https://github.com/simplejson/simplejson'
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/simplejson/simplejson/archive/v$pkgver.tar.gz")
+sha512sums=('56a8fae11cfc9c29312cbe67fa4fd1d156e55cdda358e094874753f294c57058cc5608f6a611c5e4356d8fdf20ec3a5eaf263a09d127e8fc49f16bb4e0eeae12')
+
+prepare() {
+ cp -a simplejson-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/simplejson-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/simplejson-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/simplejson-$pkgver
+ python setup.py pytest
+
+ cd "$srcdir"/simplejson-$pkgver-py2
+ python2 setup.py pytest
+}
+
+package_python-simplejson() {
+ depends=('python')
+
+ cd simplejson-$pkgver
+ python setup.py install --root="$pkgdir"
+ install -Dm644 "$srcdir"/simplejson-$pkgver/LICENSE.txt \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-simplejson() {
+ depends=('python2')
+
+ cd simplejson-$pkgver-py2
+ python2 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:
+
More information about the arch-commits
mailing list