Opened 11 years ago

Closed 11 years ago

#37567 closed submission (fixed)

py-pyaudio @0.2.7 (python)

Reported by: Jakker (Jaap Akkerhuis) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-pyaudio

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.

This is my first attempt to do a macport. Please do send me feed-back when needed. I'm happy to learn and adjust the Portfile accordingly.

Attachments (1)

Portfile (1.1 KB) - added by Jakker (Jaap Akkerhuis) 11 years ago.
Portfile for this port (pu-pyaudio

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by Jakker (Jaap Akkerhuis)

Attachment: Portfile added

Portfile for this port (pu-pyaudio

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Cc: jaapna@… removed
Port: py-pyaudio added
Version: 2.1.2

I noticed a few problems:

  1. The "sh256" checksum should be "sha256".
  2. "depends_lib" needs to be "depends_lib-append" to not overwrite the pythonXY dependency.
  3. The categories line can be removed since the python portgroup already sets that.

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Thanks for the port.

comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Committed in r101303 with these changes:

  • fixed sha256 line
  • fixed depends_lib line
  • added audio category
  • changed tabs to spaces
  • removed "supported_archs noarch" because this port does install architecture-specific files
  • did reinplacing in post-patch instead of pre-build
  • made depends_lib, post-patch and python.link_binaries only affect the subports, to fix building the stub port
  • fixed livecheck
Note: See TracTickets for help on using tickets.