From e2ac6ea1d50a6f3956599260f133ecb6e0aa3520 Mon Sep 17 00:00:00 2001 From: Sebastien Fabbro Date: Tue, 31 Jul 2007 12:07:37 +0000 Subject: Added patch emacs support, thanks to Christian Faulhammer . Closing bug #187212 Package-Manager: portage-2.1.2.9 --- sci-mathematics/pspp/ChangeLog | 7 ++++++- sci-mathematics/pspp/Manifest | 30 +++++++++++++++++++++-------- sci-mathematics/pspp/files/50pspp-gentoo.el | 5 +++++ sci-mathematics/pspp/pspp-0.4.0.ebuild | 14 +++++++++++--- 4 files changed, 44 insertions(+), 12 deletions(-) create mode 100644 sci-mathematics/pspp/files/50pspp-gentoo.el (limited to 'sci-mathematics') diff --git a/sci-mathematics/pspp/ChangeLog b/sci-mathematics/pspp/ChangeLog index d344c4d1ab93..7077a8a61811 100644 --- a/sci-mathematics/pspp/ChangeLog +++ b/sci-mathematics/pspp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-mathematics/pspp # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pspp/ChangeLog,v 1.2 2007/03/21 12:48:39 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pspp/ChangeLog,v 1.3 2007/07/31 12:07:37 bicatali Exp $ + + 31 Jul 2007; Sébastien Fabbro + +files/50pspp-gentoo.el, pspp-0.4.0.ebuild: + Added patch emacs support, thanks to Christian Faulhammer + . Closing bug #187212 20 Mar 2007; Sébastien Fabbro metadata.xml: herd sci -> sci-mathematics diff --git a/sci-mathematics/pspp/Manifest b/sci-mathematics/pspp/Manifest index 7f76b34913e6..294afd332d4b 100644 --- a/sci-mathematics/pspp/Manifest +++ b/sci-mathematics/pspp/Manifest @@ -1,12 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX 50pspp-gentoo.el 125 RMD160 4f2a2738ad423247ecd8e5797112fec215dcb074 SHA1 296dd4a14122069fed38bbf5504c66150522f6d4 SHA256 588a8a8280ad498c703080aa401c01394400924ba96e9d05d5d8b4ccc6d531ab +MD5 93b54d216a21ce0610c60b9cea40707b files/50pspp-gentoo.el 125 +RMD160 4f2a2738ad423247ecd8e5797112fec215dcb074 files/50pspp-gentoo.el 125 +SHA256 588a8a8280ad498c703080aa401c01394400924ba96e9d05d5d8b4ccc6d531ab files/50pspp-gentoo.el 125 DIST pspp-0.4.0.tar.gz 1566807 RMD160 28c52e4ee530c80acf37d7cbea4e45aaefc11f7c SHA1 382c76ccbc62f881e439c38095b1f520b2627706 SHA256 b19403e15848ad0f0b393ed4e52beeb236fd4badfdfa63fe3e680f9cc683ca24 -EBUILD pspp-0.4.0.ebuild 1377 RMD160 ce9b47af85a3ab9a6c2dcf55e963f5a4c0922090 SHA1 3a454da9de87ba3f215cb67184b7e35e828524a1 SHA256 fb852c245135b290bd4e252aa4746697a996deba881800b216e71c61e49b6393 -MD5 1557fc1d7647c1c41a74bc1b9af75506 pspp-0.4.0.ebuild 1377 -RMD160 ce9b47af85a3ab9a6c2dcf55e963f5a4c0922090 pspp-0.4.0.ebuild 1377 -SHA256 fb852c245135b290bd4e252aa4746697a996deba881800b216e71c61e49b6393 pspp-0.4.0.ebuild 1377 -MISC ChangeLog 545 RMD160 ce967a2f8b8560ed691c5121b373dd2a4d53c3a2 SHA1 5a8a3d60e6d51211b558e4d19d8134dc6e5c85e2 SHA256 8f911fccb06d70533e50044fba3040a0f7d7da42af1c0ca6ab4fc50fab1d734c -MD5 330d96f5da37bb0cf9a659260d6825cc ChangeLog 545 -RMD160 ce967a2f8b8560ed691c5121b373dd2a4d53c3a2 ChangeLog 545 -SHA256 8f911fccb06d70533e50044fba3040a0f7d7da42af1c0ca6ab4fc50fab1d734c ChangeLog 545 +EBUILD pspp-0.4.0.ebuild 1522 RMD160 c919ebd1844e49419d8010ddf596d13dcacdd8af SHA1 8a6ab9d585f910efb8fe4658ce6a4e2ea95685c1 SHA256 ede0c45fb54aacb7b4793a19482194983200503c8bccdde8c4f84e97e1899be3 +MD5 0ada26a2f3205bc7def3f7c3b58fa4c2 pspp-0.4.0.ebuild 1522 +RMD160 c919ebd1844e49419d8010ddf596d13dcacdd8af pspp-0.4.0.ebuild 1522 +SHA256 ede0c45fb54aacb7b4793a19482194983200503c8bccdde8c4f84e97e1899be3 pspp-0.4.0.ebuild 1522 +MISC ChangeLog 749 RMD160 a7b3e409ee8fd70c19a4a358fa0fce60d9f6110f SHA1 53ab398875edbf8e2ce994ecaeab55590d7ebf6d SHA256 348be638256b0de57de23c3e627a25ebffd27487032209d0f9b69c51c561cd00 +MD5 052fed4fd552f22fb612860dfb9f40cd ChangeLog 749 +RMD160 a7b3e409ee8fd70c19a4a358fa0fce60d9f6110f ChangeLog 749 +SHA256 348be638256b0de57de23c3e627a25ebffd27487032209d0f9b69c51c561cd00 ChangeLog 749 MISC metadata.xml 578 RMD160 3d9347a787f561f99489ea5be06c551cbd8f4b43 SHA1 0a5efc597a0325fbd138488e6848ade8c5b29338 SHA256 6b524ccbf204aeb826e21e271c676fc9ee7d36187cb862e80b544267a4451fcf MD5 e73ca33877389fdf0868dce3a12d5ac3 metadata.xml 578 RMD160 3d9347a787f561f99489ea5be06c551cbd8f4b43 metadata.xml 578 @@ -14,3 +21,10 @@ SHA256 6b524ccbf204aeb826e21e271c676fc9ee7d36187cb862e80b544267a4451fcf metadata MD5 99d5f81fb17f2d4e48e59f01653bbcee files/digest-pspp-0.4.0 235 RMD160 876c20d6724b4291ce5dbfc7225335cafad351df files/digest-pspp-0.4.0 235 SHA256 52372cd2e2b86b11ab08c9ce0890632240a3c06defac13adbd8597f2fe53fa63 files/digest-pspp-0.4.0 235 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.7 (GNU/Linux) + +iD8DBQFGryYP1ycZbhPLE2ARAse1AKCAl7mnwasGv3TwjADDlal60VGfzgCfc1p6 +zn778yzBcUEsVP36XiAwwZk= +=CvTv +-----END PGP SIGNATURE----- diff --git a/sci-mathematics/pspp/files/50pspp-gentoo.el b/sci-mathematics/pspp/files/50pspp-gentoo.el new file mode 100644 index 000000000000..2f5034cb3d27 --- /dev/null +++ b/sci-mathematics/pspp/files/50pspp-gentoo.el @@ -0,0 +1,5 @@ + +; pspp site-initialisation + +(add-to-list 'load-path "@SITELISP@") +(add-to-list 'auto-mode-alist '("\\.sps\\'" . pspp-mode)) diff --git a/sci-mathematics/pspp/pspp-0.4.0.ebuild b/sci-mathematics/pspp/pspp-0.4.0.ebuild index 912459603f2d..790a3de2341a 100644 --- a/sci-mathematics/pspp/pspp-0.4.0.ebuild +++ b/sci-mathematics/pspp/pspp-0.4.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pspp/pspp-0.4.0.ebuild,v 1.2 2007/07/13 05:28:09 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pspp/pspp-0.4.0.ebuild,v 1.3 2007/07/31 12:07:37 bicatali Exp $ inherit elisp-common @@ -17,10 +17,12 @@ DEPEND=">=sci-libs/gsl-1.6 >=sys-devel/gettext-0.14.1 >=dev-lang/perl-5.6 ncurses? ( >=sys-libs/ncurses-5.4 ) - plotutils? ( >=media-libs/plotutils-2.4.1 )" + plotutils? ( >=media-libs/plotutils-2.4.1 ) + emacs? ( virtual/emacs )" # make check gave 39 failures of out 96 tests RESTRICT="test" +SITEFILE=50${PN}-gentoo.el src_compile() { econf \ @@ -32,6 +34,9 @@ src_compile() { if use doc; then emake html || die "emake html failed" fi + + use emacs && elisp-compile *.el + } src_install() { @@ -42,7 +47,10 @@ src_install() { docinto examples && dodoc examples/{ChangeLog,descript.stat} use doc && dohtml doc/pspp.html/* - use emacs && elisp-site-file-install pspp-mode.el + if use emacs; then + elisp-install ${PN} *.el *.elc + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi } pkg_postinst () { -- cgit v1.2.3-65-gdbad