[arch-commits] Commit in python2-apptools/repos/community-any (PKGBUILD PKGBUILD)

Andrzej Giniewicz aginiewicz at archlinux.org
Sat Mar 21 11:06:53 UTC 2015


    Date: Saturday, March 21, 2015 @ 12:06:50
  Author: aginiewicz
Revision: 129680

archrelease: copy trunk to community-any

Added:
  python2-apptools/repos/community-any/PKGBUILD
    (from rev 129679, python2-apptools/trunk/PKGBUILD)
Deleted:
  python2-apptools/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   66 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 35 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-03-21 11:06:47 UTC (rev 129679)
+++ PKGBUILD	2015-03-21 11:06:50 UTC (rev 129680)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-
-pkgname=python2-apptools
-pkgver=4.3.0
-pkgrel=1
-pkgdesc="Application tools"
-arch=('any')
-url="https://github.com/enthought/apptools"
-license=('BSD')
-depends=('python2-configobj' 'python2-traitsui')
-makedepends=('python2-setuptools')
-options=(!emptydirs)
-
-source=("$pkgname-$pkgver.tar.gz::https://github.com/enthought/apptools/archive/${pkgver}.tar.gz")
-md5sums=('2edc7cdb8ddd87536bfdfa899531bc55')
-
-build() {
-  cd "$srcdir"/apptools-$pkgver
-
-  python2 setup.py build
-}
-
-package() {
-  cd "$srcdir"/apptools-$pkgver
-
-  python2 setup.py install --root="$pkgdir"/  --optimize=1
-
-  install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-

Copied: python2-apptools/repos/community-any/PKGBUILD (from rev 129679, python2-apptools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-03-21 11:06:50 UTC (rev 129680)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+pkgname=python2-apptools
+pkgver=4.3.0
+pkgrel=2
+pkgdesc="Application tools"
+arch=('any')
+url="https://github.com/enthought/apptools"
+license=('BSD')
+depends=('python2-configobj' 'python2-traitsui')
+makedepends=('python2-setuptools')
+options=(!emptydirs)
+
+source=("$pkgname-$pkgver.tar.gz::https://github.com/enthought/apptools/archive/${pkgver}.tar.gz")
+md5sums=('2edc7cdb8ddd87536bfdfa899531bc55')
+
+build() {
+  cd "$srcdir"/apptools-$pkgver
+
+  # force selection of wxpython 2.8
+  # (see https://github.com/enthought/pyface/issues/96)
+  sed -e "s/^\(.*\)import wx$/\1import wxversion\n\1wxversion.select(\"2.8\")\n\1import wx/g" -i $(find . -name '*.py')
+
+  python2 setup.py build
+}
+
+package() {
+  cd "$srcdir"/apptools-$pkgver
+
+  python2 setup.py install --root="$pkgdir"/  --optimize=1
+
+  install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+



More information about the arch-commits mailing list