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 157CB139696 for ; Sat, 18 Feb 2017 11:28:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E38AFE0D78; Sat, 18 Feb 2017 11:28:40 +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 A2A88E0D72 for ; Sat, 18 Feb 2017 11:28:40 +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 780563409C1 for ; Sat, 18 Feb 2017 11:28:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DB7E24C0A for ; Sat, 18 Feb 2017 11:28:37 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1487417307.244f2233cdbc6197709c0d174c45abd0fb52ae5c.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-haskell/skylighting/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-haskell/skylighting/Manifest dev-haskell/skylighting/metadata.xml dev-haskell/skylighting/skylighting-0.1.1.5.ebuild X-VCS-Directories: dev-haskell/skylighting/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 244f2233cdbc6197709c0d174c45abd0fb52ae5c X-VCS-Branch: master Date: Sat, 18 Feb 2017 11:28:37 +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: ef7d8226-589a-4d3c-aba2-9c27384d71c4 X-Archives-Hash: eced1f014112b2048cdeaf29142ddf5f commit: 244f2233cdbc6197709c0d174c45abd0fb52ae5c Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Feb 18 11:08:15 2017 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Feb 18 11:28:27 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=244f2233 dev-haskell/skylighting: new package, a depend of pandoc-1.19 syntax highlighting library Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-haskell/skylighting/Manifest | 1 + dev-haskell/skylighting/metadata.xml | 21 ++++++++++ dev-haskell/skylighting/skylighting-0.1.1.5.ebuild | 49 ++++++++++++++++++++++ 3 files changed, 71 insertions(+) diff --git a/dev-haskell/skylighting/Manifest b/dev-haskell/skylighting/Manifest new file mode 100644 index 0000000000..4792e90698 --- /dev/null +++ b/dev-haskell/skylighting/Manifest @@ -0,0 +1 @@ +DIST skylighting-0.1.1.5.tar.gz 584235 SHA256 0a4b666b2ccfeed35386bd364d663e919adc1815547e6360e83487253e33b13c SHA512 2d430d2067d7694978620af0c63ce47240074055bf5179b968ac2a430b9968f445307347c8975e550823f509c05ab600f07c3d1cdc7f8909bf19506e0153e3ef WHIRLPOOL 485e205f0d5a76727e455ab718dc9666ae3552bcc994fd68e708fb13e12779e597890a5282bb4753aae0b15bb8186e33566b23d7f4b25aefed70edcb664372af diff --git a/dev-haskell/skylighting/metadata.xml b/dev-haskell/skylighting/metadata.xml new file mode 100644 index 0000000000..b5e26be25d --- /dev/null +++ b/dev-haskell/skylighting/metadata.xml @@ -0,0 +1,21 @@ + + + + + haskell@gentoo.org + Gentoo Haskell + + + Build the skylighting executable. + + + Skylighting is a syntax highlighting library with + support for over one hundred languages. It derives + its tokenizers from XML syntax definitions used + by KDE's KSyntaxHighlighting framework, so any + syntax supported by that framework can be added. + An optional command-line program is provided. + Skylighting is intended to be the successor to + highlighting-kate. + + diff --git a/dev-haskell/skylighting/skylighting-0.1.1.5.ebuild b/dev-haskell/skylighting/skylighting-0.1.1.5.ebuild new file mode 100644 index 0000000000..cfc65da0be --- /dev/null +++ b/dev-haskell/skylighting/skylighting-0.1.1.5.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +# ebuild generated by hackport 0.5.1.9999 +#hackport: flags: -bootstrap + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="syntax highlighting library" +HOMEPAGE="https://github.com/jgm/skylighting" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="executable" + +RDEPEND="dev-haskell/aeson:=[profile?] + >=dev-haskell/blaze-html-0.5:=[profile?] + dev-haskell/case-insensitive:=[profile?] + dev-haskell/hxt:=[profile?] + dev-haskell/mtl:=[profile?] + dev-haskell/regex-pcre-builtin:=[profile?] + dev-haskell/safe:=[profile?] + dev-haskell/text:=[profile?] + dev-haskell/utf8-string:=[profile?] + >=dev-lang/ghc-7.8.2:= + executable? ( dev-haskell/pretty-show:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.18.1.3 + test? ( dev-haskell/diff + dev-haskell/hunit + dev-haskell/random + dev-haskell/tasty + dev-haskell/tasty-golden + dev-haskell/tasty-hunit + !executable? ( dev-haskell/pretty-show ) ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-bootstrap \ + $(cabal_flag executable executable) +}