[139421] trunk/dports/python/py-configobj/Portfile
khindenburg at macports.org
khindenburg at macports.org
Sun Aug 16 17:18:26 PDT 2015
Revision: 139421
https://trac.macports.org/changeset/139421
Author: khindenburg at macports.org
Date: 2015-08-16 17:18:26 -0700 (Sun, 16 Aug 2015)
Log Message:
-----------
py-configobj: update to 5.0.6 #48443
Modified Paths:
--------------
trunk/dports/python/py-configobj/Portfile
Modified: trunk/dports/python/py-configobj/Portfile
===================================================================
--- trunk/dports/python/py-configobj/Portfile 2015-08-16 23:57:19 UTC (rev 139420)
+++ trunk/dports/python/py-configobj/Portfile 2015-08-17 00:18:26 UTC (rev 139421)
@@ -5,7 +5,7 @@
PortGroup python 1.0
name py-configobj
-version 4.7.2
+version 5.0.6
platforms darwin
supported_archs noarch
license BSD
@@ -17,33 +17,21 @@
Its main feature is that it is very easy to use, \
with a straightforward programmer's interface and \
a simple syntax for config files.
-homepage http://www.voidspace.org.uk/python/configobj.html
-master_sites sourceforge:configobj
+python.versions 26 27 34
+
+homepage https://pypi.python.org/pypi/configobj/
+master_sites https://pypi.python.org/packages/source/c/configobj/
distname configobj-${version}
-use_zip yes
-checksums md5 51cee395cfbf831339b03f72706de18e \
- sha1 2e6e33a5f685926bea2d4745cf81403c2c974e81 \
- rmd160 a4301775b5bc7c893f8ee32df5160bc5559fd541
-python.versions 26 27 34
+checksums rmd160 9b7dd0b9e08477914da104585369921c549eec01 \
+ sha256 a2f5650770e1c87fb335af19a9b7eb73fc05ccf22144eb68db7d00cd2bcb0902
if {${name} ne ${subport}} {
- # Patch for Python3
- post-extract {
- if {[string match py3* ${subport}]} {
- ui_msg "Patching for python 3.x"
- reinplace -E "s|(except .*)\\, e|\\1 as e|" \
- ${worksrcpath}/configobj.py
- }
- }
-
- post-destroot {
- foreach f [glob -directory ${worksrcpath}/docs *] {
- copy $f ${destroot}${prefix}/share/doc/${subport}/[file tail $f]
- }
- }
- livecheck.type none
+ depends_build-append port:py${python.version}-setuptools
+ livecheck.type none
} else {
- livecheck.regex configobj-(\[0-9.\]+)${extract.suffix}
+ livecheck.type regex
+ livecheck.url ${homepage}
+ livecheck.regex "configobj/(\\d+\\.\\d+(?:\\.\\d+))"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150816/9de0faad/attachment-0001.html>
More information about the macports-changes
mailing list