# $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@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 {${name} ne ${subport}} {
    depends_lib-append	port:py${python.version}-mx

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