summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2018-08-04 11:37:10 +0000
committerPatrick Lauer <patrick@gentoo.org>2018-08-04 11:37:32 +0000
commit9b2d4160ea8d42a515ce827f6ae0b25c97d2ff7f (patch)
tree582110f8f2faa9e33d28d67db5ed6d624c75a521 /dev-lisp/asdf
parentmedia-gfx/eog: bump to 3.26.2 (diff)
downloadgentoo-9b2d4160ea8d42a515ce827f6ae0b25c97d2ff7f.tar.gz
gentoo-9b2d4160ea8d42a515ce827f6ae0b25c97d2ff7f.tar.bz2
gentoo-9b2d4160ea8d42a515ce827f6ae0b25c97d2ff7f.zip
dev-lisp/asdf: Fix test dependencies
Package-Manager: Portage-2.3.44, Repoman-2.3.10
Diffstat (limited to 'dev-lisp/asdf')
-rw-r--r--dev-lisp/asdf/asdf-3.3.2-r1.ebuild53
-rw-r--r--dev-lisp/asdf/asdf-3.3.2.ebuild2
2 files changed, 54 insertions, 1 deletions
diff --git a/dev-lisp/asdf/asdf-3.3.2-r1.ebuild b/dev-lisp/asdf/asdf-3.3.2-r1.ebuild
new file mode 100644
index 00000000000..74e4ab62557
--- /dev/null
+++ b/dev-lisp/asdf/asdf-3.3.2-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils prefix common-lisp-3
+
+DESCRIPTION="ASDF is Another System Definition Facility for Common Lisp"
+HOMEPAGE="http://common-lisp.net/project/asdf/"
+SRC_URI="http://common-lisp.net/project/${PN}/archives/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x86-solaris"
+IUSE="doc test"
+
+SLOT="0/${PVR}"
+
+DEPEND="!dev-lisp/cl-${PN}
+ !<dev-lisp/asdf-2.33-r3
+ doc? ( virtual/texi2dvi )
+ test? ( virtual/commonlisp )"
+PDEPEND="virtual/commonlisp
+ ~dev-lisp/uiop-${PV}"
+
+install_docs() {
+ (cd doc ; dodoc *.{html,css,ico,png} "${PN}.pdf" ; dodoc -r asdf )
+ if has_version ">=dev-lisp/sbcl-1.4.0" ; then
+ (cd doc ; doinfo "${PN}.info" )
+ fi
+}
+
+src_compile() {
+ emake
+ use doc && emake -C doc
+}
+
+src_test() {
+ common-lisp-export-impl-args "$(common-lisp-find-lisp-impl)"
+ test/run-tests.sh ${CL_BINARY}
+}
+
+src_install() {
+ insinto "${CLSOURCEROOT}/${PN}"
+ doins -r build version.lisp-expr
+ dodoc README.md TODO
+ use doc && install_docs
+ insinto /etc/common-lisp
+ cd "${T}" || die
+ cp "${FILESDIR}/gentoo-init.lisp" "${FILESDIR}/source-registry.conf" . || die
+ eprefixify gentoo-init.lisp source-registry.conf
+ doins gentoo-init.lisp source-registry.conf
+}
diff --git a/dev-lisp/asdf/asdf-3.3.2.ebuild b/dev-lisp/asdf/asdf-3.3.2.ebuild
index 54c65a46a31..228b8955d20 100644
--- a/dev-lisp/asdf/asdf-3.3.2.ebuild
+++ b/dev-lisp/asdf/asdf-3.3.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://common-lisp.net/project/${PN}/archives/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x86-solaris"
+KEYWORDS="~alpha amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x86-solaris"
IUSE="doc"
SLOT="0/${PVR}"