diff --git a/ports/python/py-obspy/Portfile b/ports/python/py-obspy/Portfile
index 6eb9de9..71cb5e7 100644
a
|
b
|
PortSystem 1.0 |
5 | 5 | PortGroup python 1.0 |
6 | 6 | |
7 | 7 | name py-obspy |
8 | | version 0.8.3 |
9 | | revision 1 |
| 8 | version 0.8.4 |
10 | 9 | categories-append science |
11 | 10 | platforms darwin |
12 | 11 | maintainers bo.ingv.it:Peter.Danecek openmaintainer |
… |
… |
use_zip yes |
28 | 27 | distname obspy-${version} |
29 | 28 | master_sites http://pypi.python.org/packages/source/o/obspy |
30 | 29 | |
31 | | checksums md5 ffb704ed3a33f0299a8e0352437e6639 \ |
32 | | rmd160 4c74a75a8a26073dd5f016410cece3391d7ad712 \ |
33 | | sha256 b14d44b0645d7eca2f1e1d50ffc157a8df7594f407a2ca66aedc19506b3d5813 |
| 30 | checksums md5 9da79d3a0604d433085ad4dc0e430100 \ |
| 31 | rmd160 4a5b6e486304cd4e0a96d94ddc8bf88eb0a6f574 \ |
| 32 | sha256 6e9e0a5c0e673ae41d64ca265d4abdadf2b83a60ff27c516a8dbb0e2b38965cf |
34 | 33 | |
35 | 34 | python.versions 26 27 |
36 | 35 | |
diff --git a/ports/python/py-obspy/files/patch-setup.py.diff b/ports/python/py-obspy/files/patch-setup.py.diff
index f14c2e7..f5bdc86 100644
a
|
b
|
|
1 | | --- setup.orig.py 2012-12-17 14:04:38.000000000 +0100 |
2 | | +++ setup.py 2013-02-06 18:52:13.000000000 +0100 |
3 | | @@ -362,8 +362,8 @@ |
| 1 | --- setup.orig.py 2013-06-28 18:07:26.000000000 +0200 |
| 2 | +++ setup.py 2013-07-08 11:48:13.000000000 +0200 |
| 3 | @@ -27,7 +27,6 @@ |
| 4 | from distutils.unixccompiler import UnixCCompiler |
| 5 | from setuptools import find_packages, setup |
| 6 | from setuptools.extension import Extension |
| 7 | -import distribute_setup |
| 8 | import glob |
| 9 | import os |
| 10 | import platform |
| 11 | @@ -370,8 +369,8 @@ |
4 | 12 | # otherwise we just use the original compile method |
5 | 13 | UnixCCompiler.linker_so = None |
6 | 14 | return self._original_compile(obj, src, *args, **kwargs) |
… |
… |
|
9 | 17 | + UnixCCompiler.linker_so = [os.environ.get("F77")] |
10 | 18 | + self.compiler_so = [os.environ.get("F77")] |
11 | 19 | cc_args = ['-c', '-fno-underscoring'] |
12 | | if sys.platform == 'darwin': |
13 | | self.compiler_so = _darwin_compiler_fixup(self.compiler_so, |
14 | | @@ -607,7 +607,6 @@ |
15 | | # setup Fortran extension |
16 | | src = os.path.join('obspy', 'taup', 'src') + os.sep |
| 20 | cc_args.append('-fPIC') |
| 21 | try: |
| 22 | @@ -621,7 +620,6 @@ |
| 23 | taupargs = [] |
| 24 | |
17 | 25 | lib = MyExtension(lib_name, |
18 | 26 | - libraries=['gfortran'], |
| 27 | extra_link_args=extra_link_args, |
19 | 28 | sources=[src + 'emdlv.f', src + 'libtau.f', |
20 | 29 | src + 'ttimes_subrout.f']) |
21 | | return lib |
| 30 | @@ -629,8 +627,6 @@ |
| 31 | |
| 32 | |
| 33 | def setupPackage(gfortran=True, ccompiler=True): |
| 34 | - # automatically install distribute if the user does not have it installed |
| 35 | - distribute_setup.use_setuptools() |
| 36 | # use lib2to3 for Python 3.x |
| 37 | if sys.version_info[0] == 3: |
| 38 | convert2to3() |