Ticket #44033: Portfile

File Portfile, 1.3 KB (added by Russell-Jones-OxPhys (Russell Jones), 10 years ago)

Draft portfile for openpyxl 1.8.6 (builds and imports on 3.4 and 2.7, please test)

Line 
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
2# $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-openpyxl
8set real_name       openpyxl
9version             1.8.6
10python.versions     25 26 27 34
11python.default_version  27
12categories-append   textproc
13platforms           darwin
14maintainers         nomaintainer
15license             MIT/Expat
16description         read/write Excel 2007 xlsx/xlsm files
17long_description    \
18    openpyxl is a pure python reader and writer of Excel OpenXML files. \
19    It is ported from the PHPExcel project.
20
21homepage            http://bitbucket.org/ericgazoni/openpyxl/wiki/Home
22master_sites        http://pypi.python.org/packages/source/o/${real_name}/
23distname            ${real_name}-${version}
24checksums           rmd160  7e5a8061778c196bfb3c7e2dbdd124531a154b9d \
25                    sha256  aa11a4acd2765392808bca2041f6f9ba17565c72dccc3f5d876bf78effa06126
26
27if {${name} ne ${subport}} {
28    depends_build   port:py${python.version}-setuptools
29}
30
31livecheck.type      regex
32livecheck.url       http://pypi.python.org/pypi/openpyxl
33livecheck.regex     xlrd (\\d+\\.\\d+\\.\\d+)