From b191f79033d7e3a8956ce425e63e54d6a3c0002d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Thu, 30 Jan 2025 10:02:24 -0300 Subject: [PATCH] flintlib: update to 3.1.3+p1. --- srcpkgs/flintlib/template | 12 ++++++------ srcpkgs/flintlib/update | 8 +++++--- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/srcpkgs/flintlib/template b/srcpkgs/flintlib/template index 465cdf1d0d3..7bccdd746a2 100644 --- a/srcpkgs/flintlib/template +++ b/srcpkgs/flintlib/template @@ -1,7 +1,7 @@ # Template file for 'flintlib' pkgname=flintlib -version=3.1.2 -revision=2 +version=3.1.3+p1 +revision=1 build_style=gnu-configure configure_args="--prefix=/usr --disable-arch $(vopt_with ntl) $(vopt_if openblas --with-blas-include=${XBPS_CROSS_BASE}/usr/include/openblas)" @@ -9,11 +9,11 @@ makedepends="mpfr-devel $(vopt_if ntl ntl-devel) $(vopt_if openblas openblas-devel)" short_desc="Fast Library for Number Theory" maintainer="Gonzalo TornarĂ­a " -license="LGPL-2.1-or-later" +license="LGPL-3.0-or-later" homepage="https://flintlib.org" -changelog="https://raw.githubusercontent.com/wbhart/flint2/trunk/NEWS" -distfiles="https://flintlib.org/flint-${version}.tar.gz" -checksum=fdb3a431a37464834acff3bdc145f4fe8d0f951dd5327c4c6f93f4cbac5c2700 +changelog="https://raw.githubusercontent.com/flintlib/flint/refs/heads/main/doc/source/history.rst" +distfiles="https://github.com/flintlib/flint/releases/download/v${version/+/-}/flint-${version/+/-}.tar.xz" +checksum=8d75df8f2347534bd3245ef6f43cb91e43abd152572c6fe0bfffda55ec014920 build_options="ntl openblas" desc_option_ntl="enable NTL support" diff --git a/srcpkgs/flintlib/update b/srcpkgs/flintlib/update index 21d6ab4bae5..4cdaabc14b2 100644 --- a/srcpkgs/flintlib/update +++ b/srcpkgs/flintlib/update @@ -1,3 +1,5 @@ -# package was named 'flintlib' because of another package -pkgname=flint -site="https://flintlib.org/downloads.html" +pattern="/archive/refs/tags/v?\K[\d.]+(-(p|rc)[0-9]+)?(?=\.tar\.gz)" +version=${version/+/.} +if [[ "$version" != *rc* ]]; then + ignore=*rc* +fi