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

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

py24-unit: Replace with py27

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 901 bytes
Line 
1# $Id: Portfile 130853 2015-01-02 22:34:00Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup python 1.0
5
6name                    py-unit
7version                 1.4.1
8revision                1
9categories-append       devel
10license                 PSF
11maintainers             nomaintainer
12platforms               darwin freebsd
13supported_archs noarch
14description             python testing framework
15long_description        python testing framework, py-unit is the python \
16                                language version of JUnit
17
18homepage                http://pyunit.sourceforge.net/
19master_sites    sourceforge:pyunit
20distname                pyunit-${version}
21checksums               md5 658ff16afc469a3898260cc72bbea993
22
23python.versions 27
24
25if {${name} ne ${subport}} {
26    post-destroot       {
27        xinstall -m 644 -W ${worksrcpath} doc/PyUnit.html CHANGES \
28            ${destroot}${prefix}/share/doc/${subport}
29        xinstall -m 644 -W ${worksrcpath}/examples README alltests.py \
30            listtests.py manytests.py widget.py widgettests.py \
31            withjpython.py ${destroot}${prefix}/share/doc/${subport}/examples
32    }
33}
Note: See TracBrowser for help on using the repository browser.