[86375] trunk/dports/python
devans at macports.org
devans at macports.org
Mon Oct 24 16:19:07 PDT 2011
Revision: 86375
http://trac.macports.org/changeset/86375
Author: devans at macports.org
Date: 2011-10-24 16:18:58 -0700 (Mon, 24 Oct 2011)
Log Message:
-----------
py-epsilon: new port, version 0.6.0, utilities required by Axiom.
Added Paths:
-----------
trunk/dports/python/py-epsilon/
trunk/dports/python/py-epsilon/Portfile
trunk/dports/python/py-epsilon/files/
trunk/dports/python/py-epsilon/files/patch-python26.diff
Added: trunk/dports/python/py-epsilon/Portfile
===================================================================
--- trunk/dports/python/py-epsilon/Portfile (rev 0)
+++ trunk/dports/python/py-epsilon/Portfile 2011-10-24 23:18:58 UTC (rev 86375)
@@ -0,0 +1,42 @@
+# -*- 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$
+
+PortSystem 1.0
+PortGroup python 1.0
+
+name py-epsilon
+set gname epsilon
+version 0.6.0
+license MIT
+categories-append database
+platforms darwin
+supported_archs noarch
+
+maintainers devans openmaintainer
+
+description Epsilon is a set of Python utility modules
+
+long_description ${description}
+
+homepage http://packages.debian.org/squeeze/python/python-epsilon
+master_sites debian:e/${gname}
+
+distname ${gname}_${version}.orig
+
+checksums sha1 416b6f46c5dced312e87eecb306d5cc7b28dd322 \
+ sha256 2be3a6ef877c4e17ca9dadd6b484fe31bdf16c20b949ec6a8b15677e08c512fa
+
+worksrcdir Epsilon-${version}
+
+python.default_version 27
+python.versions 25 26 27
+
+
+if {$subport != $name} {
+ depends_lib-append port:py${python.version}-twisted \
+ port:py${python.version}-openssl
+}
+
+livecheck.type regex
+livecheck.url http://ftp.us.debian.org/debian/pool/main/e/${gname}/
+livecheck.regex "${gname}_(\\d+(?:\\.\\d+)*)\\.orig${extract.suffix}"
Property changes on: trunk/dports/python/py-epsilon/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/python/py-epsilon/files/patch-python26.diff
===================================================================
--- trunk/dports/python/py-epsilon/files/patch-python26.diff (rev 0)
+++ trunk/dports/python/py-epsilon/files/patch-python26.diff 2011-10-24 23:18:58 UTC (rev 86375)
@@ -0,0 +1,39 @@
+--- axiom/item.py.orig 2010-01-14 14:42:26.000000000 +0100
++++ axiom/item.py 2010-01-14 14:42:58.000000000 +0100
+@@ -101,6 +101,36 @@
+ (other.typeName, other.schemaVersion))
+ return NotImplemented
+
++ def __lt__(self, other):
++ if isinstance(other, MetaItem):
++ return (self.typeName, self.schemaVersion) < (other.typeName, other.schemaVersion)
++ return NotImplemented
++
++ def __gt__(self, other):
++ if isinstance(other, MetaItem):
++ return (self.typeName, self.schemaVersion) > (other.typeName, other.schemaVersion)
++ return NotImplemented
++
++ def __le__(self, other):
++ if isinstance(other, MetaItem):
++ return (self.typeName, self.schemaVersion) <= (other.typeName, other.schemaVersion)
++ return NotImplemented
++
++ def __ge__(self, other):
++ if isinstance(other, MetaItem):
++ return (self.typeName, self.schemaVersion) >= (other.typeName, other.schemaVersion)
++ return NotImplemented
++
++ def __eq__(self, other):
++ if isinstance(other, MetaItem):
++ return (self.typeName, self.schemaVersion) == (other.typeName, other.schemaVersion)
++ return NotImplemented
++
++ def __ne__(self, other):
++ if isinstance(other, MetaItem):
++ return (self.typeName, self.schemaVersion) != (other.typeName, other.schemaVersion)
++ return NotImplemented
++
+
+ def noop():
+ pass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111024/9430c928/attachment.html>
More information about the macports-changes
mailing list