Ticket #43240: patch-py-m2crypto-Portfile.diff
File patch-py-m2crypto-Portfile.diff, 1.7 KB (added by jul_bsd@…, 11 years ago) |
---|
-
python/py-m2crypto/Portfile
old new 1 # $Id: Portfile 1 20181 2014-05-18 16:38:29Z ram@macports.org $1 # $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $ 2 2 3 3 PortSystem 1.0 4 4 PortGroup python 1.0 … … 23 23 checksums rmd160 3ba7498308949f4c40c7eb8b649d575afd665a55 \ 24 24 sha256 6071bfc817d94723e9b458a010d565365104f84aa73f7fe11919871f7562ff72 25 25 26 ## fix some leaks: https://code.google.com/p/grr/wiki/M2CryptoFromSource 27 ## maybe review more: https://github.com/martinpaljak/M2Crypto/pulls 28 ## https://bugzilla.osafoundation.org/show_bug.cgi?id=13005 29 ## need to remove _lib.h part if > 0.21.1 30 #patchfiles patch-m2crypto-fixes.diff 31 26 32 if {${name} ne ${subport}} { 27 33 depends_build port:py${python.version}-setuptools 28 34 depends_lib-append port:swig-python \ … … 33 39 reinplace "s|self.openssl = '/usr'|self.openssl = '${prefix}'|g" \ 34 40 ${worksrcpath}/setup.py 35 41 } 42 43 } 44 45 # FIXME! python subgroup doesn't seem to handle well subport or else 46 subport py27-m2crypto-devel { 47 python.versions 27 48 fetch.type git 49 version 0.22.3-20140507 50 git.url https://github.com/martinpaljak/M2Crypto.git 51 git.branch 9abed178ed257d1bd2efbb16f7512e964f85d006 52 # version 0.22.3-20140502 53 # git.url https://github.com/M2Crypto/M2Crypto 54 # git.branch 3df7f1607b22a376c7e139062b6068466ccd9d64 55 56 conflicts ${name} 36 57 } 37 58 38 if {${name} eq ${subport}} {59 f {${name} eq ${subport}} { 39 60 livecheck.type regex 40 61 livecheck.url ${homepage} 41 62 livecheck.regex M2Crypto-(\[0-9\\.\]+)\.tar\.gz