Commit graph

19 commits

Author SHA1 Message Date
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Danilo G. Baio
b53abbd839 Remove PY_SPHINX from ports using Python 3
Approved by:	 portmgr blanket
Differential Revision:	https://reviews.freebsd.org/D28093
2021-01-14 14:34:38 +00:00
Antoine Brodin
aa7a6c429e Drop python 2.7 support from a few ports
With hat:	portmgr
2020-12-28 23:02:12 +00:00
Kai Knoblich
9cb5898561 Relax hardcoded paths to fix build with Python 3.8.7
Since r558913 Python 3.8 incorporates BPO-42604 [1] which changed the
shared libs naming scheme.  This means "EXT_SUFFIX" is now derived from
SOABI and yields with Python 3.8 to ".cpython-38.so" instead of ".so".

The affected ports strip the libaries in the "post-install" target via
hardcoded path(s) and the build fails at the end because the new extension
is not expected at this place.

Remedy the issue by adding wildcards to these paths.  This should also
prepare the ports for future Python releases, which will use the new shared
libs naming scheme.

[1] https://bugs.python.org/issue42604

PR:		252057
Reported by:	John Kennedy
Reviewed by:	fluffy, koobs
Approved by:	koobs (python)
2020-12-24 13:46:01 +00:00
Danilo G. Baio
75a5f7f076 Update Sphinx
- Repocopy textproc/py-sphinx to textproc/py-sphinx18

  Update it to 1.8.5 (latest version from 1.8.X).
  This version supports Python 2 and 3.
  Add test target.

- textproc/py-sphinx: Update to 3.0.2

  Python 3 only (3.5+).
  Add test target.

- Mk/Uses/python.mk: Add PY_SPHINX

  Shared macro to use with flavors and not break
  ports with USES=python (all versions).

  Python >=3.5  --> textproc/py-sphinx (v3.0.2)
  Python < 3.5  --> textproc/py-sphinx18 (v1.8.5)

  All ports that uses sphinx were changed to use the new variable
  ${PY_SPHINX} in the dependency line, exceptions:

    * Ports that fails to build with sphinx 3.0.2 because of code.
      They are pointing to textproc/py-sphinx18 directly.
      There aren't many ports.

    * Ports that doesn't know Python flavors.

- Add several patches to fix Sphinx consumers

  The most common issues are related with pkg-plist, the output
  files from Sphinx changes between versions, keep this dynamically
  is the better approach.

  This will save time in future sphinx updates.

PR:		245629
Exp-run by:	antoine
2020-05-11 23:51:58 +00:00
Yuri Victorovich
cb4a84de10 audio/py-pyaudio: Add USE_PYTHON=concurrent
PR:		226343
Submitted by:	owk <freebsd_ports@k-worx.org>
Approved by:	tcberner (mentor, implicit)
Approved by:	portmgr blanket
2018-03-04 19:57:25 +00:00
Jason E. Hale
d7f993c03b Fix stage-qa errors when building a non-default Python flavor when DOCS option
is enabled. (e.g. py27 default, try to build py36)

===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: %%PYTHON_SITELIBDIR%%/pyaudio.pyc
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.

textproc/py-sphinx is only needed for DOCS here and should be the same flavor as
the port being built to avoid bytecode leftovers.

Do DOCS build in the build stage and simplify DOCS installation

Approved by:	portmgr (blanket)
2018-02-26 15:27:34 +00:00
Thomas Zander
87094690cc Update to upstream version 0.2.11, fixes runtime issue with python GIL
PR:		218588
Submitted by:	jaap@NLnetLabs.nl (maintainer)
MFH:		2017Q2
2017-04-14 16:03:48 +00:00
Mathieu Arnold
9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00
Kurt Jaeger
8b7b50355c audio/py-pyaudio: 0.2.8 -> 0.2.9
- Fix overflow error handling logic for pa_read_stream.
  Stream.read takes an additional parameter that specifies whether
  an exception is raised on audio buffer overflow, for parity with
  Stream.write.  Includes relevant bug fixes in the C module logic.
  Thanks to Tony Jacobson for submitting a patch!
- Fix IOError arguments.
  IOError exceptions previously had values in the strerror and errno fields
  swapped, which is now corrected.
  Thanks to Sami Liedes for the report!
- Miscellaneous updates.
  Python library surfaces issues with importing low-level C module.
  Code formatting update.
  Updates to examples for Python 3 compatibility.

PR:		208517
Submitted by:	jaap@NLnetLabs.nl (maintainer)
2016-04-05 18:04:38 +00:00
Mathieu Arnold
7f4572eae4 Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:29:15 +00:00
Baptiste Daroussin
3fef6c52f0 Update portaudio to v19/Remove portaudio2 [1]
Chase portaudio change
Add patches from debian for games/cultivation
Add patches from upsteam for audio/rezound
Mark py-fastaudio as broken

Approved by:	maintainer
2015-05-30 20:39:12 +00:00
Pawel Pekala
2c623ca15c - Update to version 0.2.8, add LICENSE [1]
- Fix build on DragonFly and when LOCALBASE != PREFIX [2]
- Make sure to link with audio/portaudio2 [2]

PR:		196054
Submitted by:	maintainer [1], Jan Beich [2]
2015-01-01 19:56:44 +00:00
Marcus von Appen
715852b561 - Convert ports from audio/ to new USES=python
Reviewed by:	portmgr (implicit)
2014-10-19 07:33:09 +00:00
Adam Weinberger
1c7521fb62 Correct all instances where OPTIONS_DEFINE was being overwritten
by multiple definitions.
2014-07-15 17:37:38 +00:00
Baptiste Daroussin
f4d589e486 Support stage
Use autoplist
2014-04-04 22:44:03 +00:00
Baptiste Daroussin
5978476c35 In preparation for making libtool generate libraries with a sane name, fix all
LIB_DEPENDS in audio

With hat:	portmgr
2013-12-11 14:35:36 +00:00
Baptiste Daroussin
183c2ed74f Add NO_STAGE all over the place in preparation for the staging support (cat: audio) 2013-09-20 14:36:35 +00:00
Marcus von Appen
d498d3028a 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.

WWW: http://people.csail.mit.edu/hubert/pyaudio/

PR:		ports/173708
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl>
2012-12-22 10:11:42 +00:00