diff --git a/build/pkgs/sagemath_giac/SPKG.rst b/build/pkgs/sagemath_giac/SPKG.rst new file mode 100644 index 00000000000..e68c8701c56 --- /dev/null +++ b/build/pkgs/sagemath_giac/SPKG.rst @@ -0,0 +1,10 @@ +============================================================================== + Sage: Open Source Mathematics Software: Giac integration +============================================================================== + +This pip-installable source distribution ``sagemath-giac`` is a small +optional distribution for use with ``sagemath-standard``. + +It provides a Cython interface to the ``libgiac`` library for the +purpose of symbolic integration and certain Groebner basis +calculations. diff --git a/build/pkgs/sagemath_giac/checksums.ini b/build/pkgs/sagemath_giac/checksums.ini new file mode 100644 index 00000000000..a7820ca2782 --- /dev/null +++ b/build/pkgs/sagemath_giac/checksums.ini @@ -0,0 +1,4 @@ +tarball=sagemath-giac-VERSION.tar.gz +sha1=a6fe71575d21791d003e7d94b887413d4e0dea42 +sha256=df7ff85a7ed595a805098fe4ff2103be52dcb7c91f5b11001f8979cfa6d68701 +upstream_url=https://github.com/orlitzky/sagemath-giac/archive/refs/tags/VERSION.tar.gz diff --git a/build/pkgs/sagemath_giac/dependencies b/build/pkgs/sagemath_giac/dependencies new file mode 100644 index 00000000000..9e356574ea9 --- /dev/null +++ b/build/pkgs/sagemath_giac/dependencies @@ -0,0 +1 @@ +cysignals cython giac gmpy2 sagelib | $(PYTHON_TOOLCHAIN) $(PYTHON) diff --git a/build/pkgs/sagemath_giac/package-version.txt b/build/pkgs/sagemath_giac/package-version.txt new file mode 100644 index 00000000000..6e8bf73aa55 --- /dev/null +++ b/build/pkgs/sagemath_giac/package-version.txt @@ -0,0 +1 @@ +0.1.0 diff --git a/build/pkgs/sagemath_giac/spkg-configure.m4 b/build/pkgs/sagemath_giac/spkg-configure.m4 new file mode 100644 index 00000000000..eb6492939dc --- /dev/null +++ b/build/pkgs/sagemath_giac/spkg-configure.m4 @@ -0,0 +1,3 @@ +SAGE_SPKG_CONFIGURE([sagemath_giac], [ + SAGE_PYTHON_PACKAGE_CHECK([sagemath_giac]) +]) diff --git a/build/pkgs/sagemath_giac/spkg-install.in b/build/pkgs/sagemath_giac/spkg-install.in new file mode 100644 index 00000000000..6cfa66f883c --- /dev/null +++ b/build/pkgs/sagemath_giac/spkg-install.in @@ -0,0 +1,8 @@ +# Sorry if you wanted to specify your own $CYTHON here, but it won't +# work. We need to run cython using "python /path/to/cython" so that +# the python from the sage venv gets used, which is what makes sure +# that the cython search path includes the venv. +export CYTHON=sage-cython + +cd src +sdh_pip_install --no-build-isolation . diff --git a/build/pkgs/sagemath_giac/type b/build/pkgs/sagemath_giac/type new file mode 100644 index 00000000000..134d9bc32d5 --- /dev/null +++ b/build/pkgs/sagemath_giac/type @@ -0,0 +1 @@ +optional