[arch-commits] Commit in python-ujson/repos/community-x86_64 (PKGBUILD PKGBUILD)
Massimiliano Torromeo
mtorromeo at gemini.archlinux.org
Fri May 20 07:36:21 UTC 2022
Date: Friday, May 20, 2022 @ 07:36:21
Author: mtorromeo
Revision: 1209315
archrelease: copy trunk to community-x86_64
Added:
python-ujson/repos/community-x86_64/PKGBUILD
(from rev 1209314, python-ujson/trunk/PKGBUILD)
Deleted:
python-ujson/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-20 07:36:15 UTC (rev 1209314)
+++ PKGBUILD 2022-05-20 07:36:21 UTC (rev 1209315)
@@ -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=5.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-wheel python-build python-installer)
-checkdepends=('python-six' 'python-pytest')
-source=(https://github.com/ultrajson/ultrajson/archive/$pkgver/$pkgname-$pkgver.tar.gz)
-sha512sums=('7b27506ce43dd48a861c3dc6972022749fef330a8795088a5014b0e256d69778b9444a0df052ece58585723b05fc3d0576330e62b81b776ac8c3088ddb779f69')
-b2sums=('35e483c09c2e05338191c40ab049f8d4aed26b54935bde5f0a19035bc5647a14b85454745b828be0677ab8c0a393c4d87c2ea4beddbe8fb9354574d4c5f93fbf')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
- cd ${_pkgname}-${pkgver}
- python -m build --wheel --no-isolation
-}
-
-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 -m installer --destdir="$pkgdir" dist/*.whl
- 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 1209314, python-ujson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-20 07:36:21 UTC (rev 1209315)
@@ -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=5.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-wheel python-build python-installer)
+checkdepends=('python-six' 'python-pytest')
+source=(https://github.com/ultrajson/ultrajson/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('668df8772307cb64258dd81cf2fbf3ceaec0d65076db9bc89761480bfb687419d9f666c551bbd7a81427cd044e5f2eb6e0d5fb615ea2d355ca92b75c0ff5d0d8')
+b2sums=('2de676f73c6b2b17e83f9d1931c6ea9f9f294e74eebbff0c06ac94311e32eb62463ce2d60e327e9ef69908917e181c7cd8e47393b5572eea80b4f6a17d8658c2')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+ cd ${_pkgname}-${pkgver}
+ python -m build --wheel --no-isolation
+}
+
+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 -m installer --destdir="$pkgdir" dist/*.whl
+ 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