diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-haskell/cmark | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-haskell/cmark')
-rw-r--r-- | dev-haskell/cmark/Manifest | 2 | ||||
-rw-r--r-- | dev-haskell/cmark/cmark-0.3.4.ebuild | 27 | ||||
-rw-r--r-- | dev-haskell/cmark/cmark-0.4.0.1.ebuild | 27 | ||||
-rw-r--r-- | dev-haskell/cmark/metadata.xml | 84 |
4 files changed, 140 insertions, 0 deletions
diff --git a/dev-haskell/cmark/Manifest b/dev-haskell/cmark/Manifest new file mode 100644 index 000000000000..52fa78ac6134 --- /dev/null +++ b/dev-haskell/cmark/Manifest @@ -0,0 +1,2 @@ +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 diff --git a/dev-haskell/cmark/cmark-0.3.4.ebuild b/dev-haskell/cmark/cmark-0.3.4.ebuild new file mode 100644 index 000000000000..96f335ee7fb3 --- /dev/null +++ b/dev-haskell/cmark/cmark-0.3.4.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ) +" diff --git a/dev-haskell/cmark/cmark-0.4.0.1.ebuild b/dev-haskell/cmark/cmark-0.4.0.1.ebuild new file mode 100644 index 000000000000..96f335ee7fb3 --- /dev/null +++ b/dev-haskell/cmark/cmark-0.4.0.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ) +" diff --git a/dev-haskell/cmark/metadata.xml b/dev-haskell/cmark/metadata.xml new file mode 100644 index 000000000000..cf9bd43a0113 --- /dev/null +++ b/dev-haskell/cmark/metadata.xml @@ -0,0 +1,84 @@ +<?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> + <upstream> + <remote-id type="github">jgm/commonmark-hs</remote-id> + </upstream> +</pkgmetadata> |