[arch-commits] Commit in python2-pyqwt/repos (8 files)

2015-12-06 Thread Evangelos Foutras
Date: Monday, December 7, 2015 @ 07:38:41
  Author: foutrelis
Revision: 149657

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  python2-pyqwt/repos/community-staging-i686/
  python2-pyqwt/repos/community-staging-i686/PKGBUILD
(from rev 149656, python2-pyqwt/trunk/PKGBUILD)
  python2-pyqwt/repos/community-staging-i686/pyqtconfig.py
(from rev 149656, python2-pyqwt/trunk/pyqtconfig.py)
  python2-pyqwt/repos/community-staging-i686/qplt.py-r1.21.patch
(from rev 149656, python2-pyqwt/trunk/qplt.py-r1.21.patch)
  python2-pyqwt/repos/community-staging-x86_64/
  python2-pyqwt/repos/community-staging-x86_64/PKGBUILD
(from rev 149656, python2-pyqwt/trunk/PKGBUILD)
  python2-pyqwt/repos/community-staging-x86_64/pyqtconfig.py
(from rev 149656, python2-pyqwt/trunk/pyqtconfig.py)
  python2-pyqwt/repos/community-staging-x86_64/qplt.py-r1.21.patch
(from rev 149656, python2-pyqwt/trunk/qplt.py-r1.21.patch)

--+
 community-staging-i686/PKGBUILD  |   57 +++
 community-staging-i686/pyqtconfig.py |  407 +
 community-staging-i686/qplt.py-r1.21.patch   |   12 
 community-staging-x86_64/PKGBUILD|   57 +++
 community-staging-x86_64/pyqtconfig.py   |  407 +
 community-staging-x86_64/qplt.py-r1.21.patch |   12 
 6 files changed, 952 insertions(+)

Copied: python2-pyqwt/repos/community-staging-i686/PKGBUILD (from rev 149656, 
python2-pyqwt/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-07 06:38:41 UTC (rev 149657)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz 
+# Contributor: Eugen Zagorodniy 
+# Contributor: Olaf Leidinger 
+# Contributer: Henning Garus 
+# Contributor: Thomas Burdick 
+# Contributor: Kyle Keen 
+
+# probably should be a split package to anticipate
+# python{2,3}-qwt{5,6}-qt{4,5} permutations
+
+pkgname=python2-pyqwt
+pkgver=5.2.0
+pkgrel=2
+pkgdesc="Python bindings for Qt Widgets for Technical Applications"
+arch=("i686" "x86_64")
+url="http://pyqwt.sourceforge.net/;
+depends=('python2-pyqt' 'python2-numpy' 'qwt5' 'sip')
+options=('!makeflags')
+license=("GPL")
+provides=('pyqwt')
+conflicts=('pyqwt')
+source=("http://downloads.sourceforge.net/sourceforge/pyqwt/PyQwt-$pkgver.tar.gz;
+"qplt.py-r1.21.patch"
+"pyqtconfig.py"
+)
+md5sums=('fcd6c6029090d473dcc9df497516eae7'
+ '30011f9139ad12ddbeac79c6a45d4b43'
+ '954bc3020a8b5b164b0f49f2ef1e4a6c')
+build() {
+  cd "$srcdir/PyQwt-$pkgver"
+
+  patch -p1 < ../qplt.py-r1.21.patch
+
+  cd configure
+  # pyqtconfig.py came from a modified python2-pyqt4
+  # version numbers will need tweaking with pyqt updates
+  cp "$srcdir/pyqtconfig.py" ./
+  sed -i "s|-march=native|-march=${CARCH/_/-}|g" -i pyqtconfig.py
+
+  sed -i "s/'qmake'/'qmake-qt4'/" configure.py
+  sed -i "s/'qwt'/'qwt5'/" configure.py
+  sed -i "s/PyQt4.pyqtconfig/pyqtconfig/" configure.py
+  python2 configure.py -I/usr/include/qwt5 -lqwt5 -I/usr/include/qt4 \
+--disable-numarray --disable-numeric
+  sed -i "s|/usr/include/Qt|/usr/include/qt4/Qt|g" iqt5qt4/Makefile
+  sed -i "s|/usr/include/Qt|/usr/include/qt4/Qt|g" qwt5qt4/Makefile
+  make
+  sed -i -e "s|env python$|env python2|" $(find "$srcdir" -name '*.py')
+}
+
+package() {
+  cd "$srcdir/PyQwt-$pkgver/configure"
+
+  make DESTDIR="$pkgdir" install
+}
+

Copied: python2-pyqwt/repos/community-staging-i686/pyqtconfig.py (from rev 
149656, python2-pyqwt/trunk/pyqtconfig.py)
===
--- community-staging-i686/pyqtconfig.py(rev 0)
+++ community-staging-i686/pyqtconfig.py2015-12-07 06:38:41 UTC (rev 
149657)
@@ -0,0 +1,407 @@
+# Copyright (c) 2014 Riverbank Computing Limited 
+# 
+# This file is part of PyQt.
+# 
+# This file may be used under the terms of the GNU General Public
+# License versions 2.0 or 3.0 as published by the Free Software
+# Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
+# included in the packaging of this file.  Alternatively you may (at
+# your option) use any later version of the GNU General Public
+# License if such license has been publicly approved by Riverbank
+# Computing Limited (or its successors, if any) and the KDE Free Qt
+# Foundation. In addition, as a special exception, Riverbank gives you
+# certain additional rights. These rights are described in the Riverbank
+# GPL Exception version 1.1, which can be found in the file
+# GPL_EXCEPTION.txt in this package.
+# 
+# If you are unsure which license is appropriate for your use, please
+# contact the sales department at 

[arch-commits] Commit in python2-pyqwt/repos (8 files)

2015-03-15 Thread Kyle Keen
Date: Sunday, March 15, 2015 @ 16:02:39
  Author: kkeen
Revision: 129297

archrelease: copy trunk to community-i686, community-x86_64

Added:
  python2-pyqwt/repos/community-i686/
  python2-pyqwt/repos/community-i686/PKGBUILD
(from rev 129296, python2-pyqwt/trunk/PKGBUILD)
  python2-pyqwt/repos/community-i686/pyqtconfig.py
(from rev 129296, python2-pyqwt/trunk/pyqtconfig.py)
  python2-pyqwt/repos/community-i686/qplt.py-r1.21.patch
(from rev 129296, python2-pyqwt/trunk/qplt.py-r1.21.patch)
  python2-pyqwt/repos/community-x86_64/
  python2-pyqwt/repos/community-x86_64/PKGBUILD
(from rev 129296, python2-pyqwt/trunk/PKGBUILD)
  python2-pyqwt/repos/community-x86_64/pyqtconfig.py
(from rev 129296, python2-pyqwt/trunk/pyqtconfig.py)
  python2-pyqwt/repos/community-x86_64/qplt.py-r1.21.patch
(from rev 129296, python2-pyqwt/trunk/qplt.py-r1.21.patch)

--+
 community-i686/PKGBUILD  |   57 
 community-i686/pyqtconfig.py |  407 +
 community-i686/qplt.py-r1.21.patch   |   12 
 community-x86_64/PKGBUILD|   57 
 community-x86_64/pyqtconfig.py   |  407 +
 community-x86_64/qplt.py-r1.21.patch |   12 
 6 files changed, 952 insertions(+)

Copied: python2-pyqwt/repos/community-i686/PKGBUILD (from rev 129296, 
python2-pyqwt/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-03-15 15:02:39 UTC (rev 129297)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz ggi...@gmail.com
+# Contributor: Eugen Zagorodniy e dot zagorodniy at gmail dot com
+# Contributor: Olaf Leidinger leid...@newcon.de
+# Contributer: Henning Garus henning.ga...@gmail.com
+# Contributor: Thomas Burdick thomas.burd...@gmail.com
+# Contributor: Kyle Keen keen...@gmail.com
+
+# probably should be a split package to anticipate
+# python{2,3}-qwt{5,6}-qt{4,5} permutations
+
+pkgname=python2-pyqwt
+pkgver=5.2.0
+pkgrel=1
+pkgdesc=Python bindings for Qt Widgets for Technical Applications
+arch=(i686 x86_64)
+url=http://pyqwt.sourceforge.net/;
+depends=('python2-pyqt' 'python2-numpy' 'qwt5' 'sip')
+options=('!makeflags')
+license=(GPL)
+provides=('pyqwt')
+conflicts=('pyqwt')
+source=(http://downloads.sourceforge.net/sourceforge/pyqwt/PyQwt-$pkgver.tar.gz;
+qplt.py-r1.21.patch
+pyqtconfig.py
+)
+md5sums=('fcd6c6029090d473dcc9df497516eae7'
+ '30011f9139ad12ddbeac79c6a45d4b43'
+ '954bc3020a8b5b164b0f49f2ef1e4a6c')
+build() {
+  cd $srcdir/PyQwt-$pkgver
+
+  patch -p1  ../qplt.py-r1.21.patch
+
+  cd configure
+  # pyqtconfig.py came from a modified python2-pyqt4
+  # version numbers will need tweaking with pyqt updates
+  cp $srcdir/pyqtconfig.py ./
+  sed -i s|-march=native|-march=${CARCH/_/-}|g -i pyqtconfig.py
+
+  sed -i s/'qmake'/'qmake-qt4'/ configure.py
+  sed -i s/'qwt'/'qwt5'/ configure.py
+  sed -i s/PyQt4.pyqtconfig/pyqtconfig/ configure.py
+  python2 configure.py -I/usr/include/qwt5 -lqwt5 -I/usr/include/qt4 \
+--disable-numarray --disable-numeric
+  sed -i s|/usr/include/Qt|/usr/include/qt4/Qt|g iqt5qt4/Makefile
+  sed -i s|/usr/include/Qt|/usr/include/qt4/Qt|g qwt5qt4/Makefile
+  make
+  sed -i -e s|env python$|env python2| $(find $srcdir -name '*.py')
+}
+
+package() {
+  cd $srcdir/PyQwt-$pkgver/configure
+
+  make DESTDIR=$pkgdir install
+}
+

Copied: python2-pyqwt/repos/community-i686/pyqtconfig.py (from rev 129296, 
python2-pyqwt/trunk/pyqtconfig.py)
===
--- community-i686/pyqtconfig.py(rev 0)
+++ community-i686/pyqtconfig.py2015-03-15 15:02:39 UTC (rev 129297)
@@ -0,0 +1,407 @@
+# Copyright (c) 2014 Riverbank Computing Limited i...@riverbankcomputing.com
+# 
+# This file is part of PyQt.
+# 
+# This file may be used under the terms of the GNU General Public
+# License versions 2.0 or 3.0 as published by the Free Software
+# Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
+# included in the packaging of this file.  Alternatively you may (at
+# your option) use any later version of the GNU General Public
+# License if such license has been publicly approved by Riverbank
+# Computing Limited (or its successors, if any) and the KDE Free Qt
+# Foundation. In addition, as a special exception, Riverbank gives you
+# certain additional rights. These rights are described in the Riverbank
+# GPL Exception version 1.1, which can be found in the file
+# GPL_EXCEPTION.txt in this package.
+# 
+# If you are unsure which license is appropriate for your use, please
+# contact the sales department at sa...@riverbankcomputing.com.
+# 
+# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+#
+# This module is