Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
haskell-chell
Commits:
1afc3bc0 by Felix Yan at 2025-02-08T15:20:18+08:00
upgpkg: 0.5.0.2-1: rebuild with ansi-terminal 1.0, chell 0.5.0.2
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,17 +1,18 @@
pkgbase = haskell-chell
pkgdesc = A simple and intuitive library for automated testing
- pkgver = 0.5.0.1
- pkgrel = 84
+ pkgver = 0.5.0.2
+ pkgrel = 1
url = https://github.com/typeclasses/chell
arch = x86_64
license = MIT
makedepends = ghc
+ makedepends = uusi
depends = ghc-libs
depends = haskell-ansi-terminal
depends = haskell-options
depends = haskell-patience
depends = haskell-random
- source =
https://hackage.haskell.org/packages/archive/chell/0.5.0.1/chell-0.5.0.1.tar.gz
- sha512sums =
3296f55a76c5ca2b7b8fc5eeb1e69d83b8e257e8253adb053f43248ca6ac4369c5f3ed2432afb5cc36d2c5bf2fe2aed8179666bf2d9c898ca6330f9f8b5e5269
+ source =
https://hackage.haskell.org/packages/archive/chell/0.5.0.2/chell-0.5.0.2.tar.gz
+ sha512sums =
e2b0cd829882f1c7b18dd2e0ea036b0de27cf859864184ae4b95939d3a5c946e2aa140a49e6596f65326468016de2deb0582428db89893a1b893f25f789c2220
pkgname = haskell-chell
=====================================
PKGBUILD
=====================================
@@ -2,22 +2,27 @@
_hkgname=chell
pkgname=haskell-chell
-pkgver=0.5.0.1
-pkgrel=84
+pkgver=0.5.0.2
+pkgrel=1
pkgdesc="A simple and intuitive library for automated testing"
url="https://github.com/typeclasses/chell"
license=('MIT')
arch=('x86_64')
depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-options'
'haskell-patience' 'haskell-random')
-makedepends=('ghc')
+makedepends=('ghc' 'uusi')
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('3296f55a76c5ca2b7b8fc5eeb1e69d83b8e257e8253adb053f43248ca6ac4369c5f3ed2432afb5cc36d2c5bf2fe2aed8179666bf2d9c898ca6330f9f8b5e5269')
+sha512sums=('e2b0cd829882f1c7b18dd2e0ea036b0de27cf859864184ae4b95939d3a5c946e2aa140a49e6596f65326468016de2deb0582428db89893a1b893f25f789c2220')
+
+prepare() {
+ cd $_hkgname-$pkgver
+ gen-setup
+}
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 \
-fcolor-output
runhaskell Setup build $MAKEFLAGS
@@ -27,6 +32,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-chell/-/commit/1afc3bc01aebfa7cb99b70ac9dccbf6e9587eff9
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/haskell-chell/-/commit/1afc3bc01aebfa7cb99b70ac9dccbf6e9587eff9
You're receiving this email because of your account on gitlab.archlinux.org.