[arch-commits] Commit in python-simplejson/repos/community-x86_64 (PKGBUILD PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Sun Feb 28 19:08:51 UTC 2021


    Date: Sunday, February 28, 2021 @ 19:08:51
  Author: eschwartz
Revision: 876021

archrelease: copy trunk to community-x86_64

Added:
  python-simplejson/repos/community-x86_64/PKGBUILD
    (from rev 876020, python-simplejson/trunk/PKGBUILD)
Deleted:
  python-simplejson/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   94 +++++++++++++++++++++++--------------------------------------
 1 file changed, 36 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-28 19:08:37 UTC (rev 876020)
+++ PKGBUILD	2021-02-28 19:08:51 UTC (rev 876021)
@@ -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.2
-pkgrel=3
-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=('59428640d43fdc6927db752a36196f48d00818a87d924358deab7e498709515423ecdd34dece31364c5e8d64b63d99112fd4a4b8a03b9f9c6533268afc38e314')
-
-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 876020, python-simplejson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-28 19:08:51 UTC (rev 876021)
@@ -0,0 +1,36 @@
+# 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>
+
+pkgname=python-simplejson
+pkgver=3.17.2
+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=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/simplejson/simplejson/archive/v$pkgver.tar.gz")
+sha512sums=('59428640d43fdc6927db752a36196f48d00818a87d924358deab7e498709515423ecdd34dece31364c5e8d64b63d99112fd4a4b8a03b9f9c6533268afc38e314')
+
+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:



More information about the arch-commits mailing list