Files
MINGW-packages/mingw-w64-python-lxml/use-distutils-get_platform.patch
J. Peter Mugaas 4652b559f4 mingw-w64-ptyhon-coverage - 4.3.4 - Update to latest version (#2380)
* mingw-w64-ptyhon-coverage - 4.3.4 - Update to latest version
mingw-w64-python-lxml  - 3.7.3 - Update to latest version, update patch
mingw-w64-python-nose - 1.3.7 - make aliases (nosetests2 and nosetest3 to faciltate upgrading python to 3.6)
mingw-w64-python-pbr - 2.0.0 - Update to latest version
mingw-w64-python-py - 1.4.33 - Update to latest version
mingw-w64-python-pyparsing - 2.2.0 Update to latest version
mingw-w64-python-beautifulsoup4 - 4.5.3 - New Package
mingw-w64-python-chardet - 2.3.0 - New Package
mingw-w64-python-html5lib - 0.9999999 - New Package
mingw-w64-python-packaging - 16.0 - New Package
mingw-w64-python-pretend - 1.0.0 - New Package
mingw-w64-python-webencodings - 0.5.1 - New Package

* OOPS - forgot LICENSE file.

* Fixes for various comments Алексей had made.  Change python-packaging download to the tarbar at GitHub. Add python-appdirs (required by latest version of setuptools 34.4.0

* Fix packaging tarball dir.  It was using the obsolete git reference.  Note that packaging is a requirement for setuptools 34.4.0

* mingw-w64-python-chardet - try again.  Removed _pyname.
2017-04-11 06:58:02 +03:00

20 lines
749 B
Diff

--- lxml-3.7.3/setupinfo.py.orig 2017-04-07 15:51:34.188042100 -0400
+++ lxml-3.7.3/setupinfo.py 2017-04-07 15:53:47.887745500 -0400
@@ -2,6 +2,7 @@ import sys, os, os.path
from distutils.core import Extension
from distutils.errors import CompileError, DistutilsOptionError
from distutils.command.build_ext import build_ext as _build_ext
+from distutils.util import get_platform
from versioninfo import get_base_dir
try:
@@ -239,7 +240,7 @@ def libraries():
standard_libs.append('z')
standard_libs.append('m')
- if sys.platform in ('win32',):
+ if get_platform().startswith('win'):
libs = ['libxslt', 'libexslt', 'libxml2', 'iconv']
if OPTION_STATIC:
libs = ['%s_a' % lib for lib in libs]