Commit graph

10 commits

Author SHA1 Message Date
Mathieu Arnold
4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00
Rene Ladan
30433f0c7f Return kevlo's ports to the pool, he handed in his commit bit.
With hat:	portmgr-secretary
2018-01-12 11:21:07 +00:00
Kevin Lo
f90268ed80 Update to 3.8.1 2017-12-17 08:29:52 +00:00
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
Kevin Lo
8d0abfe398 Update to 3.7.1 2017-10-15 11:04:59 +00:00
Sunpoet Po-Chuan Hsieh
9c5ea12df4 Fix WWW
Approved by:	portmgr (blanket)
2017-06-25 15:03:08 +00:00
Kevin Lo
548a40b03c Update to 3.5.0 2016-11-28 14:38:07 +00:00
Kevin Lo
a9384ca6d2 Set DISTNAME to PORTNAME.
Sugessted by:	mat
2016-08-05 15:59:42 +00:00
Kevin Lo
4ec97f59dd Add a conditional depends on devel/py-monotonic for faster operations in
some functions on Python 2.  See:
https://github.com/Uberi/speech_recognition/#monotonic-for-python-2-for-faster-operations-in-some-functions-on-python-2

Spotted by:	koobs
2016-08-05 07:40:36 +00:00
Kevin Lo
91d70af56a Import SpeechRecognition 3.4.6
SpeechRecognition is a Python library for performing speech recognition,
with support for several engines and APIs, online and offline.
2016-08-04 07:31:25 +00:00