Gentoo Archives: gentoo-commits

From: "José María Alonso" <nimiux@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sun, 08 Apr 2018 13:33:22
Message-Id: 1523194381.3bf4a0dc980e342f4ebe0fd0b9ff6aa4c9a61fd1.nimiux@gentoo
1 commit: 3bf4a0dc980e342f4ebe0fd0b9ff6aa4c9a61fd1
2 Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 8 13:28:09 2018 +0000
4 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 8 13:33:01 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bf4a0dc
7
8 common-lisp.eclass: Drop unneeded eclass
9
10 Bug: https://bugs.gentoo.org/646742
11
12 eclass/common-lisp.eclass | 81 -----------------------------------------------
13 1 file changed, 81 deletions(-)
14
15 diff --git a/eclass/common-lisp.eclass b/eclass/common-lisp.eclass
16 deleted file mode 100644
17 index e5ad3361f43..00000000000
18 --- a/eclass/common-lisp.eclass
19 +++ /dev/null
20 @@ -1,81 +0,0 @@
21 -# Copyright 1999-2017 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -# @ECLASS: common-lisp.eclass
25 -# @MAINTAINER:
26 -# Common Lisp project <common-lisp@g.o>
27 -# @AUTHOR: Matthew Kennedy <mkennedy@g.o>
28 -# @BLURB: eclass for installing Common Lisp packages.
29 -# @DESCRIPTION:
30 -# This eclass supports the common-lisp-controller installation of many
31 -# Common Lisp libraries
32 -
33 -inherit common-lisp-common
34 -
35 -CLPACKAGE=
36 -DEPEND="dev-lisp/common-lisp-controller"
37 -
38 -EXPORT_FUNCTIONS pkg_preinst pkg_postinst pkg_postrm
39 -
40 -common-lisp_pkg_postinst() {
41 - if [ -z "${CLPACKAGE}" ]; then
42 - die "CLPACKAGE was empty or undefined upon call to pkg_prerm"
43 - else
44 - for package in ${CLPACKAGE}; do
45 - einfo "Registering Common Lisp source for ${package}"
46 - register-common-lisp-source ${package}
47 - done
48 - fi
49 -}
50 -
51 -common-lisp_pkg_postrm() {
52 - if [ -z "${CLPACKAGE}" ]; then
53 - die "CLPACKAGE was empty or undefined upon call to pkg_prerm"
54 - else
55 - for package in ${CLPACKAGE}; do
56 - if [ ! -d ${CLSOURCEROOT}/${package} ]; then
57 - einfo "Unregistering Common Lisp source for ${package}"
58 -# rm -rf ${CLFASLROOT}/*/${package}
59 - unregister-common-lisp-source ${package}
60 - fi
61 - done
62 - fi
63 -}
64 -
65 -#
66 -# In pkg_preinst, we remove the FASL files for the previous version of
67 -# the source.
68 -#
69 -common-lisp_pkg_preinst() {
70 - if [ -z "${CLPACKAGE}" ]; then
71 - die "CLPACKAGE was empty or undefined upon call to pkg_preinst"
72 - else
73 - for package in ${CLPACKAGE}; do
74 - einfo "Removing FASL files for previous version of Common Lisp package ${package}"
75 - rm -rf ${CLFASLROOT}/*/${package} || true
76 - done
77 - fi
78 -}
79 -
80 -common-lisp-install() {
81 - insinto ${CLSOURCEROOT}/${CLPACKAGE}
82 - doins $@
83 -}
84 -
85 -common-lisp-system-symlink() {
86 - dodir ${CLSYSTEMROOT}/`dirname ${CLPACKAGE}`
87 - if [ $# -eq 0 ]; then
88 - dosym ${CLSOURCEROOT}/${CLPACKAGE}/${CLPACKAGE}.asd \
89 - ${CLSYSTEMROOT}/${CLPACKAGE}.asd
90 - else
91 - for package in "$@" ; do
92 - dosym ${CLSOURCEROOT}/$CLPACKAGE/${package}.asd \
93 - ${CLSYSTEMROOT}/${package}.asd
94 - done
95 - fi
96 -}
97 -
98 -# Local Variables: ***
99 -# mode: shell-script ***
100 -# tab-width: 4 ***
101 -# End: ***