[arch-commits] Commit in python-matplotlib/trunk (PKGBUILD setup.cfg)
Date: Monday, February 15, 2016 @ 04:43:13 Author: fyan Revision: 161586 upgpkg: python-matplotlib 1.5.1-2 remove test and sample data (FS#48175) Added: python-matplotlib/trunk/setup.cfg Modified: python-matplotlib/trunk/PKGBUILD ---+ PKGBUILD | 11 --- setup.cfg |4 2 files changed, 12 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-02-15 00:40:44 UTC (rev 161585) +++ PKGBUILD2016-02-15 03:43:13 UTC (rev 161586) @@ -8,7 +8,7 @@ pkgbase=python-matplotlib pkgname=('python2-matplotlib' 'python-matplotlib') pkgver=1.5.1 -pkgrel=1 +pkgrel=2 pkgdesc="A python plotting library, making publication quality plots" arch=('i686' 'x86_64') url='http://matplotlib.org' @@ -23,10 +23,15 @@ 'python-tornado' 'python2-tornado' 'gtk3' 'wxpython' 'python-pyqt5' 'python2-pyqt5' 'libxkbcommon-x11' 'python-pillow' 'python2-pillow' 'python-setuptools' 'python2-setuptools' 'python-cycler' 'python2-cycler') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/matplotlib/matplotlib/archive/v$pkgver.tar.gz";) -sha512sums=('82df20b18d4008ffed2b7098cbfede109a1054c995b5683b384adbdac62371b9fbb776fd735adf2e5f03d3ba0c2fed869f2f54b0bb1e969e82af5110613b0149') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/matplotlib/matplotlib/archive/v$pkgver.tar.gz"; +setup.cfg) +sha512sums=('da99fffcb4fb600ed4386ce89e61725768d4209f3bd4ab174e0d8474c24b2736516a4299ceaa0714b276d7d02c3e33e39a6204e014569ec3f6249085b1ba7a0d' + '493a08914755d7d27d98025fc309f19cc3ec45e777fc81a56fa50430f90c0b39c2f66c2a01f6fd14a2e351005151365a25d2ab71ae2e80a54c6f57ceeacea35b') prepare() { + # Remove tests (FS#48175) + cp "$srcdir/setup.cfg" "matplotlib-$pkgver"/ + cp -a matplotlib-${pkgver} matplotlib-${pkgver}-py2 cd matplotlib-${pkgver} Added: setup.cfg === --- setup.cfg (rev 0) +++ setup.cfg 2016-02-15 03:43:13 UTC (rev 161586) @@ -0,0 +1,4 @@ +[packages] +tests = False +sample_data = False +toolkits = True
[arch-commits] Commit in python-matplotlib/trunk (PKGBUILD setup.cfg)
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 === --- PKGBUILD2019-12-31 00:39:52 UTC (rev 545033) +++ PKGBUILD2019-12-31 01:10:03 UTC (rev 545034) @@ -6,8 +6,8 @@ # Contributor: Douglas Soares de Andrade 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
[arch-commits] Commit in python-matplotlib/trunk (PKGBUILD setup.cfg)
Date: Thursday, August 22, 2019 @ 07:45:52 Author: felixonmars Revision: 500492 upgpkg: python-matplotlib 3.1.1-1 Modified: python-matplotlib/trunk/PKGBUILD python-matplotlib/trunk/setup.cfg ---+ PKGBUILD |4 ++-- setup.cfg |1 + 2 files changed, 3 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-08-22 06:17:34 UTC (rev 500491) +++ PKGBUILD2019-08-22 07:45:52 UTC (rev 500492) @@ -33,11 +33,11 @@ # agg missing some non-upstreamed patches? checkdepends=(python-pytest-xdist python-pytest-runner xorg-server-xvfb texlive-core texlive-latexextra inkscape mencoder - ffmpeg imagemagick ttf-freefont python-pandas) + ffmpeg imagemagick python-pandas) source=("https://github.com/matplotlib/matplotlib/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz"; setup.cfg) sha512sums=('157ced0cdcb17c9c82f897ee1621ea06a063491ce7393cda4c74a07a970c49385167b5cf32c1666a2933af50ccc53811cf871b6465b796a42abf4a358c76f6c0' - 'f08c0b2e94599fdf2b736b8a655d862209934441d90f20ed872cfc128b8d2a6525763ab7cf64f2b3630e22a90798f4c52aa93b18087e9b48708d9bae34aada0b') + '77f37e460b17afb5fed12eee6fe48fd48642301f45bb80eb3a02592b74beb32357b0707454aaf8d3e573105726b9bdbaac944c09fb617df4db2df5d1d33fd133') prepare() { cp -a matplotlib-${pkgver}{,-test} Modified: setup.cfg === --- setup.cfg 2019-08-22 06:17:34 UTC (rev 500491) +++ setup.cfg 2019-08-22 07:45:52 UTC (rev 500492) @@ -1,3 +1,4 @@ [packages] tests = True toolkits_tests = True +local_freetype = True \ No newline at end of file