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
    12# $Id: Portfile 139229 2015-08-08 03:10:35Z jeremyhu@macports.org $
    23
    34PortSystem         1.0
    45PortGroup          python 1.0
    56
    67name               py-m2crypto
    7 version            0.22.3
     8version            0.22.6rc4
    89categories-append  crypto devel
    910# demos include some Apache-2 and ZPL-2 files but are not installed
    1011license            MIT
     
    1415
    1516platforms          darwin
    1617
    17 homepage           http://pypi.python.org/packages/source/M/M2Crypto/
    18 master_sites       ${homepage}
     18homepage           https://gitlab.com/m2crypto/m2crypto
     19master_sites       https://pypi.python.org/packages/source/M/M2Crypto
    1920distname           M2Crypto-${version}
    2021
    2122python.versions    26 27
    2223
    23 checksums          rmd160 3ba7498308949f4c40c7eb8b649d575afd665a55 \
    24                    sha256 6071bfc817d94723e9b458a010d565365104f84aa73f7fe11919871f7562ff72
     24checksums           rmd160  410bf10da4d3e03b38fb23f263b8d2227de8a160 \
     25                    sha256  466c6058bcdf504e6e83c731bbb69490cf73a314459fb4c183e5aee29d066f81
    2526
    2627if {${name} ne ${subport}} {
    2728  depends_build      port:py${python.version}-setuptools
     
    3738
    3839if {${name} eq ${subport}} {
    3940  livecheck.type     regex
    40   livecheck.url      ${homepage}
    41   livecheck.regex    M2Crypto-(\[0-9\\.\]+)\.tar\.gz
     41  livecheck.url      https://pypi.python.org/pypi/M2Crypto/json
     42  livecheck.regex    M2Crypto-(\[0-9\\.rc\]+)\.tar\.gz
    4243} else {
    4344  livecheck.type     none
    4445}