Changeset 98768
- Timestamp:
- Oct 15, 2012, 12:27:40 PM (12 years ago)
- Location:
- trunk/dports/python
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/python/py25-pynifti/Portfile
r97763 r98768 6 6 7 7 name py25-pynifti 8 version 0.20090303.1 9 revision 1 8 version 0.20100607.1 10 9 categories python 11 10 platforms darwin … … 15 14 16 15 homepage http://sourceforge.net/projects/niftilib 17 master_sites sourceforge: niftilib16 master_sites sourceforge:project/niftilib/pynifti/${version} 18 17 19 checksums md5 6625c0db0ba4776c14327affa5c0098a \ 20 sha1 96072c1b79c882a7a14461c9b48366a34f211e05 \ 21 rmd160 b6e10b401f8e6585126426d207c9d6e9e393f382 18 checksums rmd160 f9337ca40681b76432ac362d088034d79ba28556 \ 19 sha256 d1607d330e94576d6b0f18690b5b94c75ed1a93722c573e9ea781580f555611a 22 20 23 21 depends_lib port:py25-numpy \ … … 27 25 build.env CCFLAGS="-I${prefix}/include -L${prefix}/lib -I${prefix}/include/nifti" 28 26 29 dist files pynifti_${version}${extract.suffix}27 distname pynifti_${version} 30 28 worksrcdir pynifti-${version} 31 29 patchfiles patch-setup-py.diff 32 30 post-patch { 33 31 reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py 34 }35 36 pre-fetch {37 if {![llength [glob -nocomplain ${prefix}/share/swig/*/python/python.swg]]} {38 ui_error "The python variant of swig is not installed. Please run"39 ui_error "the following commands:"40 ui_error "$ sudo port uninstall swig"41 ui_error "$ sudo port install swig +python"42 error "python variant of swig required"43 }44 32 } 45 33 … … 63 51 } 64 52 65 livecheck.url http://sourceforge.net/export/rss2_projfiles.php?project=niftilib66 53 livecheck.regex {pynifti_([0-9.]+).tar.gz} -
trunk/dports/python/py25-pynifti/files/patch-setup-py.diff
r53084 r98768 1 --- setup.py.orig 2009-06-20 11:37:59.000000000 -0700 2 +++ setup.py 2009-06-20 11:38:38.000000000 -0700 1 --- setup.py.orig 2010-07-06 10:29:56.000000000 -0500 2 +++ setup.py 2012-10-15 07:13:51.000000000 -0500 3 @@ -21,7 +21,7 @@ 4 # Common configuration # 5 ######################## 6 7 -extra_link_args = ['--Wl,--no-undefined'] 8 +extra_link_args = [] 9 include_dirs = [] 10 library_dirs = [] 11 defines = [] 3 12 @@ -45,11 +45,8 @@ 4 13 else: … … 15 24 # no clue on windows 16 25 pass 26 @@ -64,9 +61,6 @@ 27 os.environ['SWIG_FEATURES'] = '-DWIN32 ' + os.environ['SWIG_FEATURES'] 28 defines.append(('WIN32', None)) 29 30 -# apple stuff 31 -if sys.platform == "darwin": 32 - extra_link_args.append("-bundle") 33 34 35 ############## -
trunk/dports/python/py26-pynifti/Portfile
r97763 r98768 6 6 7 7 name py26-pynifti 8 version 0.20090303.1 9 revision 1 8 version 0.20100607.1 10 9 categories python 11 10 platforms darwin … … 15 14 16 15 homepage http://sourceforge.net/projects/niftilib 17 master_sites sourceforge: niftilib16 master_sites sourceforge:project/niftilib/pynifti/${version} 18 17 19 checksums md5 6625c0db0ba4776c14327affa5c0098a \ 20 sha1 96072c1b79c882a7a14461c9b48366a34f211e05 \ 21 rmd160 b6e10b401f8e6585126426d207c9d6e9e393f382 18 checksums rmd160 f9337ca40681b76432ac362d088034d79ba28556 \ 19 sha256 d1607d330e94576d6b0f18690b5b94c75ed1a93722c573e9ea781580f555611a 22 20 23 21 depends_lib port:py26-numpy \ … … 27 25 build.env CCFLAGS="-I${prefix}/include -L${prefix}/lib -I${prefix}/include/nifti" 28 26 29 dist files pynifti_${version}${extract.suffix}27 distname pynifti_${version} 30 28 worksrcdir pynifti-${version} 31 29 patchfiles patch-setup-py.diff 32 30 post-patch { 33 31 reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py 34 }35 36 pre-fetch {37 if {![llength [glob -nocomplain ${prefix}/share/swig/*/python/python.swg]]} {38 ui_error "The python variant of swig is not installed. Please run"39 ui_error "the following commands:"40 ui_error "$ sudo port uninstall swig"41 ui_error "$ sudo port install swig +python"42 error "python variant of swig required"43 }44 32 } 45 33 … … 63 51 } 64 52 65 livecheck.url http://sourceforge.net/export/rss2_projfiles.php?project=niftilib66 53 livecheck.regex {pynifti_([0-9.]+).tar.gz} -
trunk/dports/python/py26-pynifti/files/patch-setup-py.diff
r94605 r98768 1 --- setup.py.orig 20 09-03-04 03:13:23.000000000 +11002 +++ setup.py 2012- 06-25 12:54:38.000000000 +10001 --- setup.py.orig 2010-07-06 10:29:56.000000000 -0500 2 +++ setup.py 2012-10-15 07:13:51.000000000 -0500 3 3 @@ -21,7 +21,7 @@ 4 4 # Common configuration # … … 6 6 7 7 -extra_link_args = ['--Wl,--no-undefined'] 8 +extra_link_args = [ '-Wl,--no-undefined']8 +extra_link_args = [] 9 9 include_dirs = [] 10 10 library_dirs = [] … … 24 24 # no clue on windows 25 25 pass 26 @@ -64,9 +61,6 @@ 27 os.environ['SWIG_FEATURES'] = '-DWIN32 ' + os.environ['SWIG_FEATURES'] 28 defines.append(('WIN32', None)) 29 30 -# apple stuff 31 -if sys.platform == "darwin": 32 - extra_link_args.append("-bundle") 33 34 35 ##############
Note: See TracChangeset
for help on using the changeset viewer.