[arch-commits] Commit in python-wxpython/repos/community-x86_64 (3 files)
Balló György
bgyorgy at archlinux.org
Tue Apr 10 09:58:24 UTC 2018
Date: Tuesday, April 10, 2018 @ 09:58:21
Author: bgyorgy
Revision: 315553
archrelease: copy trunk to community-x86_64
Added:
python-wxpython/repos/community-x86_64/PKGBUILD
(from rev 315552, python-wxpython/trunk/PKGBUILD)
Deleted:
python-wxpython/repos/community-x86_64/PKGBUILD
python-wxpython/repos/community-x86_64/unbundle-sip.patch
--------------------+
PKGBUILD | 61 +++++++++++++++++++++------------------------------
unbundle-sip.patch | 58 ------------------------------------------------
2 files changed, 26 insertions(+), 93 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-10 09:58:03 UTC (rev 315552)
+++ PKGBUILD 2018-04-10 09:58:21 UTC (rev 315553)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-
-pkgname=python-wxpython
-pkgver=4.0.1
-pkgrel=1
-pkgdesc="Phoenix wxWidgets GUI toolkit for Python"
-arch=('x86_64')
-license=('custom:wxWindows')
-url="https://www.wxpython.org"
-depends=('wxgtk3' 'python-setuptools' 'python-sip' 'python-six')
-makedepends=('mesa' 'glu')
-source=("https://github.com/wxWidgets/Phoenix/releases/download/wxPython-${pkgver}/wxPython-${pkgver}.tar.gz"
- "unbundle-sip.patch")
-sha256sums=('f8f2ac1a75368b9b103259addc77f4e3dfe729c6d70aa1fd0b7e9c5b6075c710'
- '060badc5667993cd4120c8779f812d892d9a46816287b622af02756bb330cc9f')
-
-prepare() {
- cd wxPython-${pkgver}
- patch -Np1 -i ../unbundle-sip.patch
- find -name '*.py' | xargs sed -i 's/wx.siplib/sip/'
- rm -rf sip
-}
-
-build() {
- cd wxPython-${pkgver}
- python3 setup.py build
-}
-
-package() {
- cd wxPython-${pkgver}
- python3 setup.py install --root="${pkgdir}" --optimize=1
- install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
- find "$pkgdir/usr/lib" -type f | xargs chmod 644
-}
Copied: python-wxpython/repos/community-x86_64/PKGBUILD (from rev 315552, python-wxpython/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-04-10 09:58:21 UTC (rev 315553)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=python-wxpython
+pkgver=4.0.1
+pkgrel=2
+pkgdesc="Phoenix wxWidgets GUI toolkit for Python"
+arch=('x86_64')
+license=('custom:wxWindows')
+url="https://www.wxpython.org"
+depends=('wxgtk3' 'python-setuptools' 'python-six')
+makedepends=('mesa' 'glu' 'webkit2gtk')
+source=("https://github.com/wxWidgets/Phoenix/releases/download/wxPython-${pkgver}/wxPython-${pkgver}.tar.gz")
+sha256sums=('f8f2ac1a75368b9b103259addc77f4e3dfe729c6d70aa1fd0b7e9c5b6075c710')
+
+build() {
+ cd wxPython-${pkgver}
+ python3 setup.py build
+}
+
+package() {
+ cd wxPython-${pkgver}
+ python3 setup.py install --root="${pkgdir}" --optimize=1
+ install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
+ find "$pkgdir/usr/lib" -type f | xargs chmod 644
+}
Deleted: unbundle-sip.patch
===================================================================
--- unbundle-sip.patch 2018-04-10 09:58:03 UTC (rev 315552)
+++ unbundle-sip.patch 2018-04-10 09:58:21 UTC (rev 315553)
@@ -1,58 +0,0 @@
-diff --git a/wscript b/wscript
---- a/wscript
-+++ b/wscript
-@@ -95,8 +95,8 @@
- conf.env.debug = conf.options.debug
- conf.env.msvc_relwithdebug = conf.options.msvc_relwithdebug
-
-- # Ensure that the headers in siplib and Phoenix's src dir can be found
-- conf.env.INCLUDES_WXPY = ['sip/siplib', 'src']
-+ # Ensure that the headers in Phoenix's src dir can be found
-+ conf.env.INCLUDES_WXPY = ['src']
-
- if isWindows:
- # Windows/MSVC specific stuff
-@@ -505,26 +505,6 @@
- copy_file(name, cfg.PKGDIR, update=1, verbose=1)
-
-
-- # Create the build tasks for each of our extension modules.
-- addRelwithdebugFlags(bld, 'siplib')
-- siplib = bld(
-- features = 'c cxx cshlib cxxshlib pyext',
-- target = makeTargetName(bld, 'siplib'),
-- source = ['sip/siplib/apiversions.c',
-- 'sip/siplib/array.c',
-- 'sip/siplib/bool.cpp',
-- 'sip/siplib/descriptors.c',
-- 'sip/siplib/int_convertors.c',
-- 'sip/siplib/objmap.c',
-- 'sip/siplib/qtlib.c',
-- 'sip/siplib/siplib.c',
-- 'sip/siplib/threads.c',
-- 'sip/siplib/voidptr.c',
-- ],
-- uselib = 'siplib WX WXPY',
-- )
-- makeExtCopyRule(bld, 'siplib')
--
- # Add build rules for each of our ETG generated extension modules
- makeETGRule(bld, 'etg/_core.py', '_core', 'WX')
- makeETGRule(bld, 'etg/_adv.py', '_adv', 'WXADV')
-@@ -613,14 +593,14 @@
-
- # Make extension module build rules using info gleaned from an ETG script
- def makeETGRule(bld, etgScript, moduleName, libFlags):
-- from buildtools.config import loadETG, getEtgSipCppFiles
-+ from buildtools.config import loadETG
-
- addRelwithdebugFlags(bld, moduleName)
- rc = ['src/wxc.rc'] if isWindows else []
- etg = loadETG(etgScript)
- bld(features='c cxx cxxshlib pyext',
- target=makeTargetName(bld, moduleName),
-- source=getEtgSipCppFiles(etg) + rc,
-+ source=rc,
- uselib='{} {} WXPY'.format(moduleName, libFlags),
- )
- makeExtCopyRule(bld, moduleName)
More information about the arch-commits
mailing list