[arch-commits] Commit in python-pmw/repos (4 files)

Evgeniy Alekseev arcanis at archlinux.org
Sat Sep 19 11:34:17 UTC 2015


    Date: Saturday, September 19, 2015 @ 13:34:17
  Author: arcanis
Revision: 140762

archrelease: copy trunk to community-staging-any

Added:
  python-pmw/repos/community-staging-any/
  python-pmw/repos/community-staging-any/ChangeLog
    (from rev 140761, python-pmw/trunk/ChangeLog)
  python-pmw/repos/community-staging-any/LICENSE.txt
    (from rev 140761, python-pmw/trunk/LICENSE.txt)
  python-pmw/repos/community-staging-any/PKGBUILD
    (from rev 140761, python-pmw/trunk/PKGBUILD)

-------------+
 ChangeLog   |   11 +++++++++++
 LICENSE.txt |   21 +++++++++++++++++++++
 PKGBUILD    |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 84 insertions(+)

Copied: python-pmw/repos/community-staging-any/ChangeLog (from rev 140761, python-pmw/trunk/ChangeLog)
===================================================================
--- community-staging-any/ChangeLog	                        (rev 0)
+++ community-staging-any/ChangeLog	2015-09-19 11:34:17 UTC (rev 140762)
@@ -0,0 +1,11 @@
+2.0.1-2:
+python3.5 rebuild
+
+2.0.1-1:
+upstream update
+
+2.0.0-2:
+rebuild according to FS#42100
+
+2.0.0-1:
+upstream update

Copied: python-pmw/repos/community-staging-any/LICENSE.txt (from rev 140761, python-pmw/trunk/LICENSE.txt)
===================================================================
--- community-staging-any/LICENSE.txt	                        (rev 0)
+++ community-staging-any/LICENSE.txt	2015-09-19 11:34:17 UTC (rev 140762)
@@ -0,0 +1,21 @@
+Copyright (c) 2007,2008  David M. Cooke <david.m.cooke at gmail.com>
+Copyright (c) 2009,2010  Francesc Alted <faltet at pytables.org>
+Copyright (c) 2011-      See AUTHORS.txt
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.

Copied: python-pmw/repos/community-staging-any/PKGBUILD (from rev 140761, python-pmw/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-09-19 11:34:17 UTC (rev 140762)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Evgeniy Alekseev <arcanis.arch at gmail dot com>
+# Contributor: kfgz <kfgz at interia dot pl>
+# Contributor: Michael Krauss <hippodriver at gmx dot net>
+# Contributor: dsa
+
+pkgbase=python-pmw
+pkgname=('python2-pmw' 'python-pmw')
+pkgver=2.0.1
+pkgrel=2
+pkgdesc="A toolkit for high-level compound widgets in Python using the Tkinter module"
+arch=('any')
+url="http://pmw.sourceforge.net/"
+license=('MIT')
+depends=('python' 'python2' 'tk')
+source=(${pkgbase}-${pkgver}.tar.gz::https://pypi.python.org/packages/source/P/Pmw/Pmw-${pkgver}.tar.gz
+        "LICENSE.txt")
+md5sums=('8080b0fabc731ff236f97e88e13b3938'
+         '28b047a148c1780eddcf4bed6b150123')
+changelog="ChangeLog"
+
+prepare() {
+  cp -r "Pmw-${pkgver}" "Pmw-${pkgver}-py2"
+  # change python to python2
+  cd "Pmw-${pkgver}-py2"
+  find . -name '*.py' -exec \
+      sed -i "s|python|python2|g" {} \;
+}
+
+build() {
+  cd "Pmw-${pkgver}"
+  python setup.py build
+
+  cd "../Pmw-${pkgver}-py2"
+  python2 setup.py build
+}
+
+package_python-pmw() {
+  depends=('python' 'tk')
+
+  cd "Pmw-${pkgver}"
+  python setup.py install --prefix=/usr --root="${pkgdir}"
+  install -Dm644 "${srcdir}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-pmw() {
+  depends=('python2' 'tk')
+
+  cd "Pmw-${pkgver}-py2"
+  python2 setup.py install --prefix=/usr --root="${pkgdir}"
+  install -Dm644 "${srcdir}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list