# $Id: Portfile 102584 2013-02-05 04:25:13Z larryv@macports.org $

PortSystem 1.0
PortGroup python 1.0

name			py-sql
version			0.6
revision		1
categories-append	databases
license			MIT
platforms		darwin
supported_archs	noarch
maintainers		nomaintainer
description		Python module for creating simple SQL statements
long_description	sql is a module that contains three classes Insert, \
				Update and Delete, that simplify generatingSQL \
				statements.

homepage		http://www.livinglogic.de/Python/sql/
master_sites	http://ftp.livinglogic.de/sql/
distname		ll-sql-${version}
checksums		md5 a3f6829e452b1a5cb8f6054f447837f9
use_bzip2		yes

python.versions	24

if {$subport != $name} {
    depends_lib-append	port:py${python.version}-mx

    post-destroot	{
        xinstall -m 644 -W ${worksrcpath} INSTALL NEWS README \
            ${destroot}${prefix}/share/doc/${subport}
    }
}
