[arch-commits] Commit in python-simplejson/repos (4 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sun Dec 25 16:42:53 UTC 2016


    Date: Sunday, December 25, 2016 @ 16:42:52
  Author: bpiotrowski
Revision: 201939

archrelease: copy trunk to community-staging-x86_64, community-staging-i686

Added:
  python-simplejson/repos/community-staging-i686/
  python-simplejson/repos/community-staging-i686/PKGBUILD
    (from rev 201937, python-simplejson/trunk/PKGBUILD)
  python-simplejson/repos/community-staging-x86_64/
  python-simplejson/repos/community-staging-x86_64/PKGBUILD
    (from rev 201937, python-simplejson/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   59 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   59 ++++++++++++++++++++++++++++++++++++
 2 files changed, 118 insertions(+)

Copied: python-simplejson/repos/community-staging-i686/PKGBUILD (from rev 201937, python-simplejson/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-12-25 16:42:52 UTC (rev 201939)
@@ -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.10.0
+pkgrel=2
+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' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("git://github.com/simplejson/simplejson.git#tag=v$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  cp -a simplejson{,-py2}
+}
+
+build() {
+  cd "$srcdir"/simplejson
+  python setup.py build
+
+  cd "$srcdir"/simplejson-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/simplejson
+  python setup.py ptr
+
+  cd "$srcdir"/simplejson-py2
+  python2 setup.py ptr
+}
+
+package_python-simplejson() {
+  depends=('python')
+
+  cd simplejson
+  python setup.py install --root="$pkgdir"
+  install -Dm644 "$srcdir/simplejson/LICENSE.txt" \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-simplejson() {
+  depends=('python2')
+
+  cd simplejson-py2
+  python2 setup.py install --root="$pkgdir"
+  install -Dm644 "$srcdir/simplejson/LICENSE.txt" \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
+  

Copied: python-simplejson/repos/community-staging-x86_64/PKGBUILD (from rev 201937, python-simplejson/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-12-25 16:42:52 UTC (rev 201939)
@@ -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.10.0
+pkgrel=2
+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' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("git://github.com/simplejson/simplejson.git#tag=v$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  cp -a simplejson{,-py2}
+}
+
+build() {
+  cd "$srcdir"/simplejson
+  python setup.py build
+
+  cd "$srcdir"/simplejson-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/simplejson
+  python setup.py ptr
+
+  cd "$srcdir"/simplejson-py2
+  python2 setup.py ptr
+}
+
+package_python-simplejson() {
+  depends=('python')
+
+  cd simplejson
+  python setup.py install --root="$pkgdir"
+  install -Dm644 "$srcdir/simplejson/LICENSE.txt" \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-simplejson() {
+  depends=('python2')
+
+  cd simplejson-py2
+  python2 setup.py install --root="$pkgdir"
+  install -Dm644 "$srcdir/simplejson/LICENSE.txt" \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
+  



More information about the arch-commits mailing list