[101303] trunk/dports/python

ryandesign at macports.org ryandesign at macports.org
Mon Jan 7 16:09:16 PST 2013


Revision: 101303
          https://trac.macports.org/changeset/101303
Author:   ryandesign at macports.org
Date:     2013-01-07 16:09:16 -0800 (Mon, 07 Jan 2013)
Log Message:
-----------
py-pyaudio: new port, version 0.2.7 (#37567)

Added Paths:
-----------
    trunk/dports/python/py-pyaudio/
    trunk/dports/python/py-pyaudio/Portfile

Added: trunk/dports/python/py-pyaudio/Portfile
===================================================================
--- trunk/dports/python/py-pyaudio/Portfile	                        (rev 0)
+++ trunk/dports/python/py-pyaudio/Portfile	2013-01-08 00:09:16 UTC (rev 101303)
@@ -0,0 +1,45 @@
+# -*- 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-pyaudio
+version                 0.2.7
+categories-append       audio
+platforms               darwin
+maintainers             NLnetLabs.nl:jaap
+license                 MIT
+
+description             PyAudio provides Python bindings for PortAudio
+
+long_description        PyAudio provides Python bindings for PortAudio, \
+                        the cross-platform audio I/O library. With PyAudio, \
+                        you can easily use Python to play and record audio \
+                        on a variety of platforms.
+
+homepage                http://people.csail.mit.edu/hubert/pyaudio/
+master_sites            ${homepage}packages/
+distname                pyaudio-${version}
+
+checksums               md5     41eaa5a027e2a68ac29237018985dfbb \
+                        rmd160  d4536504f99a0dcd90e6b6d1c7ce694e946febe5 \
+                        sha256  7807cf937df3652f64b014b9f579c308cf87057d32ed4250a6b28844e2b56287
+
+python.versions         26 27 32
+
+if {${name} != ${subport}} {
+    depends_lib-append  port:portaudio
+
+    post-patch {
+        reinplace "s|portaudio-v19|${prefix}|g" ${worksrcpath}/setup.py
+    }
+
+    python.link_binaries no
+
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       [lindex ${master_sites} 0]
+    livecheck.regex     pyaudio-(\[0-9.\]+)${extract.suffix}
+}


Property changes on: trunk/dports/python/py-pyaudio/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130107/e2a03204/attachment.html>


More information about the macports-changes mailing list