From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 38DC7139694 for ; Fri, 30 Jun 2017 13:15:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74AA8E07EF; Fri, 30 Jun 2017 13:15:01 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4275EE07EF for ; Fri, 30 Jun 2017 13:15:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 99FE63416F8 for ; Fri, 30 Jun 2017 13:14:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 066EF7498 for ; Fri, 30 Jun 2017 13:14:58 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1498828493.79ff8beb04c23426b717054ea8deb8c33b7cdb46.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/puppet/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/puppet/puppet-5.0.0.ebuild X-VCS-Directories: app-admin/puppet/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 79ff8beb04c23426b717054ea8deb8c33b7cdb46 X-VCS-Branch: master Date: Fri, 30 Jun 2017 13:14:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9f3065e3-a332-4531-86fd-c71537d704f4 X-Archives-Hash: 940a19387be2ecaf25230a141b707cd4 commit: 79ff8beb04c23426b717054ea8deb8c33b7cdb46 Author: Hans de Graaff gentoo org> AuthorDate: Fri Jun 30 13:14:39 2017 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Jun 30 13:14:53 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79ff8beb app-admin/puppet: fix building with USE=emacs or USE=xemacs, bug 623012 puppet 5.x no longer contains editing modes for emacs or xemacs. With emacs the USE flag now pulls in app-emacs/puppet-mode. The xemacs USE flag has been removed until there is a suitable package there as well. Package-Manager: Portage-2.3.6, Repoman-2.3.1 app-admin/puppet/puppet-5.0.0.ebuild | 42 +++--------------------------------- 1 file changed, 3 insertions(+), 39 deletions(-) diff --git a/app-admin/puppet/puppet-5.0.0.ebuild b/app-admin/puppet/puppet-5.0.0.ebuild index 3583b0a3e9b..8dbc2f97ac0 100644 --- a/app-admin/puppet/puppet-5.0.0.ebuild +++ b/app-admin/puppet/puppet-5.0.0.ebuild @@ -9,7 +9,7 @@ USE_RUBY="ruby21 ruby22 ruby23" RUBY_FAKEGEM_RECIPE_TEST="rspec3" -inherit elisp-common xemacs-elisp-common eutils user ruby-fakegem versionator +inherit eutils user ruby-fakegem versionator DESCRIPTION="A system automation and configuration management software." HOMEPAGE="http://puppetlabs.com/" @@ -18,7 +18,7 @@ SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz" LICENSE="Apache-2.0 GPL-2" SLOT="0" KEYWORDS="~amd64 ~hppa ~ppc ~x86" -IUSE="augeas diff doc emacs experimental ldap rrdtool selinux shadow sqlite vim-syntax xemacs" +IUSE="augeas diff doc emacs experimental ldap rrdtool selinux shadow sqlite vim-syntax" RESTRICT="test" ruby_add_rdepend " @@ -43,9 +43,6 @@ ruby_add_bdepend " # this should go in the above lists, but isn't because of test deps not being keyworded # dev-ruby/rspec-collection_matchers -DEPEND+=" ${DEPEND} - emacs? ( virtual/emacs ) - xemacs? ( app-editors/xemacs )" RDEPEND+=" ${RDEPEND} rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] ) selinux? ( @@ -54,8 +51,7 @@ RDEPEND+=" ${RDEPEND} ) vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 ) >=app-portage/eix-0.18.0" - -SITEFILE="50${PN}-mode-gentoo.el" +PDEPEND="emacs? ( app-emacs/puppet-mode )" pkg_setup() { enewgroup puppet @@ -84,20 +80,6 @@ all_ruby_prepare() { rm spec/unit/module_tool/metadata_spec.rb || die } -all_ruby_compile() { - if use emacs ; then - elisp-compile ext/emacs/puppet-mode.el - fi - - 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() { each_fakegem_install # dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}" @@ -133,16 +115,6 @@ all_ruby_install() { fowners -R :puppet /etc/puppetlabs fowners -R :puppet /var/lib/puppet - if use emacs ; then - elisp-install ${PN} ext/emacs/puppet-mode.el* - elisp-site-file-install "${FILESDIR}/${SITEFILE}" - fi - - 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 @@ -172,12 +144,4 @@ pkg_postinst() { elog "for more information." elog fi - - use emacs && elisp-site-regen - use xemacs && xemacs-elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen - use xemacs && xemacs-elisp-site-regen }