[arch-commits] Commit in python-fastnumbers/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Tue Jan 7 11:07:49 UTC 2020
Date: Tuesday, January 7, 2020 @ 11:07:48
Author: dvzrv
Revision: 549827
archrelease: copy trunk to community-x86_64
Added:
python-fastnumbers/repos/community-x86_64/PKGBUILD
(from rev 549826, python-fastnumbers/trunk/PKGBUILD)
Deleted:
python-fastnumbers/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-07 11:07:44 UTC (rev 549826)
+++ PKGBUILD 2020-01-07 11:07:48 UTC (rev 549827)
@@ -1,40 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-_name=fastnumbers
-pkgname=python-fastnumbers
-pkgver=2.2.1
-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=('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}"
-}
Copied: python-fastnumbers/repos/community-x86_64/PKGBUILD (from rev 549826, python-fastnumbers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-01-07 11:07:48 UTC (rev 549827)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+_name=fastnumbers
+pkgname=python-fastnumbers
+pkgver=3.0.0
+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=('31a0e1bfd503204185b26d29172e1f6ae9f6a19328ce2b4eb93e50335e22f81802c5c3f0a42b242ce914bf403c7cfc279166c33a4843e963329b666cd949c3b0')
+
+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