[arch-commits] Commit in (4 files)

Alexander Rødseth arodseth at nymeria.archlinux.org
Mon Feb 25 23:00:56 UTC 2013


    Date: Tuesday, February 26, 2013 @ 00:00:55
  Author: arodseth
Revision: 84897

Split package from cx_freeze to python-cx_freeze and python2-cx_freeze

Added:
  python-cx_freeze/
  python-cx_freeze/repos/
  python-cx_freeze/trunk/
  python-cx_freeze/trunk/PKGBUILD

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

Added: python-cx_freeze/trunk/PKGBUILD
===================================================================
--- python-cx_freeze/trunk/PKGBUILD	                        (rev 0)
+++ python-cx_freeze/trunk/PKGBUILD	2013-02-25 23:00:55 UTC (rev 84897)
@@ -0,0 +1,39 @@
+# $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=cx_freeze
+pkgname=('python-cx_freeze' 'python2-cx_freeze')
+pkgver=4.3.1
+pkgrel=1
+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/${pkgbase/_/-}/${pkgbase/f/F}-$pkgver.tar.gz")
+sha256sums=('11f8818ab4e1754c81c1226ce3430f29e6ba231a22a153ce3794a5cc464fa11b')
+
+package_python-cx_freeze() {
+  depends=('python')
+  conflicts=('cx_freeze' 'python2-cx_freeze')
+
+  cd "$srcdir/${pkgbase/f/F}-$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 "$srcdir/${pkgbase/f/F}-$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:


Property changes on: python-cx_freeze/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list