[arch-commits] Commit in python-fastnumbers/trunk (2 files)
David Runge
dvzrv at archlinux.org
Sat Nov 21 23:47:00 UTC 2020
Date: Saturday, November 21, 2020 @ 23:47:00
Author: dvzrv
Revision: 758705
upgpkg: python-fastnumbers 3.1.0-1: Upgrade to 3.1.0.
Remove patch for python3.9 compatibility (upstream fixed it).
Modified:
python-fastnumbers/trunk/PKGBUILD
Deleted:
python-fastnumbers/trunk/python-fastnumbers-3.0.0-python3.9.patch
------------------------------------------+
PKGBUILD | 17 +++++------------
python-fastnumbers-3.0.0-python3.9.patch | 13 -------------
2 files changed, 5 insertions(+), 25 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-21 23:33:42 UTC (rev 758704)
+++ PKGBUILD 2020-11-21 23:47:00 UTC (rev 758705)
@@ -2,8 +2,8 @@
_name=fastnumbers
pkgname=python-fastnumbers
-pkgver=3.0.0
-pkgrel=2
+pkgver=3.1.0
+pkgrel=1
pkgdesc="Super-fast and clean conversions to numbers"
arch=('x86_64')
url="https://github.com/SethMMorton/fastnumbers"
@@ -11,19 +11,12 @@
depends=('python')
makedepends=('python-setuptools')
checkdepends=('python-pytest' 'python-hypothesis')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"
- "${pkgname}-3.0.0-python3.9.patch")
-sha512sums=('31a0e1bfd503204185b26d29172e1f6ae9f6a19328ce2b4eb93e50335e22f81802c5c3f0a42b242ce914bf403c7cfc279166c33a4843e963329b666cd949c3b0'
- 'eda461a1e062c1fc1624d49ef77fb0ca4f770b461086ac283e7b7fce1fbfb29a7bbe893d0fe29b1b3d787da0b53b27aefcc2fa97bfb3fc04319ea5634b932ef3')
-b2sums=('2fab831be7054eca8b1d0fd4a2ae5188d6ed3d124c0e4467fe2443ad3300380f494b6901450a12512d9ac075b832bf9dfc546be2e3d288c6b824cd9ffbb5ac90'
- 'bacb2cc5d28b2e7af591022899711bc18da96477cbf4c9b9925159f6afe29e282c023cb2d3f819ccf79da7e406f83891db14aac4ac567188da2f18cc42a52b74')
+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"
- cd "$pkgname-$pkgver"
- # add fix for (now) non-public function:
- # https://github.com/SethMMorton/fastnumbers/issues/43
- patch -Np1 -i ../"${pkgname}-3.0.0-python3.9.patch"
}
build() {
Deleted: python-fastnumbers-3.0.0-python3.9.patch
===================================================================
--- python-fastnumbers-3.0.0-python3.9.patch 2020-11-21 23:33:42 UTC (rev 758704)
+++ python-fastnumbers-3.0.0-python3.9.patch 2020-11-21 23:47:00 UTC (rev 758705)
@@ -1,13 +0,0 @@
-diff -ruN a/include/fastnumbers/numbers.h b/include/fastnumbers/numbers.h
---- a/include/fastnumbers/numbers.h 2020-01-07 05:01:44.000000000 +0100
-+++ b/include/fastnumbers/numbers.h 2020-11-19 20:59:35.905868338 +0100
-@@ -6,6 +6,9 @@
- */
-
- #include <Python.h>
-+#define Py_BUILD_CORE
-+#include <internal/pycore_dtoa.h>
-+#undef Py_BUILD_CORE
- #include <limits.h>
- #include "fastnumbers/fn_bool.h"
- #include "fastnumbers/options.h"
More information about the arch-commits
mailing list