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
commit1b79586ffe3146205dc101f0cad8c0dddedfeff8 (patch)
tree27a8e96155875c5036be7fe29ac9aa576601423c /dev-util/cmt
parentAdd support for sqlite in Python 2.5, in other words stop depending on pysqli... (diff)
downloadhistorical-1b79586ffe3146205dc101f0cad8c0dddedfeff8.tar.gz
historical-1b79586ffe3146205dc101f0cad8c0dddedfeff8.tar.bz2
historical-1b79586ffe3146205dc101f0cad8c0dddedfeff8.zip
Initial import from science overlay, closing bug #65835.
Package-Manager: portage-2.1.2.12
Diffstat (limited to 'dev-util/cmt')
-rw-r--r--dev-util/cmt/ChangeLog10
-rw-r--r--dev-util/cmt/Manifest30
-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, 146 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..d199584fda8f
--- /dev/null
+++ b/dev-util/cmt/Manifest
@@ -0,0 +1,30 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+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 2036 RMD160 0f32a54f93fec7d267199474421996132188ba27 SHA1 986f32ef8b6007271b84ebd45c43603bb4a8c075 SHA256 0abe578c463af1e3e3d0df1c85ec34168c68067a24cfb2191e32f46265c4bf23
+MD5 6ace820ab0aae7b7848cd6a6acc32e59 cmt-1.20.20070720.ebuild 2036
+RMD160 0f32a54f93fec7d267199474421996132188ba27 cmt-1.20.20070720.ebuild 2036
+SHA256 0abe578c463af1e3e3d0df1c85ec34168c68067a24cfb2191e32f46265c4bf23 cmt-1.20.20070720.ebuild 2036
+MISC ChangeLog 421 RMD160 11c797622a7ba274392ebfc9e097f0d35e46fad9 SHA1 dfe45c804e23dc38ae803cc4065cf6dfdcd36f5f SHA256 63d3547378025eafe5b8bd575907523dae6b02cf7445c7d069baaef582475ecf
+MD5 017e8f66f953fe402763c0ea719a329c ChangeLog 421
+RMD160 11c797622a7ba274392ebfc9e097f0d35e46fad9 ChangeLog 421
+SHA256 63d3547378025eafe5b8bd575907523dae6b02cf7445c7d069baaef582475ecf ChangeLog 421
+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
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.7 (GNU/Linux)
+
+iD8DBQFG69rN1ycZbhPLE2ARAuDbAJ9RA1wEULTwReWyCCGwBZz+cBZWQQCeK84D
+x/6T4mCpsdwDIg5fg3Gwo1E=
+=Jyen
+-----END PGP SIGNATURE-----
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>