Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / 
fast_float


Commits:
3d279479 by Carl Smedstad at 2024-09-28T11:06:28+02:00
upgpkg: 6.1.6-1: Upstream release

https://github.com/fastfloat/fast_float/releases/tag/v6.1.6

PKGBUILD changes:
- Clarify licensing - licensed under either of the listed licenses.
- Add tesing.

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,14 +1,13 @@
 pkgbase = fast_float
        pkgdesc = Fast and exact implementation of the C++ from_chars functions 
for float and double types
-       pkgver = 6.1.0
-       pkgrel = 2
+       pkgver = 6.1.6
+       pkgrel = 1
        url = https://github.com/fastfloat/fast_float
        arch = any
-       license = Apache
-       license = Boost
-       license = MIT
+       license = Apache-2.0 OR BSL-1.0 OR MIT
        makedepends = cmake
-       source = 
fast_float-6.1.0.tar.gz::https://github.com/fastfloat/fast_float/archive/refs/tags/v6.1.0.tar.gz
-       b2sums = 
dc0068916b3f27883a356b31e09308006c45c92b34985204294c6e954ab7efa81b95f9961db8401e91706d85ab09f0a178f442c88a26c33afcddde0375d7ce1a
+       makedepends = doctest
+       source = 
fast_float-6.1.6.tar.gz::https://github.com/fastfloat/fast_float/archive/v6.1.6.tar.gz
+       b2sums = 
eb9833f7bff6e6086db1525fcc71231c5cc8f47985aa4c71078d896afb5fea20c41bfdb55de6c1e8c9cfa6c9b842331f340115590683e1d9e6a3ba40f4148870
 
 pkgname = fast_float


=====================================
PKGBUILD
=====================================
@@ -1,25 +1,37 @@
 # Maintainer: Sven-Hendrik Haase <[email protected]>
+# Maintainer: Carl Smedstad <[email protected]>
 # Contributor: éclairevoyant
 # Contributor: endlesseden <eden at rose dot place>
+
 pkgname=fast_float
-pkgver=6.1.0
-pkgrel=2
+pkgver=6.1.6
+pkgrel=1
 pkgdesc='Fast and exact implementation of the C++ from_chars functions for 
float and double types'
 arch=('any')
 url="https://github.com/fastfloat/$pkgname";
-license=('Apache' 'Boost' 'MIT')
-makedepends=('cmake')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
-b2sums=('dc0068916b3f27883a356b31e09308006c45c92b34985204294c6e954ab7efa81b95f9961db8401e91706d85ab09f0a178f442c88a26c33afcddde0375d7ce1a')
+license=('Apache-2.0 OR BSL-1.0 OR MIT')
+makedepends=(
+  'cmake'
+  'doctest'
+)
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+b2sums=('eb9833f7bff6e6086db1525fcc71231c5cc8f47985aa4c71078d896afb5fea20c41bfdb55de6c1e8c9cfa6c9b842331f340115590683e1d9e6a3ba40f4148870')
 
 build() {
   cmake -B build -S $pkgname-$pkgver \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX='/usr'
+    -DCMAKE_BUILD_TYPE=None \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -Wno-dev \
+    -DFASTFLOAT_TEST=ON \
+    -DSYSTEM_DOCTEST=ON
   cmake --build build
 }
 
+check() {
+  cmake --build build --target test
+}
+
 package() {
   DESTDIR="$pkgdir" cmake --install build
-  install -Dm644 $pkgname-$pkgver/LICENSE* -t 
"$pkgdir/usr/share/licenses/$pkgname/"
+  install -Dm644 $pkgname-$pkgver/LICENSE-MIT -t 
"$pkgdir/usr/share/licenses/$pkgname/"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/fast_float/-/commit/3d279479f7d0851112741385384cdd252ceaf246

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/fast_float/-/commit/3d279479f7d0851112741385384cdd252ceaf246
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to