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

Massimiliano Torromeo mtorromeo at archlinux.org
Mon Aug 10 08:22:26 UTC 2020


    Date: Monday, August 10, 2020 @ 08:22:26
  Author: mtorromeo
Revision: 673457

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-10 08:22:12 UTC (rev 673456)
+++ PKGBUILD	2020-08-10 08:22:26 UTC (rev 673457)
@@ -1,42 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=python-ujson
-_pkgname=ultrajson
-pkgver=3.0.0
-pkgrel=1
-pkgdesc="Ultra fast JSON encoder and decoder for Python"
-url="https://github.com/ultrajson/ultrajson"
-arch=('x86_64')
-license=('BSD')
-depends=('python')
-makedepends=('python-setuptools' 'python-pip')
-checkdepends=('python-six' 'python-pytest')
-source=(https://github.com/ultrajson/ultrajson/archive/$pkgver/$pkgname-$pkgver.tar.gz)
-sha512sums=('bd77fd9ba4c1f059216be46afced3db20b82b8637c5d41fe5ba04b9d63e636c422cae44a7fcee913dc40fc9d91367f2de97db757e4cb53b22ecb77b1c765e27d')
-b2sums=('e15895072e44e0f54a7437fe5613aff3fa912f7d19f3058bb4977cf407d8b2a3d0c8c94526459bfbbccbcff56737c76be880bd3385776c8a771dba0194c8e0e7')
-
-prepare() {
-  sed '/setup_requires=\["setuptools_scm"\],/d' -i ${_pkgname}-${pkgver}/setup.py
-  sed "s/{version}/$pkgver/" ${_pkgname}-${pkgver}/python/version_template.h > ${_pkgname}-${pkgver}/python/version.h
-}
-
-build() {
-  cd ${_pkgname}-${pkgver}
-  python setup.py build
-}
-
-check() {
-  cd ${_pkgname}-${pkgver}
-  local PYTHONVERSION="$(python -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')"
-  PYTHONPATH="build/lib.linux-${CARCH}-${PYTHONVERSION}" pytest
-}
-
-package() {
-  cd ${_pkgname}-${pkgver}
-  python setup.py install --skip-build -O1 --root="${pkgdir}"
-  install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-ujson/repos/community-x86_64/PKGBUILD (from rev 673456, python-ujson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-10 08:22:26 UTC (rev 673457)
@@ -0,0 +1,42 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=python-ujson
+_pkgname=ultrajson
+pkgver=3.1.0
+pkgrel=1
+pkgdesc="Ultra fast JSON encoder and decoder for Python"
+url="https://github.com/ultrajson/ultrajson"
+arch=('x86_64')
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools' 'python-pip')
+checkdepends=('python-six' 'python-pytest')
+source=(https://github.com/ultrajson/ultrajson/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('403430cbcd09968a47c1e85169d62ed3dbb6a014b9e7f3e74c53554a37f008878bc115f4ee84c70c2ae7b4d0534a2f74bc3d6bc8104282181db498e6172a0dc2')
+b2sums=('bbf1a44bffd8adb2b9237d8067686dd69355cf96cf1ebfb1fd3b7ff217db77be03690ed04b98c670619ba9408b6df00f6c1da890b471b622438604a7ccecb848')
+
+prepare() {
+  sed '/setup_requires=\["setuptools_scm"\],/d' -i ${_pkgname}-${pkgver}/setup.py
+  sed "s/{version}/$pkgver/" ${_pkgname}-${pkgver}/python/version_template.h > ${_pkgname}-${pkgver}/python/version.h
+}
+
+build() {
+  cd ${_pkgname}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkgname}-${pkgver}
+  local PYTHONVERSION="$(python -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')"
+  PYTHONPATH="build/lib.linux-${CARCH}-${PYTHONVERSION}" pytest
+}
+
+package() {
+  cd ${_pkgname}-${pkgver}
+  python setup.py install --skip-build -O1 --root="${pkgdir}"
+  install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list