[arch-commits] Commit in python-wxpython/trunk (PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Thu Nov 21 22:38:03 UTC 2019
Date: Thursday, November 21, 2019 @ 22:38:02
Author: foxboron
Revision: 531437
upgpkg: python-wxpython 4.0.7-1
Modified:
python-wxpython/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-21 22:37:15 UTC (rev 531436)
+++ PKGBUILD 2019-11-21 22:38:02 UTC (rev 531437)
@@ -1,10 +1,11 @@
# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
# Contributor: Eric Bélanger <eric at archlinux.org>
pkgname=python-wxpython
_pkgname=wxPython
-pkgver=4.0.6
-pkgrel=3
+pkgver=4.0.7
+pkgrel=1
pkgdesc='Cross-platform GUI toolkit'
arch=('x86_64')
license=('custom:wxWindows')
@@ -13,27 +14,27 @@
optdepends=('python-pypubsub: Alternative to the deprecated wx.lib.pubsub API')
makedepends=('mesa' 'glu' 'webkit2gtk' 'python-pathlib2' 'python-requests' 'python-setuptools')
checkdepends=('xorg-server-xvfb' 'python-pytest' 'python-numpy')
-source=("https://files.pythonhosted.org/packages/source/w/wxPython/wxPython-$pkgver.tar.gz")
-sha512sums=('bfe799e1a0987cb57f2e31199cdb522471aaa08bb3b642fdf4130f4219b81487d4b6252f7a8afd3af7cdaeef2e992cecfc581e97d8b42307a4e0a8c9009db301')
+source=("https://files.pythonhosted.org/packages/source/w/wxPython/wxPython-$pkgver.post2.tar.gz")
+sha512sums=('7af89db90a0f7e6b644d61c1ede01ec36a2c295e46d44692ae9dbc4af923310c1b498a52f45b02a89e8917d844c6abe67e5f3fdd9c1d51da3312899319a349e4')
prepare() {
- sed -i "s|WX_CONFIG = 'wx-config'|WX_CONFIG = 'wx-config-gtk3'|" $_pkgname-$pkgver/build.py
+ sed -i "s|WX_CONFIG = 'wx-config'|WX_CONFIG = 'wx-config-gtk3'|" $_pkgname-$pkgver.post2/build.py
}
build() {
- cd $_pkgname-$pkgver
+ cd "$_pkgname-$pkgver.post2"
python build.py build --use_syswx --release
}
check() {
- cd $_pkgname-$pkgver
+ cd "$_pkgname-$pkgver.post2"
xvfb-run python build.py test
}
package() {
- cd $_pkgname-$pkgver
+ cd "$_pkgname-$pkgver.post2"
python build.py install --destdir="$pkgdir"
More information about the arch-commits
mailing list