aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2023-11-17 01:53:44 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2023-11-17 01:53:44 +0000
commit977a121be4a80741c57019274e5c9a14602740c8 (patch)
tree41f2e2fd9eb4cb02f1a3b54095ceb54c4fb805dc
parent6ec8da61d526b3c01b7279b72ab9cd5b2889ae99 (diff)
downloadports-977a121.tar.gz
ports-977a121.zip
Rename net/py-ldap to net/py-python-ldap
This makes portname conformant to upstream one. Also it is now allow us to build a package with pep517, so switch to it
-rw-r--r--MOVED1
-rw-r--r--net/Makefile2
-rw-r--r--net/py-python-ldap/Makefile (renamed from net/py-ldap/Makefile)9
-rw-r--r--net/py-python-ldap/distinfo (renamed from net/py-ldap/distinfo)0
-rw-r--r--net/py-python-ldap/files/patch-setup.py (renamed from net/py-ldap/files/patch-setup.py)0
-rw-r--r--net/py-python-ldap/pkg-descr (renamed from net/py-ldap/pkg-descr)0
6 files changed, 8 insertions, 4 deletions
diff --git a/MOVED b/MOVED
index 7f6c14f81b69..dbd4665990e1 100644
--- a/MOVED
+++ b/MOVED
@@ -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
diff --git a/net/Makefile b/net/Makefile
index 0b1ad194b24e..4039e79d705c 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -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
@@ -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
diff --git a/net/py-ldap/Makefile b/net/py-python-ldap/Makefile
index b84ec4926238..99b48b136cef 100644
--- a/net/py-ldap/Makefile
+++ b/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
@@ -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
diff --git a/net/py-ldap/distinfo b/net/py-python-ldap/distinfo
index 625aa74a2765..625aa74a2765 100644
--- a/net/py-ldap/distinfo
+++ b/net/py-python-ldap/distinfo
diff --git a/net/py-ldap/files/patch-setup.py b/net/py-python-ldap/files/patch-setup.py
index 5c5f82de9fe3..5c5f82de9fe3 100644
--- a/net/py-ldap/files/patch-setup.py
+++ b/net/py-python-ldap/files/patch-setup.py
diff --git a/net/py-ldap/pkg-descr b/net/py-python-ldap/pkg-descr
index f112fc2917f7..f112fc2917f7 100644
--- a/net/py-ldap/pkg-descr
+++ b/net/py-python-ldap/pkg-descr