-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Import sysutils/cmb, a combinatorics library/utility from FreeBSD.
ok kn@ cmb is a combinatorics library/utility. It is both a novel algorithm and the fastest implementation we have for complex combinatorics. It is faster than python's itertools, faster than numpy, faster than Perl, faster than Perl XS, faster than comb in R. It is a port of cmb(1)/cmb(3) from FreeBSD.
- Loading branch information
Showing
4 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# $OpenBSD: Makefile,v 1.1.1.1 2019/12/17 03:36:07 bcallah Exp $ | ||
|
||
COMMENT = combinatorics library/utility from FreeBSD | ||
DISTNAME = cmb-3.9.5 | ||
CATEGORIES = sysutils | ||
|
||
SHARED_LIBS += cmb 0.0 # 0.0 | ||
|
||
HOMEPAGE = https://github.com/ibara/cmb | ||
MAINTAINER = Brian Callahan <bcallah@openbsd.org> | ||
|
||
# BSD | ||
PERMIT_PACKAGE = Yes | ||
|
||
WANTLIB += c crypto m | ||
|
||
MASTER_SITES = https://github.com/ibara/cmb/releases/download/${DISTNAME}/ | ||
|
||
NO_TEST = Yes | ||
|
||
post-install: | ||
${INSTALL_DATA} ${WRKSRC}/lib/libcmb/cmb.h ${PREFIX}/include | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
SHA256 (cmb-3.9.5.tar.gz) = 6cvSHLVnpF25yYBMVwOA838ji1XKwrjvz9UGluycurE= | ||
SIZE (cmb-3.9.5.tar.gz) = 21580 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
cmb is a combinatorics library/utility. | ||
|
||
It is both a novel algorithm and the fastest implementation we have for | ||
complex combinatorics. It is faster than python's itertools, faster than | ||
numpy, faster than Perl, faster than Perl XS, faster than comb in R. | ||
|
||
It is a port of cmb(1)/cmb(3) from FreeBSD. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@comment $OpenBSD: PLIST,v 1.1.1.1 2019/12/17 03:36:07 bcallah Exp $ | ||
@bin bin/cmb | ||
include/cmb.h | ||
@static-lib lib/libcmb.a | ||
@lib lib/libcmb.so.${LIBcmb_VERSION} | ||
@static-lib lib/libcmb_p.a | ||
@man man/man1/cmb.1 | ||
@man man/man3/cmb.3 |