[arch-commits] Commit in python-cx_freeze/trunk (PKGBUILD python35.patch)
Antonio Rojas
arojas at archlinux.org
Wed Nov 23 20:05:23 UTC 2016
Date: Wednesday, November 23, 2016 @ 20:05:21
Author: arojas
Revision: 196617
Update to 5.0
Modified:
python-cx_freeze/trunk/PKGBUILD
Deleted:
python-cx_freeze/trunk/python35.patch
----------------+
PKGBUILD | 17 ++++-------------
python35.patch | 26 --------------------------
2 files changed, 4 insertions(+), 39 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-11-23 19:31:38 UTC (rev 196616)
+++ PKGBUILD 2016-11-23 20:05:21 UTC (rev 196617)
@@ -8,23 +8,16 @@
pkgbase=python-cx_freeze
pkgname=('python-cx_freeze' 'python2-cx_freeze')
-pkgver=4.3.4
-pkgrel=3
+pkgver=5.0
+pkgrel=1
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')
+source=("https://pypi.io/packages/source/c/cx_Freeze/cx_Freeze-$pkgver.tar.gz")
+md5sums=('f98633b35703da8be0565c2009b51955')
-prepare() {
- cd "cx_Freeze-$pkgver"
- patch -p1 -i ../python35.patch
-}
-
package_python-cx_freeze() {
depends=('python')
conflicts=('cx_freeze' 'python2-cx_freeze')
@@ -44,5 +37,3 @@
# Python 2 fix
find "$pkgdir" -name qotd.py -exec sed -i '0,/on/s//on2/' {} \;
}
-
-# vim:set ts=2 sw=2 et:
Deleted: python35.patch
===================================================================
--- python35.patch 2016-11-23 19:31:38 UTC (rev 196616)
+++ python35.patch 2016-11-23 20:05:21 UTC (rev 196617)
@@ -1,26 +0,0 @@
-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