pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/bcal



Module Name:    pkgsrc
Committed By:   sjmulder
Date:           Mon Sep  7 21:44:14 UTC 2026

Modified Files:
        pkgsrc/math/bcal: Makefile distinfo
Added Files:
        pkgsrc/math/bcal: options.mk

Log Message:
math/bcal: update to 2.6

Changes:
 - support native prompt and history without readline (`make O_NORL=1`)
 - add `strip` and static build (`make O_STATIC=1`) options
 - show prompt help and allow `c` and `p` commands in either REPL mode
 - add `BCAL_BIT_ANSI_COLOR_CODE` to customize set bit color
 - add sum() function for whitespace-separated numbers
 - add `-H` option to show integral maths results in hexadecimal

Package changes:
 - Support for 'readline' and 'editline' options


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/math/bcal/Makefile pkgsrc/math/bcal/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/math/bcal/options.mk

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

Modified files:

Index: pkgsrc/math/bcal/Makefile
diff -u pkgsrc/math/bcal/Makefile:1.7 pkgsrc/math/bcal/Makefile:1.8
--- pkgsrc/math/bcal/Makefile:1.7       Fri Apr 10 20:35:17 2026
+++ pkgsrc/math/bcal/Makefile   Mon Sep  7 21:44:14 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2026/04/10 20:35:17 sjmulder Exp $
+# $NetBSD: Makefile,v 1.8 2026/09/07 21:44:14 sjmulder Exp $
 
-DISTNAME=      bcal-2.5
+DISTNAME=      bcal-2.6
 CATEGORIES=    math
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=jarun/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -24,6 +24,7 @@ MAKE_FLAGS+=  CFLAGS_WARNINGS="-Wall -Wex
 do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} ./test.py
 
+.include "options.mk"
+
 .include "../../lang/python/pyversion.mk"
-.include "../../mk/readline.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/math/bcal/distinfo
diff -u pkgsrc/math/bcal/distinfo:1.7 pkgsrc/math/bcal/distinfo:1.8
--- pkgsrc/math/bcal/distinfo:1.7       Fri Apr 10 20:35:17 2026
+++ pkgsrc/math/bcal/distinfo   Mon Sep  7 21:44:14 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2026/04/10 20:35:17 sjmulder Exp $
+$NetBSD: distinfo,v 1.8 2026/09/07 21:44:14 sjmulder Exp $
 
-BLAKE2s (bcal-2.5.tar.gz) = 786c7d993a96f47bf2ace0d5c64e768956e09ecfc0c89bbd2ec2764dc5c42b74
-SHA512 (bcal-2.5.tar.gz) = 35412bca1c1279bd1d127b51965754fc322b24bccc54b500b7ccaba270338e2b34d5a936ec376da6b82e4da5f4c77f0cb113e20f726475e0277dccbb2cb2c154
-Size (bcal-2.5.tar.gz) = 42259 bytes
+BLAKE2s (bcal-2.6.tar.gz) = d96d877ee73caa950d273a4d50313582f036684f1396b354085f5e44f8be06d7
+SHA512 (bcal-2.6.tar.gz) = b7c98ea958b97cfe20c9ecb32eaf6e46407c01ef1cb6416b6eb528dc1585f14509f8a58a4fc62f9950ef7f0c4f4dfed273047371fc16c7a1150763e6f0d18187
+Size (bcal-2.6.tar.gz) = 48601 bytes

Added files:

Index: pkgsrc/math/bcal/options.mk
diff -u /dev/null pkgsrc/math/bcal/options.mk:1.1
--- /dev/null   Mon Sep  7 21:44:14 2026
+++ pkgsrc/math/bcal/options.mk Mon Sep  7 21:44:14 2026
@@ -0,0 +1,17 @@
+# $NetBSD: options.mk,v 1.1 2026/09/07 21:44:14 sjmulder Exp $
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.bcal
+PKG_OPTIONS_OPTIONAL_GROUPS=   editing
+PKG_OPTIONS_GROUP.editing=     readline editline
+PKG_SUGGESTED_OPTIONS=         readline
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Meditline)
+MAKE_FLAGS+=   O_EL=1
+.  include "../../devel/editline/buildlink3.mk"
+.elif !empty(PKG_OPTIONS:Mreadline)
+.  include "../../mk/readline.buildlink3.mk"
+.else
+MAKE_FLAGS+=   O_NORL=1
+.endif



Home | Main Index | Thread Index | Old Index