[102030] trunk/dports/python
jmr at macports.org
jmr at macports.org
Thu Jan 24 20:24:16 PST 2013
Revision: 102030
https://trac.macports.org/changeset/102030
Author: jmr at macports.org
Date: 2013-01-24 20:24:16 -0800 (Thu, 24 Jan 2013)
Log Message:
-----------
py*-exif: unify, license, noarch
Modified Paths:
--------------
trunk/dports/python/py-exif/Portfile
Removed Paths:
-------------
trunk/dports/python/py25-exif/
trunk/dports/python/py26-exif/
Modified: trunk/dports/python/py-exif/Portfile
===================================================================
--- trunk/dports/python/py-exif/Portfile 2013-01-25 04:00:11 UTC (rev 102029)
+++ trunk/dports/python/py-exif/Portfile 2013-01-25 04:24:16 UTC (rev 102030)
@@ -1,13 +1,13 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-exif
-epoch 1
version 1.0.2
-categories python
+license BSD
platforms darwin freebsd
+supported_archs noarch
maintainers nomaintainer
description Python interface to the EXIF meta-data
long_description Exchangeable Image File Format for Digital Still \
@@ -17,15 +17,17 @@
homepage http://sourceforge.net/projects/exif-py/
master_sites sourceforge:exif-py
-distfiles EXIF.py
-dist_subdir python/${name}/${version}
-checksums md5 550eb23304b7c2a36f2bc90825a7c688 \
- sha1 c39b04caf2d17a7ee0ed46a829779b5e8ecb56b9 \
- rmd160 0ba9ced796faabd60abc2bd20e47847bc6993c64
+distname EXIFpy_${version}
+checksums md5 7df9f94e98b6ff5da872105a11069356 \
+ sha1 859411ec882fc297a4aa4f1368aa5c2a14688573 \
+ rmd160 26bbc5fbdd01b7c8cf472895f66a9f633b0510fd
-extract {
- file mkdir ${worksrcpath}
- file copy ${distpath}/EXIF.py ${worksrcpath}/exif.py
- file copy ${filespath}/setup.py ${worksrcpath}
- reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
+python.versions 24 25 26
+
+if {$subport != $name} {
+ extract.mkdir yes
+ post-extract {
+ file copy ${filespath}/setup.py ${worksrcpath}
+ reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130124/12b72a9c/attachment.html>
More information about the macports-changes
mailing list