Ticket #46256: py34-openslide.patch
File py34-openslide.patch, 1.1 KB (added by bgilbert (Benjamin Gilbert), 10 years ago) |
---|
-
Portfile
old new 7 7 8 8 github.setup openslide openslide-python 1.0.1 v 9 9 name py-openslide 10 revision 1 10 11 categories-append graphics 11 12 platforms darwin 12 13 supported_archs noarch 13 14 license LGPL-2.1 MIT BSD 14 15 maintainers backtick.net:bgilbert 15 16 16 # We can support 33 as soon as py-flask does. 17 python.versions 26 27 17 # Upstream supports 2.6 and 3.3, but python/py-werkzeug doesn't. 18 # For those Python versions, we could omit support entirely, or omit the 19 # example scripts. For consistency, we do the former. 20 python.versions 27 34 18 21 python.default_version 27 19 22 20 23 description Python binding for the OpenSlide library. … … 51 54 52 55 build.target-append build_sphinx 53 56 57 patchfiles patch-disable-find_library-fallback.diff 58 59 post-patch { 60 reinplace "s|@@PREFIX@@|${prefix}|g" \ 61 ${worksrcpath}/openslide/lowlevel.py 62 } 63 54 64 post-destroot { 55 65 set docdir ${prefix}/share/doc/${subport} 56 66 xinstall -m 644 -W ${worksrcpath} \