diff options
author | George Rawlinson | 2022-05-13 23:26:39 +0000 |
---|---|---|
committer | George Rawlinson | 2022-05-13 23:26:39 +0000 |
commit | 95f58d263f34146cb08cf2efaea7f720794c4a9f (patch) | |
tree | 2039683d817481cde19304201d5ac4f9d2a45aeb | |
parent | 487858b0fddf9a44d06508a5550e4c447eb7d86a (diff) | |
download | aur-95f58d263f34146cb08cf2efaea7f720794c4a9f.tar.gz |
upgpkg: cl-ironclad 0.57-2
* Remove depends: sbcl.
* Add checkdepends: cl-rt, sbcl.
* Run test suite.
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 20 | ||||
-rw-r--r-- | run-tests.lisp | 11 |
3 files changed, 31 insertions, 7 deletions
@@ -1,17 +1,20 @@ pkgbase = cl-ironclad pkgdesc = A cryptographic toolkit written in Common Lisp pkgver = 0.57 - pkgrel = 1 + pkgrel = 2 url = https://github.com/sharplispers/ironclad arch = any license = BSD + checkdepends = sbcl + checkdepends = cl-rt makedepends = git - makedepends = sbcl depends = common-lisp depends = cl-asdf depends = cl-bordeaux-threads depends = cl-flexi-streams source = cl-ironclad::git+https://github.com/sharplispers/ironclad#commit=36663e5afb677890702a2e94386ef8fc8b05b5c1 + source = run-tests.lisp b2sums = SKIP + b2sums = 55cf92728fbeae1919290ef15c2d265e08b8beb9910845eaeeddb09213e9582e76264e39492648f6f4318b2d27eb16a822a53333a92bed73c7c16d1d2e2b604f pkgname = cl-ironclad @@ -3,17 +3,21 @@ pkgname=cl-ironclad _pkgname="${pkgname#cl-}" pkgver=0.57 -pkgrel=1 +pkgrel=2 pkgdesc='A cryptographic toolkit written in Common Lisp' arch=('any') url='https://github.com/sharplispers/ironclad' license=('BSD') depends=('common-lisp' 'cl-asdf' 'cl-bordeaux-threads' 'cl-flexi-streams') -makedepends=('git' 'sbcl') -checkdepends=() # cl-rt +makedepends=('git') +checkdepends=('sbcl' 'cl-rt') _commit='36663e5afb677890702a2e94386ef8fc8b05b5c1' -source=("$pkgname::git+$url#commit=$_commit") -b2sums=('SKIP') +source=( + "$pkgname::git+$url#commit=$_commit" + 'run-tests.lisp' +) +b2sums=('SKIP' + '55cf92728fbeae1919290ef15c2d265e08b8beb9910845eaeeddb09213e9582e76264e39492648f6f4318b2d27eb16a822a53333a92bed73c7c16d1d2e2b604f') pkgver() { cd "$pkgname" @@ -21,6 +25,12 @@ pkgver() { git describe --tags | sed 's/^v//' } +check() { + cd "$pkgname" + + sbcl --script ../run-tests.lisp +} + package() { cd "$pkgname" diff --git a/run-tests.lisp b/run-tests.lisp new file mode 100644 index 000000000000..59ea210dad4b --- /dev/null +++ b/run-tests.lisp @@ -0,0 +1,11 @@ +(require "asdf") + +(push (uiop/os:getcwd) asdf:*central-registry*) + +(asdf:load-system "ironclad/tests") +(asdf:load-system "ironclad-text") + +(unless (rtest:do-tests) + (uiop:quit 1)) + +(quit) |