head 1.13; access; symbols pkgsrc-2023Q4:1.13.0.4 pkgsrc-2023Q4-base:1.13 pkgsrc-2023Q3:1.13.0.2 pkgsrc-2023Q3-base:1.13 pkgsrc-2023Q2:1.12.0.8 pkgsrc-2023Q2-base:1.12 pkgsrc-2023Q1:1.12.0.6 pkgsrc-2023Q1-base:1.12 pkgsrc-2022Q4:1.12.0.4 pkgsrc-2022Q4-base:1.12 pkgsrc-2022Q3:1.12.0.2 pkgsrc-2022Q3-base:1.12 pkgsrc-2022Q2:1.11.0.14 pkgsrc-2022Q2-base:1.11 pkgsrc-2022Q1:1.11.0.12 pkgsrc-2022Q1-base:1.11 pkgsrc-2021Q4:1.11.0.10 pkgsrc-2021Q4-base:1.11 pkgsrc-2021Q3:1.11.0.8 pkgsrc-2021Q3-base:1.11 pkgsrc-2021Q2:1.11.0.6 pkgsrc-2021Q2-base:1.11 pkgsrc-2021Q1:1.11.0.4 pkgsrc-2021Q1-base:1.11 pkgsrc-2020Q4:1.11.0.2 pkgsrc-2020Q4-base:1.11 pkgsrc-2020Q3:1.10.0.6 pkgsrc-2020Q3-base:1.10 pkgsrc-2020Q2:1.10.0.4 pkgsrc-2020Q2-base:1.10 pkgsrc-2020Q1:1.10.0.2 pkgsrc-2020Q1-base:1.10 pkgsrc-2019Q4:1.9.0.4 pkgsrc-2019Q4-base:1.9 pkgsrc-2019Q3:1.8.0.4 pkgsrc-2019Q3-base:1.8 pkgsrc-2019Q2:1.8.0.2 pkgsrc-2019Q2-base:1.8 pkgsrc-2019Q1:1.7.0.4 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.2 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.6.0.8 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.6 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.4 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.2 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.5.0.4 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.4.0.18 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.16 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.14 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.12 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.10 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.8 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.6 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.4 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.2 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.3.0.4 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.2 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.1.0.4 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.2 pkgsrc-2014Q2-base:1.1; locks; strict; comment @# @; 1.13 date 2023.08.14.05.24.50; author wiz; state Exp; branches; next 1.12; commitid LOSB79OLVxvXjIAE; 1.12 date 2022.06.30.11.18.36; author nia; state Exp; branches; next 1.11; commitid AhctUV91Vubws3KD; 1.11 date 2020.12.04.20.45.29; author nia; state Exp; branches; next 1.10; commitid FPz71MqRX3WN0tyC; 1.10 date 2020.03.24.17.21.43; author nia; state Exp; branches; next 1.9; commitid p62zv1KRRiXg5G1C; 1.9 date 2019.11.02.16.16.19; author rillig; state Exp; branches; next 1.8; commitid 8i1eJQVJcj8NjiJB; 1.8 date 2019.04.25.07.33.05; author maya; state Exp; branches; next 1.7; commitid 1FEMQBEPb9uTxHkB; 1.7 date 2018.10.25.21.46.03; author minskim; state Exp; branches; next 1.6; commitid WLQRIY9Uw8rD8oXA; 1.6 date 2017.11.15.22.13.38; author wiz; state Exp; branches; next 1.5; commitid LxKtMhc4x2mFlbfA; 1.5 date 2017.09.16.19.26.59; author wiz; state Exp; branches; next 1.4; commitid A7fIQ99zTdcMls7A; 1.4 date 2015.04.11.03.25.43; author rodent; state Exp; branches; next 1.3; commitid eTXz36zdqYhGB7hy; 1.3 date 2014.10.19.22.11.22; author cheusov; state Exp; branches; next 1.2; commitid Q37JO1k0eEwUqRUx; 1.2 date 2014.10.19.08.59.31; author cheusov; state Exp; branches; next 1.1; commitid jtraUhnXLCq63NUx; 1.1 date 2014.04.02.07.31.43; author rodent; state Exp; branches; next ; commitid f8vT1W1UEEFIZ4vx; desc @@ 1.13 log @*: recursive bump for Python 3.11 as new default @ text @# $NetBSD: Makefile,v 1.12 2022/06/30 11:18:36 nia Exp $ DISTNAME= libsvm-3.24 PKGREVISION= 3 CATEGORIES= math MASTER_SITES= https://www.csie.ntu.edu.tw/~cjlin/libsvm/ MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://www.csie.ntu.edu.tw/~cjlin/libsvm/ COMMENT= Library for Support Vector Machines LICENSE= modified-bsd USE_LANGUAGES= c c++ USE_TOOLS+= gmake BUILD_TARGET= all lib AUTO_MKDIRS= yes REPLACE_PYTHON= tools/*.py SUBST_CLASSES+= paths SUBST_SED.paths= -e 's,[.][.]/svm-train,${PREFIX}/bin/svm-train,' SUBST_SED.paths+= -e 's,[.][.]/svm-scale,${PREFIX}/bin/svm-scale,' SUBST_SED.paths+= -e 's,[.][.]/svm-predict,${PREFIX}/bin/svm-predict,' SUBST_SED.paths+= -e 's,"[.]/grid[.]py,"${PREFIX}/bin/svm-grid,' SUBST_SED.paths+= -e 's,/usr/bin/gnuplot,${PREFIX}/bin/gnuplot,' SUBST_FILES.paths= tools/grid.py tools/easy.py SUBST_STAGE.paths= pre-build SUBST_MESSAGE.paths= Fixing hardcoded paths. .include "../../mk/bsd.prefs.mk" do-install: ${INSTALL_PROGRAM} ${WRKSRC}/svm-predict ${DESTDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/svm-scale ${DESTDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/svm-train ${DESTDIR}${PREFIX}/bin ${INSTALL_LIB} ${WRKSRC}/libsvm.so.2 ${DESTDIR}${PREFIX}/lib ${LN} -s libsvm.so.2 ${DESTDIR}${PREFIX}/lib/libsvm.so ${INSTALL_DATA} ${WRKSRC}/svm.h ${DESTDIR}${PREFIX}/include ${INSTALL_DATA} ${WRKSRC}/FAQ.html \ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/README \ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/tools/README \ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/README_tools ${INSTALL_DATA} ${WRKSRC}/heart_scale \ ${DESTDIR}${PREFIX}/share/examples/${PKGBASE} ${INSTALL_SCRIPT} ${WRKSRC}/tools/grid.py ${DESTDIR}${PREFIX}/bin/svm-grid ${INSTALL_SCRIPT} ${WRKSRC}/tools/easy.py ${DESTDIR}${PREFIX}/bin/svm-easy ${INSTALL_SCRIPT} ${WRKSRC}/tools/checkdata.py ${DESTDIR}${PREFIX}/bin/svm-checkdata ${INSTALL_SCRIPT} ${WRKSRC}/tools/subset.py ${DESTDIR}${PREFIX}/bin/svm-subset .if ${OPSYS} == "Darwin" .PHONY: fix-darwin-install-name post-install: fix-darwin-install-name fix-darwin-install-name: install_name_tool -id ${PREFIX}/lib/libsvm.so.2 \ ${DESTDIR}${PREFIX}/lib/libsvm.so.2 .endif .include "../../lang/python/application.mk" .include "../../mk/bsd.pkg.mk" @ 1.12 log @*: Revbump packages that use Python at runtime without a PKGNAME prefix @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2020/12/04 20:45:29 nia Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.11 log @Revbump packages with a runtime Python dep but no version prefix. For the Python 3.8 default switch. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2020/03/24 17:21:43 nia Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.10 log @libsvm: Update to 3.24 3.24: 2019/9/11 fix compiling issues in matlab/Makefile: use mex only rather than build some .o files separately python interface: use array for reading data in python/commonutil.py to lower the memory usage fix a bug in python/commonutil.py for reading pre-computed kernel minor improvements and bug fixes 3.23: 2018/7/15 add more digits of predicted file, model file, scaled data and data from matlab libsvmwrite: to %.17g revise svm-scale.c so features in test data that do not appear in training data are scaled to zero. remove unnecessary tab or space in all files python interface: add Scipy support add scaling (csr_find_scale_param and csr_scale functions) put some utility functions identical in LIBLINEAR to commonutil.py. functions for scaling are put in commonutil.py. sort column indices of csr matrix before training as feature indices must be ascending convert Qt version of svm-toy from Qt4 to Qt5 remove gtk svm-toy because we stop maintaining this tool minor improvement of descriptions in README 3.22: 2016/12/22 probability output: if 2 classes, directly output the predited probabilities rather than run the iterative algorithms for multi-class situations 3.21: 2015/12/14 pre-built windows exe files changed from 32 to 64 bit matlab interface: now use #include "../svm.h" fix some minor issues in make.m of matlab interface @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2019/11/02 16:16:19 rillig Exp $ d4 1 @ 1.9 log @math: align variable assignments pkglint -Wall -F --only aligned -r Manual correction in R/Makefile.extension for the MASTER_SITES continuation line. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2019/04/25 07:33:05 maya Exp $ d3 1 a3 2 DISTNAME= libsvm-3.20 PKGREVISION= 1 @ 1.8 log @PKGREVISION bump for anything using python without a PYPKGPREFIX. This is a semi-manual PKGREVISION bump. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2018/10/25 21:46:03 minskim Exp $ d21 1 a21 1 SUBST_CLASSES+= paths @ 1.7 log @math/libsvm: Fix install_name on Darwin @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2017/11/15 22:13:38 wiz Exp $ d4 1 @ 1.6 log @libsvm: follow redirects @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2017/09/16 19:26:59 wiz Exp $ d30 2 d52 8 @ 1.5 log @Reset maintainer @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.4 2015/04/11 03:25:43 rodent Exp $ # d5 1 a5 1 MASTER_SITES= http://www.csie.ntu.edu.tw/~cjlin/libsvm/ d8 1 a8 1 HOMEPAGE= http://www.csie.ntu.edu.tw/~cjlin/libsvm/ @ 1.4 log @Needs gmake to process Makefile correctly. Likely fixes build on Darwin. Light cleanup of pkgsrc Makefile. From website: Version 3.20 released on November 15, 2014. It conducts some minor fixes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2014/10/19 22:11:22 cheusov Exp $ d8 1 a8 1 MAINTAINER= rodent@@NetBSD.org @ 1.3 log @Fix hardcoded paths to executables; ++pkgrevision @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2014/10/19 08:59:31 cheusov Exp $ d4 1 a4 2 DISTNAME= libsvm-3.18 PKGREVISION= 2 d14 1 d22 8 a29 8 SUBST_SED.paths= -e 's,[.][.]/svm-train,${PREFIX}/bin/svm-train,' \ -e 's,[.][.]/svm-scale,${PREFIX}/bin/svm-scale,' \ -e 's,[.][.]/svm-predict,${PREFIX}/bin/svm-predict,' \ -e 's,"[.]/grid[.]py,"${PREFIX}/bin/svm-grid,' \ -e 's,/usr/bin/gnuplot,${PREFIX}/bin/gnuplot,' SUBST_FILES.paths= tools/grid.py tools/easy.py SUBST_STAGE.paths= pre-build SUBST_MESSAGE.paths= Fixing hardcoded paths. @ 1.2 log @Add more utilities and files to libsvm package @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2014/04/02 07:31:43 rodent Exp $ d5 1 a5 1 PKGREVISION= 1 d21 10 @ 1.1 log @Import libsvm-3.18 as math/libsvm. LIBSVM is an integrated software for support vector classification, (C-SVC, nu- SVC), regression (epsilon-SVR, nu-SVR) and distribution estimation (one-class SVM). It supports multi-class classification. @ text @d1 1 a1 1 # $NetBSD$ d5 1 d17 3 a19 1 INSTALLATION_DIRS+= bin lib share/doc/${PKGBASE} share/examples/${PKGBASE} d26 2 d30 4 d36 4 d41 1 @