# -*- 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 106911 2013-06-11 14:40:14Z jmr@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-distribute
version             0.7
categories-append   devel
license             {PSF ZPL}
maintainers         nomaintainer
description         Deprecated fork of setuptools
long_description \
   Distribute is a fork of the Setuptools project. It was intended to replace \
   Setuptools as the standard method for working with Python module \
   distributions, but has since been reintegrated with Setuptools.

platforms           darwin
supported_archs     noarch

homepage            https://pypi.python.org/pypi/distribute/
distfiles
archive_sites

python.versions     24 25 26 27 31 32 33

if {$subport != $name} {
    replaced_by     py${python.version}-setuptools
} else {
    replaced_by     py-setuptools
}
depends_lib

pre-configure {
    ui_error "$subport is obsolete, please install $replaced_by instead."
    error "obsolete port"
}
