diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/rfc5051 | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/rfc5051')
-rw-r--r-- | dev-haskell/rfc5051/Manifest | 3 | ||||
-rw-r--r-- | dev-haskell/rfc5051/metadata.xml | 27 | ||||
-rw-r--r-- | dev-haskell/rfc5051/rfc5051-0.1.0.3.ebuild | 29 |
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-haskell/rfc5051/Manifest b/dev-haskell/rfc5051/Manifest new file mode 100644 index 000000000000..ec7309250927 --- /dev/null +++ b/dev-haskell/rfc5051/Manifest @@ -0,0 +1,3 @@ +DIST rfc5051-0.1.0.3.tar.gz 217935 BLAKE2B 0957fd189a5d9560a790f9c8bc9ef7d6c839dcd2111471195c8b89ef1efbb448084b03498889e724095b5b0760138493a74d80026a478d0ba3a49cffa95be9a3 SHA512 aef601b6e42c3f4238e77452ef302f155ba7bc815d35cf680e2f260ce337644652ee4ac77ea03696a91563faaabd7c124b95a4c16661dd104ddc85be7d9dffa0 +EBUILD rfc5051-0.1.0.3.ebuild 669 BLAKE2B b82cc7344f92b3e5b9dd7596188dfb454ce79a4f38669e90c980dac9bcefd49d70eee5759f2f3ee9bf435bdf0b97075f3ff14b0bcf8ad0dc75a13b3313be3067 SHA512 ce71f3954cffd027a5ea1616e34282f40d40da0dd3c96b58b4230147f4c796d6ece295c33cd847ebfb224892b843bec759967ff4b4c054b627067e4b32473c78 +MISC metadata.xml 1087 BLAKE2B 57013de7ce27e188dd9392253d1db57f06ca2272a37a5ef2baa994c68c934dddabfb565f934681fa8e89be1e23d4b2de04ff242a90dee2bfaa73f4624ec50aa1 SHA512 31c69582d90831400266f9315c7ec3a6b00fad9ef76324d7ccf00af507fef5c4e13bd0047b997f7c84320ae9e083395167ee5c525adddc165fb18f5222ee58f1 diff --git a/dev-haskell/rfc5051/metadata.xml b/dev-haskell/rfc5051/metadata.xml new file mode 100644 index 000000000000..1f536000f3b9 --- /dev/null +++ b/dev-haskell/rfc5051/metadata.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <use> + <flag name="mkunicodedata">build codes generator itself</flag> + </use> + <longdescription> + 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@ + </longdescription> +</pkgmetadata> 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..6473d8f22183 --- /dev/null +++ b/dev-haskell/rfc5051/rfc5051-0.1.0.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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) +} |