public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-haskell/cmark/
Date: Sat, 26 Aug 2017 10:09:17 +0000 (UTC)	[thread overview]
Message-ID: <1503742153.2679645fb820fda3f5a26d824a3a042e1079c900.slyfox@gentoo> (raw)

commit:     2679645fb820fda3f5a26d824a3a042e1079c900
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 26 10:09:05 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Aug 26 10:09:13 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2679645f

dev-haskell/cmark: add USE=+system-cmark to unbundle cmark, bug #627024

Reported-by: Azamat H. Hackimov
Bug: htps://bugs.gentoo.org/627024
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-haskell/cmark/Manifest           |  1 +
 dev-haskell/cmark/cmark-0.5.6.ebuild | 34 ++++++++++++++++++++++++++++++++++
 dev-haskell/cmark/metadata.xml       |  3 +++
 3 files changed, 38 insertions(+)

diff --git a/dev-haskell/cmark/Manifest b/dev-haskell/cmark/Manifest
index fb342b86da6..ea8fb79eea2 100644
--- a/dev-haskell/cmark/Manifest
+++ b/dev-haskell/cmark/Manifest
@@ -1,3 +1,4 @@
 DIST cmark-0.3.4.tar.gz 148195 SHA256 ca7793c1ec30697446e8880d22a053e81fdc57761f86b2b631360a4d4481b932 SHA512 1491d671ad98af061beee31f22d4d7e73ce4090342f34713848d26fbabefb8367d8bd2686814659ef36e49b2298967ce06e41ac5d7cbd13dcce27e4fe5ce7895 WHIRLPOOL 827c0670e96ac22c2dfc125a1fd5343d90b80b9c852b210dcb5884f99594df41695d7f7f561961e28a15d04636c9c169cce1f5597777758ed54af6450601e37e
 DIST cmark-0.4.0.1.tar.gz 175936 SHA256 638328b59c2bb8bdcd0f3042c4554f2b2b7c6deac7770dbc8bc2813c865a35ce SHA512 8dee17ab09d377de762579eb75c61fd1cd3e7c928d57f42b636d391b78b9e0b9ddf58e50f84a35a76eecce6763332f58cd1170df041b811f9b6f113daaa1c9be WHIRLPOOL ccda44d2fd2ea8d64295414e617dab4f5213cd49d1d9b4454c1a72fa6c4a3bfbae3009661554bb8bd8a092bc76df66bafca2b765794c710fd982536e158a893f
 DIST cmark-0.5.5.tar.gz 169719 SHA256 03bd6fc962bb92127f64a9c597a904492a16fb3f34587775a741d22311fe53e2 SHA512 1c1929f78ce669c0eee20693eeec2a21bfdb49850d92db7a71a1e29164c09fc29bac000d921a5186c1662a6eaf168d7d1df0dc2d02f7d7ccb04763de23e6099f WHIRLPOOL de2df3c60abc6de0fdf87b9c30fdb94642f0e8c257d52a8c0b35aaa0db7a1ac681bf5bfe36b4b4b2e58eed15ab76edfd84f8ffc191f4bc22514e7bea72ce916f
+DIST cmark-0.5.6.tar.gz 170850 SHA256 855c4b7aca6d4e9eb076beb6cc6f74e7578fae7aa3625fd3fca5e3b4901a32b0 SHA512 ba9ae5268c1d55123754e7b0c5f73c5134fa1d57a7a624e865c5c9690f073d9db9e6f1b7bc5fea86305d3a72a7af371a22f12fcce4ccbe9fd2942ba1d3677835 WHIRLPOOL cfeb37ee07a5c710898137ce88b2c64bceed62468ada918b8a3e2caa6071f3895bcb7f057bf6ebdc03b8799811870e42b90d453d72b6a943c7cc92e8df8b5d9e

diff --git a/dev-haskell/cmark/cmark-0.5.6.ebuild b/dev-haskell/cmark/cmark-0.5.6.ebuild
new file mode 100644
index 00000000000..be8838bc857
--- /dev/null
+++ b/dev-haskell/cmark/cmark-0.5.6.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.3.9999
+#hackport: flags: pkgconfig:system-cmark
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Fast, accurate CommonMark (Markdown) parser and renderer"
+HOMEPAGE="https://github.com/jgm/cmark-hs"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+system-cmark"
+
+RDEPEND=">=dev-haskell/text-1.0:=[profile?] <dev-haskell/text-1.3:=[profile?]
+	>=dev-lang/ghc-7.4.1:=
+	system-cmark? ( app-text/cmark )
+"
+DEPEND="${RDEPEND}
+	>=dev-haskell/cabal-1.14
+	test? ( >=dev-haskell/hunit-1.2 <dev-haskell/hunit-1.7 )
+	system-cmark? ( virtual/pkgconfig )
+"
+
+src_configure() {
+	haskell-cabal_src_configure \
+		$(cabal_flag system-cmark pkgconfig)
+}

diff --git a/dev-haskell/cmark/metadata.xml b/dev-haskell/cmark/metadata.xml
index ccbe1d4bb02..2d92a8edfc9 100644
--- a/dev-haskell/cmark/metadata.xml
+++ b/dev-haskell/cmark/metadata.xml
@@ -5,6 +5,9 @@
 		<email>haskell@gentoo.org</email>
 		<name>Gentoo Haskell</name>
 	</maintainer>
+	<use>
+		<flag name='system-cmark'>use <pkg>app-text/cmark</pkg> instead of bundled copy</flag>
+	</use>
 	<longdescription>
 		This package provides Haskell bindings for
 		&lt;https://github.com/jgm/cmark libcmark&gt;, the reference


             reply	other threads:[~2017-08-26 10:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-26 10:09 Sergei Trofimovich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-07-28 16:06 [gentoo-commits] repo/gentoo:master commit in: dev-haskell/cmark/ Sergei Trofimovich
2019-07-31  7:32 Pacho Ramos
2019-12-15  0:03 Sergei Trofimovich
2020-09-12  9:30 Sergei Trofimovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1503742153.2679645fb820fda3f5a26d824a3a042e1079c900.slyfox@gentoo \
    --to=slyfox@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox