# -*- 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$ PortSystem 1.0 PortGroup python 1.0 name py-axiom set gname python-axiom version 0.6.0 revision 1 license MIT categories-append databases platforms darwin supported_archs noarch maintainers devans openmaintainer description Axiom is an object database, or alternatively, an object-relational \ mapper, implemented on top of Python. long_description ${description} \ Its primary goal is to provide an object-oriented layer with the key \ aspects of OOP (Object Oriented Programming), i.e. polymorphism and \ message dispatch, without hindering the power of an RDBMS \ (Relational DataBase Management System). homepage http://packages.debian.org/squeeze/python/python-axiom master_sites debian:p/${gname} distname ${gname}_${version}.orig checksums sha1 b7f11cadcedc755276120469f141e02a13149914 \ sha256 0c3e5586c91df966f2c1b2031db870ee6b73bdd0517f9a7dab764ef0943e548c worksrcdir Axiom-${version} python.default_version 27 python.versions 25 26 27 if {$subport != $name} { depends_lib-append port:py${python.version}-epsilon \ port:py${python.version}-sqlite if {${python.version} > 25} { patchfiles-append patch-python26.diff } post-destroot { set filepath ${destroot}${python.libdir}/site-packages/twisted/plugins/dropin.cache if {[file exists ${filepath}]} { file delete ${filepath} } } } livecheck.type regex livecheck.url http://ftp.us.debian.org/debian/pool/main/p/${gname}/ livecheck.regex "${gname}_(\\d+(?:\\.\\d+)*)\\.orig${extract.suffix}"