From 6c691330667b17ba3cab69162d5551d3ad0c87c1 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 20 Nov 2013 14:24:00 +0000 Subject: Initial commit. Simple unicode collation as per RFC5051. (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA) --- dev-haskell/rfc5051/ChangeLog | 9 +++++++++ dev-haskell/rfc5051/metadata.xml | 27 +++++++++++++++++++++++++++ dev-haskell/rfc5051/rfc5051-0.1.0.3.ebuild | 30 ++++++++++++++++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 dev-haskell/rfc5051/ChangeLog create mode 100644 dev-haskell/rfc5051/metadata.xml create mode 100644 dev-haskell/rfc5051/rfc5051-0.1.0.3.ebuild (limited to 'dev-haskell') diff --git a/dev-haskell/rfc5051/ChangeLog b/dev-haskell/rfc5051/ChangeLog new file mode 100644 index 000000000000..47518cdaa64b --- /dev/null +++ b/dev-haskell/rfc5051/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-haskell/rfc5051 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/rfc5051/ChangeLog,v 1.1 2013/11/20 14:24:00 slyfox Exp $ + +*rfc5051-0.1.0.3 (20 Nov 2013) + + 20 Nov 2013; Sergei Trofimovich +metadata.xml, + +rfc5051-0.1.0.3.ebuild: + Initial commit. Simple unicode collation as per RFC5051. diff --git a/dev-haskell/rfc5051/metadata.xml b/dev-haskell/rfc5051/metadata.xml new file mode 100644 index 000000000000..86296541f069 --- /dev/null +++ b/dev-haskell/rfc5051/metadata.xml @@ -0,0 +1,27 @@ + + + + haskell + + haskell@gentoo.org + + + build codes generator itself + + + This library implements @i;unicode-casemap@, + the simple, non locale-sensitive unicode collation + algorithm described in RFC 5051 (<http://www.rfc-editor.org/rfc/rfc5051.txt>). + Proper unicode collation can be done using text-icu, but that is a big + dependency that depends on a large C library, and rfc5051 might be better + for some purposes. + + Here is a list of strings sorted by the Prelude's @sort@ function: + + @Abe Oeb abe ab&#233; oeb &#193;be &#196;be &#212;eb &#225;be &#228;be &#244;eb@ + + Here is the same list sorted by @sortBy compareUnicode@: + + @Abe abe ab&#233; &#193;be &#225;be &#196;be &#228;be Oeb oeb &#212;eb &#244;eb@ + + diff --git a/dev-haskell/rfc5051/rfc5051-0.1.0.3.ebuild b/dev-haskell/rfc5051/rfc5051-0.1.0.3.ebuild new file mode 100644 index 000000000000..983380c9f798 --- /dev/null +++ b/dev-haskell/rfc5051/rfc5051-0.1.0.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/rfc5051/rfc5051-0.1.0.3.ebuild,v 1.1 2013/11/20 14:24:00 slyfox Exp $ + +EAPI=5 + +# ebuild generated by hackport 0.3.4.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Simple unicode collation as per RFC5051." +HOMEPAGE="http://hackage.haskell.org/package/rfc5051" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="mkunicodedata" + +RDEPEND=">=dev-lang/ghc-7.0.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.10.0.0 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag mkunicodedata mkunicodedata) +} -- cgit v1.2.3-65-gdbad