pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/chat/py-xmpppy
Module Name: pkgsrc
Committed By: wiz
Date: Fri May 10 10:30:41 UTC 2024
Modified Files:
pkgsrc/chat/py-xmpppy: Makefile
Log Message:
py-xmpppy: stop using versioned_dependencies.mk
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/chat/py-xmpppy/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/chat/py-xmpppy/Makefile
diff -u pkgsrc/chat/py-xmpppy/Makefile:1.28 pkgsrc/chat/py-xmpppy/Makefile:1.29
--- pkgsrc/chat/py-xmpppy/Makefile:1.28 Mon Oct 23 06:37:34 2023
+++ pkgsrc/chat/py-xmpppy/Makefile Fri May 10 10:30:41 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2023/10/23 06:37:34 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2024/05/10 10:30:41 wiz Exp $
DISTNAME= xmpppy-0.7.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -14,8 +14,6 @@ LICENSE= gnu-gpl-v2
USE_LANGUAGES= # none
-PYTHON_VERSIONED_DEPENDENCIES= dns
-
USE_PKG_RESOURCES= yes
DOCDIR= ${PREFIX}/share/doc/py-xmpppy
@@ -23,6 +21,14 @@ EXDIR= ${PREFIX}/share/examples/py-xmpp
INSTALLATION_DIRS+= ${DOCDIR} ${EXDIR}
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYTHON_VERSION} == 207
+DEPENDS+= ${PYPKGPREFIX}-dns-[0-9]*:../../net/py-dns1
+.else
+DEPENDS+= ${PYPKGPREFIX}-dns-[0-9]*:../../net/py-dns
+.endif
+
post-install:
${INSTALL_SCRIPT_DIR} ${DESTDIR}${EXDIR}
${INSTALL_SCRIPT} ${WRKSRC}/docs/examples/*.py \
@@ -36,6 +42,5 @@ post-install:
${DESTDIR}${DOCDIR}
.include "../../lang/python/batteries-included.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index