[100721] trunk/dports/python
jmr at macports.org
jmr at macports.org
Thu Dec 20 23:48:46 PST 2012
Revision: 100721
https://trac.macports.org/changeset/100721
Author: jmr at macports.org
Date: 2012-12-20 23:48:46 -0800 (Thu, 20 Dec 2012)
Log Message:
-----------
py*-xmlsec: unify, license
Modified Paths:
--------------
trunk/dports/python/py-xmlsec/Portfile
Removed Paths:
-------------
trunk/dports/python/py26-xmlsec/
Modified: trunk/dports/python/py-xmlsec/Portfile
===================================================================
--- trunk/dports/python/py-xmlsec/Portfile 2012-12-21 07:40:39 UTC (rev 100720)
+++ trunk/dports/python/py-xmlsec/Portfile 2012-12-21 07:48:46 UTC (rev 100721)
@@ -1,31 +1,39 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-xmlsec
-version 0.2.1
-revision 2
+version 0.3.0
+revision 1
categories python security textproc
+license GPL-2+
platforms darwin
maintainers nomaintainer
description a set of Python bindings for the XML Security Library.
long_description ${description}
homepage http://pyxmlsec.labs.libre-entreprise.org/
-master_sites http://labs.libre-entreprise.org/download.php/357/
+master_sites http://labs.libre-entreprise.org/download.php/430/
distname pyxmlsec-${version}
-checksums md5 615aac32eaa2abb0c9091832336fa82b
-patchfiles patch-setup.py
+checksums md5 150631f634654804076f73a0859fea1a \
+ sha1 4752ced5316d676a800230eca0408dd204ffe2b4 \
+ rmd160 aa945ca704ea92747e3ad46041c03b0d37380147
-depends_lib-append port:py24-libxml2 \
- port:openssl \
- port:xmlsec
+python.versions 24 26
-post-destroot {
- file delete ${destroot}${prefix}/share/doc/${name}/examples
- file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}/
- file copy ${worksrcpath}/docs/html ${destroot}${prefix}/share/doc/${name}/
- xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL \
- PKG-INFO README TODO ${destroot}${prefix}/share/doc/${name}
+if {$subport != $name} {
+ patchfiles patch-setup.py
+
+ depends_lib-append port:py${python.version}-libxml2 \
+ port:openssl \
+ port:xmlsec
+
+ post-destroot {
+ file delete ${destroot}${prefix}/share/doc/${subport}/examples
+ file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${subport}/
+ file copy ${worksrcpath}/docs/html ${destroot}${prefix}/share/doc/${subport}/
+ xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL \
+ PKG-INFO README TODO ${destroot}${prefix}/share/doc/${subport}
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121220/2c299026/attachment.html>
More information about the macports-changes
mailing list