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
Restore the patches to the setup.py file removed in r419220 [1], as
these changes have not been upstreamed and removing them breaks the
test target, which attempts to install dependencies such as tox &
nose via setuptools, and which aren't required to run tests.
[1] https://svnweb.freebsd.org/changeset/ports/419220
pointyhat: bapt
Update create commands for namespaces: vm, paas, ip, disk, vlan, webacc to
handle new datacenter status:
* prevent using a closed datacenter for creation
* display a warning when using a datacenter which will be closed in the future
Update 'gandi mailbox info' command: aliases are now sorted
Fixes#178: 'gandi account info' command now display prepaid amount
Fixes#185: 'gandi domain create' command can now change nameservers
Fixes#187: 'gandi record list' command has a --limit parameter
Fixes#188: broken links in README
Fixes certificate unittest for python3
Sponsored by: Gandi.net
- Update PORTVERSION and distinfo checksum (0.18)
- Remove TESTS option bits (no longer necessary)
- Patch setup.py to remove unecessary dependencies and switch test_suite
back to the actual test module instead of nose (TODO: upstream)
- Remove unecessary TEST_DEPENDS (nose, coverage). The tests run
perfectly fine without them.
- Convert test target to modern framework
- post-extract: Remove compiled (py[co]) files and __pycache__
directories that were inadvertently included in the sdist [1]
Changes:
https://github.com/Gandi/gandi.cli/blob/0.18/CHANGES.rst
[1] https://github.com/Gandi/gandi.cli/pull/180
- Update to 0.15
- Update RUN_DEPENDS version for click, (and patch setup.py accordingly)
until upstream fixes it. [1].
- Make TEST_DEPENDS *only* include, test dependencies, adding
RUN_DEPENDS instead to the TESTS option conditional.
- Remove non-compulsory & forced tests_requires. Tests work perfectly
fine out of the box with setup:py:
test_suite='gandi.cli.tests',
Changes:
https://github.com/Gandi/gandi.cli/blob/0.15/CHANGES.rst
[1] https://github.com/Gandi/gandi.cli/issues/147
Reported by: antoine, pkg-fallout (in that order)
- Update to 0.14
- Add multiple concurrent Python support
- Match upstream dependency versions in RUN_DEPENDS so they fail-closed
when py-click is updated to 4.0
- Add RUN_DEPENDS to TEST_DEPENDS since they're needed to test.
- Patch setup.py to remove optional test dependencies (coverage, tox)
Changes:
https://github.com/Gandi/gandi.cli/blob/0.14/CHANGES.rst
Requested by: bapt
Use `$ gandi` to easily create and manage web resources from the command line.
* `$ gandi domain` to buy and manage your domain names
* `$ gandi paas` to create and deploy your web applications
* `$ gandi vm` to spin up and upgrade your virtual machines
* `$ gandi` to list all available commands
WWW: https://github.com/Gandi/gandi.cli