[126924] trunk/dports/python

petr at macports.org petr at macports.org
Fri Oct 17 12:43:28 PDT 2014


Revision: 126924
          https://trac.macports.org/changeset/126924
Author:   petr at macports.org
Date:     2014-10-17 12:43:28 -0700 (Fri, 17 Oct 2014)
Log Message:
-----------
py-pyinterval: new port

Added Paths:
-----------
    trunk/dports/python/py-pyinterval/
    trunk/dports/python/py-pyinterval/Portfile
    trunk/dports/python/py-pyinterval/files/
    trunk/dports/python/py-pyinterval/files/patch-setup.py.diff

Added: trunk/dports/python/py-pyinterval/Portfile
===================================================================
--- trunk/dports/python/py-pyinterval/Portfile	                        (rev 0)
+++ trunk/dports/python/py-pyinterval/Portfile	2014-10-17 19:43:28 UTC (rev 126924)
@@ -0,0 +1,47 @@
+# -*- 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
+
+set _name           pyinterval
+set _n              [string index ${_name} 0]
+
+name                py-pyinterval
+version             1.0b21
+categories-append   math
+platforms           darwin
+supported_archs     noarch
+license             BSD
+maintainers         nomaintainer
+
+description         Interval arithmetic in Python
+long_description    \
+    This library provides a Python implementation of an algebraically closed \
+    interval system on the extended real number set. An interval object \
+    consists of a finite union of closed, possibly unbound, mathematical \
+    intervals.
+
+homepage            https://code.google.com/p/pyinterval/
+master_sites        https://pypi.python.org/packages/source/${_n}/${_name}/
+distname            ${_name}-${version}
+
+checksums           md5     a65fe9855d3b6b0a9ddcc5b2f1e1e421 \
+                    rmd160  85b8849d8643e8db644b8d37ae41a8e93daf2e96 \
+                    sha256  83434641a647c6913408f457ffca1fae90a9303b8d0bcc0816a1f5d0ddc1cd34
+
+python.versions     27
+
+if {${name} ne ${subport}} {
+    depends_build-append    port:py${python.version}-setuptools
+
+    depends_lib-append      port:crlibm
+
+    patchfiles          patch-setup.py.diff
+
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${master_sites}
+    livecheck.regex     ">${_name}-(\\d+(\\.\\d+)+(\[a-z\]\\d+)?)\\${extract.suffix}<"
+}


Property changes on: trunk/dports/python/py-pyinterval/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/python/py-pyinterval/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py-pyinterval/files/patch-setup.py.diff	                        (rev 0)
+++ trunk/dports/python/py-pyinterval/files/patch-setup.py.diff	2014-10-17 19:43:28 UTC (rev 126924)
@@ -0,0 +1,11 @@
+--- setup.orig.py	2008-08-27 03:00:33.000000000 +0200
++++ setup.py	2014-10-17 21:22:34.000000000 +0200
+@@ -27,7 +27,7 @@
+ 
+ class custom_build_py(build_py):
+     def run(self):
+-	from os import path as op
++        from os import path as op
+         def fix(package, src_dir, build_dir, filenames):
+             assert filenames == [op.join('..', 'LICENSE')]
+             return (package, '.', build_dir, ['LICENSE'])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141017/b9ca93ab/attachment.html>


More information about the macports-changes mailing list