pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-libxml2



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Jan  1 21:21:14 UTC 2022

Modified Files:
        pkgsrc/textproc/py-libxml2: Makefile

Log Message:
py-libxml2: simplify

Fix some pkglint while here.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 pkgsrc/textproc/py-libxml2/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-libxml2/Makefile
diff -u pkgsrc/textproc/py-libxml2/Makefile:1.72 pkgsrc/textproc/py-libxml2/Makefile:1.73
--- pkgsrc/textproc/py-libxml2/Makefile:1.72    Fri Dec 31 15:18:37 2021
+++ pkgsrc/textproc/py-libxml2/Makefile Sat Jan  1 21:21:14 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.72 2021/12/31 15:18:37 tnn Exp $
+# $NetBSD: Makefile,v 1.73 2022/01/01 21:21:14 wiz Exp $
 
 .include "../../textproc/libxml2/Makefile.common"
 
@@ -27,6 +27,7 @@ BUILDLINK_TRANSFORM.Darwin+=  opt:-bundle
 
 .if ${OPSYS} == "Darwin"
 post-install: fix-darwin-install-name
+.PHONY: fix-darwin-install-name
 fix-darwin-install-name:
        install_name_tool -id ${PREFIX}/${PYSITELIB}/libxml2mod.so \
            ${DESTDIR}${PREFIX}/${PYSITELIB}/libxml2mod.so
@@ -37,10 +38,7 @@ EGG_NAME=    ${DISTNAME:S/-/_python-/}
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat
 
 .include "../../lang/python/egg.mk"
-PLIST_VARS+=                   py3x
-.if ${_PYTHON_VERSION} > 27
-PLIST.py3x=                    yes
-.else
+.if ${PYPKGPREFIX} == "py27"
 _PYSETUPTOOLSINSTALLARGS:=     ${PYSETUPTOOLSINSTALLARGS:N--single-version-externally-managed}
 .endif
 .include "../../converters/libiconv/buildlink3.mk"



Home | Main Index | Thread Index | Old Index