new and update pkg: cddlib plantri py-cysignals symmetrica

This commit is contained in:
K.I.A.Derouiche 2019-02-03 14:59:30 +00:00
parent f33cb9aff1
commit 4aefaf2c13
20 changed files with 273 additions and 29 deletions

View File

@ -1,13 +1,14 @@
# $NetBSD: Makefile,v 1.3 2015/01/31 20:03:00 jihbed Exp $
DISTNAME= cddlib-094g
DISTNAME= cddlib-0.94j
CATEGORIES= math
MASTER_SITES= ftp://ftp.math.ethz.ch/users/fukudak/cdd/
MASTER_SITES= ${MASTER_SITE_GITHUB:=cddlib/}
GITHUB_RELEASE= 0.94j
MAINTAINER= INSERT_YOUR_MAIL_ADDRESS_HERE
HOMEPAGE= https://www.inf.ethz.ch/personal/fukudak/cdd_home/
COMMENT= TODO: Short description of the package
LICENSE= gnu-gpl-v2
MAINTAINER= jihbed.research@gmail.com
HOMEPAGE= https://github.com/cddlib/cddlib
COMMENT= Efficient implementation of the Double Description Method
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
USE_TOOLS+= gmake

View File

@ -1,8 +1,10 @@
@comment $NetBSD: PLIST,v 1.2 2015/01/31 20:03:00 jihbed Exp $
@comment $NetBSD$
bin/adjacency
bin/adjacency_gmp
bin/allfaces
bin/allfaces_gmp
bin/cddexec
bin/cddexec_gmp
bin/fourier
bin/fourier_gmp
bin/lcdd
@ -32,6 +34,90 @@ include/cddmp_f.h
include/cddtypes.h
include/cddtypes_f.h
include/setoper.h
include/splitmix64.h
lib/libcdd.la
lib/libcddgmp.la
share/doc/cddlib/cddlibman.dvi
share/doc/cddlib/cddlibman.pdf
share/doc/cddlib/cddlibman.ps
share/doc/cddlib/examples-ext/ccc4.ext
share/doc/cddlib/examples-ext/ccc5.ext
share/doc/cddlib/examples-ext/ccc6.ext
share/doc/cddlib/examples-ext/ccp4.ext
share/doc/cddlib/examples-ext/ccp5.ext
share/doc/cddlib/examples-ext/ccp6.ext
share/doc/cddlib/examples-ext/cyclic10-4.ext
share/doc/cddlib/examples-ext/cyclic12-6.ext
share/doc/cddlib/examples-ext/cyclic14-8.ext
share/doc/cddlib/examples-ext/cyclic16-10.ext
share/doc/cddlib/examples-ext/irbox20-4.ext
share/doc/cddlib/examples-ext/irbox200-4.ext
share/doc/cddlib/examples-ext/prodst62.ext
share/doc/cddlib/examples-ext/reg24-5.ext
share/doc/cddlib/examples-ext/reg600-5.ext
share/doc/cddlib/examples-ine/allzero.ine
share/doc/cddlib/examples-ine/cross10.ine
share/doc/cddlib/examples-ine/cross12.ine
share/doc/cddlib/examples-ine/cross6.ine
share/doc/cddlib/examples-ine/cross8.ine
share/doc/cddlib/examples-ine/cube10.ine
share/doc/cddlib/examples-ine/cube12.ine
share/doc/cddlib/examples-ine/cube6.ine
share/doc/cddlib/examples-ine/cube8.ine
share/doc/cddlib/examples-ine/cubocta.ine
share/doc/cddlib/examples-ine/ex1.ine
share/doc/cddlib/examples-ine/infeas.ine
share/doc/cddlib/examples-ine/integralpoints.ine
share/doc/cddlib/examples-ine/kkd18_4.ine
share/doc/cddlib/examples-ine/kkd27_5.ine
share/doc/cddlib/examples-ine/kkd38_6.ine
share/doc/cddlib/examples-ine/nonfull.ine
share/doc/cddlib/examples-ine/origin.ine
share/doc/cddlib/examples-ine/reg24-5.ine
share/doc/cddlib/examples-ine/sampleh1.ine
share/doc/cddlib/examples-ine/sampleh2.ine
share/doc/cddlib/examples-ine/sampleh3.ine
share/doc/cddlib/examples-ine/sampleh4.ine
share/doc/cddlib/examples-ine/sampleh5.ine
share/doc/cddlib/examples-ine/sampleh6.ine
share/doc/cddlib/examples-ine/sampleh7.ine
share/doc/cddlib/examples-ine/sampleh8.ine
share/doc/cddlib/examples-ine/samplelp.ine
share/doc/cddlib/examples-ine/samplelp1.ine
share/doc/cddlib/examples-ine/samplelp2.ine
share/doc/cddlib/examples-ine/samplelp3.ine
share/doc/cddlib/examples-ine/samplelp4.ine
share/doc/cddlib/examples-ine3d/cube3.ine
share/doc/cddlib/examples-ine3d/cubocta.ine
share/doc/cddlib/examples-ine3d/dodeca.ine
share/doc/cddlib/examples-ine3d/grcubocta.ine
share/doc/cddlib/examples-ine3d/hexocta.ine
share/doc/cddlib/examples-ine3d/icododeca.ine
share/doc/cddlib/examples-ine3d/rcubocta.ine
share/doc/cddlib/examples-ine3d/rhomtria.ine
share/doc/cddlib/examples/project1.ine
share/doc/cddlib/examples/project1res.ine
share/doc/cddlib/examples/project2.ine
share/doc/cddlib/examples/project2res.ine
share/doc/cddlib/examples/redcheck.ext
share/doc/cddlib/examples/sample.ine
share/doc/cddlib/examples/sampleh1.ine
share/doc/cddlib/examples/sampleh2.ine
share/doc/cddlib/examples/sampleh3.ine
share/doc/cddlib/examples/sampleh4.ine
share/doc/cddlib/examples/sampleh5.ine
share/doc/cddlib/examples/sampleh6.ine
share/doc/cddlib/examples/sampleh7.ine
share/doc/cddlib/examples/sampleh8.ine
share/doc/cddlib/examples/samplelp.ine
share/doc/cddlib/examples/samplelp.testlp1_gmp_output
share/doc/cddlib/examples/samplelp.testlp1_output
share/doc/cddlib/examples/samplelp1.ine
share/doc/cddlib/examples/samplelp2.ine
share/doc/cddlib/examples/samplelp3.ine
share/doc/cddlib/examples/samplelp4.ine
share/doc/cddlib/examples/samplelp_big.ine
share/doc/cddlib/examples/samplelp_big_dualinfeas.ine
share/doc/cddlib/examples/samplev1.ext
share/doc/cddlib/examples/samplev2.ext
share/doc/cddlib/examples/samplev3.ext

View File

@ -1,15 +1,14 @@
# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/02/24 10:05:59 jihbed Exp $
# $NetBSD$
BUILDLINK_TREE+= cddlib
.if !defined(CDDLIB_BUILDLINK3_MK)
CDDLIB_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.cddlib+= cddlib>=0.94
BUILDLINK_API_DEPENDS.cddlib+= cddlib>=0.94j
BUILDLINK_PKGSRCDIR.cddlib?= ../../wip/cddlib
.include "../../devel/gmp/buildlink3.mk"
#.include "../../devel/gmp/buildlink3.mk"
.endif # CDDLIB_BUILDLINK3_MK
BUILDLINK_TREE+= -cddlib

View File

@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.2 2015/01/31 20:03:00 jihbed Exp $
$NetBSD$
SHA1 (cddlib-094g.tar.gz) = 4ef38ca6efbf3d54a7a753c63ff25a8c95e5fc5f
RMD160 (cddlib-094g.tar.gz) = 543d25bce930756fd06de5aa890abcd9b65e74a9
Size (cddlib-094g.tar.gz) = 1383388 bytes
SHA1 (cddlib-0.94j.tar.gz) = 4bad24b32d9c056615377ff3103e6b95e17628ac
RMD160 (cddlib-0.94j.tar.gz) = 4f0bcd8d40e7028ad58718587bace3ebde0d2901
SHA512 (cddlib-0.94j.tar.gz) = b82d5e06538a29143a79f7ba7287a1784292e28f086071041e500fd81387a30c3fca6fae9049752f57b62d50b385d73681276d42d24941e3a43893da00452ea6
Size (cddlib-0.94j.tar.gz) = 1364746 bytes

8
plantri/DESCR Normal file
View File

@ -0,0 +1,8 @@
plantri and fullgen are programs for generation of certain types of planar graph
The authors are Gunnar Brinkmann (University of Ghent) and
Brendan McKay (Australian National University).
Graphs are generated in such a way that exactly one member of each isomorphism
class is output without the need for storing them. The speed of generation
is more than 1,000,000 graphs per second in many cases, so extremely large
classes of graph can be exhaustively listed

23
plantri/Makefile Normal file
View File

@ -0,0 +1,23 @@
# $NetBSD$
DISTNAME= plantri50
PKGNAME= plantri-5.0
CATEGORIES= math
MASTER_SITES= http://users.cecs.anu.edu.au/~bdm/plantri/
MAINTAINER= jihbed.research@gmail.com
HOMEPAGE= http://users.cecs.anu.edu.au/~bdm/plantri/
COMMENT= Plantri programs for generation of certain types of planar graph
#LICENSE= # TODO: (see mk/license.mk)
MAKE_FILE= makefile
NO_CONFIGURE= yes
USE_TOOLS+= gmake
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/plantri ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/fullgen ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"

3
plantri/PLIST Normal file
View File

@ -0,0 +1,3 @@
@comment $NetBSD$
bin/fullgen
bin/plantri

6
plantri/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (plantri50.tar.gz) = a2ef9e3084adaa8ee0d4d468cafce3472f4b8418
RMD160 (plantri50.tar.gz) = fe2f2ae7dcc5a7f645ef7d2281e35a537a480604
SHA512 (plantri50.tar.gz) = c4df1a29265483e551c0e4e21cb0ed3ffd4036397e16228d2a82bb4aa0bf641786ede2e9e5816f7ba319b662d5dabeb6bcade84b91354b89830b4cbbe55c772f
Size (plantri50.tar.gz) = 210102 bytes

3
py-cysignals/DESCR Normal file
View File

@ -0,0 +1,3 @@
When writing Cython code, special care must be taken to ensure that the code can
be interrupted with CTRL-C. Since Cython optimizes for speed, Cython normally
does not check for interrupts

25
py-cysignals/Makefile Normal file
View File

@ -0,0 +1,25 @@
# $NetBSD$
DISTNAME= cysignals-1.9.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= https://files.pythonhosted.org/packages/6c/29/ddd51b4f514ce7c554758eab63995024136f257f3d33ae14527d7d75705d/
MAINTAINER= kamelderouiche@yahoo.com
HOMEPAGE= https://github.com/sagemath/cysignals
COMMENT= Interrupt and signal handling for Cython
LICENSE= gnu-lgpl-v3
DEPENDS+= ${PYPKGPREFIX}-sphinx>=1.8.3:../../textproc/py-sphinx
GNU_CONFIGURE= NO
PYTHON_VERSIONS_ACCEPTED= 37 36 35 34 27
post-extract:
${MV} ${WRKSRC}/src/scripts/cysignals-CSI ${WRKSRC}/src/scripts/cysignals-CSI${PYVERSSUFFIX}
BUILDLINK_API_DEPENDS.py-cython+= ${PYPKGPREFIX}-cython>=0.12.1
.include "../../devel/py-cython/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

25
py-cysignals/PLIST Normal file
View File

@ -0,0 +1,25 @@
@comment $NetBSD$
bin/cysignals-CSI${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/cysignals/__init__.py
${PYSITELIB}/cysignals/__init__.pyc
${PYSITELIB}/cysignals/__init__.pyo
${PYSITELIB}/cysignals/alarm.so
${PYSITELIB}/cysignals/cysignals_config.h
${PYSITELIB}/cysignals/macros.h
${PYSITELIB}/cysignals/memory.pxd
${PYSITELIB}/cysignals/memory.pxi
${PYSITELIB}/cysignals/pselect.so
${PYSITELIB}/cysignals/pxi_warning.h
${PYSITELIB}/cysignals/pysignals.pxd
${PYSITELIB}/cysignals/pysignals.so
${PYSITELIB}/cysignals/signals.pxd
${PYSITELIB}/cysignals/signals.pxi
${PYSITELIB}/cysignals/signals.so
${PYSITELIB}/cysignals/struct_signals.h
${PYSITELIB}/cysignals/tests.so
share/cysignals/cysignals-CSI-helper.py

7
py-cysignals/distinfo Normal file
View File

@ -0,0 +1,7 @@
$NetBSD$
SHA1 (cysignals-1.9.0.tar.gz) = fcfdaa41f68ac26ffca30a9d7845ca4aa8857e10
RMD160 (cysignals-1.9.0.tar.gz) = 017b79dc98583e723cd3640cdde58d010449cc80
SHA512 (cysignals-1.9.0.tar.gz) = cb1bef5295542b89ddcb453cea536aa81b5560890161f4e98775a51a57bc0aeb35b5d8394a3c7eeab7d78fcaa288b49a1c050fa34cd4d7f08169439073cd0d60
Size (cysignals-1.9.0.tar.gz) = 93335 bytes
SHA1 (patch-setup.py) = 7cab766be977698f516202a6b06f9c86802f0b00

View File

@ -0,0 +1,12 @@
$NetBSD$
--- setup.py.orig 2019-01-16 12:20:40.000000000 +0000
+++ setup.py
@@ -145,6 +145,6 @@ setup(
package_dir={"cysignals": opj("src", "cysignals")},
package_data={"cysignals": ["*.pxi", "*.pxd", "*.h"]},
data_files=[(opj("share", "cysignals"), [opj("src", "scripts", "cysignals-CSI-helper.py")])],
- scripts=glob(opj("src", "scripts", "cysignals-CSI")),
+ scripts=glob(opj("src", "scripts", "cysignals-CSI"+sys.version[0:3])),
cmdclass=dict(build=build, bdist_egg=no_egg),
)

View File

@ -1,4 +1,4 @@
Symmetrica is a collection of routines, written in the programming language
C, through which the user can readily write his/her own programs. Routines
which manipulate many types of mathematical objects are available. Their use
is facilitated by Symmetrica's object oriented style.
Symmetrica is a library for combinatorics. It has support for the
representation theory of the symmetric group and related groups, combinatorics
of tableaux, symmetric functions and polynomials, Schubert polynomials,
and the representation theory of Hecke algebras of type A_n.

View File

@ -1,21 +1,33 @@
# $NetBSD: Makefile,v 1.2 2012/10/07 16:23:19 asau Exp $
#
# $NetBSD$
DISTNAME= SYM2_0_tar
PKGNAME= symmetrica-2.0
PKGNAME= symmetrica-${VERSION}
CATEGORIES= math
MASTER_SITES= http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/
EXTRACT_SUFX= .gz
MAINTAINER= jihbed.research@gmail.com
HOMEPAGE= http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/
COMMENT= Library for combinatorics
#LICENSE= # TODO: (see mk/license.mk)
COMMENT= Symmetrica Combinatoric C Library
LICENSE= public-domain
WRKSRC= ${WRKDIR}
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
VERSION= 2.0
NO_CONFIGURE= yes
USE_LANGUAGES= c c++
MAKE_FILE= makefile
USE_TOOLS+= gmake
INSTALLATION_DIRS+= bin include/symmetrica
do-build:
cd ${WRKSRC} && ${GMAKE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/test ${DESTDIR}${PREFIX}/bin/test-symmetrica
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/symmetrica
${INSTALL_DATA} ${WRKSRC}/def.h ${DESTDIR}${PREFIX}/include/symmetrica
${INSTALL_DATA} ${WRKSRC}/macro.h ${DESTDIR}${PREFIX}/include/symmetrica
.include "../../mk/bsd.pkg.mk"

View File

@ -1 +1,4 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/10 21:31:35 jihbed Exp $
@comment $NetBSD$
bin/test-symmetrica
include/symmetrica/def.h
include/symmetrica/macro.h

View File

@ -1 +0,0 @@
not finished !!!

View File

@ -1,5 +1,8 @@
$NetBSD: distinfo,v 1.1.1.1 2010/05/10 21:31:35 jihbed Exp $
$NetBSD$
SHA1 (SYM2_0_tar.gz) = fd6f975d971c3e7c72b6cc5fcb3e5b37f5a73725
RMD160 (SYM2_0_tar.gz) = 1da19c9a72e2c54ced7e35372cdbc49a01e2cf82
SHA512 (SYM2_0_tar.gz) = 48be02bc17311003741c5d87df53e8168635d45cbe2e0890b465e41e27a934f882e876d03f8b0910305daefb05c298386c3641bb59302397ede34f45f8e41e36
Size (SYM2_0_tar.gz) = 720154 bytes
SHA1 (patch-makefile) = 9576fe60f6baf284f5f1f348ed2af41e919ab8b6
SHA1 (patch-part.c) = b5b012fa84dea15eb2571f5dffc26d90896c96f0

View File

@ -0,0 +1,13 @@
$NetBSD$
--- makefile.orig 2007-12-07 07:03:22.000000000 +0000
+++ makefile
@@ -1,4 +1,6 @@
+all: test
+
.c.o:
- cc -c -O2 -DFAST -DALLTRUE $<
+ $(CC) -c -O2 -DFAST -DALLTRUE $<
test: test.c bar.o bi.o boe.o bruch.o classical.o de.o di.o ff.o galois.o ga.o gra.o hash.o hiccup.o io.o ko.o list.o lo.o ma.o mee.o mem.o mes.o mhe.o mhh.o mhm.o mhp.o mhs.o mmm.o mms.o mod_dg_sbd.o mo.o mpp.o mps.o mse.o msh.o msm.o mss.o muir.o na.o nb.o nc.o nu.o part.o pee.o peh.o pem.o perm.o pes.o phe.o phh.o phm.o phs.o plet.o pme.o pmh.o poly.o ppe.o pph.o ppm.o ppp.o pps.o pr.o pse.o psh.o psm.o pss.o rest.o rh.o sab.o sb.o sc.o sr.o ta.o teh.o tem.o tep.o tes.o the.o thm.o thp.o ths.o tme.o tmh.o tmp.o tms.o tpe.o tph.o tpm.o tps.o tse.o tsh.o tsm.o tsp.o vc.o zo.o zykelind.o zyk.o
- gcc -DALLTRUE -DFAST test.c bar.o bi.o boe.o bruch.o classical.o de.o di.o ff.o galois.o ga.o gra.o hash.o hiccup.o io.o ko.o list.o lo.o ma.o mee.o mem.o mes.o mhe.o mhh.o mhm.o mhp.o mhs.o mmm.o mms.o mod_dg_sbd.o mo.o mpp.o mps.o mse.o msh.o msm.o mss.o muir.o na.o nb.o nc.o nu.o part.o pee.o peh.o pem.o perm.o pes.o phe.o phh.o phm.o phs.o plet.o pme.o pmh.o poly.o ppe.o pph.o ppm.o ppp.o pps.o pr.o pse.o psh.o psm.o pss.o rest.o rh.o sab.o sb.o sc.o sr.o ta.o teh.o tem.o tep.o tes.o the.o thm.o thp.o ths.o tme.o tmh.o tmp.o tms.o tpe.o tph.o tpm.o tps.o tse.o tsh.o tsm.o tsp.o vc.o zo.o zykelind.o zyk.o -o test -lm
+ $(CC) -DALLTRUE -DFAST test.c bar.o bi.o boe.o bruch.o classical.o de.o di.o ff.o galois.o ga.o gra.o hash.o hiccup.o io.o ko.o list.o lo.o ma.o mee.o mem.o mes.o mhe.o mhh.o mhm.o mhp.o mhs.o mmm.o mms.o mod_dg_sbd.o mo.o mpp.o mps.o mse.o msh.o msm.o mss.o muir.o na.o nb.o nc.o nu.o part.o pee.o peh.o pem.o perm.o pes.o phe.o phh.o phm.o phs.o plet.o pme.o pmh.o poly.o ppe.o pph.o ppm.o ppp.o pps.o pr.o pse.o psh.o psm.o pss.o rest.o rh.o sab.o sb.o sc.o sr.o ta.o teh.o tem.o tep.o tes.o the.o thm.o thp.o ths.o tme.o tmh.o tmp.o tms.o tpe.o tph.o tpm.o tps.o tse.o tsh.o tsm.o tsp.o vc.o zo.o zykelind.o zyk.o -o test -lm

View File

@ -0,0 +1,15 @@
$NetBSD$
--- part.c.orig 2007-12-06 16:30:17.000000000 +0000
+++ part.c
@@ -1767,8 +1767,8 @@ static int rec01(INT ni, OP vec)
/* to compute number of partitions */
{
INT erg = OK;
- if (ni<0) return;
- if (not EMPTYP(S_V_I(vec,ni))) return;
+ if (ni < 0) return 0;
+ if (not EMPTYP(S_V_I(vec, ni))) return 0;
else if (ni<=1) M_I_I(1,S_V_I(vec,ni));
else {