Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
current python flavor. It can be used in dependency lines when the
port itself is not python flavored. For example, deskutils/calibre.
By default, all the flavors are generated. To only generate flavors
for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.
In all the ports with Python dependencies, the *_DEPENDS entries MUST
end with the flavor so that the framework knows which to build/use.
This is done by appending '@${PY_FLAVOR}' after the origin (or
@${FLAVOR} if in a Python module with Python flavors, as the content
will be the same). For example:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
PR: 223071
Reviewed by: portmgr, python
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D12464551be3c723Port details
multimedia/py3-gstreamer1
Moved to multimedia/py-gstreamer1 on : Moved to a flavored, generic, version
This port is no longer in the ports tree, its history is kept below.
- Links
- cgit
Commits (16)
Update GStreamer 1.x suite to 1.12.3. ChangeLog: https://gstreamer.freedesktop.org/releases/1.12/#1.12.33a0bcca815
Update GStreamer1 ports to 1.12.2. Rework the adding of dependancies in Mk/bsd.gstreamer.mk. Previous when using USE_GSTREAMER[1] it would just add the request modules to BUILD/RUN_DEPENDS. This caused the qa script to complain because the old code didn't implicit depend on the gstreamer1 and gstreamer1-plugins[-bad] ports for the libraries they carried, even if they where present via the plugins! The new code adds implicit depends on these ports so USE_GSTREAMER[1] using ports have all the libraries included. * The mad mp3 plugin was removed, mpg123 plugin also provides mp3 decoding. Switch over ports that used the gstreamer1 mad plugin. * gtksink plugin renamed -> gtk * Hook up the sndio plugin into the framework * Add some indirect dependacies where needed * Reorder the plugin list in bsd.gstreamer.mk so only one plugin per line. When changing plugins it doesn't result in multiple lines being changed. * Remove mentions in bsd.gstreamer.mk of plugins mentions that where removed. * Depend on libunwind on i386/amd64, GStreamer links to it if it is present. PR: 220753 Exp-run by: antoine@d566d54fa6
Add more PLIST_SUB to Mk/Uses/python.mk - Add PYTHON_PYOEXTENSION and PYTHON_SUFFIX - Add PYTHON2 and PYTHON3 - Respect PYTHON_VERSION - Rename PYOEXTENSION to PYTHON_PYOEXTENSION This change would help: - Build databases/postgresql*-plpython with Python 3 (It has PLIST issue since bsd.python.mk to Uses/python.mk transition) - Simplify Makefile PR: 205807 Differential Revision: https://reviews.FreeBSD.org/D4758 Exp-run by: antoinee730d999d3
- Fix trailing whitespace in Makefiles Approved by: portmgr blanket652069fa2d
Update GStreamer1 ports to 1.8.0. ChangeLog: https://gstreamer.freedesktop.org/releases/1.8/405cf8c704
multimedia/py3-gstreamer1: fix packaging with python 3.5 PR: 204519 With hat: gnomed3be24587b
Update GStreamer1 to 1.6.2. Update GStreamer1-vaapi to 0.7.0. * Spell GStreamer consistently. [1] * Fix typo in py3kplist in py3-gstreamer1 [1] * Improve plugins COMMENTS (more improvements welcome) * Actually include the gstreamer1-libav update this time. PR: 204204 [1] (based on) Submitted by: olivierd@ [1]353ad9c72e
Update Gstreamer suite to 1.6.1.f1f581a883
Update gstreamer1 ports to 1.6.0.
* gstreamer1-libav now uses ffmpeg from ports.
* New ports:
* gstreamer1-validate: Tools to detect if elements are not behaving
as expected, mainly aimed at developers, or advanced debugging.
* gstreamer1-rtsp-server: Base foundation for building a rtsp
server ontop of GStreamer
* Bunch of new plugins like: mpg123, rsvg, libde265, openh264, x265 and dtls.
Release announcement:
http://lists.freedesktop.org/archives/gstreamer-announce/2015-September/000357.html
Obtained from: gnome devel repo7b97259096Set PORTSCOUT on gstreamer ports53a3544c77
Switch default python3 version from 3.3 to 3.4. Bump PORTREVISIONs for the affected ports. Exp-run by: antoine3a18883882
Big Gstreamer update: Update gstreamer, gstreamer-plugins, -good, -bad and -ugly ports to 1.4.4. Update gstreamer1-plugins-gnonlin to 1.4.0. Update py-gstreamer1 and py3-gstreamer1 to 1.4.0. Add multimedia/gstreamer1-editing-services. GES is a high-level library for facilitating the creation of audio/video non-linear editors. Add pulseaudio plugin now that pulseaudio is updated and add the gl plugin. Drop :keepla from USES=libtool. Drop @dirrm[try] from plists and drop gnomehier from USE_GNOME Switch to optionhelpers in multimedia/gstreamer1. PR: 194922 (merged with my own WIP) Submitted by: olivierdc6e9859c13
Add USES=libtool and USES=python:3eddcf83a0d
Add missing /libs in LDFLAGS, this should fix the build in some cases. While here, remove PTHREAD_* from CPPFLAGS and LDFLAGS. PR: 192432 Submitted by: sascha@root-login.org (PR), troyax@pholos.eu (fix)82a022574b
Add Gstreamer python bindings for Gstreamer 1.x. Add python2 and python3 flavors. USE_GSTREAMER1 entries will be made when I figure out how adapt bsd.gstreamer.mk to the dual python flavors. PR: ports/187647 (merged/based on) Submitted by: Olivier Duchateau8e0b019b1b