[arch-commits] Commit in python-cx_freeze/repos (2 files)

Alexander Rødseth arodseth at nymeria.archlinux.org
Mon Mar 17 19:27:22 UTC 2014


    Date: Monday, March 17, 2014 @ 20:27:21
  Author: arodseth
Revision: 107542

archrelease: copy trunk to community-staging-i686

Added:
  python-cx_freeze/repos/community-staging-i686/
  python-cx_freeze/repos/community-staging-i686/PKGBUILD
    (from rev 107541, python-cx_freeze/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: python-cx_freeze/repos/community-staging-i686/PKGBUILD (from rev 107541, python-cx_freeze/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2014-03-17 19:27:21 UTC (rev 107542)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: Roberto Alsina <ralsina at kde.org>
+
+pkgbase=python-cx_freeze
+pkgname=('python-cx_freeze' 'python2-cx_freeze')
+pkgver=4.3.2
+pkgrel=2
+pkgdesc='Set of utilities for freezing Python scripts into executables'
+arch=('x86_64' 'i686')
+url='http://cx-freeze.sourceforge.net/'
+license=('PSF')
+makedepends=('python' 'python2')
+source=("http://prdownloads.sourceforge.net/cx-freeze/cx_Freeze-$pkgver.tar.gz")
+sha256sums=('d634aae1e1d20b660d24245450b8a5ea3ad9c443cd735d8fbe17c1d93b8b23df')
+
+package_python-cx_freeze() {
+  depends=('python')
+  conflicts=('cx_freeze' 'python2-cx_freeze')
+
+  cd "cx_Freeze-$pkgver"
+  python setup.py install --root "$pkgdir" --optimize 1
+}
+
+package_python2-cx_freeze() {
+  depends=('python2')
+  conflicts=('cx_freeze' 'python-cx_freeze')
+  replaces=('cx_freeze')
+
+  cd "cx_Freeze-$pkgver"
+  python2 setup.py install --root "$pkgdir" --optimize 1
+
+  # Python 2 shebang fix
+  find "$pkgdir" -name qotd.py -exec sed -i '0,/on/s//on2/' {} \;
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list