[arch-commits] Commit in python-simplejson/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat May 12 20:27:49 UTC 2018
Date: Saturday, May 12, 2018 @ 20:27:48
Author: felixonmars
Revision: 321345
archrelease: copy trunk to community-x86_64
Added:
python-simplejson/repos/community-x86_64/PKGBUILD
(from rev 321344, python-simplejson/trunk/PKGBUILD)
Deleted:
python-simplejson/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 118 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 59 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-12 20:27:22 UTC (rev 321344)
+++ PKGBUILD 2018-05-12 20:27:48 UTC (rev 321345)
@@ -1,59 +0,0 @@
-# $Id$
-# 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.14.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=('7f8cd2560f9040da13a60924b92e9957ee1a2e65db72a7f193d51de810186ad28025c3bc410a9262917130fff5b4313170144278482b6c8ec76acb58e6618322')
-
-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 321344, python-simplejson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-12 20:27:48 UTC (rev 321345)
@@ -0,0 +1,59 @@
+# $Id$
+# 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.15.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=('74ce937478ffc629e468e27cb8476880c70d7c35c33c7c6f703c3733d15b11ff6614d4335e1df7271573e3f17db33779a5bf05809202eb942a1e7f116e1bfb57')
+
+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