From f7798429472ba9927957cb38680f2477b42d22fb Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sun, 25 Feb 2024 23:47:16 +0000 Subject: [PATCH] extra/flint to 3.1.0-1 --- extra/flint/.SRCINFO | 12 +++++------- extra/flint/.nvchecker.toml | 5 +++++ extra/flint/PKGBUILD | 16 +++++----------- 3 files changed, 15 insertions(+), 18 deletions(-) create mode 100644 extra/flint/.nvchecker.toml diff --git a/extra/flint/.SRCINFO b/extra/flint/.SRCINFO index dd790bfa8..af99ecacc 100644 --- a/extra/flint/.SRCINFO +++ b/extra/flint/.SRCINFO @@ -1,10 +1,10 @@ pkgbase = flint pkgdesc = A C library for doing number theory - pkgver = 3.0.1 - pkgrel = 2 + pkgver = 3.1.0 + pkgrel = 1 url = http://www.flintlib.org arch = x86_64 - license = GPL + license = LGPL-3.0-only makedepends = cmake makedepends = python depends = cblas @@ -13,9 +13,7 @@ pkgbase = flint depends = mpfr replaces = antic replaces = arb - source = http://www.flintlib.org/flint-3.0.1.tar.gz - source = https://github.com/flintlib/flint/commit/88bcb2ee.patch - sha256sums = 7b311a00503a863881eb8177dbeb84322f29399f3d7d72f3b1a4c9ba1d5794b4 - sha256sums = 2d21909660310d1651639f9dc941abc78f1b0f0cc8f13741fe6ef5c295548d88 + source = http://www.flintlib.org/flint-3.1.0.tar.gz + sha256sums = b30df05fa81de49c20d460edccf8c410279d1cf8410f2d425f707b48280a2be2 pkgname = flint diff --git a/extra/flint/.nvchecker.toml b/extra/flint/.nvchecker.toml new file mode 100644 index 000000000..ba49d2a7c --- /dev/null +++ b/extra/flint/.nvchecker.toml @@ -0,0 +1,5 @@ +[flint] +source = 'github' +github = 'flintlib/flint' +use_max_tag = true +prefix = 'v' diff --git a/extra/flint/PKGBUILD b/extra/flint/PKGBUILD index 5af1d6852..ad6e95fee 100644 --- a/extra/flint/PKGBUILD +++ b/extra/flint/PKGBUILD @@ -6,12 +6,12 @@ # - disable LTO via -DIPO_SUPPORTED=FALSE pkgname=flint -pkgver=3.0.1 -pkgrel=2 +pkgver=3.1.0 +pkgrel=1 pkgdesc='A C library for doing number theory' arch=(x86_64) url='http://www.flintlib.org' -license=(GPL) +license=(LGPL-3.0-only) depends=(cblas glibc gmp @@ -20,14 +20,8 @@ makedepends=(cmake python) replaces=(antic arb) -source=(http://www.flintlib.org/flint-$pkgver.tar.gz - https://github.com/flintlib/flint/commit/88bcb2ee.patch) -sha256sums=('7b311a00503a863881eb8177dbeb84322f29399f3d7d72f3b1a4c9ba1d5794b4' - '2d21909660310d1651639f9dc941abc78f1b0f0cc8f13741fe6ef5c295548d88') - -prepare() { - patch -d $pkgname-$pkgver -p1 < 88bcb2ee.patch # Fix full version in config header -} +source=(http://www.flintlib.org/flint-$pkgver.tar.gz) +sha256sums=('b30df05fa81de49c20d460edccf8c410279d1cf8410f2d425f707b48280a2be2') build() { cmake -B build -S $pkgname-$pkgver \