# -*- 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 76642 2011-03-03 18:55:01Z jwa@macports.org $

PortSystem          1.0
PortGroup           python27 1.0

name                py27-midgard2
set internal_name	python-midgard2

version             10.05.4

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:py27-distribute
depends_lib         port:midgard2-core \
    port:py27-gobject

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

checksums           md5     4e0fb3f9477261f5eed8cdc2b055a39b \
                    sha1    50057b7db3d7f83aef5c3b9d3971ad6ab1403ce8 \
                    rmd160  60c9dfb639bde54c28b63080a1199d745bbdb214

#patchfiles			setup.py.diff

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

