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

Massimiliano Torromeo mtorromeo at gemini.archlinux.org
Wed Sep 22 18:28:49 UTC 2021


    Date: Wednesday, September 22, 2021 @ 18:28:48
  Author: mtorromeo
Revision: 1021656

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   78 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 39 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-22 18:28:33 UTC (rev 1021655)
+++ PKGBUILD	2021-09-22 18:28:48 UTC (rev 1021656)
@@ -1,39 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=python-ujson
-_pkgname=ultrajson
-pkgver=4.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-scm' 'python-pip')
-checkdepends=('python-six' 'python-pytest')
-source=(https://github.com/ultrajson/ultrajson/archive/$pkgver/$pkgname-$pkgver.tar.gz)
-sha512sums=('0796b085695e85f2edb664e237b0aa8ba61789164a43555e484e034017d93f798cfd2933bf30bd18ce1ded936e3d52e7beb8507b85cf31b1ca3c8339864147c4')
-b2sums=('e36e5415ec85d7d16b1ff22681eb01fdd1a4c6905912ae6c0715f7d2b261a1ae7fa57109918bbe2ea2586c52acd9434e25005f1d201c75d5ed05b9c35ca608b7')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-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 1021655, python-ujson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-09-22 18:28:48 UTC (rev 1021656)
@@ -0,0 +1,39 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=python-ujson
+_pkgname=ultrajson
+pkgver=4.2.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-scm' 'python-pip')
+checkdepends=('python-six' 'python-pytest')
+source=(https://github.com/ultrajson/ultrajson/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('d083171d70a5d252ae917af8dcc872f92e69deff915c6e18194d224c31efc22bd11a70a0f560d55b09f3a1e73fd61425b821be0dff5ea160e4340f65ca556589')
+b2sums=('ea7e011b7ff03ee96b17c21e0a9643dad8d404fefe96ca54323f86859df2b6894cf948b83579254afe5b16c143e2db46c2d173299b8c67330e3a0278fc6685c7')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+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.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list