diff options
author | Andrey Grozin <grozin@gentoo.org> | 2013-04-20 14:03:59 +0000 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2013-04-20 14:03:59 +0000 |
commit | d134019a58ad373b563225cc2ed6d3e3e9f42c5c (patch) | |
tree | 732cdc8021a8ea2467bddf0994e42c3d6a773910 /dev-lisp/asdf | |
parent | New stuff from the lisp overlay and CASs depending on it masked for testing (diff) | |
download | gentoo-2-d134019a58ad373b563225cc2ed6d3e3e9f42c5c.tar.gz gentoo-2-d134019a58ad373b563225cc2ed6d3e3e9f42c5c.tar.bz2 gentoo-2-d134019a58ad373b563225cc2ed6d3e3e9f42c5c.zip |
Version bump from the lisp overlay (pmasked)
(Portage version: 2.2.0_alpha173/cvs/Linux i686, signed Manifest commit with key 0x3AFFCE974D34BD8C!)
Diffstat (limited to 'dev-lisp/asdf')
-rw-r--r-- | dev-lisp/asdf/ChangeLog | 10 | ||||
-rw-r--r-- | dev-lisp/asdf/asdf-2.26.ebuild | 110 | ||||
-rw-r--r-- | dev-lisp/asdf/asdf-2.33-r4.ebuild | 40 | ||||
-rw-r--r-- | dev-lisp/asdf/files/gentoo-init.lisp | 12 | ||||
-rw-r--r-- | dev-lisp/asdf/files/source-registry.conf | 5 |
5 files changed, 65 insertions, 112 deletions
diff --git a/dev-lisp/asdf/ChangeLog b/dev-lisp/asdf/ChangeLog index 9794f01e9390..5ae2521c0805 100644 --- a/dev-lisp/asdf/ChangeLog +++ b/dev-lisp/asdf/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lisp/asdf -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/asdf/ChangeLog,v 1.5 2012/12/14 12:34:46 grozin Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/asdf/ChangeLog,v 1.6 2013/04/20 14:03:59 grozin Exp $ + +*asdf-2.33-r4 (20 Apr 2013) + + 20 Apr 2013; Andrey Grozin <grozin@gentoo.org> -asdf-2.26.ebuild, + +asdf-2.33-r4.ebuild, +files/gentoo-init.lisp, +files/source-registry.conf: + Version bump from the lisp overlay (pmasked) *asdf-2.26 (14 Dec 2012) diff --git a/dev-lisp/asdf/asdf-2.26.ebuild b/dev-lisp/asdf/asdf-2.26.ebuild deleted file mode 100644 index 6c7d8d5c8e32..000000000000 --- a/dev-lisp/asdf/asdf-2.26.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/asdf/asdf-2.26.ebuild,v 1.1 2012/12/14 12:34:46 grozin Exp $ - -EAPI=4 - -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="~amd64 ~ppc ~sparc ~x86" -IUSE="" - -RDEPEND="!dev-lisp/cl-${PN} - !dev-lisp/asdf-binary-locations" - -S="${WORKDIR}/${PN}" - -CLSOURCEROOT="${ROOT%/}"/usr/share/common-lisp/source -CLSYSTEMROOT="${ROOT%/}"/usr/share/common-lisp/systems -CLPACKAGE="${PN}" - -absolute-path-p() { - [[ $# -eq 1 ]] || die "${FUNCNAME[0]} must receive one argument" - [[ ${1} == /* ]] -} - -common-lisp-install-one-source() { - [[ $# -eq 3 ]] || die "${FUNCNAME[0]} must receive exactly three arguments" - - local fpredicate=${1} - local source=${2} - local target="${CLSOURCEROOT}/${CLPACKAGE}/${3}" - - if absolute-path-p "${source}" ; then - die "Cannot install files with absolute path: ${source}" - fi - - if ${fpredicate} "${source}" ; then - insinto "${target}" - doins "${source}" - fi -} - -lisp-file-p() { - [[ $# -eq 1 ]] || die "${FUNCNAME[0]} must receive one argument" - - [[ ${1} =~ \.(lisp|lsp|cl)$ ]] -} - -common-lisp-get-fpredicate() { - [[ $# -eq 1 ]] || die "${FUNCNAME[0]} must receive one argument" - - local ftype=${1} - case ${ftype} in - "lisp") echo "lisp-file-p" ;; - "all" ) echo "true" ;; - * ) die "Unknown filetype specifier ${ftype}" ;; - esac -} - -common-lisp-install-sources() { - local ftype="lisp" - if [[ ${1} == "-t" ]] ; then - ftype=${2} - shift ; shift - fi - - [[ $# -ge 1 ]] || die "${FUNCNAME[0]} must receive one non-option argument" - - local fpredicate=$(common-lisp-get-fpredicate "${ftype}") - - for path in "${@}" ; do - if [[ -f ${path} ]] ; then - common-lisp-install-one-source ${fpredicate} "${path}" "$(dirname "${path}")" - elif [[ -d ${path} ]] ; then - common-lisp-install-sources -t ${ftype} $(find "${path}" -type f) - else - die "${path} it neither a regular file nor a directory" - fi - done -} - -common-lisp-install-one-asdf() { - [[ $# != 1 ]] && die "${FUNCNAME[0]} must receive exactly one argument" - - # the suffix «.asd» is optional - local source=${1/.asd}.asd - common-lisp-install-one-source true "${source}" "$(dirname "${source}")" - local target="${CLSOURCEROOT%/}/${CLPACKAGE}/${source}" - dosym "${target}" "${CLSYSTEMROOT%/}/$(basename ${target})" -} - -common-lisp-install-asdf() { - dodir "${CLSYSTEMROOT}" - - [[ $# = 0 ]] && set - ${CLSYSTEMS} - [[ $# = 0 ]] && set - $(find . -type f -name \*.asd) - for sys in "${@}" ; do - common-lisp-install-one-asdf ${sys} - done -} - -src_install() { - common-lisp-install-sources {asdf,asdf-ecl,wild-modules}.lisp - common-lisp-install-asdf asdf.asd - dodoc README -} diff --git a/dev-lisp/asdf/asdf-2.33-r4.ebuild b/dev-lisp/asdf/asdf-2.33-r4.ebuild new file mode 100644 index 000000000000..84929d5cb224 --- /dev/null +++ b/dev-lisp/asdf/asdf-2.33-r4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/asdf/asdf-2.33-r4.ebuild,v 1.1 2013/04/20 14:03:59 grozin Exp $ + +EAPI=5 +inherit eutils + +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="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +SLOT="0/${PVR}" + +DEPEND="!dev-lisp/cl-${PN} + !dev-lisp/asdf-binary-locations + !dev-lisp/gentoo-init + !<dev-lisp/asdf-2.33-r3" +RDEPEND="" +PDEPEND="~dev-lisp/uiop-${PV}" + +S="${WORKDIR}" + +src_compile() { + make +} + +src_install() { + insinto /usr/share/common-lisp/source/${PN} + doins -r build version.lisp-expr + dodoc README TODO + dohtml doc/*.{html,css,ico,png} + + insinto /etc/common-lisp + doins "${FILESDIR}"/gentoo-init.lisp "${FILESDIR}"/source-registry.conf +} diff --git a/dev-lisp/asdf/files/gentoo-init.lisp b/dev-lisp/asdf/files/gentoo-init.lisp new file mode 100644 index 000000000000..e1e424a795d2 --- /dev/null +++ b/dev-lisp/asdf/files/gentoo-init.lisp @@ -0,0 +1,12 @@ +(in-package #:cl-user) + +#-(or cmu ccl ecl sbcl) +(let ((*compile-print* nil) + (*compile-verbose* nil) + #+cmu (ext:*gc-verbose* nil)) + (handler-bind ((warning #'muffle-warning)) + (load #p"/usr/share/common-lisp/source/asdf/build/asdf.lisp" + :print nil :verbose nil))) + +#+(or cmu ccl ecl sbcl) +(require :asdf) diff --git a/dev-lisp/asdf/files/source-registry.conf b/dev-lisp/asdf/files/source-registry.conf new file mode 100644 index 000000000000..45e1fdfc5aa0 --- /dev/null +++ b/dev-lisp/asdf/files/source-registry.conf @@ -0,0 +1,5 @@ +;; -*- Mode: Lisp; -*- + +(:source-registry + (:directory "/usr/share/common-lisp/systems") + :inherit-configuration) |