Hi folks-

I committed[0] a tiny change to python.port.mk that should make
updating Python ports easier. Previously, py ports built with
py-setuptools installed would produce egg-info entries in PLIST that
contained the package version string. These version strings change
with each update, producing noise in the diffs. By adding
MODPY_EGG_VERSION to your ports, the version string will be
substituted in the PLIST.

martynas@ has committed a few updates[1] that include
MODPY_EGG_VERSION that you can look at. I plan to convert the
in-tree py ports gradually, but it would be nice if new ports
already included it.

So: for new py submissions, please do something like:

    MODPY_EGG_VERSION =     0.1.2
    DISTNAME =              superpackage-${MODPY_EGG_VERSION}

It's usually as easy as that. Run the update-plist target and make
sure that the version string is properly substituted. Note that
there are a few cases where the Python package version is not the
same as the port package version; in those cases, set
MODPY_EGG_VERSION to the version string you see in the PLIST.

Thanks!

[0] http://marc.info/?l=openbsd-ports-cvs&m=120775200832627&w=2
[1] http://marc.info/?l=openbsd-ports-cvs&m=120825242826409&w=2

-- 

o--------------------------{ Will Maier }--------------------------o
| web:.......http://www.lfod.us/ | [EMAIL PROTECTED] |
*---------------------[ BSD: Live Free or Die ]--------------------*

Reply via email to