summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-09-15 13:14:48 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-09-15 13:14:48 +0000
commit1fc288a8685639989c450b8e98aa3968f75e25a9 (patch)
treeb665fe75dd11dfaac6801b6e9b9abd3a7e31c70e /dev-util/cmt
parentAdd support for sqlite in Python 2.5, in other words stop depending on pysqli... (diff)
downloadgentoo-2-1fc288a8685639989c450b8e98aa3968f75e25a9.tar.gz
gentoo-2-1fc288a8685639989c450b8e98aa3968f75e25a9.tar.bz2
gentoo-2-1fc288a8685639989c450b8e98aa3968f75e25a9.zip
Initial import from science overlay, closing bug #65835.
(Portage version: 2.1.2.12)
Diffstat (limited to 'dev-util/cmt')
-rw-r--r--dev-util/cmt/ChangeLog10
-rw-r--r--dev-util/cmt/Manifest20
-rw-r--r--dev-util/cmt/cmt-1.20.20070720.ebuild84
-rw-r--r--dev-util/cmt/files/80cmt-mode-gentoo.el6
-rw-r--r--dev-util/cmt/files/digest-cmt-1.20.200707203
-rw-r--r--dev-util/cmt/metadata.xml13
6 files changed, 136 insertions, 0 deletions
diff --git a/dev-util/cmt/ChangeLog b/dev-util/cmt/ChangeLog
new file mode 100644
index 000000000000..a65bef5d123c
--- /dev/null
+++ b/dev-util/cmt/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-util/cmt
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cmt/ChangeLog,v 1.1 2007/09/15 13:14:47 bicatali Exp $
+
+*cmt-1.20.20070720 (15 Sep 2007)
+
+ 15 Sep 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/80cmt-mode-gentoo.el, +metadata.xml, +cmt-1.20.20070720.ebuild:
+ Initial import from science overlay, closing bug #65835.
+
diff --git a/dev-util/cmt/Manifest b/dev-util/cmt/Manifest
new file mode 100644
index 000000000000..09afa4873310
--- /dev/null
+++ b/dev-util/cmt/Manifest
@@ -0,0 +1,20 @@
+AUX 80cmt-mode-gentoo.el 205 RMD160 1cd8921efc32dee6505c9d325c85ea717d2ec55a SHA1 eac397e0ddfa9fa92b184b70deff1e8c4242d366 SHA256 f2f2614ae2cb957a7a02b52d8a26ace52bcff6a3cb6dcd62d20e1ff4dc93afca
+MD5 114d61e10aa17f3b71985c584c8ebcd7 files/80cmt-mode-gentoo.el 205
+RMD160 1cd8921efc32dee6505c9d325c85ea717d2ec55a files/80cmt-mode-gentoo.el 205
+SHA256 f2f2614ae2cb957a7a02b52d8a26ace52bcff6a3cb6dcd62d20e1ff4dc93afca files/80cmt-mode-gentoo.el 205
+DIST CMTv1r20p20070720.tar.gz 2062465 RMD160 100fba545c237dd916b346581a4f311e2e34282f SHA1 6c92df284836f7ae3a3df565b917316dba2d3543 SHA256 3fdd0a64425a0ab1fe18face8a30a55384e44564f63f989a7e0ed8fb20061bbe
+EBUILD cmt-1.20.20070720.ebuild 1935 RMD160 3171e7ac7c7a5e1fdc57996a14e542a07ef24c86 SHA1 158fd4ca23cf2fb524d54d008143b03df393d2bf SHA256 b9181f018c55ac40cf8388951a84066a53dbe8b2d3c959e27fe28898a6f6540e
+MD5 345e0917a9cf74fd320c3dd03da19f34 cmt-1.20.20070720.ebuild 1935
+RMD160 3171e7ac7c7a5e1fdc57996a14e542a07ef24c86 cmt-1.20.20070720.ebuild 1935
+SHA256 b9181f018c55ac40cf8388951a84066a53dbe8b2d3c959e27fe28898a6f6540e cmt-1.20.20070720.ebuild 1935
+MISC ChangeLog 335 RMD160 3c52c243dd64476653cd2b8b620a4e5e74bfcfc3 SHA1 fbfd774ad817ff18f5cbb77ceac2a278dc5c3949 SHA256 e7092907d562533c34247ca2d420a0f9c3fbef32c7e98ddc88b355ffef0dfb44
+MD5 9932d5866a263c4729c16b90c487d2d1 ChangeLog 335
+RMD160 3c52c243dd64476653cd2b8b620a4e5e74bfcfc3 ChangeLog 335
+SHA256 e7092907d562533c34247ca2d420a0f9c3fbef32c7e98ddc88b355ffef0dfb44 ChangeLog 335
+MISC metadata.xml 616 RMD160 45eb511a027eaa1e2262c2b44d0018d06ba6a602 SHA1 e17e02449018625f969aadce030692fbf0523c27 SHA256 cfd3f5afe561a0b3520bee7122df9178ae0ee085d24c32b6f41197aed064464e
+MD5 d304000df8170d26722bb2187d17e2c1 metadata.xml 616
+RMD160 45eb511a027eaa1e2262c2b44d0018d06ba6a602 metadata.xml 616
+SHA256 cfd3f5afe561a0b3520bee7122df9178ae0ee085d24c32b6f41197aed064464e metadata.xml 616
+MD5 6c1aa783fd1eaaead3c5a2dcfb2c131f files/digest-cmt-1.20.20070720 256
+RMD160 7b3352a1a17d7cfc4f2577d16eb54638b42197cd files/digest-cmt-1.20.20070720 256
+SHA256 b07a46adb269b280236f56dde635684583828b211519459b5d1841878d162d6b files/digest-cmt-1.20.20070720 256
diff --git a/dev-util/cmt/cmt-1.20.20070720.ebuild b/dev-util/cmt/cmt-1.20.20070720.ebuild
new file mode 100644
index 000000000000..e731324a47ec
--- /dev/null
+++ b/dev-util/cmt/cmt-1.20.20070720.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cmt/cmt-1.20.20070720.ebuild,v 1.1 2007/09/15 13:14:47 bicatali Exp $
+
+inherit elisp-common toolchain-funcs versionator
+
+CPV=($(get_version_components ${PV}))
+CMT_PV=v${CPV[0]}r${CPV[1]}p${CPV[2]}
+
+DESCRIPTION="Cross platform configuration management environment"
+HOMEPAGE="http://www.cmtsite.org/"
+SRC_URI="http://www.cmtsite.org/${CMT_PV}/CMT${CMT_PV}.tar.gz"
+
+LICENSE="CeCILL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="emacs java doc"
+
+DEPEND=""
+RDEPEND="emacs? ( virtual/emacs )
+ java? ( virtual/jdk )"
+
+RESTRICT="test"
+S=${WORKDIR}/CMT/${CMT_PV}
+
+src_compile() {
+ cd mgr
+ ./INSTALL
+ source setup.sh
+ emake -j1 \
+ cpp="$(tc-getCXX)" \
+ cppflags="${CXXFLAGS}" \
+ || die "make failed"
+
+ sed -i -e "s:${WORKDIR}:/usr/$(get_libdir):g" setup.*sh
+ cd "${S}"
+ mv src/demo .
+ rm -f ${CMTBIN}/*.o
+}
+
+src_install() {
+ CMTDIR=/usr/$(get_libdir)/CMT/${CMT_PV}
+ dodir ${CMTDIR}
+ cp -pPR mgr src ${CMTBIN} "${D}"/${CMTDIR}
+ dodir /usr/bin
+ dosym ${CMTDIR}/${CMTBIN}/cmt.exe /usr/bin/cmt
+
+ echo "CMTROOT=\"${CMTDIR}\"" > 99cmt
+ echo "CMTBIN=\"$(uname)-$(uname -m | sed -e 's# ##g')\"" >> 99cmt
+ echo "CMTCONFIG=\"$(${CMTROOT}/mgr/cmt_system.sh)\"" >> 99cmt
+
+ if use java; then
+ cp -pPR java "${D}"/${CMTDIR}
+ echo "#!/bin/sh" > jcmt
+ echo "java cmt_parser" >> jcmt
+ exeinto /usr/bin
+ doexe jcmt
+ echo "CLASSPATH=\"${CMTDIR}/java/cmt.jar\"" >> 99cmt
+ fi
+
+ doenvd 99cmt
+ dodoc ChangeLog doc/*.txt || die "dodoc failed"
+ dohtml doc/{ChangeLog,ReleaseNotes}.html || die "dohtml failed"
+
+ if use doc; then
+ cd "${S}"/mgr
+ make gendoc || die "make gendoc failed"
+ cd "${S}"/doc
+ dohtml -r CMTDoc.html Images CMTFAQ.html || die "dohtml failed"
+ doins -r demo || die "doins demo failed"
+ fi
+
+ use emacs && \
+ elisp-site-file-install \
+ doc/cmt-mode.el "${FILESDIR}"/80cmt-mode-gentoo.el
+}
+
+pkg_postinst () {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/dev-util/cmt/files/80cmt-mode-gentoo.el b/dev-util/cmt/files/80cmt-mode-gentoo.el
new file mode 100644
index 000000000000..20131f4a8d46
--- /dev/null
+++ b/dev-util/cmt/files/80cmt-mode-gentoo.el
@@ -0,0 +1,6 @@
+;; Automatically load the CMT mode.
+
+(autoload 'cmt-mode "cmt-mode" "CMT requirements file editing mode." t)
+(setq auto-mode-alist
+ (append (list (cons "requirements$" 'cmt-mode)) auto-mode-alist))
+
diff --git a/dev-util/cmt/files/digest-cmt-1.20.20070720 b/dev-util/cmt/files/digest-cmt-1.20.20070720
new file mode 100644
index 000000000000..50dca4f1b6c5
--- /dev/null
+++ b/dev-util/cmt/files/digest-cmt-1.20.20070720
@@ -0,0 +1,3 @@
+MD5 5511aade020a0c5c9aba6e8bffba57f6 CMTv1r20p20070720.tar.gz 2062465
+RMD160 100fba545c237dd916b346581a4f311e2e34282f CMTv1r20p20070720.tar.gz 2062465
+SHA256 3fdd0a64425a0ab1fe18face8a30a55384e44564f63f989a7e0ed8fb20061bbe CMTv1r20p20070720.tar.gz 2062465
diff --git a/dev-util/cmt/metadata.xml b/dev-util/cmt/metadata.xml
new file mode 100644
index 000000000000..26f235b7c3f5
--- /dev/null
+++ b/dev-util/cmt/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer><email>bicatali@gentoo.org</email></maintainer>
+<longdescription lang="en">
+ CMT is a configuration management environment, based on some
+ management conventions and comprises several shell-based
+ utilities. It is an attempt to formalize software production and
+ especially configuration management around a package-oriented
+ principle. Used a lot in High Energy Physics large experiments, where
+ a lot of tailored packages are developped.
+</longdescription>
+</pkgmetadata>