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

Alexander Rødseth arodseth at archlinux.org
Wed Jun 29 17:22:15 UTC 2016


    Date: Wednesday, June 29, 2016 @ 17:22:15
  Author: arodseth
Revision: 181620

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

Added:
  python-cx_freeze/repos/community-i686/PKGBUILD
    (from rev 181619, python-cx_freeze/trunk/PKGBUILD)
  python-cx_freeze/repos/community-i686/python35.patch
    (from rev 181619, python-cx_freeze/trunk/python35.patch)
  python-cx_freeze/repos/community-x86_64/PKGBUILD
    (from rev 181619, python-cx_freeze/trunk/PKGBUILD)
  python-cx_freeze/repos/community-x86_64/python35.patch
    (from rev 181619, python-cx_freeze/trunk/python35.patch)
Deleted:
  python-cx_freeze/repos/community-i686/PKGBUILD
  python-cx_freeze/repos/community-x86_64/PKGBUILD

---------------------------------+
 /PKGBUILD                       |   96 ++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD         |   40 ---------------
 community-i686/python35.patch   |   26 ++++++++++
 community-x86_64/PKGBUILD       |   40 ---------------
 community-x86_64/python35.patch |   26 ++++++++++
 5 files changed, 148 insertions(+), 80 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2016-06-29 17:22:03 UTC (rev 181619)
+++ community-i686/PKGBUILD	2016-06-29 17:22:15 UTC (rev 181620)
@@ -1,40 +0,0 @@
-# $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.4
-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=("https://pypi.python.org/packages/source/c/cx_Freeze/cx_Freeze-$pkgver.tar.gz")
-md5sums=('5bd662af9aa36e5432e9144da51c6378')
-
-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:

Copied: python-cx_freeze/repos/community-i686/PKGBUILD (from rev 181619, python-cx_freeze/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-06-29 17:22:15 UTC (rev 181620)
@@ -0,0 +1,48 @@
+# $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=4.3.4
+pkgrel=3
+pkgdesc='Utilities for freezing Python scripts into executables'
+arch=('x86_64' 'i686')
+url='http://cx-freeze.sourceforge.net/'
+license=('PSF')
+makedepends=('python' 'python2')
+source=("https://pypi.python.org/packages/source/c/cx_Freeze/cx_Freeze-$pkgver.tar.gz"
+        'python35.patch')
+md5sums=('5bd662af9aa36e5432e9144da51c6378'
+         '92b761ef5f225646c14a261794787f33')
+
+prepare() {
+  cd "cx_Freeze-$pkgver"
+  patch -p1 -i ../python35.patch
+}
+
+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/' {} \;
+}
+
+# vim:set ts=2 sw=2 et:

Copied: python-cx_freeze/repos/community-i686/python35.patch (from rev 181619, python-cx_freeze/trunk/python35.patch)
===================================================================
--- community-i686/python35.patch	                        (rev 0)
+++ community-i686/python35.patch	2016-06-29 17:22:15 UTC (rev 181620)
@@ -0,0 +1,26 @@
+diff -r 79b9af284286 cx_Freeze/finder.py
+--- a/cx_Freeze/finder.py	Fri Dec 26 15:56:54 2014 -0700
++++ b/cx_Freeze/finder.py	Wed Jun 29 19:13:55 2016 +0200
+@@ -189,12 +189,21 @@
+         self.IncludePackage("encodings")
+         if sys.version_info[0] >= 3:
+             self.IncludeModule("io")
+-        if sys.version_info[:2] >= (3, 3):
++        if sys.version_info[:2] >= (3, 3) and sys.version_info < (3, 5):
+             self.AddAlias("_frozen_importlib", "importlib._bootstrap")
+             self.IncludeModule("_frozen_importlib")
+             # importlib itself must not be frozen
+             del self._modules["importlib"]
+             del self._modules["importlib._bootstrap"]
++        if sys.version_info[:2] >= (3, 5):
++            self.AddAlias("_frozen_importlib", "importlib._bootstrap")
++            self.AddAlias("_frozen_importlib_external", "importlib._bootstrap_external")
++            self.IncludeModule("_frozen_importlib_external")
++            self.IncludeModule("_frozen_importlib")
++            # importlib itself must not be frozen
++            del self._modules["importlib"]
++            del self._modules["importlib._bootstrap"]
++            del self._modules["importlib._bootstrap_external"]
+         if self.copyDependentFiles:
+             self.IncludeModule("os")
+             self.IncludeModule("sys")

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2016-06-29 17:22:03 UTC (rev 181619)
+++ community-x86_64/PKGBUILD	2016-06-29 17:22:15 UTC (rev 181620)
@@ -1,40 +0,0 @@
-# $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.4
-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=("https://pypi.python.org/packages/source/c/cx_Freeze/cx_Freeze-$pkgver.tar.gz")
-md5sums=('5bd662af9aa36e5432e9144da51c6378')
-
-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:

Copied: python-cx_freeze/repos/community-x86_64/PKGBUILD (from rev 181619, python-cx_freeze/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-06-29 17:22:15 UTC (rev 181620)
@@ -0,0 +1,48 @@
+# $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=4.3.4
+pkgrel=3
+pkgdesc='Utilities for freezing Python scripts into executables'
+arch=('x86_64' 'i686')
+url='http://cx-freeze.sourceforge.net/'
+license=('PSF')
+makedepends=('python' 'python2')
+source=("https://pypi.python.org/packages/source/c/cx_Freeze/cx_Freeze-$pkgver.tar.gz"
+        'python35.patch')
+md5sums=('5bd662af9aa36e5432e9144da51c6378'
+         '92b761ef5f225646c14a261794787f33')
+
+prepare() {
+  cd "cx_Freeze-$pkgver"
+  patch -p1 -i ../python35.patch
+}
+
+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/' {} \;
+}
+
+# vim:set ts=2 sw=2 et:

Copied: python-cx_freeze/repos/community-x86_64/python35.patch (from rev 181619, python-cx_freeze/trunk/python35.patch)
===================================================================
--- community-x86_64/python35.patch	                        (rev 0)
+++ community-x86_64/python35.patch	2016-06-29 17:22:15 UTC (rev 181620)
@@ -0,0 +1,26 @@
+diff -r 79b9af284286 cx_Freeze/finder.py
+--- a/cx_Freeze/finder.py	Fri Dec 26 15:56:54 2014 -0700
++++ b/cx_Freeze/finder.py	Wed Jun 29 19:13:55 2016 +0200
+@@ -189,12 +189,21 @@
+         self.IncludePackage("encodings")
+         if sys.version_info[0] >= 3:
+             self.IncludeModule("io")
+-        if sys.version_info[:2] >= (3, 3):
++        if sys.version_info[:2] >= (3, 3) and sys.version_info < (3, 5):
+             self.AddAlias("_frozen_importlib", "importlib._bootstrap")
+             self.IncludeModule("_frozen_importlib")
+             # importlib itself must not be frozen
+             del self._modules["importlib"]
+             del self._modules["importlib._bootstrap"]
++        if sys.version_info[:2] >= (3, 5):
++            self.AddAlias("_frozen_importlib", "importlib._bootstrap")
++            self.AddAlias("_frozen_importlib_external", "importlib._bootstrap_external")
++            self.IncludeModule("_frozen_importlib_external")
++            self.IncludeModule("_frozen_importlib")
++            # importlib itself must not be frozen
++            del self._modules["importlib"]
++            del self._modules["importlib._bootstrap"]
++            del self._modules["importlib._bootstrap_external"]
+         if self.copyDependentFiles:
+             self.IncludeModule("os")
+             self.IncludeModule("sys")



More information about the arch-commits mailing list