From 32512cab3e8dd90b7cd0525bb5dc98007db431e2 Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 30 Nov 2017 15:50:30 +0000 Subject: 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/D12464 --- MOVED | 148 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 146 insertions(+), 2 deletions(-) (limited to 'MOVED') diff --git a/MOVED b/MOVED index 1fd32d52b12e..f54c144a1450 100644 --- a/MOVED +++ b/MOVED @@ -7656,7 +7656,6 @@ graphics/kuickshow-kde4||2015-07-21|Has expired: Broken for more than 6 months graphics/sng||2015-07-21|Has expired: Broken for more than 6 months japanese/netype||2015-07-21|Has expired: Broken for more than 6 months databases/p5-DBD-Pg32|databases/p5-DBD-Pg|2015-07-22|Has expired: Use databases/p5-DBD-Pg instead, compatibility probles are fixed -textproc/py-asciinema|textproc/asciinema|2015-07-23|Has expired: use textproc/asciinema instead devel/libiomp5-devel|devel/llvm-devel|2015-07-24|Merged with devel/llvm-devel devel/p5-Test-Tester|devel/p5-Test-Simple|2015-07-25|Has expired: Part of p5-Test-Simple (use that instead), and included in perl 5.22 devel/p5-Test-use-ok|devel/p5-Test-Simple|2015-07-25|Has expired: Part of devel/p5-Test-Simple (use that instead), and included in perl 5.22 @@ -9099,7 +9098,6 @@ databases/py-sqlalchemy09|databases/py-sqlalchemy10|2017-03-12|Has expired: Upst devel/avr-gcc-devel||2017-03-13|Has expired: There's no longer a point to have both, a -devel and a regular port of GCC for the AVR net/py-pysimplesoap|net/py-soap2py|2017-03-13|Rename to match upstream naming games/trigger-data|games/trigger-rally|2017-03-15|Merged into games/trigger-rally -devel/py-setuptools|devel/py27-setuptools|2017-03-16|Renamed to better match other python ports devel/py-setuptools27|devel/py27-setuptools|2017-03-16|Renamed to better match other python ports devel/py-setuptools33|devel/py33-setuptools|2017-03-16|Renamed to better match other python ports devel/py-setuptools34|devel/py34-setuptools|2017-03-16|Renamed to better match other python ports @@ -9657,3 +9655,149 @@ devel/buildbot-worker|devel/py-buildbot-worker|2017-11-29|Rename to comply with devel/buildbot-www|devel/py-buildbot-www|2017-11-29|Rename to comply with PyPI scheme. emulators/ppsspp-devel|emulators/ppsspp|2017-11-29|Out of date: use emulators/ppsspp for now audio/shairport|audio/shairport-sync|2017-11-29|Has expired: Officially unmaintained upstream. Use audio/shairport-sync instead +accessibility/py3-speech-dispatcher|accessibility/py-speech-dispatcher@py36|2017-11-30|Moved to a flavored, generic, version +accessibility/py3-atspi|accessibility/py-atspi@py36|2017-11-30|Moved to a flavored, generic, version +archivers/py3-libarchive-c|archivers/py-libarchive-c@py36|2017-11-30|Moved to a flavored, generic, version +audio/py3-mutagen|audio/py-mutagen@py36|2017-11-30|Moved to a flavored, generic, version +audio/py3-pylast|audio/py-pylast@py36|2017-11-30|Moved to a flavored, generic, version +databases/py3-apsw|databases/py-apsw@py36|2017-11-30|Moved to a flavored, generic, version +databases/py3-bsddb3|databases/py-bsddb3@py36|2017-11-30|Moved to a flavored, generic, version +databases/py3-mysqlclient|databases/py-mysqlclient@py36|2017-11-30|Moved to a flavored, generic, version +databases/py3-psycopg2|databases/py-psycopg2@py36|2017-11-30|Moved to a flavored, generic, version +databases/py34-gdbm|databases/py-gdbm@py34|2017-11-30|Moved to a flavored, generic, version +databases/py34-sqlite3|databases/py-sqlite3@py34|2017-11-30|Moved to a flavored, generic, version +databases/py35-gdbm|databases/py-gdbm@py35|2017-11-30|Moved to a flavored, generic, version +databases/py35-sqlite3|databases/py-sqlite3@py35|2017-11-30|Moved to a flavored, generic, version +databases/py36-gdbm|databases/py-gdbm@py36|2017-11-30|Moved to a flavored, generic, version +databases/py36-sqlite3|databases/py-sqlite3@py36|2017-11-30|Moved to a flavored, generic, version +devel/py27-setuptools|devel/py-setuptools@py27|2017-11-30|Moved to a flavored, generic, version +devel/py3-threema-msgapi|devel/py-threema-msgapi@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-Jinja2|devel/py-Jinja2@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-apipkg|devel/py-apipkg@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-asttokens|devel/py-asttokens@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-babel|devel/py-babel@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-cffi|devel/py-cffi@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-click-log|devel/py-click-log@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-click-threading|devel/py-click-threading@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-click|devel/py-click@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-colorama|devel/py-colorama@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-coloredlogs|devel/py-coloredlogs@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-dateutil|devel/py-dateutil@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-dbus|devel/py-dbus@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-defusedxml|devel/py-defusedxml@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-docopt|devel/py-docopt@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-flake8-builtins|devel/py-flake8-builtins@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-flake8-docstrings|devel/py-flake8-docstrings@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-flake8-import-order|devel/py-flake8-import-order@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-flake8-polyfill|devel/py-flake8-polyfill@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-flake8-quotes|devel/py-flake8-quotes@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-flake8|devel/py-flake8@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-freezegun|devel/py-freezegun@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-gobject3|devel/py-gobject3@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-hgtools|devel/py-hgtools@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-icalendar|devel/py-icalendar@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-jedi|devel/py-jedi@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-jsonschema|devel/py-jsonschema@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-libpeas|devel/py-libpeas@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-libzfs|devel/py-libzfs@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-llfuse|devel/py-llfuse@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-lxml|devel/py-lxml@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-mccabe|devel/py-mccabe@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-mock|devel/py-mock@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-nose|devel/py-nose@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-pbr|devel/py-pbr@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-pip|devel/py-pip@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-pluggy|devel/py-pluggy@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-ply|devel/py-ply@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-pretend|devel/py-pretend@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-prompt_toolkit|devel/py-prompt_toolkit@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-protobuf|devel/py-protobuf@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-py|devel/py-py@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-pyasn1|devel/py-pyasn1@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-pycodestyle|devel/py-pycodestyle@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-pycparser|devel/py-pycparser@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-pydocstyle|devel/py-pydocstyle@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-pyflakes|devel/py-pyflakes@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-pygit2|devel/py-pygit2@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-pyicu|devel/py-pyicu@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-pylru-cache|devel/py-pylru-cache@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-pytest-capturelog|devel/py-pytest-capturelog@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-pytest-runner|devel/py-pytest-runner@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-pytest-timeout|devel/py-pytest-timeout@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-pytest-xdist|devel/py-pytest-xdist@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-pytest|devel/py-pytest@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-python-magic|devel/py-python-magic@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-pytz|devel/py-pytz@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-rubymarshal|devel/py-rubymarshal@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-scripttest|devel/py-scripttest@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-setproctitle|devel/py-setproctitle@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-setuptools_scm|devel/py-setuptools_scm@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-simplejson|devel/py-simplejson@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-six|devel/py-six@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-tabulate|devel/py-tabulate@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-toposort|devel/py-toposort@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-tox|devel/py-tox@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-tzlocal|devel/py-tzlocal@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-urwid|devel/py-urwid@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-vcversioner|devel/py-vcversioner@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-verboselogs|devel/py-verboselogs@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-virtualenv|devel/py-virtualenv@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-voluptuous|devel/py-voluptuous@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-wcwidth|devel/py-wcwidth@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-xdg|devel/py-xdg@py36|2017-11-30|Moved to a flavored, generic, version +devel/py3-yaml|devel/py-yaml@py36|2017-11-30|Moved to a flavored, generic, version +devel/py34-setuptools|devel/py-setuptools@py34|2017-11-30|Moved to a flavored, generic, version +devel/py35-setuptools|devel/py-setuptools@py35|2017-11-30|Moved to a flavored, generic, version +devel/py36-setuptools|devel/py-setuptools@py36|2017-11-30|Moved to a flavored, generic, version +dns/py3-dnspython|dns/py-dnspython@py36|2017-11-30|Moved to a flavored, generic, version +dns/py3-idna|dns/py-idna@py36|2017-11-30|Moved to a flavored, generic, version +graphics/py3-cairo|graphics/py-cairo@py36|2017-11-30|Moved to a flavored, generic, version +graphics/py3-imagesize|graphics/py-imagesize@py36|2017-11-30|Moved to a flavored, generic, version +graphics/py3-pillow|graphics/py-pillow@py36|2017-11-30|Moved to a flavored, generic, version +graphics/py3-pygraphviz|graphics/py-pygraphviz@py36|2017-11-30|Moved to a flavored, generic, version +lang/cython3|lang/cython@py36|2017-11-30|Moved to a flavored, generic, version +misc/py3-pexpect|misc/py-pexpect@py36|2017-11-30|Moved to a flavored, generic, version +misc/py3-tqdm|misc/py-tqdm@py36|2017-11-30|Moved to a flavored, generic, version +multimedia/py3-gstreamer1|multimedia/py-gstreamer1@py36|2017-11-30|Moved to a flavored, generic, version +net-mgmt/py3-dnsdiag|net-mgmt/py-dnsdiag@py36|2017-11-30|Moved to a flavored, generic, version +net/py3-netifaces|net/py-netifaces@py36|2017-11-30|Moved to a flavored, generic, version +net/py3-pysocks|net/py-pysocks@py36|2017-11-30|Moved to a flavored, generic, version +net/py3-urllib3|net/py-urllib3@py36|2017-11-30|Moved to a flavored, generic, version +print/py3-fonttools|print/py-fonttools@py36|2017-11-30|Moved to a flavored, generic, version +print/py3-pycups|print/py-pycups@py36|2017-11-30|Moved to a flavored, generic, version +security/py3-certifi|security/py-certifi@py36|2017-11-30|Moved to a flavored, generic, version +security/py3-cryptography|security/py-cryptography@py36|2017-11-30|Moved to a flavored, generic, version +security/py3-ecdsa|security/py-ecdsa@py36|2017-11-30|Moved to a flavored, generic, version +security/py3-libnacl|security/py-libnacl@py36|2017-11-30|Moved to a flavored, generic, version +security/py3-openssl|security/py-openssl@py36|2017-11-30|Moved to a flavored, generic, version +security/py3-pbkdf2|security/py-pbkdf2@py36|2017-11-30|Moved to a flavored, generic, version +security/py3-pyaes|security/py-pyaes@py36|2017-11-30|Moved to a flavored, generic, version +security/py3-pycrypto|security/py-pycrypto@py36|2017-11-30|Moved to a flavored, generic, version +sysutils/py3-execnet|sysutils/py-execnet@py36|2017-11-30|Moved to a flavored, generic, version +sysutils/py3-pkginfo|sysutils/py-pkginfo@py36|2017-11-30|Moved to a flavored, generic, version +sysutils/py3-ptyprocess|sysutils/py-ptyprocess@py36|2017-11-30|Moved to a flavored, generic, version +textproc/py3-asciinema|textproc/py-asciinema@py36|2017-11-30|Moved to a flavored, generic, version +textproc/py3-pager|textproc/py-pager@py36|2017-11-30|Moved to a flavored, generic, version +textproc/py3-MarkupSafe|textproc/py-MarkupSafe@py36|2017-11-30|Moved to a flavored, generic, version +textproc/py3-alabaster|textproc/py-alabaster@py36|2017-11-30|Moved to a flavored, generic, version +textproc/py3-chardet|textproc/py-chardet@py36|2017-11-30|Moved to a flavored, generic, version +textproc/py3-docutils|textproc/py-docutils@py36|2017-11-30|Moved to a flavored, generic, version +textproc/py3-feedparser|textproc/py-feedparser@py36|2017-11-30|Moved to a flavored, generic, version +textproc/py3-humanfriendly|textproc/py-humanfriendly@py36|2017-11-30|Moved to a flavored, generic, version +textproc/py3-hunspell|textproc/py-hunspell@py36|2017-11-30|Moved to a flavored, generic, version +textproc/py3-libxml2|textproc/py-libxml2@py36|2017-11-30|Moved to a flavored, generic, version +textproc/py3-numpydoc|textproc/py-numpydoc@py36|2017-11-30|Moved to a flavored, generic, version +textproc/py3-pyPEG2|textproc/py-pyPEG2@py36|2017-11-30|Moved to a flavored, generic, version +textproc/py3-pygments|textproc/py-pygments@py36|2017-11-30|Moved to a flavored, generic, version +textproc/py3-pystemmer|textproc/py-pystemmer@py36|2017-11-30|Moved to a flavored, generic, version +textproc/py3-qrcode|textproc/py-qrcode@py36|2017-11-30|Moved to a flavored, generic, version +textproc/py3-snowballstemmer|textproc/py-snowballstemmer@py36|2017-11-30|Moved to a flavored, generic, version +textproc/py3-sphinx|textproc/py-sphinx@py36|2017-11-30|Moved to a flavored, generic, version +textproc/py3-sphinx_rtd_theme|textproc/py-sphinx_rtd_theme@py36|2017-11-30|Moved to a flavored, generic, version +textproc/py3-texttable|textproc/py-texttable@py36|2017-11-30|Moved to a flavored, generic, version +www/py3-cssutils|www/py-cssutils@py36|2017-11-30|Moved to a flavored, generic, version +www/py3-httplib2|www/py-httplib2@py36|2017-11-30|Moved to a flavored, generic, version +www/py3-requests|www/py-requests@py36|2017-11-30|Moved to a flavored, generic, version +x11-toolkits/py34-tkinter|x11-toolkits/py-tkinter@py34|2017-11-30|Moved to a flavored, generic, version +x11-toolkits/py35-tkinter|x11-toolkits/py-tkinter@py35|2017-11-30|Moved to a flavored, generic, version +x11-toolkits/py36-tkinter|x11-toolkits/py-tkinter@py36|2017-11-30|Moved to a flavored, generic, version -- cgit