[100401] trunk/dports/python

ram at macports.org ram at macports.org
Mon Dec 10 14:50:59 PST 2012


Revision: 100401
          https://trac.macports.org/changeset/100401
Author:   ram at macports.org
Date:     2012-12-10 14:50:59 -0800 (Mon, 10 Dec 2012)
Log Message:
-----------
python/py-voeventlib: new port

Added Paths:
-----------
    trunk/dports/python/py-voeventlib/
    trunk/dports/python/py-voeventlib/Portfile
    trunk/dports/python/py-voeventlib/files/
    trunk/dports/python/py-voeventlib/files/patch-fix_version.diff

Added: trunk/dports/python/py-voeventlib/Portfile
===================================================================
--- trunk/dports/python/py-voeventlib/Portfile	                        (rev 0)
+++ trunk/dports/python/py-voeventlib/Portfile	2012-12-10 22:50:59 UTC (rev 100401)
@@ -0,0 +1,41 @@
+# $Id$
+
+PortSystem      1.0
+PortGroup       python 1.0
+
+name            py-voeventlib
+set my_name     VOEventLib
+version         0.3
+categories      python science devel
+platforms       darwin
+supported_archs noarch
+maintainers     ram
+
+description     Reference implementation and parser for VOEvent2
+long_description \
+  The reference implementation, and parser, for the VOEvent2 XML \
+  specification \[International Virtual Observatory Alliance \
+  \(IVOA\)\], which is a standardized language used to report \
+  observations of astronomical events.
+
+distname        ${my_name}-${version}
+homepage        http://lib.skyalert.org/VOEventLib/
+master_sites    ${homepage}
+
+checksums       rmd160 20a8f565ce9b71621e949aea00750b78998a0481 \
+                sha256 a08d4c4a4918cc47d15c2bab60a7913162e7e309420297fbfcc1f0abd9765bec
+
+python.versions 24 25 26 27
+
+if {${subport} != ${name}} {
+  patchfiles    patch-fix_version.diff
+  depends_lib-append port:py${python.version}-lxml
+}
+
+if {${name} == ${subport}} {
+  livecheck.type  regex
+  livecheck.url   ${homepage}
+  livecheck.regex {version (\d+(?:\.\d+)*)}
+} else {
+  livecheck.type  none
+}

Added: trunk/dports/python/py-voeventlib/files/patch-fix_version.diff
===================================================================
--- trunk/dports/python/py-voeventlib/files/patch-fix_version.diff	                        (rev 0)
+++ trunk/dports/python/py-voeventlib/files/patch-fix_version.diff	2012-12-10 22:50:59 UTC (rev 100401)
@@ -0,0 +1,21 @@
+--- PKG-INFO	2011-03-04 15:34:07.000000000 -0600
++++ PKG-INFO	2012-12-06 14:29:46.000000000 -0600
+@@ -1,6 +1,6 @@
+ Metadata-Version: 1.0
+ Name: VOEventLib
+-Version: 0.2
++Version: 0.3
+ Summary: A Python library for VOEvent
+ Home-page: http://lib.skyalert.org/VOEventLib
+ Author: Roy Williams, Dave Kuhlman
+--- setup.py	2011-04-24 20:36:18.000000000 -0500
++++ setup.py	2012-12-06 14:29:53.000000000 -0600
+@@ -1,7 +1,7 @@
+ from distutils.core import setup
+ 
+ setup(name='VOEventLib',
+-      version='0.2',
++      version='0.3',
+       description='A Python library for VOEvent',
+       long_description='A Python library for VOEvent',
+       author='Roy Williams, Dave Kuhlman',
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121210/d9bb57c6/attachment-0001.html>


More information about the macports-changes mailing list