Skip to content

Commit

Permalink
Rename net/py-ldap to net/py-python-ldap
Browse files Browse the repository at this point in the history
This makes portname conformant to upstream one. Also it is now allow
us to build a package with pep517, so switch to it
  • Loading branch information
mexicarne committed Nov 17, 2023
1 parent 6ec8da6 commit 977a121
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions MOVED
Expand Up @@ -8078,3 +8078,4 @@ x11-fonts/fpc-libfontconfig|lang/fpc|2023-11-12|This port was merged into lang/f
x11-toolkits/fpc-xforms|lang/fpc|2023-11-12|This port was merged into lang/fpc
x11-toolkits/fpc-gtk2|lang/fpc|2023-11-12|This port was merged into lang/fpc
sysutils/fpc-users|lang/fpc|2023-11-14|This port was merged into lang/fpc
net/py-ldap|net/py-python-ldap|2023-11-17|Rename to conform upstream name
2 changes: 1 addition & 1 deletion net/Makefile
Expand Up @@ -1064,7 +1064,6 @@
SUBDIR += py-iptools
SUBDIR += py-kafka-python
SUBDIR += py-kombu
SUBDIR += py-ldap
SUBDIR += py-ldap0
SUBDIR += py-ldap3
SUBDIR += py-ldapdomaindump
Expand Down Expand Up @@ -1117,6 +1116,7 @@
SUBDIR += py-python-glanceclient
SUBDIR += py-python-heatclient
SUBDIR += py-python-keystoneclient
SUBDIR += py-python-ldap
SUBDIR += py-python-neutronclient
SUBDIR += py-python-novaclient
SUBDIR += py-python-openstackclient
Expand Down
9 changes: 6 additions & 3 deletions net/py-ldap/Makefile → net/py-python-ldap/Makefile
@@ -1,9 +1,9 @@
PORTNAME= ldap
PORTNAME= python-ldap
DISTVERSION= 3.4.3
PORTREVISION= 1
CATEGORIES= net python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= python-${PORTNAME}-${PORTVERSION}

MAINTAINER= rm@FreeBSD.org
COMMENT= LDAP module for python, for OpenLDAP2
Expand All @@ -12,11 +12,14 @@ WWW= https://www.python-ldap.org
LICENSE= PSFL
LICENSE_FILE= ${WRKSRC}/LICENCE

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}build>0:devel/py-build@${PY_FLAVOR} \
${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyasn1>0:devel/py-pyasn1@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyasn1-modules>0:devel/py-pyasn1-modules@${PY_FLAVOR}

USES= ldap python
USE_PYTHON= autoplist distutils
USE_PYTHON= autoplist pep517

post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 977a121

Please sign in to comment.