[137789] trunk/dports/python
larryv at macports.org
larryv at macports.org
Fri Jun 19 11:22:55 PDT 2015
Revision: 137789
https://trac.macports.org/changeset/137789
Author: larryv at macports.org
Date: 2015-06-19 11:22:55 -0700 (Fri, 19 Jun 2015)
Log Message:
-----------
py27-functools32: New port
Python 3.2.3's "functools" module, backported for Python 2.7.
Added Paths:
-----------
trunk/dports/python/py-functools32/
trunk/dports/python/py-functools32/Portfile
Added: trunk/dports/python/py-functools32/Portfile
===================================================================
--- trunk/dports/python/py-functools32/Portfile (rev 0)
+++ trunk/dports/python/py-functools32/Portfile 2015-06-19 18:22:55 UTC (rev 137789)
@@ -0,0 +1,43 @@
+# -*- 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-functools32
+version 3.2.3-1
+categories-append devel
+platforms darwin
+supported_archs noarch
+license PSF
+maintainers nomaintainer
+
+description Backport of the functools module from Python 3.2.3
+long_description This is a backport of the functools standard \
+ library module from Python 3.2.3 for use on \
+ Python 2.7. It includes new features 'lru_cache' \
+ (Least-recently-used cache decorator).
+homepage https://github.com/MiCHiLU/python-functools32
+
+set realName functools32
+
+master_sites https://pypi.python.org/packages/source/f/$realName
+distname $realName-${version}
+checksums md5 6c226dfc1ca56ba3ee200d603b780cbc \
+ rmd160 7f6f4b4f1a778b9db7661c953c669ec3a679c7ed \
+ sha256 6a3b7420432b0817ef192aef341cd766e199801a90ca7fe319f9d5fca40edda2
+
+python.versions 27
+
+if {${subport} ne ${name}} {
+ post-destroot {
+ set docdir ${prefix}/share/doc/${subport}
+ xinstall -d ${destroot}$docdir
+ xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE ${destroot}$docdir
+ }
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url https://pypi.python.org/pypi?:action=doap&name=$realName
+ livecheck.regex {<revision>(\d+(\.\d+)+(-\d+)?)</revision>}
+}
Property changes on: trunk/dports/python/py-functools32/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150619/dac62420/attachment.html>
More information about the macports-changes
mailing list