slyfox 15/07/20 18:10:21 Added: metadata.xml cmark-0.3.4.ebuild ChangeLog Log: Fast, accurate CommonMark (Markdown) parser and renderer, initial import. A depend for pandoc-1.14. (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)
Revision Changes Path 1.1 dev-haskell/cmark/metadata.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/cmark/metadata.xml?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/cmark/metadata.xml?rev=1.1&content-type=text/plain Index: metadata.xml =================================================================== <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>haskell</herd> <longdescription> This package provides Haskell bindings for <https://github.com/jgm/cmark libcmark>, the reference parser for <http://commonmark.org CommonMark>, a fully specified variant of Markdown. It includes sources for libcmark (0.19.0) and does not require prior installation of the C library. cmark provides the following advantages over existing Markdown libraries for Haskell: - Speed: Conversion speed is on par with the <https://hackage.haskell.org/package/sundown sundown> library. We were unable to measure precisely against <https://hackage.haskell.org/package/sundown sundown>, which raised a malloc error when compiled into our benchmark suite. Relative to other implementations: cmark was 82 times faster than <https://hackage.haskell.org/package/cheapskate cheapskate>, 59 times faster than <https://hackage.haskell.org/package/markdown markdown>, 105 times faster than <https://hackage.haskell.org/package/pandoc pandoc>, and 2.8 times faster than <https://hackage.haskell.org/package/discount discount>. - Memory footprint: Memory footprint is on par with <https://hackage.haskell.org/package/sundown sundown>. On one sample, the library uses a fourth the memory that <https://hackage.haskell.org/package/markdown markdown> uses, and less than a tenth the memory that <https://hackage.haskell.org/package/pandoc pandoc> uses. - Robustness: cmark can handle whatever is thrown at it, without the exponential blowups in parsing time one can sometimes get with other libraries. (The input @bench\/full-sample.md@, for example, causes both <https://hackage.haskell.org/package/pandoc pandoc> and <https://hackage.haskell.org/package/markdown markdown> to grind to a halt.) - Accuracy: cmark passes the CommonMark spec\'s suite of over 500 conformance tests. - Standardization: Since there is a spec and a comprehensive suite of tests, we can have a high degree of confidence that any two CommonMark implementations will behave the same. Thus, for example, one could use this library for server-side rendering and <http://github.com/jgm/commonmark.js commonmark.js> for client-side previewing. - Ease of installation: cmark is portable and has minimal dependencies. cmark does not provide Haskell versions of the whole <http://github.com/jgm/cmark libcmark> API, which is built around mutable @cmark_node@ objects. Instead, it provides functions for converting CommonMark to HTML (and other formats), and a function for converting CommonMark to a @Node@ tree that can be processed further using Haskell. A note on security: This library does not attempt to sanitize HTML output. We recommend using <https://hackage.haskell.org/package/xss-sanitize xss-sanitize> to filter the output. A note on stability: There is a good chance the API will change significantly after this early release. </longdescription> </pkgmetadata> 1.1 dev-haskell/cmark/cmark-0.3.4.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/cmark/cmark-0.3.4.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/cmark/cmark-0.3.4.ebuild?rev=1.1&content-type=text/plain Index: cmark-0.3.4.ebuild =================================================================== # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/cmark/cmark-0.3.4.ebuild,v 1.1 2015/07/20 18:10:21 slyfox Exp $ EAPI=5 # ebuild generated by hackport 0.4.5.9999 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/commonmark-hs" SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND=">=dev-haskell/text-1.0:=[profile?] <dev-haskell/text-1.3:=[profile?] >=dev-lang/ghc-7.4.1:= " DEPEND="${RDEPEND} >=dev-haskell/cabal-1.14 test? ( >=dev-haskell/hunit-1.2 <dev-haskell/hunit-1.3 ) " 1.1 dev-haskell/cmark/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/cmark/ChangeLog?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/cmark/ChangeLog?rev=1.1&content-type=text/plain Index: ChangeLog =================================================================== # ChangeLog for dev-haskell/cmark # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/cmark/ChangeLog,v 1.1 2015/07/20 18:10:21 slyfox Exp $ *cmark-0.3.4 (20 Jul 2015) 20 Jul 2015; Sergei Trofimovich <[email protected]> +cmark-0.3.4.ebuild, +metadata.xml: Fast, accurate CommonMark (Markdown) parser and renderer, initial import. A depend for pandoc-1.14.
