Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
haskell-prettyprinter
Commits:
a227e2bf by Felix Yan at 2025-07-30T21:25:11+08:00
upgpkg: 1.7.1-224: rebuild with optparse-applicative 0.18.1.0 (rebuild pass 1,
specified --nocheck)
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,17 +1,17 @@
pkgbase = haskell-prettyprinter
pkgdesc = A modern, easy to use, well-documented, extensible
prettyprinter.
pkgver = 1.7.1
- pkgrel = 223
+ pkgrel = 224
url = https://github.com/quchen/prettyprinter
arch = x86_64
license = BSD
+ checkdepends = haskell-doctest
+ checkdepends = haskell-pgp-wordlist
+ checkdepends = haskell-quickcheck-instances
+ checkdepends = haskell-tasty
+ checkdepends = haskell-tasty-hunit
+ checkdepends = haskell-tasty-quickcheck
makedepends = ghc
- makedepends = haskell-doctest
- makedepends = haskell-pgp-wordlist
- makedepends = haskell-quickcheck-instances
- makedepends = haskell-tasty
- makedepends = haskell-tasty-hunit
- makedepends = haskell-tasty-quickcheck
depends = ghc-libs
source =
https://hackage.haskell.org/packages/archive/prettyprinter/1.7.1/prettyprinter-1.7.1.tar.gz
sha512sums =
26289e579cc1a2826dc11daedbdfd5ce31acf4a2382f827c20194d910f05201e3f332a6544aa0c3f941188d9eaee8d6dee3cf3d319dc3c5a7bfe4f35d77b4dd9
=====================================
PKGBUILD
=====================================
@@ -3,22 +3,29 @@
_hkgname=prettyprinter
pkgname=haskell-prettyprinter
pkgver=1.7.1
-pkgrel=223
+pkgrel=224
pkgdesc="A modern, easy to use, well-documented, extensible prettyprinter."
url="https://github.com/quchen/prettyprinter"
license=('BSD')
arch=('x86_64')
depends=('ghc-libs')
-makedepends=('ghc' 'haskell-doctest' 'haskell-pgp-wordlist'
'haskell-quickcheck-instances'
- 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+makedepends=('ghc')
+checkdepends=('haskell-doctest' 'haskell-pgp-wordlist'
'haskell-quickcheck-instances'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
sha512sums=('26289e579cc1a2826dc11daedbdfd5ce31acf4a2382f827c20194d910f05201e3f332a6544aa0c3f941188d9eaee8d6dee3cf3d319dc3c5a7bfe4f35d77b4dd9')
build() {
cd $_hkgname-$pkgver
-
+
+ if (( CHECKFUNC )); then
+ _opts=('--enable-tests')
+ else
+ _opts=('--disable-tests')
+ fi
+
runhaskell Setup configure -O --enable-shared --enable-debug-info
--enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname
--enable-tests \
+ --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname
"${_opts[@]}" \
--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
-f-buildReadme
runhaskell Setup build $MAKEFLAGS
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/haskell-prettyprinter/-/commit/a227e2bf56ec0147b5da12ec061c1e10e11b3383
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/haskell-prettyprinter/-/commit/a227e2bf56ec0147b5da12ec061c1e10e11b3383
You're receiving this email because of your account on gitlab.archlinux.org.