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: Fri Apr 10 20:35:18 UTC 2026
Modified Files:
pkgsrc/math/bcal: Makefile distinfo
Log Message:
math/bcal: Update to 2.5
Changes:
- remove dependency on external tools (bc, calc)
- support general purpose calculations (program option/prompt
switch 'b')
- arithmetic: addition, subtraction, multiplication, division,
modulo
- bitwise: AND (&), OR (|), XOR (^), complement (~), lshift (<<),
rshift (>>)
- functions: exp(n), log(base, n), ln(n) [natural log],
pow(n, exponent), root(radical, n)
- add program option/prompt switch p to show bit positions with bit
value of a number
- remove commas from input for general purpose calculations
Package now includes a test target.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/math/bcal/Makefile pkgsrc/math/bcal/distinfo
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.6 pkgsrc/math/bcal/Makefile:1.7
--- pkgsrc/math/bcal/Makefile:1.6 Sat Jan 29 14:55:08 2022
+++ pkgsrc/math/bcal/Makefile Fri Apr 10 20:35:17 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2022/01/29 14:55:08 sjmulder Exp $
+# $NetBSD: Makefile,v 1.7 2026/04/10 20:35:17 sjmulder Exp $
-DISTNAME= bcal-2.4
+DISTNAME= bcal-2.5
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GITHUB:=jarun/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -10,15 +10,20 @@ HOMEPAGE= https://github.com/jarun/bcal/
COMMENT= Storage and general-purpose calculator
LICENSE= gnu-gpl-v3
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
# "Only 64-bit operating systems are supported." (README.md)
ONLY_FOR_PLATFORM= ${LP64PLATFORMS}
USE_TOOLS+= gmake
-DEPENDS+= bc-[0-9]*:../../math/bc
MAKE_FLAGS+= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
# No -O3 and -Werror
MAKE_FLAGS+= CFLAGS_OPTIMIZATION=
MAKE_FLAGS+= CFLAGS_WARNINGS="-Wall -Wextra -Wno-unused-parameter"
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} ./test.py
+
+.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.6 pkgsrc/math/bcal/distinfo:1.7
--- pkgsrc/math/bcal/distinfo:1.6 Sat Jan 29 14:55:08 2022
+++ pkgsrc/math/bcal/distinfo Fri Apr 10 20:35:17 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2022/01/29 14:55:08 sjmulder Exp $
+$NetBSD: distinfo,v 1.7 2026/04/10 20:35:17 sjmulder Exp $
-BLAKE2s (bcal-2.4.tar.gz) = 6a25235e819bf12969b8d61598a984ce1c5c97a1d40efa2dc5f7953aed4bad5e
-SHA512 (bcal-2.4.tar.gz) = cdce53bb63f878ff6d2e15ea93f489a1ad8d59b2ff640f558704e5333dabaeeed34657a9fd01ae7aa73f3f110e6692598643f62bb93dcddd48d3b977f8748055
-Size (bcal-2.4.tar.gz) = 36105 bytes
+BLAKE2s (bcal-2.5.tar.gz) = 786c7d993a96f47bf2ace0d5c64e768956e09ecfc0c89bbd2ec2764dc5c42b74
+SHA512 (bcal-2.5.tar.gz) = 35412bca1c1279bd1d127b51965754fc322b24bccc54b500b7ccaba270338e2b34d5a936ec376da6b82e4da5f4c77f0cb113e20f726475e0277dccbb2cb2c154
+Size (bcal-2.5.tar.gz) = 42259 bytes
Home |
Main Index |
Thread Index |
Old Index