pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Jun  6 07:51:53 UTC 2025

Modified Files:
        pkgsrc/textproc/py-sentencepiece: Makefile PLIST
        pkgsrc/textproc/sentencepiece: Makefile.common distinfo
Removed Files:
        pkgsrc/textproc/py-sentencepiece: distinfo

Log Message:
{py-,}sentencepiece: update to 0.2.0


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/py-sentencepiece/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/py-sentencepiece/PLIST
cvs rdiff -u -r1.1 -r0 pkgsrc/textproc/py-sentencepiece/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/textproc/sentencepiece/Makefile.common
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/sentencepiece/distinfo

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-sentencepiece/Makefile
diff -u pkgsrc/textproc/py-sentencepiece/Makefile:1.2 pkgsrc/textproc/py-sentencepiece/Makefile:1.3
--- pkgsrc/textproc/py-sentencepiece/Makefile:1.2       Tue Apr 25 14:55:28 2023
+++ pkgsrc/textproc/py-sentencepiece/Makefile   Fri Jun  6 07:51:53 2025
@@ -1,14 +1,20 @@
-# $NetBSD: Makefile,v 1.2 2023/04/25 14:55:28 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2025/06/06 07:51:53 wiz Exp $
 
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+GITHUB_PROJECT=        sentencepiece
 
 WRKSRC=                ${WRKDIR}/${DISTNAME}/python
 
-USE_TOOLS+=    pkg-config
+USE_TOOLS+=    cmake pkg-config
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+
+pre-configure:
+       ${ECHO} '#!/bin/sh' > ${BUILDLINK_DIR}/bin/nproc
+       ${ECHO} 'echo 1' > ${BUILDLINK_DIR}/bin/nproc
+       ${CHMOD} 555 ${BUILDLINK_DIR}/bin/nproc
 
 .include "../../textproc/sentencepiece/Makefile.common"
 .include "../../textproc/sentencepiece/buildlink3.mk"
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-sentencepiece/PLIST
diff -u pkgsrc/textproc/py-sentencepiece/PLIST:1.1 pkgsrc/textproc/py-sentencepiece/PLIST:1.2
--- pkgsrc/textproc/py-sentencepiece/PLIST:1.1  Mon Mar 13 14:18:27 2023
+++ pkgsrc/textproc/py-sentencepiece/PLIST      Fri Jun  6 07:51:53 2025
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2023/03/13 14:18:27 wiz Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.2 2025/06/06 07:51:53 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/sentencepiece/__init__.py
 ${PYSITELIB}/sentencepiece/__init__.pyc
 ${PYSITELIB}/sentencepiece/__init__.pyo

Index: pkgsrc/textproc/sentencepiece/Makefile.common
diff -u pkgsrc/textproc/sentencepiece/Makefile.common:1.6 pkgsrc/textproc/sentencepiece/Makefile.common:1.7
--- pkgsrc/textproc/sentencepiece/Makefile.common:1.6   Tue Jul 18 18:47:53 2023
+++ pkgsrc/textproc/sentencepiece/Makefile.common       Fri Jun  6 07:51:53 2025
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.6 2023/07/18 18:47:53 nia Exp $
+# $NetBSD: Makefile.common,v 1.7 2025/06/06 07:51:53 wiz Exp $
 #
 # used by textproc/sentencepiece/Makefile
 # used by textproc/py-sentencepiece/Makefile
 
-DISTNAME=      sentencepiece-0.1.97
+DISTNAME=      sentencepiece-0.2.0
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=google/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -15,5 +15,7 @@ LICENSE=      apache-2.0
 
 USE_LANGUAGES=         c c++
 USE_CXX_FEATURES=      c++17
+DISTINFO_FILE=         ${.CURDIR}/../../textproc/sentencepiece/distinfo
+PATCHDIR=              ${.CURDIR}/../../textproc/sentencepiece/patches
 
 .include "../../mk/atomic64.mk"

Index: pkgsrc/textproc/sentencepiece/distinfo
diff -u pkgsrc/textproc/sentencepiece/distinfo:1.1 pkgsrc/textproc/sentencepiece/distinfo:1.2
--- pkgsrc/textproc/sentencepiece/distinfo:1.1  Mon Mar 13 14:17:12 2023
+++ pkgsrc/textproc/sentencepiece/distinfo      Fri Jun  6 07:51:53 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2023/03/13 14:17:12 wiz Exp $
+$NetBSD: distinfo,v 1.2 2025/06/06 07:51:53 wiz Exp $
 
-BLAKE2s (sentencepiece-0.1.97.tar.gz) = 969788b6d87e8c992f6df4349f984fb2d6e80f978d4007127174222ec7fcb3ab
-SHA512 (sentencepiece-0.1.97.tar.gz) = 4c35488e3661e45be677b04299c0d0b1f0d46421098f0b1625a1bb5e7725d175dfd55328a5a7bbf88badeb03c2ba087aef942b0d7520a29f6bf34eae211a99eb
-Size (sentencepiece-0.1.97.tar.gz) = 11945436 bytes
+BLAKE2s (sentencepiece-0.2.0.tar.gz) = 68609347224e87397b98a2602bb88fb15df907d2bfe7e9cbce82020fc0c67169
+SHA512 (sentencepiece-0.2.0.tar.gz) = b4214f5bfbe2a0757794c792e87e7c53fda7e65b2511b37fc757f280bf9287ba59b5d630801e17de6058f8292a3c6433211917324cb3446a212a51735402e614
+Size (sentencepiece-0.2.0.tar.gz) = 11980811 bytes



Home | Main Index | Thread Index | Old Index