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
- GH_TAGNAME no longer needed now it is correctly tagged in GitHub.
- Uses py-sabyenc instead of py-yenc as recommended upstream.
PR: 218722
Submitted by: joshruehlig@gmail.com (maintainer)
- Fix jobs hanging at 99% or 100%
- Support X-DNZB-PASSWORD header for inders that use this
- Prevent fatal "too many connections" issue
- Show checksum errors reported by unrar
- patch portlint-compliant
PR: 210210
Submitted by: Ultima1252@gmail.com
Approved by: joshruehlig@gmail.com (maintainer)
There were reports of fallout so this has been reverted. It is not
understood why an explicit PATH needs to be set. In testing without it
the correct PATH appears to be exported during the start_precmd routine.
PR: 207583
Approved by: maintainer
- Better define which versions of python sabnzbd can actually run with
- Remove "+" sign from SUB_LIST
- Modernize OPTION RUN_DEPENDS
- Do not set PATH in rc script
- Make patch and reinplace more logical by not replacing %%PREFIX%% with
%%DATADIR%%
- Remove creation of PREFIX/sabnzbd (sabznzbd's config directory) from
install as it is already handled in start_precmd routine
- Replace INSTALL_DATA with INSTALL_MAN for installing PORTDOCS
- Hand off maintainership
PR: 207583
This port had a lot of custom licenses defined instead of using the
correct licenses that the ports license framework already knows about.
Due to incorrect LICENSE_PERMS on these custom licenses the sabnzbdplus
package was missing from the official FreeBSD mirrors.
While here, modernize the instructions in pkg-message
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Category N.
CR: D307
Approved by: portmgr (bapt)
control over the pidfile! Now we no longer scrape the config file to guess
its name, which was based on both the hostname of the server and the port.
Previously, if you changed the hostname of your server you could no longer
signal the running sabnzbd process through the rc framework...
which cannot stop the server in some configurations.
I've confirmed in the python codepath that both the web API shutdown and
the signal handling both call save_state() so it is safe to shutdown
this way.
PR: ports/177944
Approved by: crees (mentor)