[arch-commits] Commit in python-ujson/repos/community-staging-x86_64 (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Thu Dec 2 19:18:20 UTC 2021


    Date: Thursday, December 2, 2021 @ 19:18:20
  Author: foutrelis
Revision: 1062285

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 19:18:18 UTC (rev 1062284)
+++ PKGBUILD	2021-12-02 19:18:20 UTC (rev 1062285)
@@ -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.3.0
-pkgrel=2
-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:

Copied: python-ujson/repos/community-staging-x86_64/PKGBUILD (from rev 1062284, python-ujson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-02 19:18:20 UTC (rev 1062285)
@@ -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=3
+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