[arch-commits] Commit in python-rapidjson/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Feb 11 22:18:45 UTC 2019
Date: Monday, February 11, 2019 @ 22:18:43
Author: felixonmars
Revision: 431806
archrelease: copy trunk to community-x86_64
Added:
python-rapidjson/repos/community-x86_64/PKGBUILD
(from rev 431805, python-rapidjson/trunk/PKGBUILD)
Deleted:
python-rapidjson/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 77 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-11 22:18:24 UTC (rev 431805)
+++ PKGBUILD 2019-02-11 22:18:43 UTC (rev 431806)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-rapidjson
-pkgver=0.6.3
-pkgrel=1
-pkgdesc="Python wrapper around rapidjson"
-arch=('x86_64')
-url="https://pypi.python.org/pypi/python-rapidjson"
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools' 'rapidjson')
-checkdepends=('python-pytest-runner' 'python-pytest-benchmark' 'python-pytz')
-source=("https://pypi.io/packages/source/p/python-rapidjson/python-rapidjson-$pkgver.tar.gz")
-sha512sums=('958871dc005ec56111d2b9deedfceac5e2d863f3baee4551c1079c733d75949f975ab312b77bd78ef2eec83d708fb056b07192d0f8a8b3e68b57fecada58be86')
-
-prepare() {
- #rm -r python-rapidjson-$pkgver/rapidjson
- #sed -i 's/if not os.path.isdir/if os.path.isdir/' python-rapidjson-$pkgver/setup.py
- # Shared rapidjson fails tests.
-
- cp -a python-rapidjson-$pkgver{,-py2}
-}
-
-build() {
- cd python-rapidjson-$pkgver
- python setup.py build # --rj-include-dir=/usr/include
-}
-
-check() {
- cd python-rapidjson-$pkgver
- python setup.py pytest --addopts '--ignore benchmarks/'
-}
-
-package() {
- cd python-rapidjson-$pkgver
- python setup.py install -O1 --root="$pkgdir"
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: python-rapidjson/repos/community-x86_64/PKGBUILD (from rev 431805, python-rapidjson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-02-11 22:18:43 UTC (rev 431806)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-rapidjson
+pkgver=0.7.0
+pkgrel=1
+pkgdesc="Python wrapper around rapidjson"
+arch=('x86_64')
+url="https://pypi.python.org/pypi/python-rapidjson"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools' 'rapidjson')
+checkdepends=('python-pytest-runner' 'python-pytest-benchmark' 'python-pytz')
+source=("https://pypi.io/packages/source/p/python-rapidjson/python-rapidjson-$pkgver.tar.gz")
+sha512sums=('3e227781851749861040ae885c76b33b057f87b4b9a7788610c65c94be63924b80df10ce9f400e58b935dcfda9ffcfd6b8f02cf779601d70a93d67329bbab423')
+
+prepare() {
+ #rm -r python-rapidjson-$pkgver/rapidjson
+ #sed -i 's/if not os.path.isdir/if os.path.isdir/' python-rapidjson-$pkgver/setup.py
+ # Shared rapidjson fails tests.
+
+ cp -a python-rapidjson-$pkgver{,-py2}
+}
+
+build() {
+ cd python-rapidjson-$pkgver
+ python setup.py build # --rj-include-dir=/usr/include
+}
+
+check() {
+ cd python-rapidjson-$pkgver
+ python setup.py pytest --addopts '--ignore benchmarks/'
+}
+
+package() {
+ cd python-rapidjson-$pkgver
+ python setup.py install -O1 --root="$pkgdir"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list