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

Felix Yan felixonmars at archlinux.org
Sat Jun 30 16:05:50 UTC 2018


    Date: Saturday, June 30, 2018 @ 16:05:49
  Author: felixonmars
Revision: 348386

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: python-cx_freeze/repos/community-staging-x86_64/PKGBUILD (from rev 348385, python-cx_freeze/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-06-30 16:05:49 UTC (rev 348386)
@@ -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>
+# Contributor: Julien Duponchelle <julien at gns3.net>
+
+pkgbase=python-cx_freeze
+pkgname=('python-cx_freeze' 'python2-cx_freeze')
+pkgver=5.1.1
+pkgrel=2
+pkgdesc='Utilities for freezing Python scripts into executables'
+arch=('x86_64')
+url='http://cx-freeze.sourceforge.net/'
+license=('PSF')
+makedepends=('python' 'python2')
+source=("https://pypi.io/packages/source/c/cx_Freeze/cx_Freeze-$pkgver.tar.gz")
+sha512sums=('64f9c3b7f6c3003c1dc439fc2da7d0c13c5f146834e3ab8ece3921f1eb30c6e3eda480ccc84e61cc061597521b360cf8f5ef8e0bbcce1437157360c3d9c1adbc')
+
+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 fix
+  find "$pkgdir" -name qotd.py -exec sed -i '0,/on/s//on2/' {} \;
+}



More information about the arch-commits mailing list