Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
haskell-integer-logarithms


Commits:
61fe3e53 by Felix Yan at 2025-05-18T15:29:30+08:00
upgpkg: 1.0.4-1: rebuild with integer-logarithms 1.0.4

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,14 +1,19 @@
 pkgbase = haskell-integer-logarithms
        pkgdesc = Integer logarithms
-       pkgver = 1.0.3.1
-       pkgrel = 8
+       pkgver = 1.0.4
+       pkgrel = 1
        url = https://github.com/Bodigrim/integer-logarithms
        arch = x86_64
        license = MIT
        makedepends = ghc
-       makedepends = uusi
+       makedepends = haskell-quickcheck
+       makedepends = haskell-smallcheck
+       makedepends = haskell-tasty
+       makedepends = haskell-tasty-hunit
+       makedepends = haskell-tasty-quickcheck
+       makedepends = haskell-tasty-smallcheck
        depends = ghc-libs
-       source = 
https://hackage.haskell.org/packages/archive/integer-logarithms/1.0.3.1/integer-logarithms-1.0.3.1.tar.gz
-       sha512sums = 
670aff419de8d6afd1b7e1a40b68290bcf7aefad788c3b08aebfa5ca3e709f5d22543fce82fb75dc18b3ba0ef6d8a8f61735cde647a7a6c9392a60ec365534b3
+       source = 
https://hackage.haskell.org/packages/archive/integer-logarithms/1.0.4/integer-logarithms-1.0.4.tar.gz
+       sha512sums = 
aa9eddff5bc8db9f1cca8a9250388d6d84498b1d443acecae116ac79ef50c7d5aa0ff3d018e8d999f0990d2862d5de87ec8971339bec571b417db6bbeaca8586
 
 pkgname = haskell-integer-logarithms


=====================================
PKGBUILD
=====================================
@@ -2,27 +2,23 @@
 
 _hkgname=integer-logarithms
 pkgname=haskell-integer-logarithms 
-pkgver=1.0.3.1
-pkgrel=8
+pkgver=1.0.4
+pkgrel=1
 pkgdesc="Integer logarithms"
 url="https://github.com/Bodigrim/integer-logarithms";
 license=('MIT')
 arch=('x86_64')
 depends=('ghc-libs')
-makedepends=('ghc' 'uusi')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-smallcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+             'haskell-tasty-quickcheck' 'haskell-tasty-smallcheck')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
-sha512sums=('670aff419de8d6afd1b7e1a40b68290bcf7aefad788c3b08aebfa5ca3e709f5d22543fce82fb75dc18b3ba0ef6d8a8f61735cde647a7a6c9392a60ec365534b3')
-
-prepare() {
-    cd $_hkgname-$pkgver
-    uusi -u base -u ghc-bignum -u ghc-prim $_hkgname.cabal
-}
+sha512sums=('aa9eddff5bc8db9f1cca8a9250388d6d84498b1d443acecae116ac79ef50c7d5aa0ff3d018e8d999f0990d2862d5de87ec8971339bec571b417db6bbeaca8586')
 
 build() {
     cd $_hkgname-$pkgver
     
     runhaskell Setup configure -O --enable-shared --enable-debug-info 
--enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
             -finteger-gmp -f-check-bounds
     runhaskell Setup build $MAKEFLAGS
@@ -32,6 +28,11 @@ build() {
     sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
+check() {
+    cd $_hkgname-$pkgver
+    runhaskell Setup test --show-details=direct
+}
+
 package() {
     cd $_hkgname-$pkgver
     



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/haskell-integer-logarithms/-/commit/61fe3e53d5137d86817db03b5733bd6e7f70d677

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/haskell-integer-logarithms/-/commit/61fe3e53d5137d86817db03b5733bd6e7f70d677
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to