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

Massimiliano Torromeo mtorromeo at gemini.archlinux.org
Tue Nov 30 15:48:18 UTC 2021


    Date: Tuesday, November 30, 2021 @ 15:48:18
  Author: mtorromeo
Revision: 1057807

archrelease: copy trunk to community-x86_64

Added:
  python-ujson/repos/community-x86_64/PKGBUILD
    (from rev 1057806, 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-11-30 15:48:04 UTC (rev 1057806)
+++ PKGBUILD	2021-11-30 15:48:18 UTC (rev 1057807)
@@ -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.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:

Copied: python-ujson/repos/community-x86_64/PKGBUILD (from rev 1057806, python-ujson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-30 15:48:18 UTC (rev 1057807)
@@ -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.3.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=('d402130e279b65c74ba660fb357ef0491580ba0e3fe51cbcda0362d977308bf066cf5ecefd11fdb2255b06f80a52374d99249fd9e01ab6a5f5c3ecd678a2d154')
+b2sums=('7077351692033d13f065777f48d184b06577ae52ab0e2696e72c5173f0174ef0a52b3ec87d05c74af5d25db30c82aa2ba1ca5f745fe5161a4403ec91d5346281')
+
+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