extra/flint to 3.1.0-1

This commit is contained in:
Kevin Mihelich 2024-02-25 23:47:16 +00:00
parent da3e0e6c3a
commit f779842947
3 changed files with 15 additions and 18 deletions

View file

@ -1,10 +1,10 @@
pkgbase = flint pkgbase = flint
pkgdesc = A C library for doing number theory pkgdesc = A C library for doing number theory
pkgver = 3.0.1 pkgver = 3.1.0
pkgrel = 2 pkgrel = 1
url = http://www.flintlib.org url = http://www.flintlib.org
arch = x86_64 arch = x86_64
license = GPL license = LGPL-3.0-only
makedepends = cmake makedepends = cmake
makedepends = python makedepends = python
depends = cblas depends = cblas
@ -13,9 +13,7 @@ pkgbase = flint
depends = mpfr depends = mpfr
replaces = antic replaces = antic
replaces = arb replaces = arb
source = http://www.flintlib.org/flint-3.0.1.tar.gz source = http://www.flintlib.org/flint-3.1.0.tar.gz
source = https://github.com/flintlib/flint/commit/88bcb2ee.patch sha256sums = b30df05fa81de49c20d460edccf8c410279d1cf8410f2d425f707b48280a2be2
sha256sums = 7b311a00503a863881eb8177dbeb84322f29399f3d7d72f3b1a4c9ba1d5794b4
sha256sums = 2d21909660310d1651639f9dc941abc78f1b0f0cc8f13741fe6ef5c295548d88
pkgname = flint pkgname = flint

View file

@ -0,0 +1,5 @@
[flint]
source = 'github'
github = 'flintlib/flint'
use_max_tag = true
prefix = 'v'

View file

@ -6,12 +6,12 @@
# - disable LTO via -DIPO_SUPPORTED=FALSE # - disable LTO via -DIPO_SUPPORTED=FALSE
pkgname=flint pkgname=flint
pkgver=3.0.1 pkgver=3.1.0
pkgrel=2 pkgrel=1
pkgdesc='A C library for doing number theory' pkgdesc='A C library for doing number theory'
arch=(x86_64) arch=(x86_64)
url='http://www.flintlib.org' url='http://www.flintlib.org'
license=(GPL) license=(LGPL-3.0-only)
depends=(cblas depends=(cblas
glibc glibc
gmp gmp
@ -20,14 +20,8 @@ makedepends=(cmake
python) python)
replaces=(antic replaces=(antic
arb) arb)
source=(http://www.flintlib.org/flint-$pkgver.tar.gz source=(http://www.flintlib.org/flint-$pkgver.tar.gz)
https://github.com/flintlib/flint/commit/88bcb2ee.patch) sha256sums=('b30df05fa81de49c20d460edccf8c410279d1cf8410f2d425f707b48280a2be2')
sha256sums=('7b311a00503a863881eb8177dbeb84322f29399f3d7d72f3b1a4c9ba1d5794b4'
'2d21909660310d1651639f9dc941abc78f1b0f0cc8f13741fe6ef5c295548d88')
prepare() {
patch -d $pkgname-$pkgver -p1 < 88bcb2ee.patch # Fix full version in config header
}
build() { build() {
cmake -B build -S $pkgname-$pkgver \ cmake -B build -S $pkgname-$pkgver \