Skip to content
Commits on Source (2)
haskell-hopenpgp (2.7.1-1) unstable; urgency=medium
* New upstream version.
* Add autopkgtest.
-- Clint Adams <clint@debian.org> Sat, 14 Jul 2018 21:53:17 -0400
haskell-hopenpgp (2.7-1) unstable; urgency=medium
* New upstream release
......
......@@ -7,7 +7,7 @@ Section: haskell
Rules-Requires-Root: no
Build-Depends:
cdbs,
debhelper (>= 9),
debhelper (>= 10),
ghc (>= 8),
ghc-prof,
haskell-devscripts (>= 0.13),
......@@ -79,7 +79,8 @@ Build-Depends:
libghc-unordered-containers-prof,
libghc-zlib-dev,
libghc-zlib-prof,
libghc-quickcheck2-dev,
libghc-quickcheck2-dev (>> 2.9),
libghc-quickcheck2-prof,
libghc-conduit-dev (>= 1.3),
libghc-conduit-extra-dev,
libghc-network-dev (>= 2.6),
......@@ -120,7 +121,7 @@ Build-Depends-Indep: ghc-doc,
libghc-unliftio-core-doc,
libghc-unordered-containers-doc,
libghc-zlib-doc,
Standards-Version: 4.1.4
Standards-Version: 4.1.5
Homepage: https://salsa.debian.org/clint/hOpenPGP
Vcs-Browser: https://salsa.debian.org/haskell-team/DHG_packages/tree/master/p/haskell-hopenpgp
Vcs-Git: https://salsa.debian.org/haskell-team/DHG_packages.git [p/haskell-hopenpgp]
......
#!/bin/sh
set -e
WORKDIR=$(mktemp -d)
trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
cat >${WORKDIR}/blah.hs <<EOF
import Codec.Encryption.OpenPGP.Types
main :: IO ()
main = print (fromFVal AES256 == 9)
EOF
cd ${WORKDIR}
ghc -o ${WORKDIR}/blah ${WORKDIR}/blah.hs
echo "build: OK"
truth=$(${WORKDIR}/blah)
case "${truth}" in
(True)
echo "run: OK"
;;
(*)
echo >&2 "unexpected result (${truth}): failure"
exit 1
;;
esac
Tests: compile
Depends: @, ghc