[arch-commits] Commit in python-matplotlib/trunk (PKGBUILD setup.cfg)
Bruno Pagani
archange at archlinux.org
Tue Dec 31 01:10:04 UTC 2019
Date: Tuesday, December 31, 2019 @ 01:10:03
Author: archange
Revision: 545034
upgpkg: python-matplotlib 3.1.2-1
Tests data are always present in the source directory, the setup.cfg knob only
controls their actual installation to the system, which we don't want.
Modified:
python-matplotlib/trunk/PKGBUILD
Deleted:
python-matplotlib/trunk/setup.cfg
-----------+
PKGBUILD | 24 +++++-------------------
setup.cfg | 4 ----
2 files changed, 5 insertions(+), 23 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-31 00:39:52 UTC (rev 545033)
+++ PKGBUILD 2019-12-31 01:10:03 UTC (rev 545034)
@@ -6,8 +6,8 @@
# Contributor: Douglas Soares de Andrade <dsa at aur.archlinux.org>
pkgname=python-matplotlib
-pkgver=3.1.1
-pkgrel=4
+pkgver=3.1.2
+pkgrel=1
pkgdesc="A python plotting library, making publication quality plots"
arch=(x86_64)
url="https://matplotlib.org"
@@ -34,23 +34,9 @@
checkdepends=(python-pytest-xdist python-pytest-runner xorg-server-xvfb
texlive-core texlive-latexextra inkscape mencoder
ffmpeg imagemagick python-pandas)
-source=("https://github.com/matplotlib/matplotlib/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
- setup.cfg
- matplotlib-python-3.8-warning.patch::"https://github.com/matplotlib/matplotlib/commit/4651a125.patch")
-sha512sums=('157ced0cdcb17c9c82f897ee1621ea06a063491ce7393cda4c74a07a970c49385167b5cf32c1666a2933af50ccc53811cf871b6465b796a42abf4a358c76f6c0'
- '77f37e460b17afb5fed12eee6fe48fd48642301f45bb80eb3a02592b74beb32357b0707454aaf8d3e573105726b9bdbaac944c09fb617df4db2df5d1d33fd133'
- '443e1a8c088340c9c7d89008e770475d0935c51d84a1e7bfea56ac53f7d48fc0530c05e68b33aa07a92dd621cfc3f9b8227c65692dfeb53d72119b47236ac8fd')
+source=("https://github.com/matplotlib/matplotlib/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('514e66ff76381dccb185a8b8dee44ecbf5108e99ecc5ce46b56750e2a62b782e2b67f0ba02b01545541a1499ffe2347b6bc502077455d8a742796161017cba42')
-prepare() {
- cp -a matplotlib-${pkgver}{,-test}
-
- # Configure tests (FS#48175)
- cp setup.cfg matplotlib-${pkgver}-test/
-
- cd matplotlib-$pkgver
- patch -p1 -i ../matplotlib-python-3.8-warning.patch # Fix deprecation warnings with python 3.8
-}
-
build() {
cd matplotlib-${pkgver}
python setup.py build
@@ -57,7 +43,7 @@
}
check() {
- cd matplotlib-${pkgver}-test
+ cd matplotlib-${pkgver}
xvfb-run -a -s "+extension GLX +extension RANDR +render -screen 0 1280x1024x24" \
python setup.py pytest --addopts="-n auto" || warning "Tests failed" # Different font rendering details
}
Deleted: setup.cfg
===================================================================
--- setup.cfg 2019-12-31 00:39:52 UTC (rev 545033)
+++ setup.cfg 2019-12-31 01:10:03 UTC (rev 545034)
@@ -1,4 +0,0 @@
-[packages]
-tests = True
-toolkits_tests = True
-local_freetype = True
\ No newline at end of file
More information about the arch-commits
mailing list