[arch-commits] Commit in python-scipy/trunk (PKGBUILD fix-utf8.patch)
Jelle van der Waa
jelle at archlinux.org
Sat Feb 9 21:14:08 UTC 2019
Date: Saturday, February 9, 2019 @ 21:14:07
Author: jelle
Revision: 431037
upgpkg: python-scipy 1.2.1-1
Upstream update, remove obsolete patch.
Modified:
python-scipy/trunk/PKGBUILD
Deleted:
python-scipy/trunk/fix-utf8.patch
----------------+
PKGBUILD | 15 ++++-----------
fix-utf8.patch | 29 -----------------------------
2 files changed, 4 insertions(+), 40 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-09 20:47:26 UTC (rev 431036)
+++ PKGBUILD 2019-02-09 21:14:07 UTC (rev 431037)
@@ -7,8 +7,8 @@
_name=scipy
pkgname=('python-scipy' 'python2-scipy')
-pkgver=1.2.0
-pkgrel=2
+pkgver=1.2.1
+pkgrel=1
pkgdesc="SciPy is open-source software for mathematics, science, and engineering."
arch=('x86_64')
url="http://www.scipy.org/"
@@ -16,16 +16,9 @@
makedepends=('gcc-fortran' 'python-numpy' 'python2-numpy' 'python-setuptools' 'python2-setuptools')
checkdepends=('python-pytest' 'python2-pytest')
#source=("https://github.com/scipy/scipy/releases/download/v${pkgver}/scipy-${pkgver}.tar.xz")
-source=("https://pypi.python.org/packages/source/${_name:0:1}/${_name}/${_name}-${pkgver}.tar.gz"
- fix-utf8.patch)
-md5sums=('e57011507865b0b702aff6077d412e03'
- '20712d0338980270f5f3edca4b3f17e4')
+source=("https://pypi.python.org/packages/source/${_name:0:1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('80caf9af93046c0d58829a61eb90d824aabe8a53f3e7d8a72efc44accaa3299d1e22adbb4852ed192cee6e47aafbb4ebea3115233ed11f1ef05dd373866b0243')
-prepare() {
- cd scipy-${pkgver}
- patch -p1 -i ../fix-utf8.patch # Fix unicode issues that prevent importing scipy.stats on py2
-}
-
build() {
# required for gfortran
export LDFLAGS="-Wall -shared"
Deleted: fix-utf8.patch
===================================================================
--- fix-utf8.patch 2019-02-09 20:47:26 UTC (rev 431036)
+++ fix-utf8.patch 2019-02-09 21:14:07 UTC (rev 431037)
@@ -1,29 +0,0 @@
-From 4a8a35f2c27be9f209cfc6f347e7a57a4a62e693 Mon Sep 17 00:00:00 2001
-From: Eric Larson <larson.eric.d at gmail.com>
-Date: Wed, 19 Dec 2018 10:50:47 -0500
-Subject: [PATCH] FIX: Fix encoding lines
-
----
- scipy/stats/_continuous_distns.py | 1 +
- scipy/stats/_stats_mstats_common.py | 3 +++
- 2 files changed, 4 insertions(+)
-
-diff --git a/scipy/stats/_continuous_distns.py b/scipy/stats/_continuous_distns.py
-index 44c05bb7d67..b48d7e7af32 100644
---- a/scipy/stats/_continuous_distns.py
-+++ b/scipy/stats/_continuous_distns.py
-@@ -1,3 +1,4 @@
-+# -*- encoding: utf-8 -*-
- #
- # Author: Travis Oliphant 2002-2011 with contributions from
- # SciPy Developers 2004-2011
-diff --git a/scipy/stats/_stats_mstats_common.py b/scipy/stats/_stats_mstats_common.py
-index e86c8287b48..be478da1f2a 100644
---- a/scipy/stats/_stats_mstats_common.py
-+++ b/scipy/stats/_stats_mstats_common.py
-@@ -1,3 +1,5 @@
-+# -*- encoding: utf-8 -*-
-+
- from collections import namedtuple
-
- import numpy as np
More information about the arch-commits
mailing list