source: trunk/dports/python/py-docx/Portfile

Last change on this file was 150724, checked in by petr@…, 14 months ago

various py-* ports, nomaintainer: retire py26 subport for ports without dependents

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
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 150724 2016-07-27 20:07:24Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-docx
8version             0.0.2
9revision            1
10categories-append   devel
11platforms           darwin
12license             MIT
13maintainers         nomaintainer
14
15description         The docx module creates, reads and writes Microsoft Office Word 2007 docx files
16long_description    \
17    The module was created when I was looking for a Python support for \
18    MS Word .doc files, but could only find various hacks involving COM \
19    automation, calling .net or Java, or automating OpenOffice or MS Office.
20
21homepage            https://github.com/mikemaccana/python-docx
22
23fetch.type          git
24git.url             ${homepage}.git
25git.branch          7f0781e7a86ba26d69f5e09850ef7e4fc35d3795
26
27python.versions     27
28
29if {${name} ne ${subport}} {
30    depends_lib-append  port:py${python.version}-lxml
31
32    livecheck.type  none
33} else {
34    livecheck.type  regex
35    livecheck.url   https://raw.github.com/mikemaccana/python-docx/master/setup.py
36    livecheck.regex {version='(\d+(?:\.\d+)*)'}
37}
Note: See TracBrowser for help on using the repository browser.