From: tornaria <tornaria@users.noreply.github.com> To: ml@inbox.vuxu.org Subject: [PR PATCH] [WIP] New package: gap-4.11.1 Date: Tue, 11 Jan 2022 15:38:18 +0100 [thread overview] Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34995@inbox.vuxu.org> (raw) [-- Attachment #1: Type: text/plain, Size: 612 bytes --] There is a new pull request by tornaria against master on the void-packages repository https://github.com/tornaria/void-packages gap https://github.com/void-linux/void-packages/pull/34995 [WIP] New package: gap-4.11.1 #### Testing the changes - I tested the changes in this PR: **briefly** This is a dependency of sagemath. It's working fine standalone, and I'm now working on having it used by sagemath from system. This is working fine on x86_64. I haven't tested musl, i686, or cross build yet. Cc: @dkwo A patch file from https://github.com/void-linux/void-packages/pull/34995.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-gap-34995.patch --] [-- Type: text/x-diff, Size: 3734 bytes --] From deb0055bd7aed103d0dd50e908584ad3022dcc2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy> Date: Mon, 10 Jan 2022 16:18:04 -0300 Subject: [PATCH 1/2] New package: gap-4.11.1 --- common/shlibs | 1 + srcpkgs/gap-devel | 1 + srcpkgs/gap/template | 41 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 120000 srcpkgs/gap-devel create mode 100644 srcpkgs/gap/template diff --git a/common/shlibs b/common/shlibs index 999d3ad714b8..1e537682c3a1 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4021,6 +4021,7 @@ libpari-gmp.so.7 pari-2.13.0_1 libpari-gmp-tls.so.7 pari-2.13.2_1 libtree-sitter.so.0 tree-sitter-0.19.0_1 libplanarity.so.0 planarity-3.0.1.1_1 +libgap.so.0 gap-4.11.1_1 libgtkdatabox.so.1 gtkdatabox3-1.0.0_1 libgf2x.so.3 gf2x-1.3.0_1 libntl.so.44 ntl-11.5.1_1 diff --git a/srcpkgs/gap-devel b/srcpkgs/gap-devel new file mode 120000 index 000000000000..e195f60d0b1a --- /dev/null +++ b/srcpkgs/gap-devel @@ -0,0 +1 @@ +gap \ No newline at end of file diff --git a/srcpkgs/gap/template b/srcpkgs/gap/template new file mode 100644 index 000000000000..683d4e4edb63 --- /dev/null +++ b/srcpkgs/gap/template @@ -0,0 +1,41 @@ +# Template file for 'gap' +pkgname=gap +version=4.11.1 +revision=1 +build_style=gnu-configure +makedepends="gmp-devel zlib-devel readline-devel" +make_install_target="install-bin install-gaproot install-headers install-libgap" +short_desc="Groups, Algorithms, Programming - computational discrete algebra" +maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>" +license="GPL-2.0-or-later" +homepage="http://www.gap-system.org/" +distfiles="https://github.com/gap-system/gap/releases/download/v${version}/gap-${version}.tar.gz" +checksum=6635c5da7d82755f8339486b9cac33766f58712f297e8234fba40818902ea304 + +_GAPROOT=/usr/share/gap/ + +# minimal required packages +_GAPPKGS="GAPDoc primgrp SmallGrp transgrp" + +# other expected packages +_GAPPKGS+=" atlasrep autpgrp alnuth crisp ctbllib FactInt fga irredsol laguna + polenta polycyclic resclasses sophus tomlib" + +post_install() { + vmkdir ${_GAPROOT}/pkg + for p in ${_GAPPKGS}; do + [ -d pkg/$p ] || p="$p-*" + vcopy "pkg/$p" ${_GAPROOT}/pkg + done + # not handled by make install-headers + vcopy gen/config.h /usr/include/gap +} + +gap-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.so" + } +} From af89a0bc88dd92585e20cec6c144ede762efe0a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy> Date: Tue, 11 Jan 2022 00:09:49 -0300 Subject: [PATCH 2/2] gap: run more tests on full check --- srcpkgs/gap/template | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/srcpkgs/gap/template b/srcpkgs/gap/template index 683d4e4edb63..74be8c03ea42 100644 --- a/srcpkgs/gap/template +++ b/srcpkgs/gap/template @@ -4,6 +4,7 @@ version=4.11.1 revision=1 build_style=gnu-configure makedepends="gmp-devel zlib-devel readline-devel" +checkdepends="perl" make_install_target="install-bin install-gaproot install-headers install-libgap" short_desc="Groups, Algorithms, Programming - computational discrete algebra" maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>" @@ -12,6 +13,11 @@ homepage="http://www.gap-system.org/" distfiles="https://github.com/gap-system/gap/releases/download/v${version}/gap-${version}.tar.gz" checksum=6635c5da7d82755f8339486b9cac33766f58712f297e8234fba40818902ea304 +if [ "$XBPS_CHECK_PKGS" = full ]; then + # not sure about this -- takes about 25 minutes + make_check_target=teststandard +fi + _GAPROOT=/usr/share/gap/ # minimal required packages
next reply other threads:[~2022-01-11 14:38 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-01-11 14:38 tornaria [this message] 2022-01-11 15:26 ` dkwo 2022-01-11 15:30 ` [PR PATCH] [Updated] " tornaria 2022-01-11 15:42 ` tornaria 2022-01-11 16:06 ` tornaria 2022-01-11 16:18 ` tornaria 2022-01-12 11:30 ` dkwo 2022-01-13 18:57 ` tornaria 2022-01-14 14:14 ` [PR PATCH] [Merged]: " leahneukirchen
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34995@inbox.vuxu.org \ --to=tornaria@users.noreply.github.com \ --cc=ml@inbox.vuxu.org \ --subject='Re: [PR PATCH] [WIP] New package: gap-4.11.1' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).