Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Merge branch 'u/arojas/upgrade_lrcalc_to_2_0' of git://trac.sagemath.…
Browse files Browse the repository at this point in the history
…org/sage into u/arojas/upgrade_lrcalc_to_2_0
  • Loading branch information
Travis Scrimshaw committed Feb 23, 2022
2 parents 826061a + ffb08d8 commit e8d0b5b
Show file tree
Hide file tree
Showing 15 changed files with 92 additions and 430 deletions.
9 changes: 5 additions & 4 deletions build/pkgs/lrcalc/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
tarball=lrcalc-VERSION.tar.gz
sha1=89c288875bc3e3e2919876cb645bdfd7316b5965
md5=6bba16c0cca9debccd0af847bd3d4a23
cksum=3738483656
tarball=liblrcalc-VERSION.tar.gz
sha1=2a98661eb39c7ef526c932f7886fc3142fd639ab
md5=7cfa8f67287f2b70a15a833b94bc24b6
cksum=2250996027
upstream_url=https://sites.math.rutgers.edu/~asbuch/lrcalc/lrcalc-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/lrcalc/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.p1
2.1
90 changes: 0 additions & 90 deletions build/pkgs/lrcalc/patches/includes.patch

This file was deleted.

9 changes: 5 additions & 4 deletions build/pkgs/lrcalc/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
SAGE_SPKG_CONFIGURE([lrcalc], [
AC_CHECK_HEADERS([lrcalc/schublib.h], [
AC_LANG_PUSH([C])
AC_CHECK_HEADERS([lrcalc/schublib.h] [lrcalc/lrcoef.h], [
AC_SEARCH_LIBS([mult_poly_schubert], [lrcalc], [], [sage_spkg_install_lrcalc=yes])
], [sage_spkg_install_lrcalc=yes],
[[#ifndef _HASHTAB_H
#include <lrcalc/hashtab.h>
#include <lrcalc/vector.h>
[[#ifndef _IVECTOR_H
#include <lrcalc/ivector.h>
#endif]])
AC_LANG_POP
])
4 changes: 0 additions & 4 deletions build/pkgs/lrcalc/spkg-install.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
cd src

# Use newer version of config.guess and config.sub (see Trac #19725)
cp "$SAGE_ROOT"/config/config.guess .
cp "$SAGE_ROOT"/config/config.sub .

sdh_configure
sdh_make
sdh_make_install
22 changes: 22 additions & 0 deletions build/pkgs/lrcalc_python/SPKG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
lrcalc_python: Littlewood-Richardson calculator
===============================================

Description
-----------

Python bindings for the Littlewood-Richardson Calculator

http://sites.math.rutgers.edu/~asbuch/lrcalc/

License
-------

GNU General Public License V3


Upstream Contact
----------------

Anders S. Buch (asbuch@math.rutgers.edu)

https://bitbucket.org/asbuch/lrcalc
5 changes: 5 additions & 0 deletions build/pkgs/lrcalc_python/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tarball=lrcalc-VERSION.tar.gz
sha1=3e9366d9e8b8beccec70b07d174b8f6683c01574
md5=4ae444d12ed8e0dd770594ea3ef4a208
cksum=2741305196
upstream_url=https://pypi.io/packages/source/l/lrcalc/lrcalc-VERSION.tar.gz
5 changes: 5 additions & 0 deletions build/pkgs/lrcalc_python/dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$(PYTHON) lrcalc | $(PYTHON_TOOLCHAIN) cython

----------
All lines of this file are ignored except the first.
It is copied by SAGE_ROOT/build/make/install into SAGE_ROOT/build/make/Makefile.
1 change: 1 addition & 0 deletions build/pkgs/lrcalc_python/install-requires.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lrcalc ~=2.1
1 change: 1 addition & 0 deletions build/pkgs/lrcalc_python/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.1
1 change: 1 addition & 0 deletions build/pkgs/lrcalc_python/spkg-install.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cd src && sdh_pip_install .
1 change: 1 addition & 0 deletions build/pkgs/lrcalc_python/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
standard
2 changes: 1 addition & 1 deletion build/pkgs/sagelib/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FORCE $(SCRIPTS) arb boost_cropped $(BLAS) brial cliquer cypari cysignals cython ecl eclib ecm flint libgd gap giac givaro glpk gmpy2 gsl iml jinja2 jupyter_core lcalc lrcalc libbraiding libhomfly libpng linbox m4ri m4rie memory_allocator mpc mpfi mpfr $(MP_LIBRARY) ntl numpy pari pip pkgconfig planarity ppl pplpy primesieve primecount primecountpy pycygwin $(PYTHON) ratpoints requests rw sage_conf singular symmetrica zn_poly $(PCFILES) | $(PYTHON_TOOLCHAIN) sage_setup
FORCE $(SCRIPTS) arb boost_cropped $(BLAS) brial cliquer cypari cysignals cython ecl eclib ecm flint libgd gap giac givaro glpk gmpy2 gsl iml jinja2 jupyter_core lcalc lrcalc_python libbraiding libhomfly libpng linbox m4ri m4rie memory_allocator mpc mpfi mpfr $(MP_LIBRARY) ntl numpy pari pip pkgconfig planarity ppl pplpy primesieve primecount primecountpy pycygwin $(PYTHON) ratpoints requests rw sage_conf singular symmetrica zn_poly $(PCFILES) | $(PYTHON_TOOLCHAIN) sage_setup

----------
All lines of this file are ignored except the first.
Expand Down
77 changes: 0 additions & 77 deletions src/sage/libs/lrcalc/lrcalc.pxd

This file was deleted.

Loading

0 comments on commit e8d0b5b

Please sign in to comment.