freebsd-ports/deskutils/gcalcli/Makefile
Kai Knoblich 1adb5909b8 deskutils/gcalcli: Update to 4.0.4
* 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
2019-05-12 14:39:29 +00:00

37 lines
1.1 KiB
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= gcalcli
PORTVERSION= 4.0.4
DISTVERSIONPREFIX= v
CATEGORIES= deskutils python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@thelanman.net
COMMENT= Google Calendar Command Line Interface
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}google-api-python-client>=1.4:www/py-google-api-python-client@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}httplib2>=0:www/py-httplib2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}parsedatetime>=0:devel/py-parsedatetime@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}oauth2client>0:security/py-oauth2client@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
USE_GITHUB= yes
GH_ACCOUNT= insanum
NO_ARCH= yes
OPTIONS_DEFINE= ICS_VCAL
OPTIONS_DEFAULT= ICS_VCAL
ICS_VCAL_DESC= Enable importing of ics/vcal files
ICS_VCAL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}vobject>=0.4.8:deskutils/py-vobject@${PY_FLAVOR}
.include <bsd.port.mk>