Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / haskell-fourmolu
Commits: 83ba52f8 by Felix Yan at 2024-02-26T14:31:20+00:00 upgpkg: 0.9.0.0-1: rebuild with GHC 9.2.8, apply-refact 0.11.0.0, doctest-parallel 0.3.1, filepath-bytestring 1.4.2.1.13, fourmolu 0.9.0.0, ghc-exactprint 1.5.0, ghc-lib-parser 9.2.8.20230729, ghc-lib-parser-ex 9.2.1.1, ormolu 0.5.0.1, resolv 0.2.0.2, retrie 1.2.2, stylish-haskell 0.14.3.0 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,29 +1,33 @@ pkgbase = haskell-fourmolu pkgdesc = A formatter for Haskell source code - pkgver = 0.4.0.0 - pkgrel = 115 + pkgver = 0.9.0.0 + pkgrel = 1 url = https://github.com/parsonsmatt/fourmolu arch = x86_64 license = BSD makedepends = ghc makedepends = uusi + makedepends = haskell-quickcheck makedepends = haskell-hspec makedepends = haskell-hspec-discover + makedepends = haskell-hspec-megaparsec makedepends = haskell-path makedepends = haskell-path-io makedepends = haskell-temporary depends = ghc-libs depends = haskell-diff - depends = haskell-hsyaml - depends = haskell-hsyaml-aeson depends = haskell-aeson depends = haskell-ansi-terminal depends = haskell-dlist depends = haskell-ghc-lib-parser depends = haskell-gitrev + depends = haskell-megaparsec + depends = haskell-memotrie depends = haskell-optparse-applicative depends = haskell-syb - source = https://hackage.haskell.org/packages/archive/fourmolu/0.4.0.0/fourmolu-0.4.0.0.tar.gz - sha256sums = 8b7bfe613a42b11a398fa5d2aa2bb25b04c18f921ee26f20775a1faaad8100d7 + depends = haskell-th-lift-instances + depends = haskell-yaml + source = https://hackage.haskell.org/packages/archive/fourmolu/0.9.0.0/fourmolu-0.9.0.0.tar.gz + sha256sums = 3440cf67fd333a2bb5d6a67ce80e7a348807297948f297238ba77eedcb76097f pkgname = haskell-fourmolu ===================================== PKGBUILD ===================================== @@ -2,24 +2,23 @@ _hkgname=fourmolu pkgname=haskell-fourmolu -pkgver=0.4.0.0 -pkgrel=115 +pkgver=0.9.0.0 +pkgrel=1 pkgdesc="A formatter for Haskell source code" url="https://github.com/parsonsmatt/fourmolu" license=("BSD") arch=('x86_64') -depends=('ghc-libs' 'haskell-diff' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' - 'haskell-ansi-terminal' 'haskell-dlist' 'haskell-ghc-lib-parser' 'haskell-gitrev' - 'haskell-optparse-applicative' 'haskell-syb') -makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover' 'haskell-path' 'haskell-path-io' - 'haskell-temporary') +depends=('ghc-libs' 'haskell-diff' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-dlist' + 'haskell-ghc-lib-parser' 'haskell-gitrev' 'haskell-megaparsec' 'haskell-memotrie' + 'haskell-optparse-applicative' 'haskell-syb' 'haskell-th-lift-instances' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 'haskell-hspec-discover' + 'haskell-hspec-megaparsec' 'haskell-path' 'haskell-path-io' 'haskell-temporary') source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz") -sha256sums=('8b7bfe613a42b11a398fa5d2aa2bb25b04c18f921ee26f20775a1faaad8100d7') +sha256sums=('3440cf67fd333a2bb5d6a67ce80e7a348807297948f297238ba77eedcb76097f') prepare() { cd $_hkgname-$pkgver - uusi -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th -u aeson -u optparse-applicative $_hkgname.cabal - sed -i 's/using ghc-lib-parser/using ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs + uusi -u aeson -u optparse-applicative $_hkgname.cabal } build() { @@ -27,7 +26,7 @@ build() { runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ - --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ + --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ --ghc-option='-pie' @@ -40,6 +39,7 @@ build() { check() { cd $_hkgname-$pkgver + PATH="$PWD/dist/build/$_hkgname:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" \ runhaskell Setup test --show-details=direct } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/haskell-fourmolu/-/commit/83ba52f8b3e9c1876c9c5076bbb5d4275fbf1d7e -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/haskell-fourmolu/-/commit/83ba52f8b3e9c1876c9c5076bbb5d4275fbf1d7e You're receiving this email because of your account on gitlab.archlinux.org.