Date: Tuesday, June 27, 2017 @ 12:15:22 Author: archange Revision: 241156
archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: wxpython/repos/community-testing-i686/ wxpython/repos/community-testing-i686/PKGBUILD (from rev 241155, wxpython/trunk/PKGBUILD) wxpython/repos/community-testing-x86_64/ wxpython/repos/community-testing-x86_64/PKGBUILD (from rev 241155, wxpython/trunk/PKGBUILD) -----------------------------------+ community-testing-i686/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++ community-testing-x86_64/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) Copied: wxpython/repos/community-testing-i686/PKGBUILD (from rev 241155, wxpython/trunk/PKGBUILD) =================================================================== --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-06-27 12:15:22 UTC (rev 241156) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Eric Bélanger <e...@archlinux.org> + +pkgname=wxpython +pkgver=3.0.2.0 +pkgrel=4 +pkgdesc="A wxWidgets GUI toolkit for Python" +arch=('i686' 'x86_64') +license=('custom:wxWindows') +url="https://www.wxpython.org" +depends=('wxgtk3' 'python2') +makedepends=('mesa' 'glu') +source=("https://downloads.sourceforge.net/wxpython/wxPython-src-${pkgver}.tar.bz2") +sha256sums=('d54129e5fbea4fb8091c87b2980760b72c22a386cb3b9dd2eebc928ef5e8df61') + +prepare() { + find . -type f -exec sed -i 's/env python/env python2/' {} \; +} + +build() { + cd wxPython-src-${pkgver} + ./configure \ + --prefix=/usr \ + --libdir=/usr/lib \ + --includedir=/usr/include \ + --with-gtk=3 \ + --with-opengl \ + --enable-unicode \ + --enable-graphics_ctx \ + --disable-precomp-headers \ + --with-regex=sys \ + --with-libpng=sys \ + --with-libxpm=sys \ + --with-libjpeg=sys \ + --with-libtiff=sys \ + --with-wx-config=/usr/bin/wx-config-gtk3 + cd wxPython + python2 setup.py WX_CONFIG=/usr/bin/wx-config-gtk3 WXPORT=gtk3 UNICODE=1 build +} + +package() { + cd wxPython-src-${pkgver}/wxPython + python2 setup.py WX_CONFIG=/usr/bin/wx-config-gtk3 WXPORT=gtk3 UNICODE=1 install --root="${pkgdir}" + install -Dm644 ../docs/licence.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} Copied: wxpython/repos/community-testing-x86_64/PKGBUILD (from rev 241155, wxpython/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-06-27 12:15:22 UTC (rev 241156) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Eric Bélanger <e...@archlinux.org> + +pkgname=wxpython +pkgver=3.0.2.0 +pkgrel=4 +pkgdesc="A wxWidgets GUI toolkit for Python" +arch=('i686' 'x86_64') +license=('custom:wxWindows') +url="https://www.wxpython.org" +depends=('wxgtk3' 'python2') +makedepends=('mesa' 'glu') +source=("https://downloads.sourceforge.net/wxpython/wxPython-src-${pkgver}.tar.bz2") +sha256sums=('d54129e5fbea4fb8091c87b2980760b72c22a386cb3b9dd2eebc928ef5e8df61') + +prepare() { + find . -type f -exec sed -i 's/env python/env python2/' {} \; +} + +build() { + cd wxPython-src-${pkgver} + ./configure \ + --prefix=/usr \ + --libdir=/usr/lib \ + --includedir=/usr/include \ + --with-gtk=3 \ + --with-opengl \ + --enable-unicode \ + --enable-graphics_ctx \ + --disable-precomp-headers \ + --with-regex=sys \ + --with-libpng=sys \ + --with-libxpm=sys \ + --with-libjpeg=sys \ + --with-libtiff=sys \ + --with-wx-config=/usr/bin/wx-config-gtk3 + cd wxPython + python2 setup.py WX_CONFIG=/usr/bin/wx-config-gtk3 WXPORT=gtk3 UNICODE=1 build +} + +package() { + cd wxPython-src-${pkgver}/wxPython + python2 setup.py WX_CONFIG=/usr/bin/wx-config-gtk3 WXPORT=gtk3 UNICODE=1 install --root="${pkgdir}" + install -Dm644 ../docs/licence.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +}