# -*- 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 74935 2011-01-08 14:59:06Z jwa@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-midgard2
set internal_name	python-midgard2

version             10.05.2

categories        python

maintainers         jwa
description         Python interface to the Midgard content repository
long_description    Python interface to the Midgard content repository

homepage	http://www.midgard-project.org/

platforms           darwin

#depends_build		port:py26-setuptools
depends_lib         port:midgard2-core \
    port:py26-gobject

master_sites        http://www.midgard-project.org/midcom-serveattachmentguid-b62441a407a111e0936061192ed15f315f31/
distname            ${internal_name}-${version}
set worksrcdir		${internal_name}-${version}
#use_bzip2           yes

checksums           md5     3212cddf54fb7457f75a40f38a7735da \
                    sha1    2f183817537128f432a062b3b48c5d084bb8a3a9 \
                    rmd160  f1b62fbc02b1d30f8e6fed0b3a352fd890f1a87f

#patchfiles			setup.py.diff

livecheck.type     regex
livecheck.url	${homepage}download
livecheck.regex {download/[0-9-]+/">([0-9.]+)}
