diff options
author | Rene Ladan <rene@FreeBSD.org> | 2020-11-15 18:37:28 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2020-11-15 18:37:28 +0000 |
commit | a1d58205a00f8ab1c844ef5a4dc33ef603a86764 (patch) | |
tree | 71d50e391310cf9197c961ad0ec0d62675323815 /archivers/py-pyliblzma/files/patch-setup.py | |
parent | audio/gsequencer: Update 3.5.16 -> 3.6.14 (diff) |
Remove expired ports:
2020-11-15 archivers/py-pyliblzma: Uses deprecated version of python
2020-11-15 databases/postgis23: Upstream no longer maintained
2020-11-15 databases/py-htsql: Uses deprecated version of python
2020-11-15 devel/bzr-fastimport: Uses deprecated version of python
2020-11-15 devel/py-ToscaWidgets: Uses deprecated version of python
2020-11-15 devel/py-calendar: Uses deprecated version of python
2020-11-15 devel/py-distorm: Uses deprecated version of python
2020-11-15 devel/py-fabric1: Uses deprecated version of python
2020-11-15 devel/py-rcsparse: Uses deprecated version of python
2020-11-15 devel/pyrex: Uses deprecated version of python
2020-11-15 japanese/py-tegaki: Uses deprecated version of python
2020-11-15 math/py-networkx1: Obsolete, please use math/py-networkx instead
2020-11-15 misc/py-progressbar231: Uses deprecated version of python
2020-11-15 multimedia/py-kaa-imlib2: Uses deprecated version of python
2020-11-15 multimedia/py-kaa-metadata: Uses deprecated version of python
2020-11-15 net-im/libtelepathy: Uses deprecated version of python
2020-11-15 security/py-mcrypt: Uses deprecated version of python
2020-11-15 www/py-beautifulsoup32: Uses deprecated version of python
2020-11-15 www/py-evernote: Uses deprecated version of python
2020-04-01 www/py-meld3: EOLed upstream
2020-11-15 www/py-requestbuilder: Uses deprecated version of python
2020-11-15 x11-toolkits/py-SquareMap: Uses deprecated version of python
Diffstat (limited to 'archivers/py-pyliblzma/files/patch-setup.py')
-rw-r--r-- | archivers/py-pyliblzma/files/patch-setup.py | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/archivers/py-pyliblzma/files/patch-setup.py b/archivers/py-pyliblzma/files/patch-setup.py deleted file mode 100644 index d4baf46700b1..000000000000 --- a/archivers/py-pyliblzma/files/patch-setup.py +++ /dev/null @@ -1,53 +0,0 @@ -# allow building without pkg-config -# https://bugs.launchpad.net/pyliblzma/+bug/613837 -# https://bazaar.launchpad.net/~proyvind/pyliblzma/trunk/revision/494 - ---- setup.py.orig 2010-04-13 21:06:43 UTC -+++ setup.py -@@ -24,6 +24,7 @@ - import sys, os, subprocess - from warnings import warn - from setuptools import setup, Extension -+from distutils.ccompiler import get_default_compiler - - descr = "Python bindings for liblzma" - long_descr = """PylibLZMA provides a python interface for the liblzma library -@@ -41,21 +42,26 @@ for i in xrange(len(c_files)): - c_files[i] = os.path.join('src', c_files[i]) - - compile_args = [] --warnflags = ['-Wall', '-Wextra', '-pedantic', '-Wswitch-enum', '-Wswitch-default'] --compile_args.extend(warnflags) - link_args = [] --if not subprocess.Popen('touch gnu99-test.c; gcc -std=gnu99 -E gnu99-test.c > /dev/null; rm -f gnu99-test.c', -- shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, close_fds=True).stdout.read(): -- compile_args.append('-std=gnu99') -+libraries = ['lzma'] - --pc_cflags = subprocess.Popen("pkg-config --cflags liblzma", shell=True, stdout=subprocess.PIPE, close_fds=True).stdout.readline().strip() --if(pc_cflags): -- compile_args.extend(pc_cflags.split(' ')) --pc_libs = subprocess.Popen("pkg-config --libs liblzma", shell=True, stdout=subprocess.PIPE, close_fds=True).stdout.readline().strip() --if(pc_libs): -- link_args.extend(pc_libs.split(' ')) -+if get_default_compiler() in ('cygwin', 'emx', 'mingw32', 'unix'): -+ warnflags = ['-Wall', '-Wextra', '-pedantic', '-Wswitch-enum', '-Wswitch-default'] -+ compile_args.extend(warnflags) - --extens=[Extension('lzma', c_files, extra_compile_args=compile_args, extra_link_args=link_args, define_macros=version_define)] -+ if not subprocess.Popen('touch gnu99-test.c; gcc -std=gnu99 -E gnu99-test.c > /dev/null; rm -f gnu99-test.c', -+ shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, close_fds=True).stdout.read(): -+ compile_args.append('-std=gnu99') -+ -+ pc_cflags = subprocess.Popen("pkg-config --cflags liblzma", shell=True, stdout=subprocess.PIPE, close_fds=True).stdout.readline().strip() -+ if(pc_cflags): -+ compile_args.extend(pc_cflags.split(' ')) -+ -+ pc_libs = subprocess.Popen("pkg-config --libs liblzma", shell=True, stdout=subprocess.PIPE, close_fds=True).stdout.readline().strip() -+ if(pc_libs): -+ link_args.extend(pc_libs.split(b' ')) -+ -+extens=[Extension('lzma', c_files, extra_compile_args=compile_args, libraries=libraries, extra_link_args=link_args, define_macros=version_define)] - - setup( - name = "pyliblzma", |