1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
Commit Graph

15 Commits

Author SHA1 Message Date
Mathieu Arnold
551be3c723 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
2017-11-30 15:50:30 +00:00
Kubilay Kocak
a3d8108f84 www/py-gandi.cli: Update to 1.0
Changelog:

  https://github.com/Gandi/gandi.cli/blob/1.0/CHANGES.rst

Requested by:	bapt
2017-10-11 00:13:31 +00:00
Kubilay Kocak
94a8d35b0e www/py-gandi.cli: Update to 0.22
Changelog:

  https://github.com/Gandi/gandi.cli/blob/0.22/CHANGES.rst

Requested by:	bapt
2017-09-15 15:19:28 +00:00
Kubilay Kocak
591d9b5efd www/py-gandi.cli: Update to 0.21
Remove post-extract target, removal of compiled files from sdist has
been merged upstream [1].

Note: A number of PaaS tests fail, this has been reported upstream [2].

[1] https://github.com/Gandi/gandi.cli/pull/180
[2] https://github.com/Gandi/gandi.cli/issues/215


  https://github.com/Gandi/gandi.cli/blob/0.21/CHANGES.rst

Requested by:	bapt
2017-09-12 09:05:26 +00:00
Mathieu Arnold
eabbfd75e3 ${RM} already has -f.
PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-10-21 12:51:40 +00:00
Kubilay Kocak
e2c9500c4d www/py-gandi.cli: Restore patches to setup.py
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
2016-07-28 14:51:47 +00:00
Baptiste Daroussin
61d8f58445 Update to 0.19
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 : 'gandi account info' command now display prepaid amount
Fixes : 'gandi domain create' command can now change nameservers
Fixes : 'gandi record list' command has a --limit parameter
Fixes : broken links in README
Fixes certificate unittest for python3

Sponsored by:	Gandi.net
2016-07-28 13:55:58 +00:00
Mathieu Arnold
72ea7e696b Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:33:55 +00:00
Kubilay Kocak
6b6f072c17 www/py-gandi.cli: Update to 0.18, Modernize
- 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
2016-03-05 15:46:04 +00:00
Kubilay Kocak
359485df12 www/py-gandi.cli: Update to 0.16
- Update to 0.16
- Update click RUN_DEPENDS version [1]
- Add NO_ARCH
- Repatch setup.py (TODO: Upstream changes)

Changes:

  https://github.com/Gandi/gandi.cli/blob/0.16/CHANGES.rst

[1] https://github.com/Gandi/gandi.cli/issues/147

Requested by:	bapt
2015-10-06 15:37:31 +00:00
Kubilay Kocak
a60aff5b59 www/py-gandi.cli: Update to 0.15 & Unbreak
- 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)
2015-08-10 16:46:23 +00:00
Kubilay Kocak
737ca1ffc2 www/py-gandi.cli: Update to 0.14, concurrent Python support
- 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
2015-06-05 05:49:38 +00:00
Antoine Brodin
1b85bc9332 Switch PYTHON_REL from a 3 digits number to a 4 digits number to handle
python 2.7.10

Differential Revision:	https://reviews.freebsd.org/D2639
Reviewed by:	sunpoet, mva
2015-05-26 16:47:02 +00:00
Bartek Rutkowski
ecfb4291a0 devel/py-click: update 2.5 -> 3.3
- Bump www/py-gandi.cli and devel/py-plan PORTREVISION

PR:		198273
Submitted by:	Maxim Filimonov <che@bein.link>
2015-03-04 11:45:05 +00:00
Kubilay Kocak
5bf9a2f408 www/py-gandi.cli: Gandi command line interface
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
2015-01-26 10:41:05 +00:00