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

Evgeniy Alekseev arcanis at nymeria.archlinux.org
Tue Nov 12 22:26:42 UTC 2013


    Date: Tuesday, November 12, 2013 @ 23:26:42
  Author: arcanis
Revision: 100892

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

Added:
  python-pmw/repos/community-staging-i686/
  python-pmw/repos/community-staging-i686/LICENSE.txt
    (from rev 100891, python-pmw/trunk/LICENSE.txt)
  python-pmw/repos/community-staging-i686/PKGBUILD
    (from rev 100891, python-pmw/trunk/PKGBUILD)
  python-pmw/repos/community-staging-x86_64/
  python-pmw/repos/community-staging-x86_64/LICENSE.txt
    (from rev 100891, python-pmw/trunk/LICENSE.txt)
  python-pmw/repos/community-staging-x86_64/PKGBUILD
    (from rev 100891, python-pmw/trunk/PKGBUILD)

--------------------------------------+
 community-staging-i686/LICENSE.txt   |   21 +++++++++++++++++++++
 community-staging-i686/PKGBUILD      |   31 +++++++++++++++++++++++++++++++
 community-staging-x86_64/LICENSE.txt |   21 +++++++++++++++++++++
 community-staging-x86_64/PKGBUILD    |   31 +++++++++++++++++++++++++++++++
 4 files changed, 104 insertions(+)

Copied: python-pmw/repos/community-staging-i686/LICENSE.txt (from rev 100891, python-pmw/trunk/LICENSE.txt)
===================================================================
--- community-staging-i686/LICENSE.txt	                        (rev 0)
+++ community-staging-i686/LICENSE.txt	2013-11-12 22:26:42 UTC (rev 100892)
@@ -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-i686/PKGBUILD (from rev 100891, python-pmw/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2013-11-12 22:26:42 UTC (rev 100892)
@@ -0,0 +1,31 @@
+# Maintainer: Evgeniy Alekseev <arcanis dot arch at gmail dot com>
+# Contributor: kfgz <kfgz at interia pl>
+# Contributor: Michael Krauss <hippodriver at gmx dot net>
+# Contributor: dsa
+
+pkgname=python-pmw
+pkgver=1.3.3b
+pkgrel=2
+pkgdesc="A toolkit for high-level compound widgets in Python using the Tkinter module"
+arch=('i686' 'x86_64')
+url="http://pmw.sourceforge.net/doc/index.html"
+license=('MIT')
+depends=('python2' 'tk')
+source=(${pkgname}-${pkgver}.tar.gz::http://sourceforge.net/projects/pmw/files/Pmw/Pmw.1.3.3/Pmw_1_3_3b.tar.gz/download
+        "LICENSE.txt")
+md5sums=('d8b998b921584db32a5eeeddc6bc606c'
+         '28b047a148c1780eddcf4bed6b150123')
+
+package() {
+  cd "Pmw"
+  python2 setup.py build
+  python2 setup.py install --prefix=/usr --root="${pkgdir}"
+  
+  # change python to python2
+  sed -i "s|python|python2|g" "${pkgdir}/usr/lib/python2.7/site-packages/Pmw/Pmw_1_3_3/tests/ManualTests.py"
+  sed -i "s|python|python2|g" "${pkgdir}/usr/lib/python2.7/site-packages/Pmw/Pmw_1_3_3/demos/All.py"
+  sed -i "s|python|python2|g" "${pkgdir}/usr/lib/python2.7/site-packages/Pmw/Pmw_1_3_3/tests/All.py"
+  sed -i "s|python|python2|g" "${pkgdir}/usr/lib/python2.7/site-packages/Pmw/Pmw_1_3_3/bin/bundlepmw.py"
+  
+  install -D -m644 "${srcdir}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Copied: python-pmw/repos/community-staging-x86_64/LICENSE.txt (from rev 100891, python-pmw/trunk/LICENSE.txt)
===================================================================
--- community-staging-x86_64/LICENSE.txt	                        (rev 0)
+++ community-staging-x86_64/LICENSE.txt	2013-11-12 22:26:42 UTC (rev 100892)
@@ -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-x86_64/PKGBUILD (from rev 100891, python-pmw/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2013-11-12 22:26:42 UTC (rev 100892)
@@ -0,0 +1,31 @@
+# Maintainer: Evgeniy Alekseev <arcanis dot arch at gmail dot com>
+# Contributor: kfgz <kfgz at interia pl>
+# Contributor: Michael Krauss <hippodriver at gmx dot net>
+# Contributor: dsa
+
+pkgname=python-pmw
+pkgver=1.3.3b
+pkgrel=2
+pkgdesc="A toolkit for high-level compound widgets in Python using the Tkinter module"
+arch=('i686' 'x86_64')
+url="http://pmw.sourceforge.net/doc/index.html"
+license=('MIT')
+depends=('python2' 'tk')
+source=(${pkgname}-${pkgver}.tar.gz::http://sourceforge.net/projects/pmw/files/Pmw/Pmw.1.3.3/Pmw_1_3_3b.tar.gz/download
+        "LICENSE.txt")
+md5sums=('d8b998b921584db32a5eeeddc6bc606c'
+         '28b047a148c1780eddcf4bed6b150123')
+
+package() {
+  cd "Pmw"
+  python2 setup.py build
+  python2 setup.py install --prefix=/usr --root="${pkgdir}"
+  
+  # change python to python2
+  sed -i "s|python|python2|g" "${pkgdir}/usr/lib/python2.7/site-packages/Pmw/Pmw_1_3_3/tests/ManualTests.py"
+  sed -i "s|python|python2|g" "${pkgdir}/usr/lib/python2.7/site-packages/Pmw/Pmw_1_3_3/demos/All.py"
+  sed -i "s|python|python2|g" "${pkgdir}/usr/lib/python2.7/site-packages/Pmw/Pmw_1_3_3/tests/All.py"
+  sed -i "s|python|python2|g" "${pkgdir}/usr/lib/python2.7/site-packages/Pmw/Pmw_1_3_3/bin/bundlepmw.py"
+  
+  install -D -m644 "${srcdir}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}




More information about the arch-commits mailing list