void-packages/srcpkgs/sympow/template
Gonzalo Tornaría 0081690e2e sympow: add a patch to avoid printing warnings
Patch taken from sagemath, without it some sage doctests fail just
because of the extraneous output.

From the patch description:

The default "pkgdatafilesbindir" is something like /var/cache/sympow
that will never be writable by unprivileged users (and cannot safely
be made that way). There is already a fallback to $HOME in the code
that works perfectly well, but by default sympow emits a warning when
it realizes that it can't write to e.g. /var/cache/sympow on the first
try. Since that's completely expected, we hide the warnings behind an
additional level of verbosity (VERBOSE >= 2 instead of VERBOSE >= 1).
2021-11-15 14:49:57 +01:00

24 lines
770 B
Bash

# Template file for 'sympow'
pkgname=sympow
version=2.023.6
revision=2
wrksrc=${pkgname}-v${version}
build_style=configure
make_build_target=all
hostmakedepends="which pari help2man"
short_desc="Computes special values of symmetric power elliptic curve L-functions"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-2-Clause"
homepage="https://gitlab.com/rezozer/forks/sympow"
changelog="https://gitlab.com/rezozer/forks/sympow/-/raw/master/HISTORY"
distfiles="https://gitlab.com/rezozer/forks/sympow/-/archive/v${version}/sympow-v${version}.tar.bz2"
checksum=d153530dfdd46da05c954121640e50771064536fedc22c7fef24fb11083172ef
nocross=yes # runs binaries built for target
do_configure() {
PREFIX=/usr ./Configure
}
post_install() {
vlicense COPYING
}