diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2017-08-26 11:09:05 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2017-08-26 11:09:13 +0100 |
commit | 2679645fb820fda3f5a26d824a3a042e1079c900 (patch) | |
tree | 39514ec940608041289b6a6be44d15e8020b312d /dev-haskell/cmark | |
parent | media-video/subtitleeditor: cleanup old revision (diff) | |
download | gentoo-2679645fb820fda3f5a26d824a3a042e1079c900.tar.gz gentoo-2679645fb820fda3f5a26d824a3a042e1079c900.tar.bz2 gentoo-2679645fb820fda3f5a26d824a3a042e1079c900.zip |
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
Diffstat (limited to 'dev-haskell/cmark')
-rw-r--r-- | dev-haskell/cmark/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/cmark/cmark-0.5.6.ebuild | 34 | ||||
-rw-r--r-- | dev-haskell/cmark/metadata.xml | 3 |
3 files changed, 38 insertions, 0 deletions
diff --git a/dev-haskell/cmark/Manifest b/dev-haskell/cmark/Manifest index fb342b86da63..ea8fb79eea29 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 000000000000..be8838bc8570 --- /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 ccbe1d4bb021..2d92a8edfc92 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 <https://github.com/jgm/cmark libcmark>, the reference |