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

David Runge dvzrv at gemini.archlinux.org
Wed Nov 3 21:14:35 UTC 2021


    Date: Wednesday, November 3, 2021 @ 21:14:35
  Author: dvzrv
Revision: 1035678

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-03 21:14:27 UTC (rev 1035677)
+++ PKGBUILD	2021-11-03 21:14:35 UTC (rev 1035678)
@@ -1,41 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=fastnumbers
-pkgname=python-fastnumbers
-pkgver=3.1.0
-pkgrel=2
-pkgdesc="Super-fast and clean conversions to numbers"
-arch=('x86_64')
-url="https://github.com/SethMMorton/fastnumbers"
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-hypothesis')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('b58b6cac12a04f038707533040bff178eeb010cb3c1bc19ab9ddad534553c6aa8bb4bfea666a6f7fb9867b41044a62ada6c2be6a8237abdcc4fa49118acfd9fe')
-b2sums=('2069866b60a60b5c807b0d878f1b0c691a81ffaf73c5723fc89ffa2b3eb6e4027a8716b2002eeb1e785874e8992fb7554563a229d1457314db19f32f0bd019a8')
-
-prepare() {
-  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  local _py3_ver=$(python --version | cut -d " " -f2)
-  export PYTHONPATH="build/lib.linux-$CARCH-${_py3_ver%"."*}:${PYTHONPATH}"
-  pytest -v
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-                          --optimize=1 \
-                          --root="${pkgdir}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: python-fastnumbers/repos/community-x86_64/PKGBUILD (from rev 1035677, python-fastnumbers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-03 21:14:35 UTC (rev 1035678)
@@ -0,0 +1,39 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=fastnumbers
+pkgname=python-fastnumbers
+pkgver=3.2.1
+pkgrel=1
+pkgdesc="Super-fast and clean conversions to numbers"
+arch=('x86_64')
+url="https://github.com/SethMMorton/fastnumbers"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-hypothesis' 'python-pytest' 'python-typing_extensions')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('af53ebcbabc8530d29c7cbab78b08273498b5293e8a2686dbb7b6eeaa7b33cc464b83c8457f3ace1105f1bc14e05721476d2e4240a43201addb7e49c027f0eec')
+b2sums=('91813c6da527b7750ec6dfadc0e7db9681f5a7009ae24b1fdb317e382147c8d4e38723d5905844c076b7aa01c1f444eeb5f78ca2519e76d4065699ec2754a8aa')
+
+prepare() {
+  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  local _py3_ver=$(python --version | cut -d " " -f2)
+  export PYTHONPATH="build/lib.linux-$CARCH-${_py3_ver%"."*}:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --optimize=1 --root="${pkgdir}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list