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 96AB513832E for ; Tue, 16 Aug 2016 10:46:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 825AA21C043; Tue, 16 Aug 2016 10:46:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 0FAF2E0B2F for ; Tue, 16 Aug 2016 10:46:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 24F97340C59 for ; Tue, 16 Aug 2016 10:46:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 87EE1244C for ; Tue, 16 Aug 2016 10:46:02 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1471344356.f216a6d03e19c7d6f2461cb7c4ffddc35b5b8811.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/utop/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/utop/Manifest dev-ml/utop/utop-1.19.3.ebuild X-VCS-Directories: dev-ml/utop/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: f216a6d03e19c7d6f2461cb7c4ffddc35b5b8811 X-VCS-Branch: master Date: Tue, 16 Aug 2016 10:46:02 +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: 878fc538-a6c7-4f1f-844e-27cb3c51c805 X-Archives-Hash: 3374e7e6282e1a996815025b62db6a2b commit: f216a6d03e19c7d6f2461cb7c4ffddc35b5b8811 Author: Alexis Ballier gentoo org> AuthorDate: Tue Aug 16 10:33:45 2016 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Tue Aug 16 10:45:56 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f216a6d0 dev-ml/utop: bump to 1.19.3 Package-Manager: portage-2.3.0 dev-ml/utop/Manifest | 1 + dev-ml/utop/utop-1.19.3.ebuild | 59 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/dev-ml/utop/Manifest b/dev-ml/utop/Manifest index 25af6ba..130679b 100644 --- a/dev-ml/utop/Manifest +++ b/dev-ml/utop/Manifest @@ -1 +1,2 @@ DIST utop-1.19.2.tar.gz 104616 SHA256 509ab26f13cf5d0cf401fb0a313751ed19727b6dff65ef7df81ac05cf15cbe43 SHA512 4160b0576b1e860a54ecf8487bb9cd7259cc434d06a4da409671337bcc8342e4738cd5fa864ece54fa2b9f811597e8462556cf81d184d9d9c81e4463d76559c6 WHIRLPOOL aa608b95d8846fb48cafcea5d34a4a4fb984bf2265387378be1f3496afc63cbfcca6c2ca319503e7a942b81d1937acd44a9478256a652a32a12f584ca785f7d1 +DIST utop-1.19.3.tar.gz 105213 SHA256 9dbca07b8c55700473cca1d9dd975abb9c6cd03e715dec4857f1249bee16e09b SHA512 97b3fec8b6f930efa742230058eba6fb846900d71e5758903dcefe03fa08e93b54e32642a5b8b6ad02aed7e81ccd6146e87a92805eb74aa4fae275a1188818cd WHIRLPOOL 470e5739639440b11905fbd4f755643aa3117f9fe76690723df7e2fba07e1bdcfcb7ad796a9dc2d00b3be3a6f0eba1afa335ce826a8c715ac40681ad38165599 diff --git a/dev-ml/utop/utop-1.19.3.ebuild b/dev-ml/utop/utop-1.19.3.ebuild new file mode 100644 index 0000000..c451a6b --- /dev/null +++ b/dev-ml/utop/utop-1.19.3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +OASIS_BUILD_DOCS=1 +inherit oasis elisp-common + +DESCRIPTION="A new toplevel for OCaml with completion and colorization" +HOMEPAGE="https://github.com/diml/utop" +SRC_URI="https://github.com/diml/utop/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="camlp4 emacs" + +DEPEND=">=dev-ml/lwt-2.4.0:=[react] + >=dev-ml/lambda-term-1.2:= + >=dev-ml/zed-1.2:= + >=dev-ml/cppo-1.0.1:= + emacs? ( virtual/emacs ) + camlp4? ( dev-ml/camlp4:= )" +RDEPEND="${DEPEND}" + +DOCS=( "CHANGES.md" "README.md" ) +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + sed -i "s/(\"utop.el.*)//" setup.ml +} + +src_configure() { + oasis_configure_opts="$(use_enable camlp4)" \ + oasis_src_configure +} +src_compile() { + oasis_src_compile + if use emacs; then + elisp-compile src/top/*.el + fi +} + +src_install() { + oasis_src_install + if use emacs; then + elisp-install "${PN}" src/top/*.el src/top/*.elc || die + elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +}