Revision: 139751 https://trac.macports.org/changeset/139751 Author: petr@macports.org Date: 2015-08-26 03:07:09 -0700 (Wed, 26 Aug 2015) Log Message: ----------- py-ipy: upgrade to 0.83, livecheck, set noarch, retire py26 and add py34 subport, minor changes, format, closes #47138. Modified Paths: -------------- trunk/dports/python/py-ipy/Portfile Modified: trunk/dports/python/py-ipy/Portfile =================================================================== --- trunk/dports/python/py-ipy/Portfile 2015-08-26 09:48:49 UTC (rev 139750) +++ trunk/dports/python/py-ipy/Portfile 2015-08-26 10:07:09 UTC (rev 139751) @@ -1,43 +1,46 @@ # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 # $Id$ -PortSystem 1.0 -PortGroup python 1.0 +PortSystem 1.0 +PortGroup python 1.0 -name py-ipy -version 0.81 +set _name IPy +set _n [string index ${_name} 0] -categories-append devel net -maintainers vmunix.org:torstenb \ - openmaintainer -description python module for handling IPv4 and IPv6 addresses and networks -long_description IPy is a Python module for handling IPv4 and IPv6 \ - addresses and networks in a fashion similar to perl's \ - Net::IP and friends. The IP class allows a comfortable \ - parsing and handling for most notations in use for \ - IPv4 and IPv6 addresses and networks. +name py-ipy +version 0.83 -platforms darwin -license BSD +categories-append devel net +platforms darwin +supported_archs noarch +license BSD -homepage https://github.com/haypo/python-ipy -master_sites http://pypi.python.org/packages/source/I/IPy/ +maintainers vmunix.org:torstenb openmaintainer -distname IPy-${version} +description python module for handling IPv4 and IPv6 addresses and networks +long_description IPy is a Python module for handling IPv4 and IPv6 \ + addresses and networks in a fashion similar to perl's \ + Net::IP and friends. The IP class allows a comfortable \ + parsing and handling for most notations in use for \ + IPv4 and IPv6 addresses and networks. -python.versions 26 27 -python.default_version 27 +homepage https://github.com/haypo/python-ipy +master_sites https://pypi.python.org/packages/source/${_n}/${_name}/ +distname ${_name}-${version} -checksums rmd160 6e708020c18cddb2f3588c2bd7fac98884842cb9 \ - sha256 4bc17a9b5e72e893a034e77193b82c2bc321ddf8d8c345281f2bb81bb007b939 +checksums rmd160 9d059c6949134ac0f74ae768a8d6dbac5cdb9b54 \ + sha256 61da5a532b159b387176f6eabf11946e7458b6df8fb8b91ff1d345ca7a6edab8 +python.versions 27 34 + if {${name} ne ${subport}} { post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -m 644 ${worksrcpath}/README ${destroot}${docdir} } + + livecheck.type none +} else { + livecheck.url https://pypi.python.org/pypi/${_name}/json + livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\"" } - -livecheck.url [lindex ${master_sites} 0] -livecheck.regex IPy-\(\[0-9a-z.\]+\)${extract.suffix} -
participants (1)
-
petr@macports.org