Commit graph

12 commits

Author SHA1 Message Date
Mathieu Arnold
cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Antoine Brodin
aa7a6c429e Drop python 2.7 support from a few ports
With hat:	portmgr
2020-12-28 23:02:12 +00:00
Kai Knoblich
9cb5898561 Relax hardcoded paths to fix build with Python 3.8.7
Since r558913 Python 3.8 incorporates BPO-42604 [1] which changed the
shared libs naming scheme.  This means "EXT_SUFFIX" is now derived from
SOABI and yields with Python 3.8 to ".cpython-38.so" instead of ".so".

The affected ports strip the libaries in the "post-install" target via
hardcoded path(s) and the build fails at the end because the new extension
is not expected at this place.

Remedy the issue by adding wildcards to these paths.  This should also
prepare the ports for future Python releases, which will use the new shared
libs naming scheme.

[1] https://bugs.python.org/issue42604

PR:		252057
Reported by:	John Kennedy
Reviewed by:	fluffy, koobs
Approved by:	koobs (python)
2020-12-24 13:46:01 +00:00
Don Lewis
9f8eeb670e Upgrade dns/py-pydnstable from version 0.7.0 to 0.7.2:
pydnstable (0.7.2)

    * Require dnstable >= 0.11.2

  pydnstable (0.7.1)

    * Change dnstable_query_set_skip to ..._offset.

Sponsored by:	Farsight Security, Inc.
2019-07-05 19:06:42 +00:00
Don Lewis
4a6284f7ad Upgrade dns/py-pydnstable to version 0.7.0
pydnstable, the Python bindings for the dnstable library, version
  0.7.0, was released. This release features Python3 support and
  new query parameters for aggregation and skipping of results. In
  detail:

   * Python3 support.
   * Add new query parameters 'aggregate' and 'skip'.

Allow both python2 and python3 flavors of this port to be built.

Sponsored by:	Farsight Security, Inc.
2019-06-07 23:30:13 +00:00
Don Lewis
a07f864d2f Upgrade dns/py-pydnstable to version 0.6.1:
* Fix BUG-21: add try/except around conversions from signed python
    integers

Port build now uses cython.

Add missing devel/mtbl dependency.

Pet portlint (USES/USE ordering).

Sponsored by:	Farsight Security, Inc.
2018-10-24 17:19:25 +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
Mathieu Arnold
4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00
Don Lewis
247fc134bd Upgrade to version 0.6.0
* Enable cython embedsignature

  * Add support for query timeouts

  * Merge pull request #4 from farsightsec/query_timeout

  * Add support for time fencing

  * Merge pull request #5 from farsightsec/time_filter

  * Fixup for the dnstable_query_set_filter_parameter() API change

  * setup.py: Require libdnstable >= 0.8.0

Sponsored by:	Farsight Security, Inc.
2015-11-14 22:36:14 +00:00
Don Lewis
42a11ebd64 Upgrade to 0.5.0:
* Add reader.reload() method that calls dnstable_reader_reload_setfile()

Sort USE_PYTHON

Sponsored by:	Farsight Security, Inc.
2015-09-24 05:19:12 +00:00
Don Lewis
bf12eff187 New port: dns/py-pydnstable
Python bindings for the dnstable library

Differential Revision:	https://reviews.freebsd.org/D2231
Approved by:	mat (mentor)
Sponsored by:	Farsight Security, Inc.
2015-04-05 23:17:29 +00:00