Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages / 
hledger-iadd


Commits:
a888999f by Caleb Maclennan at 2024-01-14T14:22:13+03:00
upgpkg: 1.3.20-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = hledger-iadd
        pkgdesc = A terminal UI as drop-in replacement for hledger add
-       pkgver = 1.3.19
-       pkgrel = 36
+       pkgver = 1.3.20
+       pkgrel = 1
        url = https://github.com/hpdeifel/hledger-iadd#readme
        arch = x86_64
        license = BSD
@@ -24,7 +24,7 @@ pkgbase = hledger-iadd
        depends = haskell-vector
        depends = haskell-vty
        depends = haskell-xdg-basedir
-       source = 
https://hackage.haskell.org/packages/archive/hledger-iadd/1.3.19/hledger-iadd-1.3.19.tar.gz
-       sha512sums = 
7b4caf0eedea1d4d869a7bc96d024e9ab5569d3d73db3de8b2ce431eded1aca61ffdbfc19f05f2797e95f4043e5eb0416042f3028fe881166a2d40ae17eb6238
+       source = 
https://hackage.haskell.org/packages/archive/hledger-iadd/1.3.20/hledger-iadd-1.3.20.tar.gz
+       sha512sums = 
0f59a39194eb0af1f9091518af48bbd5782882d65e0d7f567422473d686a663702f27027d443a007d95e690d7b155817667790533683e26d6a7dd11375efdd96
 
 pkgname = hledger-iadd


=====================================
PKGBUILD
=====================================
@@ -3,8 +3,8 @@
 
 _hkgname=hledger-iadd
 pkgname=hledger-iadd
-pkgver=1.3.19
-pkgrel=36
+pkgver=1.3.20
+pkgrel=1
 pkgdesc="A terminal UI as drop-in replacement for hledger add"
 url="https://github.com/hpdeifel/hledger-iadd#readme";
 license=("BSD")
@@ -15,29 +15,13 @@ depends=('ghc-libs' 'haskell-brick' 'haskell-free' 
'haskell-hledger-lib' 'haskel
          'haskell-vector' 'haskell-vty' 'haskell-xdg-basedir')
 makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-discover')
 
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
-sha512sums=('7b4caf0eedea1d4d869a7bc96d024e9ab5569d3d73db3de8b2ce431eded1aca61ffdbfc19f05f2797e95f4043e5eb0416042f3028fe881166a2d40ae17eb6238')
-
-# Upstream cautiounly blocks future releases marked with a breaking version
-# number, but in this case everything seems to work as-is.
-# The only thing that is broken is the test suite, and since we broke the 
package
-# with hledger updates that got moved from staging early, skiping tests until 
an
-# upstream release happens seems to be the least messy way forward.
-# https://github.com/hpdeifel/hledger-iadd/issues/79
-
-BUILDENV+=(!check)
-
-prepare() {
-  cd $_hkgname-$pkgver
-  sed -i -e '/hledger-lib/s/1.32/1.33/' "$pkgname.cabal"
-}
-
-# NOTE: change --disable-tests back to --enable-tests when ditching the 
hackery above.
+sha512sums=('0f59a39194eb0af1f9091518af48bbd5782882d65e0d7f567422473d686a663702f27027d443a007d95e690d7b155817667790533683e26d6a7dd11375efdd96')
 
 build() {
   cd $_hkgname-$pkgver
 
   runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
-    --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--disable-tests \
+    --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
     --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
     --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
     --ghc-option='-pie'



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/hledger-iadd/-/commit/a888999f989149348819daf4aae72586f3b34fe8

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


Reply via email to