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

Last change on this file was 143497, checked in by mmoll@…, 2 years ago

py-empy: add support for Python 3.5

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 143497 2015-12-13 23:03:17Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup python 1.0
5
6set realname        empy
7name                py-${realname}
8version             3.3.2
9maintainers         openmaintainer mmoll
10license             LGPL
11platforms           darwin freebsd
12description         powerful and robust templating system for python
13long_description    py-empy is a system for embedding Python expressions \
14                    and statements in template text. It takes an EmPy \
15                    source file, processes it, and produces output. This \
16                    is accomplished via expansions, which are special \
17                    signals to the py-empy system and are set off by a \
18                    special prefix.
19
20homepage            http://www.alcyone.com/software/empy/
21master_sites        ${homepage}
22# stealth update
23dist_subdir         ${name}/${version}_1
24distname            empy-${version}
25checksums           md5     fbb34761cdf9acc4c65e298c9eced395 \
26                    sha1    df6133af9273128ade83f33b8c9215107fff4191 \
27                    rmd160  32aa8f7d5b92bd26467dea2328753908555aab58
28
29python.versions     27 34 35
30python.default_version 27
31
32if {${name} eq ${subport}} {
33    livecheck.type      regex
34    livecheck.url       ${homepage}
35    livecheck.regex     The current version of empy is (\[0-9.\]+\[0-9\])
36} else {
37    post-destroot {
38        file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${subport}
39    }
40    livecheck.type      none
41}
Note: See TracBrowser for help on using the repository browser.