Date: Wed, 2 May 2018 13:36:21 +0000 (UTC) From: Ruslan Makhmatkhanov <rm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r468837 - in head/net/py-ldap: . files Message-ID: <201805021336.w42DaLBf052495@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rm Date: Wed May 2 13:36:21 2018 New Revision: 468837 URL: https://svnweb.freebsd.org/changeset/ports/468837 Log: net/py-ldap: update to 3.0.0 Added: head/net/py-ldap/files/ head/net/py-ldap/files/patch-setup.py (contents, props changed) Modified: head/net/py-ldap/Makefile head/net/py-ldap/distinfo Modified: head/net/py-ldap/Makefile ============================================================================== --- head/net/py-ldap/Makefile Wed May 2 13:35:18 2018 (r468836) +++ head/net/py-ldap/Makefile Wed May 2 13:36:21 2018 (r468837) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= ldap -PORTVERSION= 2.5.2 +PORTVERSION= 3.0.0 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyasn1>0:devel/py- ${PYTHON_PKGNAMEPREFIX}pyasn1-modules>0:devel/py-pyasn1-modules@${FLAVOR} CONFLICTS_INSTALL= py27-pyldap -USES= python:-2.7 +USES= python USE_PYTHON= autoplist distutils USE_OPENLDAP= yes WANT_OPENLDAP_VER= 24 @@ -27,8 +27,8 @@ OPTIONS_DEFINE= SASL SASL_VARS= WANT_OPENLDAP_SASL=yes SASL_CONFLICTS= openldap24-client-2.* -do-configure: - @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},' ${WRKSRC}/setup.cfg +post-patch: + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py do-configure-SASL-off: @cd ${WRKSRC} && ${PYTHON_CMD} setup.py -q setopt -c _ldap -s HAVE_TLS -o defines Modified: head/net/py-ldap/distinfo ============================================================================== --- head/net/py-ldap/distinfo Wed May 2 13:35:18 2018 (r468836) +++ head/net/py-ldap/distinfo Wed May 2 13:36:21 2018 (r468837) @@ -1,3 +1,3 @@ -TIMESTAMP = 1516650844 -SHA256 (python-ldap-2.5.2.tar.gz) = b8c134dfedaef0e6ff4a4b94277708dcadb758b448905a83b8946df077356ed2 -SIZE (python-ldap-2.5.2.tar.gz) = 297976 +TIMESTAMP = 1521151033 +SHA256 (python-ldap-3.0.0.tar.gz) = 86746b912a2cd37a54b06c694f021b0c8556d4caeab75ef50435ada152e2fbe1 +SIZE (python-ldap-3.0.0.tar.gz) = 364733 Added: head/net/py-ldap/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/py-ldap/files/patch-setup.py Wed May 2 13:36:21 2018 (r468837) @@ -0,0 +1,11 @@ +--- setup.py.orig 2018-02-14 10:21:57 UTC ++++ setup.py +@@ -23,7 +23,7 @@ import pkginfo + #-- A class describing the features and requirements of OpenLDAP 2.0 + class OpenLDAP2: + library_dirs = [] +- include_dirs = [] ++ include_dirs = ['%%LOCALBASE%%/include'] + extra_compile_args = [] + extra_link_args = [] + extra_objects = []
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805021336.w42DaLBf052495>