[arch-commits] Commit in python-simplejson/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Wed Nov 11 10:30:44 UTC 2020
Date: Wednesday, November 11, 2020 @ 10:30:44
Author: felixonmars
Revision: 750041
archrelease: copy trunk to community-staging-x86_64
Added:
python-simplejson/repos/community-staging-x86_64/PKGBUILD
(from rev 750037, python-simplejson/trunk/PKGBUILD)
Deleted:
python-simplejson/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 116 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 58 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-11 10:30:44 UTC (rev 750040)
+++ PKGBUILD 2020-11-11 10:30:44 UTC (rev 750041)
@@ -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=2
-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-staging-x86_64/PKGBUILD (from rev 750037, python-simplejson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-11 10:30:44 UTC (rev 750041)
@@ -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.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:
+
More information about the arch-commits
mailing list