mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
gap: update to 4.12.1.
This commit is contained in:
parent
715c34ba4e
commit
670e61df33
3 changed files with 41 additions and 14 deletions
|
@ -4014,7 +4014,7 @@ liblinbox.so.0 linbox-1.6.3_1
|
||||||
libpari-gmp-tls.so.8 pari-2.15.0_1
|
libpari-gmp-tls.so.8 pari-2.15.0_1
|
||||||
libtree-sitter.so.0 tree-sitter-0.19.0_1
|
libtree-sitter.so.0 tree-sitter-0.19.0_1
|
||||||
libplanarity.so.0 planarity-3.0.1.1_1
|
libplanarity.so.0 planarity-3.0.1.1_1
|
||||||
libgap.so.0 gap-4.11.1_1
|
libgap.so.8 gap-4.12.0_1
|
||||||
libgtkdatabox.so.1 gtkdatabox3-1.0.0_1
|
libgtkdatabox.so.1 gtkdatabox3-1.0.0_1
|
||||||
libxcvt.so.0 libxcvt-0.1.1_1
|
libxcvt.so.0 libxcvt-0.1.1_1
|
||||||
libgf2x.so.3 gf2x-1.3.0_1
|
libgf2x.so.3 gf2x-1.3.0_1
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/pkg/atlasrep/gap/userpref.g 2022-09-06 17:41:17.000000000 -0300
|
||||||
|
+++ b/pkg/atlasrep/gap/userpref.g 2022-10-29 07:46:48.580833277 -0300
|
||||||
|
@@ -46,7 +46,7 @@
|
||||||
|
this information depends on the value of the preference at the time \
|
||||||
|
when the AtlasRep package and its data extensions get loaded."
|
||||||
|
],
|
||||||
|
- default:= true,
|
||||||
|
+ default:= false,
|
||||||
|
values:= [ true, false ],
|
||||||
|
multi:= false,
|
||||||
|
package:= "AtlasRep",
|
|
@ -1,17 +1,17 @@
|
||||||
# Template file for 'gap'
|
# Template file for 'gap'
|
||||||
pkgname=gap
|
pkgname=gap
|
||||||
version=4.11.1
|
version=4.12.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
make_install_target="install-bin install-gaproot install-headers install-libgap"
|
|
||||||
makedepends="gmp-devel zlib-devel readline-devel"
|
makedepends="gmp-devel zlib-devel readline-devel"
|
||||||
checkdepends="perl"
|
checkdepends="perl"
|
||||||
short_desc="Groups, Algorithms, Programming - computational discrete algebra"
|
short_desc="Groups, Algorithms, Programming - computational discrete algebra"
|
||||||
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
|
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="http://www.gap-system.org/"
|
homepage="https://www.gap-system.org/"
|
||||||
|
changelog="https://raw.githubusercontent.com/gap-system/gap/master/CHANGES.md"
|
||||||
distfiles="https://github.com/gap-system/gap/releases/download/v${version}/gap-${version}.tar.gz"
|
distfiles="https://github.com/gap-system/gap/releases/download/v${version}/gap-${version}.tar.gz"
|
||||||
checksum=6635c5da7d82755f8339486b9cac33766f58712f297e8234fba40818902ea304
|
checksum=f9ebef11ee31b210ce36e3c70960742b4e253282bbd5270adc9324273c92b016
|
||||||
|
|
||||||
if [ "$XBPS_CHECK_PKGS" = full ]; then
|
if [ "$XBPS_CHECK_PKGS" = full ]; then
|
||||||
# not sure about this -- takes about 25 minutes
|
# not sure about this -- takes about 25 minutes
|
||||||
|
@ -21,20 +21,36 @@ fi
|
||||||
_GAPROOT=/usr/share/gap/
|
_GAPROOT=/usr/share/gap/
|
||||||
|
|
||||||
# minimal required packages
|
# minimal required packages
|
||||||
_GAPPKGS="GAPDoc primgrp SmallGrp transgrp"
|
_GAPPKGS="autodoc gapdoc primgrp smallgrp transgrp"
|
||||||
|
|
||||||
# other expected packages
|
# other expected packages
|
||||||
_GAPPKGS+=" atlasrep autpgrp alnuth crisp ctbllib FactInt fga irredsol laguna
|
_GAPPKGS+=" atlasrep autpgrp alnuth crisp ctbllib factint fga irredsol laguna
|
||||||
polenta polycyclic resclasses sophus tomlib"
|
polenta polycyclic radiroot resclasses sophus tomlib utils"
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
# keep around only the packages that we want to install
|
||||||
|
mkdir pkg.install
|
||||||
|
for p in ${_GAPPKGS}; do
|
||||||
|
mv "pkg/$p" pkg.install
|
||||||
|
done
|
||||||
|
mv pkg pkg.orig
|
||||||
|
mv pkg.install pkg
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vmkdir ${_GAPROOT}/pkg
|
vmkdir ${_GAPROOT}
|
||||||
|
vcopy pkg ${_GAPROOT}
|
||||||
|
}
|
||||||
|
|
||||||
|
pre_check() {
|
||||||
|
msg_normal "Check that loading packages works\n"
|
||||||
for p in ${_GAPPKGS}; do
|
for p in ${_GAPPKGS}; do
|
||||||
[ -d pkg/$p ] || p="$p-*"
|
cat <<-EOF
|
||||||
vcopy "pkg/$p" ${_GAPROOT}/pkg
|
if LoadPackage("$p") <> true then
|
||||||
done
|
Error("loading package '$p'");
|
||||||
# not handled by make install-headers
|
fi;
|
||||||
vcopy gen/config.h /usr/include/gap
|
EOF
|
||||||
|
done | ./gap --quitonbreak -b -q -r
|
||||||
}
|
}
|
||||||
|
|
||||||
gap-devel_package() {
|
gap-devel_package() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue