Bug 242043

Summary: net/py-ldap0: Update to 0.6.8
Product: Ports & Packages Reporter: geraud
Component: Individual Port(s)Assignee: Kubilay Kocak <koobs>
Status: Closed FIXED    
Severity: Affects Only Me CC: girgen, python
Priority: --- Flags: bugzilla: maintainer-feedback? (girgen)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 242320    
Attachments:
Description Flags
update to 0.6.3 none

Description geraud 2019-11-18 00:32:28 UTC
Update to the latest version.

Requires python 3.6+ only
Comment 1 geraud 2019-11-18 00:35:26 UTC
Created attachment 209219 [details]
update to 0.6.3
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2019-11-18 02:30:15 UTC
Note: web2ldap (before it was marked BROKEN), has an update available that switches it to use Python 3.x only as well. It should be fetched from PyPI (1.3.38 and 1.5.5 are available there
Comment 3 geraud 2019-11-18 21:25:52 UTC
freshports lists web2ldap as the only consumer for this port, that's why I'm PR-ing this update. I have another patch in the works for an update of web2ldap to 1.5.5, but it's waiting for another update ( bug #241873 devel/py-pyasn1 up to 0.4.7 ). I'll have it send by the end of the day.
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2019-11-18 23:29:00 UTC
(In reply to geraud from comment #3)

Thanks Geraud

Please set the "Depends On / Blocks" field with related issue ID relationships as necessary so they can be delivered in the correct order/manner.
Comment 5 commit-hook freebsd_committer freebsd_triage 2020-01-13 02:49:47 UTC
A commit references this bug:

Author: koobs
Date: Mon Jan 13 02:49:04 UTC 2020
New revision: 522845
URL: https://svnweb.freebsd.org/changeset/ports/522845

Log:
  net/ldap0: Update to 0.6.8 [1]

  Note: ldap0 is Python 3.x only since 0.3.0

  While I'm here, level up ports compliance and fix ports issues:

    - Match COMMENT to setup.py:description
    - Match *_DEPENDS (and versions) to setup.py:*_requires
    - Add TEST_* variables and test (QA) target [1][2]
    - Replace setup.py INCLUDES patch with setuptools build_ext commands
      which honour environment variables
    - Strip extension/library
    - Patch setup.cfg to remove unconditional debug builds
    - Update pkg-descr formatting and WWW url (to match setup.py:homepage)

  [1] It's possible to make the unconditional requirement to HAVE_SASL,
      ie: a requirement to have a SASL enabled openldap client, optional, by
      conditionally adding --undef HAVE_SASL to PYDISTUTILS_BUILDARGS
      depending on WANT_OPENLDAP_SASL, but the ldap0 tests unconditionally
      run a number of unconditional sasl based tests. These tests should be
      made to skip (not fail) if SASL is not available, and the port made to
      support non-SASL based configuration. TODO: Upstream test improvements.

  [2] WANT_OPENLDAP_SASL currently only results in the openldap-client being
      SASL enabled, but doesn't affect the openldap-server port. There's no
      way at present to require/force a SASL enabled openldap-server port,
      which doesn't enable the SASL option by default either. A slave port
      (openldap24-sasl-server, matching client slave port) that enables the
      SASL option would be great.

  portlint: OK (looks fine.)
  testport: OK (poudriere: 12amd64, Python 3.7)
  maketest: OK (Ran 248 tests: (skipped=12, expected failures=3))

  PR:		242043 [1]
  Submitted by:	<geraud gcu info> [1]
  Approved by:	portmgr (maintainer timeout: > 1 months, blanket: ports compliance)

Changes:
  head/net/py-ldap0/Makefile
  head/net/py-ldap0/distinfo
  head/net/py-ldap0/files/patch-setup.cfg
  head/net/py-ldap0/files/patch-setup.py
  head/net/py-ldap0/pkg-descr
Comment 6 Kubilay Kocak freebsd_committer freebsd_triage 2020-01-13 02:50:43 UTC
Committed, with changes (0.6.8) asn additions

Thank you Geraud!