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

David Runge dvzrv at archlinux.org
Tue Mar 26 19:11:26 UTC 2019


    Date: Tuesday, March 26, 2019 @ 19:11:25
  Author: dvzrv
Revision: 443671

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-26 19:11:14 UTC (rev 443670)
+++ PKGBUILD	2019-03-26 19:11:25 UTC (rev 443671)
@@ -1,40 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-_name=fastnumbers
-pkgname=python-fastnumbers
-pkgver=2.1.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-pytest' 'python-hypothesis')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('11c7a3ec8b85ab85e4045fcc458a67a70b293485690871bc45b14d74edef03ab5ca6b62c4f9ebf0f2064528c7225f16ca8034bbd242125db58d1ab593b7c1c1e')
-
-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}"
-  py.test
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --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 443670, python-fastnumbers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-26 19:11:25 UTC (rev 443671)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+_name=fastnumbers
+pkgname=python-fastnumbers
+pkgver=2.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-pytest' 'python-hypothesis')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('d6212bf3bc9a0ca60d3cf708d9a3ed3038ba82993d8e00a7d406f1e52afcbb9cd04ddb2522efb676be01db3cab89ccb2799f4c0e5c485ef71fc553873b87a045')
+
+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}"
+  py.test
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --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