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

Last change on this file was 130575, checked in by larryv@…, 3 years ago

py{24,25}-iniparse: Replace with py27

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 130575 2015-01-02 00:15:02Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup python 1.0
5
6name                    py-iniparse
7version                 0.4
8platforms               darwin
9supported_archs noarch
10license                 PSF MIT
11maintainers             afb openmaintainer
12description             Python Module for Accessing and Modifying Configuration Data in INI files
13long_description        iniparse is an INI parser for Python which is API compatible \
14with the standard library's ConfigParser, preserves structure of INI \
15files (order of sections & options, indentation, comments, and blank \
16lines are preserved when data is updated), and is more convenient to \
17use.
18
19homepage                http://code.google.com/p/iniparse/
20master_sites            googlecode:iniparse
21distname                iniparse-${version}
22
23checksums           rmd160  f4cb5edc035e787acea428a7d21343d986f85f5c \
24                    sha256  abc1ee12d2cfb2506109072d6c21e40b6c75a3fe90a9c924327d80bc0d99c054
25
26python.versions 26 27
27
28if {${name} ne ${subport}} {
29    post-destroot {
30        eval move [glob ${destroot}${python.prefix}/share/doc/iniparse-${version}/*] \
31            ${destroot}${prefix}/share/doc/${subport}
32    }
33    livecheck.type  none
34} else {
35    livecheck.regex iniparse-(\[0-9.\]+)${extract.suffix}
36}
Note: See TracBrowser for help on using the repository browser.