From 773f183c1572e000bdb53ce7713d98ad0184cb7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= Date: Sun, 15 Dec 2019 00:16:41 +0100 Subject: [PATCH] app-admin/puppet: Drop XEmacs support from version 4.10.12. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This has been dropped in later versions already, and puppet-4.10.12 is the last ebuild in the tree that inherits xemacs-elisp-common.eclass. Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Ulrich Müller --- .../puppet/files/50puppet-mode-gentoo.el | 6 ----- app-admin/puppet/puppet-4.10.12.ebuild | 23 ++----------------- 2 files changed, 2 insertions(+), 27 deletions(-) delete mode 100644 app-admin/puppet/files/50puppet-mode-gentoo.el diff --git a/app-admin/puppet/files/50puppet-mode-gentoo.el b/app-admin/puppet/files/50puppet-mode-gentoo.el deleted file mode 100644 index 64c38ae5a31d..000000000000 --- a/app-admin/puppet/files/50puppet-mode-gentoo.el +++ /dev/null @@ -1,6 +0,0 @@ - -;;; puppet-mode site-lisp configuration - -(add-to-list 'load-path "@SITELISP@") -(autoload 'puppet-mode "puppet-mode" "Major mode for editing puppet manifests") -(add-to-list 'auto-mode-alist '("\\.pp$" . puppet-mode)) diff --git a/app-admin/puppet/puppet-4.10.12.ebuild b/app-admin/puppet/puppet-4.10.12.ebuild index 77c0ff21fd5d..7e3b54d90ab3 100644 --- a/app-admin/puppet/puppet-4.10.12.ebuild +++ b/app-admin/puppet/puppet-4.10.12.ebuild @@ -9,7 +9,7 @@ USE_RUBY="ruby23 ruby24" RUBY_FAKEGEM_EXTRAINSTALL="locales" -inherit xemacs-elisp-common eutils user ruby-fakegem versionator +inherit eutils user ruby-fakegem versionator DESCRIPTION="A system automation and configuration management software." HOMEPAGE="https://puppet.com/" @@ -46,8 +46,6 @@ ruby_add_rdepend " # >=dev-ruby/webmock-1.24:0 # )" -DEPEND+=" ${DEPEND} - xemacs? ( app-editors/xemacs )" RDEPEND+=" ${RDEPEND} rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] ) selinux? ( @@ -106,13 +104,7 @@ all_ruby_prepare() { } all_ruby_compile() { - if use xemacs ; then - # Create a separate version for xemacs to be able to install - # emacs and xemacs in parallel. - mkdir ext/xemacs - cp ext/emacs/* ext/xemacs/ - xemacs-elisp-compile ext/xemacs/puppet-mode.el - fi + : } each_ruby_install() { @@ -150,11 +142,6 @@ all_ruby_install() { fowners -R :puppet /etc/puppetlabs fowners -R :puppet /var/lib/puppet - if use xemacs ; then - xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el* - xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}" - fi - if use ldap ; then insinto /etc/openldap/schema; doins ext/ldap/puppet.schema fi @@ -187,10 +174,4 @@ pkg_postinst() { elog fi done - - use xemacs && xemacs-elisp-site-regen -} - -pkg_postrm() { - use xemacs && xemacs-elisp-site-regen } -- 2.24.1