[122102] trunk/dports/python/py-openpyxl/Portfile
stromnov at macports.org
stromnov at macports.org
Mon Jul 14 10:30:53 PDT 2014
Revision: 122102
https://trac.macports.org/changeset/122102
Author: stromnov at macports.org
Date: 2014-07-14 10:30:53 -0700 (Mon, 14 Jul 2014)
Log Message:
-----------
py-openpyxl: reformat, fix livecheck, update homepage
Modified Paths:
--------------
trunk/dports/python/py-openpyxl/Portfile
Modified: trunk/dports/python/py-openpyxl/Portfile
===================================================================
--- trunk/dports/python/py-openpyxl/Portfile 2014-07-14 17:17:47 UTC (rev 122101)
+++ trunk/dports/python/py-openpyxl/Portfile 2014-07-14 17:30:53 UTC (rev 122102)
@@ -5,29 +5,38 @@
PortGroup python 1.0
name py-openpyxl
-set real_name openpyxl
+set realname openpyxl
version 1.5.8
-python.versions 25 26 27
-python.default_version 27
+revision 0
categories-append textproc
platforms darwin
+license MIT/Expat
+supported_archs noarch
+
+python.versions 25 26 27
+
maintainers stromnov openmaintainer
-license MIT/Expat
+
description read/write Excel 2007 xlsx/xlsm files
-long_description \
- openpyxl is a pure python reader and writer of Excel OpenXML files. \
- It is ported from the PHPExcel project.
-homepage http://bitbucket.org/ericgazoni/openpyxl/wiki/Home
-master_sites http://pypi.python.org/packages/source/o/${real_name}/
-distname ${real_name}-${version}
+long_description openpyxl is a pure python reader and writer of Excel \
+ OpenXML files. It is ported from the PHPExcel project.
+
+homepage http://openpyxl.readthedocs.org
+master_sites https://pypi.python.org/packages/source/o/${realname}/
+
+distname ${realname}-${version}
+
checksums rmd160 01bceea551d8320fdc6b22531a3f48ee2a0bc4fc \
sha256 6719241d5587fd8f685da261fe0f52636e2bafa40dce9f2ca60f84c47838e10c
if {${name} ne ${subport}} {
- depends_build port:py${python.version}-setuptools
+ depends_build-append \
+ port:py${python.version}-setuptools
+
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url ${master_sites}
+ livecheck.regex {openpyxl-(\d+(?:\.\d+)*)\.[tz]}
}
-
-livecheck.type regex
-livecheck.url http://pypi.python.org/pypi/openpyxl
-livecheck.regex xlrd (\\d+\\.\\d+\\.\\d+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140714/5345ee81/attachment.html>
More information about the macports-changes
mailing list