pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-Levenshtein



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Thu May 11 17:30:27 UTC 2023

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

Log Message:
py-Levenshtein: fix sandboxed builds

This package now requires cmake to build, and it wasn't specified as a
dependency. cmake doesn't get pulled in via py-scikit-build, but
perhaps it should; I don't have time to look into that, so I'm applying
this build fix for now.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/textproc/py-Levenshtein/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-Levenshtein/Makefile
diff -u pkgsrc/textproc/py-Levenshtein/Makefile:1.7 pkgsrc/textproc/py-Levenshtein/Makefile:1.8
--- pkgsrc/textproc/py-Levenshtein/Makefile:1.7 Fri May  5 19:32:18 2023
+++ pkgsrc/textproc/py-Levenshtein/Makefile     Thu May 11 17:30:27 2023
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2023/05/05 19:32:18 adam Exp $
+# $NetBSD: Makefile,v 1.8 2023/05/11 17:30:27 gutteridge Exp $
 
 DISTNAME=      Levenshtein-0.21.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=L/Levenshtein/}
 
@@ -10,6 +11,9 @@ HOMEPAGE=     https://github.com/maxbachmann
 COMMENT=       Python extension for computing string edit distances
 LICENSE=       gnu-gpl-v2
 
+# Needed for cmake installation of objects, when invoked via cmake/build.mk.
+INSTALL_DIRS=  ${PYSITELIB}
+
 TOOL_DEPENDS+= ${PYPKGPREFIX}-scikit-build>=0.13.0:../../devel/py-scikit-build
 DEPENDS+=      ${PYPKGPREFIX}-rapidfuzz>=2.3.0:../../textproc/py-rapidfuzz
 
@@ -17,5 +21,6 @@ USE_LANGUAGES=        c c++
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+.include "../../devel/cmake/build.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index