* Remove options FUZZYDATE, SIMPLEJSON and DOCS:
* devel/py-parsedatetime is now explicitly required
* devel/py-simplejson is no longer used since the 3.2 release
* The supplied documentation doesn't contain useful information
* Simplify the Makefile by using Python's distutils to build the port
* Flavorize the port because the port also works with Python 3
While I'm here:
* Add location to the license file
Changelog since 3.4.0:
* Minor bugfixes: conky colors, issues with setup.py
* Major code refactor: modularity, testing, PEP8 compliance
* Bugfixes for issues reported during alpha phase
* Multiday events support
* Fix textwrap for widechar at cut index
* Fix errors attempting to import events
* No weekend option
* Fixed bug with add and iterators
* Deal with more encoding issues...
* Get error from JSON object
* Support for Python3 via six
* Move from gflags to argparse (This is a major, non-backwards compatible
change (hence the roll up to v4))
https://github.com/insanum/gcalcli/blob/v4.0.4/ChangeLog
PR: 236707
Submitted by: Henrik Hudson <ports@thelanman.net> (maintainer)
Reviewed by: tcberner
Differential Revision: https://reviews.freebsd.org/D19984
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
gcalcli requires a dependency on oauth2client <= 1.4.12 to work
correctly, as higher versions replaced the run() method with run_flow().
The version of oauth2client in ports is 2.2.0 at the time of writing.
Fixes for the issue [1][2][3] have been submitted upstream in multiple
cases, although upstream has closed them as duplicates of a refactor
issue [4] that is yet to be committed/resolved.
This commit commits the proposed change in issue #229 [2].
While I'm here:
* Explicitly specify (and limit) supported Python versions to -2.x
* Add python to CATEGORIES
* Group, re-order and sort USE{s}, NO_* and files/plist sections
* Capitalize OPTIONS descriptions
[1] https://github.com/insanum/gcalcli/pull/211
[2] https://github.com/insanum/gcalcli/issues/229
[3] https://github.com/insanum/gcalcli/issues/244
[4] https://github.com/insanum/gcalcli/issues/165
PR: 206045
Submitted by: Lawrence Chen <beastie tardisi com>
Approved by: portmgr (maintainer timeout, 6+ months)
MFH: 2016Q3