mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
net/py-ldap: update to 3.0.0
This commit is contained in:
parent
d6ca2a3f83
commit
b69d1beed4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=468837
3 changed files with 18 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= ldap
|
PORTNAME= ldap
|
||||||
PORTVERSION= 2.5.2
|
PORTVERSION= 3.0.0
|
||||||
CATEGORIES= net python
|
CATEGORIES= net python
|
||||||
MASTER_SITES= CHEESESHOP
|
MASTER_SITES= CHEESESHOP
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyasn1>0:devel/py-pyasn1@${FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}pyasn1-modules>0:devel/py-pyasn1-modules@${FLAVOR}
|
${PYTHON_PKGNAMEPREFIX}pyasn1-modules>0:devel/py-pyasn1-modules@${FLAVOR}
|
||||||
|
|
||||||
CONFLICTS_INSTALL= py27-pyldap
|
CONFLICTS_INSTALL= py27-pyldap
|
||||||
USES= python:-2.7
|
USES= python
|
||||||
USE_PYTHON= autoplist distutils
|
USE_PYTHON= autoplist distutils
|
||||||
USE_OPENLDAP= yes
|
USE_OPENLDAP= yes
|
||||||
WANT_OPENLDAP_VER= 24
|
WANT_OPENLDAP_VER= 24
|
||||||
|
@ -27,8 +27,8 @@ OPTIONS_DEFINE= SASL
|
||||||
SASL_VARS= WANT_OPENLDAP_SASL=yes
|
SASL_VARS= WANT_OPENLDAP_SASL=yes
|
||||||
SASL_CONFLICTS= openldap24-client-2.*
|
SASL_CONFLICTS= openldap24-client-2.*
|
||||||
|
|
||||||
do-configure:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},' ${WRKSRC}/setup.cfg
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py
|
||||||
|
|
||||||
do-configure-SASL-off:
|
do-configure-SASL-off:
|
||||||
@cd ${WRKSRC} && ${PYTHON_CMD} setup.py -q setopt -c _ldap -s HAVE_TLS -o defines
|
@cd ${WRKSRC} && ${PYTHON_CMD} setup.py -q setopt -c _ldap -s HAVE_TLS -o defines
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1516650844
|
TIMESTAMP = 1521151033
|
||||||
SHA256 (python-ldap-2.5.2.tar.gz) = b8c134dfedaef0e6ff4a4b94277708dcadb758b448905a83b8946df077356ed2
|
SHA256 (python-ldap-3.0.0.tar.gz) = 86746b912a2cd37a54b06c694f021b0c8556d4caeab75ef50435ada152e2fbe1
|
||||||
SIZE (python-ldap-2.5.2.tar.gz) = 297976
|
SIZE (python-ldap-3.0.0.tar.gz) = 364733
|
||||||
|
|
11
net/py-ldap/files/patch-setup.py
Normal file
11
net/py-ldap/files/patch-setup.py
Normal file
|
@ -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 = []
|
Loading…
Add table
Reference in a new issue