Unified python group help

Thomas Robitaille thomas.robitaille at gmail.com
Fri Aug 19 13:14:34 PDT 2011


Hi everyone,

I tried changing a port that I am maintaining to the unified python
group - the portfile now contains:

---

# -*- 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 82745 2011-08-19 19:50:01Z robitaille at macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-pyavm
version             0.1.4
maintainers         robitaille

categories-append   science
description         Pure-Python AVM library
long_description    Pure-Python AVM library

platforms           darwin
license             MIT

homepage            https://github.com/astrofrog/pyavm
master_sites        http://cloud.github.com/downloads/astrofrog/pyavm/
distname            PyAVM-${version}
checksums           md5  a562139c0379d79fe8c87ac557291644 \
                    sha1  a5090ca5b86ed98444e419f44503638878496b5f \
                    rmd160  d38d9a1075202246eb029b2f2032fbe5b32c3cc6

python.versions     25 26 27

---

The package is not compatible with python 2.4, so I left 24 out of
python.versions. However, if I now search for pyavm I get four
entries:

port search avm
py-pyavm @0.1.4 (python, science)
    Pure-Python AVM library

py25-pyavm @0.1.4 (python, science)
    Pure-Python AVM library

py26-pyavm @0.1.4 (python, science)
    Pure-Python AVM library

py27-pyavm @0.1.4 (python, science)
    Pure-Python AVM library

Found 4 ports.

and the first one seems to indicate that there is a Portfile for python24:

$ port info py-pyavm
py-pyavm @0.1.4 (python, science)
Replaced by:          py24-pyavm
Sub-ports:            py25-pyavm, py26-pyavm, py27-pyavm

Description:          Pure-Python AVM library
Homepage:             https://github.com/astrofrog/pyavm

Library Dependencies: py24-pyavm
Platforms:            darwin
License:              MIT
Maintainers:          robitaille at macports.org

Did I do something wrong?

Thanks for any help,

Thomas


More information about the macports-dev mailing list