[arch-commits] Commit in python-simplejson/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Nov 23 23:33:28 UTC 2017
Date: Thursday, November 23, 2017 @ 23:33:27
Author: felixonmars
Revision: 268255
archrelease: copy trunk to community-x86_64
Added:
python-simplejson/repos/community-x86_64/PKGBUILD
(from rev 268254, python-simplejson/trunk/PKGBUILD)
Deleted:
python-simplejson/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 118 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 59 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-11-23 23:33:04 UTC (rev 268254)
+++ PKGBUILD 2017-11-23 23:33:27 UTC (rev 268255)
@@ -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.12.0
-pkgrel=1
-pkgdesc='Simple, fast, extensible JSON encoder/decoder for Python'
-license=('MIT')
-arch=('x86_64' 'i686')
-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=('6e9f90d80b1df8d5193b586b7cb5e273dd9a52f0e95635e240319340f4e67fc2273ebdb6014a81d85f171797d103baff87aa17a0e484c07b55227883e710bbb1')
-
-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 268254, python-simplejson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-11-23 23:33:27 UTC (rev 268255)
@@ -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.12.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=('bb4110ddff74e7aa95a8db4700e3dcea53748b5315b0876a01d0072942a945c0c838a02288c572fcc6c7a627f7d2d4dd9f266700793792af10099a7439a43d78')
+
+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