diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-23 02:48:52 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-23 02:48:52 +0100 |
commit | fd70f5e3ed54d5e013c11a3f3e632e80838171d0 (patch) | |
tree | c6bf0dac8239e644ccc09b184e4eb9cca9701dcf /dev-haskell/unicode-collation | |
parent | 5deadca7219297a3c1f90eca00544a00e33efdbc (diff) |
gentoo auto-resync : 23:07:2022 - 02:48:51
Diffstat (limited to 'dev-haskell/unicode-collation')
-rw-r--r-- | dev-haskell/unicode-collation/Manifest | 3 | ||||
-rw-r--r-- | dev-haskell/unicode-collation/metadata.xml | 13 | ||||
-rw-r--r-- | dev-haskell/unicode-collation/unicode-collation-0.1.3.1.ebuild | 44 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-haskell/unicode-collation/Manifest b/dev-haskell/unicode-collation/Manifest new file mode 100644 index 000000000000..4d7493e32a18 --- /dev/null +++ b/dev-haskell/unicode-collation/Manifest @@ -0,0 +1,3 @@ +DIST unicode-collation-0.1.3.1.tar.gz 2057181 BLAKE2B dde95fbf322a2a9100e8c3a462744006e5e1c2934f0e99c410e311256bf22a0898a7a04960284ba5f801ebfbb3d7465eeedb8ba3a6545cd991b9ee4dd00270a5 SHA512 7c8de0e1c3053bdea7f4007fd7711d5d18fd2f19ddd78ffc3d51cab3ee34623faa51d45ea8408b3e079741bfed9bc453ecc89cc2e20f479280d3646f0f1ecc44 +EBUILD unicode-collation-0.1.3.1.ebuild 1140 BLAKE2B a8ee743c7fb5228379570c1744115ad269f8491d36f14a3a2bd62cefb4f0bd3f36fc8c8249c76b1b7e60937ba6c356068ff5e0b160131754a297bf15b8c6f865 SHA512 4933ba8cf08e9bc245d4f832bae36cd6abcc19641b4624a58dc18caa5aae59d7f7a350d5d03ae0b56b5c43d2a6afdeb094165b2e99c577a9ffd73c702daf81db +MISC metadata.xml 452 BLAKE2B 5bc05a79ad06914b05e76801cd3d292a4de2748fa74b687b23a4ad4a80f2b16dff56382f691e290811049ab60eea6a6eb521b4b021a600b6ce433aa89a21ab89 SHA512 ab8a79286f1694e305fda98e2180dc0986bf8c625522f7b12f75a0c8e358f077f935e9cba91e5abdead06ec98844b0ed43f7b0a935b5bb3ec233e95470865777 diff --git a/dev-haskell/unicode-collation/metadata.xml b/dev-haskell/unicode-collation/metadata.xml new file mode 100644 index 000000000000..b56fa0d86341 --- /dev/null +++ b/dev-haskell/unicode-collation/metadata.xml @@ -0,0 +1,13 @@ +<?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="doctests">Run doctests as part of test suite. +Use with: @--write-ghc-environment-files=always@.</flag> + <flag name="executable">Build the unicode-collate executable.</flag> + </use> +</pkgmetadata> diff --git a/dev-haskell/unicode-collation/unicode-collation-0.1.3.1.ebuild b/dev-haskell/unicode-collation/unicode-collation-0.1.3.1.ebuild new file mode 100644 index 000000000000..088b4ed2a90e --- /dev/null +++ b/dev-haskell/unicode-collation/unicode-collation-0.1.3.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.7.1.1.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Haskell implementation of the Unicode Collation Algorithm" +HOMEPAGE="https://github.com/jgm/unicode-collation" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="doctests executable" + +RDEPEND="dev-haskell/parsec:=[profile?] + >=dev-haskell/text-1.2:=[profile?] <dev-haskell/text-2.1:=[profile?] + dev-haskell/th-lift-instances:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( dev-haskell/tasty + dev-haskell/tasty-hunit + dev-haskell/tasty-quickcheck + >=dev-haskell/unicode-transforms-0.3.7.1 + doctests? ( >=dev-haskell/doctest-0.8 ) ) +" + +src_prepare() { + default + cabal_chdeps \ + 'text >= 1.2 && < 1.3' 'text >= 1.2 && < 2.1' +} + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag doctests doctests) \ + $(cabal_flag executable executable) +} |