Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion common/shlibs
Original file line number Diff line number Diff line change
Expand Up @@ -4250,7 +4250,7 @@ libcxsparse.so.4 SuiteSparse-6.0.1_1
libspqr.so.4 SuiteSparse-7.2.0_1
libsuitesparseconfig.so.7 SuiteSparse-7.0.1_1
libumfpack.so.6 SuiteSparse-6.0.1_1
libecl.so.24.5 ecl-24.5.10_1
libecl.so.26.5 ecl-26.5.5_1
libecm.so.1 ecm-7.0.4_3
libcliquer.so.1 cliquer-1.22_1
libomalloc-0.9.6.so singular-4.2.1_1
Expand Down
4 changes: 3 additions & 1 deletion srcpkgs/ecl/files/cross_config
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,19 @@ ECL_STACK_DIR=down

### 1.2) Choose an integer datatype which is large enough to host a pointer
if [ "$XBPS_TARGET_WORDSIZE" = "64" ]; then
CL_FIXNUM_TYPE="long long int"
CL_FIXNUM_TYPE=long
CL_FIXNUM_BITS=64
CL_FIXNUM_MAX=2305843009213693951LL
CL_FIXNUM_MIN=-2305843009213693952LL
CL_SHORT_BITS=16
CL_INT_BITS=32
CL_LONG_BITS=64
else
CL_FIXNUM_TYPE=int
CL_FIXNUM_BITS=32
CL_FIXNUM_MAX=536870911L
CL_FIXNUM_MIN=-536870912L
CL_SHORT_BITS=16
CL_INT_BITS=32
CL_LONG_BITS=32
fi
Expand Down
4 changes: 2 additions & 2 deletions srcpkgs/ecl/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'ecl'
pkgname=ecl
version=24.5.10
version=26.5.5
revision=1
build_style=gnu-configure
configure_args="--enable-gmp=system --enable-boehm=system
Expand All @@ -14,7 +14,7 @@ license="LGPL-2.1-or-later"
homepage="https://ecl.common-lisp.dev/"
changelog="https://gitlab.com/embeddable-common-lisp/ecl/-/raw/develop/CHANGELOG"
distfiles="https://ecl.common-lisp.dev/static/files/release/ecl-${version}.tgz"
checksum=e4ea65bb1861e0e495386bfa8bc673bd014e96d3cf9d91e9038f91435cbe622b
checksum=a01a5bcda8c5b73e59dda3494fd13e5fec5db6aa1dad782c3cc3bb57f1633435

if [ "$CROSS_BUILD" ]; then
# Depend on system ecl
Expand Down
12 changes: 4 additions & 8 deletions srcpkgs/lcalc/template
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
# Template file for 'lcalc'
pkgname=lcalc
version=2.1.1
version=2.2.1
revision=1
build_style=gnu-configure
configure_args="--with-pari"
hostmakedepends="automake libtool pkg-config gengetopt"
hostmakedepends="gengetopt"
makedepends="gmp-devel pari-devel"
short_desc="Michael Rubinstein's L-function calculator"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="GPL-2.0-or-later"
homepage="https://gitlab.com/sagemath/lcalc"
changelog="https://gitlab.com/sagemath/lcalc/-/raw/master/doc/ChangeLog"
distfiles="https://gitlab.com/sagemath/lcalc/-/archive/${version}/lcalc-${version}.tar.bz2"
checksum=f93c1ac7ad6d5524f52888cae5eefc5a00af635d34d53831e16e221166b5b6cd
distfiles="https://gitlab.com/-/project/12934202/uploads/0bcf82cdd02412faf9ec0cf80e656610/lcalc-${version}.tar.xz"
checksum=aa2c3979b12e12df2ecb681c1a25a0f5a3811c195f61a3baa7512fef1460c40f

case $XBPS_TARGET_MACHINE in
# avoid numerical noise caused by extended-precision of registers
i686*) CXXFLAGS="-mfpmath=sse -msse2" ;;
esac

pre_configure() {
autoreconf -fi
}

lcalc-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
Expand Down
6 changes: 3 additions & 3 deletions srcpkgs/libbraiding/template
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Template file for 'libbraiding'
pkgname=libbraiding
version=1.3.1
revision=2
version=1.3.2
revision=1
build_style=gnu-configure
short_desc="Library to compute several properties of braids"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="GPL-2.0-or-later"
homepage="https://github.com/miguelmarco/libbraiding/"
changelog="https://github.com/miguelmarco/libbraiding/releases"
distfiles="https://github.com/miguelmarco/libbraiding/releases/download/$version/libbraiding-$version.tar.gz"
checksum=d1738c3ad64a90ca0ad968d2e3c9069b0de08abcf37fb44a151a229d88203950
checksum=d43a32e7770d5c9a89ae489c5ac353da9610a761f76745382cf7612eab046ffd

libbraiding-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
Expand Down
5 changes: 3 additions & 2 deletions srcpkgs/libhomfly/template
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# Template file for 'libhomfly'
pkgname=libhomfly
version=1.03
version=1.04
revision=1
build_style=gnu-configure
makedepends="gc-devel"
short_desc="Library to compute the homfly polynomial of knots and links"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="custom:unlicense"
homepage="https://github.com/miguelmarco/libhomfly/"
changelog="https://github.com/miguelmarco/libhomfly/releases"
distfiles="https://github.com/miguelmarco/libhomfly/releases/download/${version}/libhomfly-${version}.tar.gz"
checksum=2a06e93cccd91d33ed9c345eba2e59b2ba175c11e454cf2029644a9364250871
checksum=659a77b4f4b53340d24a7d6a69f4219e77ab9439a6ab8afa0156b7f6bd7af64f

post_install() {
vlicense LICENSE
Expand Down
6 changes: 3 additions & 3 deletions srcpkgs/libmpc/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'libmpc'
pkgname=libmpc
version=1.3.1
version=1.4.1
revision=1
bootstrap=yes
build_style=gnu-configure
Expand All @@ -10,8 +10,8 @@ maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="LGPL-3.0-or-later"
homepage="https://www.multiprecision.org/mpc/"
changelog="https://gitlab.inria.fr/mpc/mpc/-/raw/master/NEWS"
distfiles="${GNU_SITE}/mpc/mpc-${version}.tar.gz"
checksum=ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8
distfiles="${GNU_SITE}/mpc/mpc-${version}.tar.xz"
checksum=91204cd32f164bd3b7c992d4a6a8ce6519511aadab30f78b6982d0bf8d73e931

if [ -z "$CHROOT_READY" ]; then
CFLAGS="-I${XBPS_MASTERDIR}/usr/include"
Expand Down
28 changes: 6 additions & 22 deletions srcpkgs/maxima/template
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Template file for 'maxima'
pkgname=maxima
version=5.47.0
revision=4
version=5.49.0
revision=1
build_style=gnu-configure
configure_args="$(vopt_enable clisp) $(vopt_enable sbcl) $(vopt_enable ecl)
makeinfo_found=true"
configure_args="$(vopt_enable clisp) $(vopt_enable sbcl) $(vopt_enable ecl)"
hostmakedepends="texinfo"
makedepends="$(vopt_if clisp clisp) $(vopt_if sbcl sbcl) $(vopt_if ecl ecl)"
depends="$(vopt_if clisp clisp) rlwrap"
checkdepends="gnuplot"
Expand All @@ -14,7 +14,7 @@ license="GPL-2.0-only"
homepage="http://maxima.sourceforge.net"
changelog="https://sourceforge.net/p/maxima/code/ci/master/tree/changelogs/ChangeLog-${version%.*}.md?format=raw"
distfiles="${SOURCEFORGE_SITE}/maxima/maxima-${version}.tar.gz"
checksum=9104021b24fd53e8c03a983509cb42e937a925e8c0c85c335d7709a14fd40f7a
checksum=6d401a4aa307cd3a5a9cadca4fa96c4ef0e24ff95a18bb6a8f803e3d2114adee
nocross=yes

# maxima-sbcl is nopie and should NOT be stripped or it won't work
Expand Down Expand Up @@ -43,22 +43,6 @@ esac

vopt_conflict clisp sbcl

pre_build() {
# do not rebuild these files if they exist
touch -c doc/info/*.html
touch -c doc/info/maxima.info*
touch -c doc/info/maxima_toc.html
touch -c doc/info/maxima-index.lisp
touch -c doc/info/maxima-index-html.lisp
touch -c interfaces/xmaxima/doc/xmaxima.info
touch -c interfaces/xmaxima/doc/xmaxima.html
}

post_build() {
# this one needs to be done after building
touch -c interfaces/emacs/imaxima/imaxima.info
}

do_check() {
if [ "$build_option_ecl" ]; then
echo "maxima-ecl: check that maxima.fas works (#34273)"
Expand All @@ -80,7 +64,7 @@ do_check() {
timeout -v 30s ./maxima-local -q -l sbcl --batch-string="
showtime : true $
a : 10^(10^5) $
b : a^1000 $
b : a^600 $
"
echo PASS
fi
Expand Down
18 changes: 18 additions & 0 deletions srcpkgs/python3-cypari2/patches/fix-memleak.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
--- a/cypari2/custom_block.pyx
+++ b/cypari2/custom_block.pyx
@@ -6,6 +6,7 @@
#*****************************************************************************

from cysignals.signals cimport add_custom_signals
+from .stack cimport reset_avma

cdef extern from "pari/pari.h":
int PARI_SIGINT_block, PARI_SIGINT_pending
@@ -16,6 +17,7 @@ cdef int custom_signal_is_blocked() noexcept:
cdef void custom_signal_unblock() noexcept:
global PARI_SIGINT_block
PARI_SIGINT_block = 0
+ reset_avma()

cdef void custom_set_pending_signal(int sig) noexcept:
global PARI_SIGINT_pending
2 changes: 1 addition & 1 deletion srcpkgs/python3-cypari2/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'python3-cypari2'
pkgname=python3-cypari2
version=2.2.4
revision=1
revision=2
build_style=python3-pep517
build_helper="meson qemu"
hostmakedepends="python3-meson-python python3-Cython
Expand Down
47 changes: 0 additions & 47 deletions srcpkgs/python3-mpmath/patches/fix-pytest.patch

This file was deleted.

12 changes: 6 additions & 6 deletions srcpkgs/python3-mpmath/template
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Template file for 'python3-mpmath'
pkgname=python3-mpmath
version=1.3.0
revision=4
build_style=python3-module
hostmakedepends="python3-setuptools"
version=1.4.1
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm"
depends="python3 python3-gmpy2"
checkdepends="$depends python3-pytest"
checkdepends="$depends python3-pytest python3-hypothesis python3-pexpect"
short_desc="Python3 library for arbitrary-precision floating-point arithmetic"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="http://mpmath.org/"
changelog="https://github.com/mpmath/mpmath/raw/master/CHANGES"
distfiles="${PYPI_SITE}/m/mpmath/mpmath-${version}.tar.gz"
checksum=7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f
checksum=efd6d1b75f09d69524a67609949812668b28e81ecbfe0ab449ced8c13e92642e

if [ "$XBPS_CHECK_PKGS" != full ]; then
make_check_args="-m not(slow)"
Expand Down
Loading
Loading