# -*- 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
# $Id: Portfile 48047 2009-03-13 10:32:12Z dh@macports.org $

PortSystem          1.0
PortGroup           python24 1.0

# apycot moved from 0.12.3 -> 0.99 but is a fundamentally incompatible change.  The newer versions
# should be put in a port called apycotbot
name                py-apycot
version             0.12.3
categories          python devel
platforms           darwin
maintainers         dh openmaintainer
description         automated pythonic code tester.
long_description    Apycot is an Automated Pythonic Code Tester. Use it to \
                    daily run your tests and generate reports about code or \
                    document quality.

homepage            http://www.logilab.org/projects/apycot/
master_sites        ftp://ftp.logilab.org/pub/apycot/
distname            apycot-${version}

checksums           md5     60e98754ee0cc69d5bb3d76817bfcde0 \
                    sha1    512b010827f58b26472618cefd8dc10651788ba9 \
                    rmd160  1652039cdd960424e18ab5aa575f4397c1596a11

post-destroot   {
    file delete -force ${destroot}${prefix}/share/doc/${name}
    file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
}
