Ticket #49910: Portfile.diff
File Portfile.diff, 1.7 KB (added by mndavidoff (Monte Davidoff), 9 years ago) |
---|
-
Portfile
old new 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id: Portfile 139229 2015-08-08 03:10:35Z jeremyhu@macports.org $ 2 3 3 4 PortSystem 1.0 4 5 PortGroup python 1.0 5 6 6 7 name py-m2crypto 7 version 0.22. 38 version 0.22.6rc4 8 9 categories-append crypto devel 9 10 # demos include some Apache-2 and ZPL-2 files but are not installed 10 11 license MIT … … 14 15 15 16 platforms darwin 16 17 17 homepage http ://pypi.python.org/packages/source/M/M2Crypto/18 master_sites ${homepage}18 homepage https://gitlab.com/m2crypto/m2crypto 19 master_sites https://pypi.python.org/packages/source/M/M2Crypto 19 20 distname M2Crypto-${version} 20 21 21 22 python.versions 26 27 22 23 23 checksums rmd160 3ba7498308949f4c40c7eb8b649d575afd665a55\24 sha256 6071bfc817d94723e9b458a010d565365104f84aa73f7fe11919871f7562ff7224 checksums rmd160 410bf10da4d3e03b38fb23f263b8d2227de8a160 \ 25 sha256 466c6058bcdf504e6e83c731bbb69490cf73a314459fb4c183e5aee29d066f81 25 26 26 27 if {${name} ne ${subport}} { 27 28 depends_build port:py${python.version}-setuptools … … 37 38 38 39 if {${name} eq ${subport}} { 39 40 livecheck.type regex 40 livecheck.url ${homepage}41 livecheck.regex M2Crypto-(\[0-9\\. \]+)\.tar\.gz41 livecheck.url https://pypi.python.org/pypi/M2Crypto/json 42 livecheck.regex M2Crypto-(\[0-9\\.rc\]+)\.tar\.gz 42 43 } else { 43 44 livecheck.type none 44 45 }