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 40B94138334 for ; Fri, 8 Jun 2018 18:42:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D105E08ED; Fri, 8 Jun 2018 18:42:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EAFACE08ED for ; Fri, 8 Jun 2018 18:42:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 31B69335C97 for ; Fri, 8 Jun 2018 18:41:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3E0E929E for ; Fri, 8 Jun 2018 18:41:57 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1528483238.4fda817bbe305aeb60c6bf159db42226c69504c1.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/yasnippet/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/yasnippet/Manifest app-emacs/yasnippet/yasnippet-0.6.1c.ebuild X-VCS-Directories: app-emacs/yasnippet/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 4fda817bbe305aeb60c6bf159db42226c69504c1 X-VCS-Branch: master Date: Fri, 8 Jun 2018 18:41:57 +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: c8dafd4c-6a83-4543-b2d5-bf1fb253eabd X-Archives-Hash: 905dbdf6eb4138a5b9db67159ba55009 commit: 4fda817bbe305aeb60c6bf159db42226c69504c1 Author: Ulrich Müller gentoo org> AuthorDate: Fri Jun 8 18:40:14 2018 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Fri Jun 8 18:40:38 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fda817b Revert "app-emacs/yasnippet: drop old EAPI" Please don't remove ebuilds without talking to the maintainer. This package was very recently bumped, and the new version contains major changes. So we should give users two weeks before removing the old version. In addition, the removal left a stale files/50yasnippet-gentoo.el site-init file. This reverts commit ad4ab77e9c888b6f299067f2ea89daac7459dcec. app-emacs/yasnippet/Manifest | 2 ++ app-emacs/yasnippet/yasnippet-0.6.1c.ebuild | 48 +++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/app-emacs/yasnippet/Manifest b/app-emacs/yasnippet/Manifest index a590a9403f4..730ee2c486e 100644 --- a/app-emacs/yasnippet/Manifest +++ b/app-emacs/yasnippet/Manifest @@ -1 +1,3 @@ DIST yasnippet-0.13.0.tar.gz 577330 BLAKE2B 21830c0a2e99d7669093c16f527debb4921e96aad006887ec1c7e35da58745721658417f1aec96ea78ba4dc5f3951c857848fce67e6d2ff7f255d4aea5687ab9 SHA512 73b111f72e98c4183764cef08ddfaa861dba49f171f96026b074bf62a7aa5e2d8529f616805ba386dd4157b675da953784d5bcd832d6015ce1b72e9c240988c5 +DIST yasnippet-0.6.1c.tar.bz2 47493 BLAKE2B d3bb0d1c343c05f9bc212a0fc114d3c816c02d8de685c55c0f3407a02ee6d1c1e6c24681872dc66e67af773e0e98a78a0366bbfe72ebfd543c5174d2e2f994b0 SHA512 ea4c5850ae80e4db9a188788654a099eddc43e29371ef0cb6367e1a39d3ee9f3e9dab7201178955ae47c92bcecbb5120e0b817e47e9c88c5bcef9e561636a603 +DIST yasnippet-doc-0.6.1c.tar.bz2 490738 BLAKE2B e312481c7693094d62eb0aec465412ea1c894ca5132df9c2beba49c3c78daaec90ca80d17fc9404edbdd8cea1fce63804a102cbe9b7d3d7b23f0761b8a0ea552 SHA512 c96955cac11f319107e0ea907c92860049598cbfd47b6a2e3211dc2b030face77b03aa9495d7e9d78171be87083f77268e90c6c86b0cc467a96a5bd724daf8f1 diff --git a/app-emacs/yasnippet/yasnippet-0.6.1c.ebuild b/app-emacs/yasnippet/yasnippet-0.6.1c.ebuild new file mode 100644 index 00000000000..831ffed191b --- /dev/null +++ b/app-emacs/yasnippet/yasnippet-0.6.1c.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +inherit elisp + +DESCRIPTION="Yet another snippet extension for Emacs" +HOMEPAGE="https://github.com/capitaomorte/yasnippet" +SRC_URI="https://yasnippet.googlecode.com/files/${P}.tar.bz2 + doc? ( https://yasnippet.googlecode.com/files/${PN}-doc-${PV}.tar.bz2 )" + +# Homepage says MIT licence, source contains GPL-2 copyright notice +LICENSE="MIT GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND=">=app-emacs/dropdown-list-20080316" +RDEPEND="${DEPEND}" + +SITEFILE="50${PN}-gentoo.el" + +src_unpack() { + elisp_src_unpack + + # remove bundled copy of dropdown-list + rm "${S}/dropdown-list.el" || die +} + +src_install() { + elisp_src_install + + insinto "${SITEETC}/${PN}" + doins -r snippets || die "doins failed" + + if use doc; then + dohtml -r "${WORKDIR}"/doc/* || die "dohtml failed" + fi +} + +pkg_postinst() { + elisp-site-regen + + elog "Please add the following code into your .emacs to use yasnippet:" + elog "(yas/initialize)" + elog "(yas/load-directory \"${SITEETC}/${PN}/snippets\")" +}