commit: d2d1f8fd11e6d1ad0c0c560f5bb51d91a4ac49ca Author: Jack Todaro <solpeth <AT> posteo <DOT> org> AuthorDate: Thu Dec 17 04:46:31 2020 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Thu Dec 17 07:29:31 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2d1f8fd
dev-haskell/uri-encode: add package at version 1.5.0.5 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Jack Todaro <solpeth <AT> posteo.org> Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> dev-haskell/uri-encode/Manifest | 1 + dev-haskell/uri-encode/metadata.xml | 12 +++++++++ dev-haskell/uri-encode/uri-encode-1.5.0.5.ebuild | 34 ++++++++++++++++++++++++ 3 files changed, 47 insertions(+) diff --git a/dev-haskell/uri-encode/Manifest b/dev-haskell/uri-encode/Manifest new file mode 100644 index 00000000000..e94cba5250e --- /dev/null +++ b/dev-haskell/uri-encode/Manifest @@ -0,0 +1 @@ +DIST uri-encode-1.5.0.5.tar.gz 3447 BLAKE2B cdd8449651a28dfcdd21d0745d928b340aa9d6c13c8ce1b9c9da7d13cc51670df8d35b65f9c82b46649566f67014441f1b8e124b70469a1d2e654551d1726a03 SHA512 1ad0fb5144b93dce50ffaf99a84ba2fe8c05508866fb374d62b75c4a32b58f3c97d7ec30257eec29973ad15fde4e902286e86a41ee36e62b00e00d941e181885 diff --git a/dev-haskell/uri-encode/metadata.xml b/dev-haskell/uri-encode/metadata.xml new file mode 100644 index 00000000000..dd850c2aa12 --- /dev/null +++ b/dev-haskell/uri-encode/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>hask...@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <use> + <flag name="network-uri">Get Network.URI from the network-uri package.</flag> + <flag name="tools">Build executables.</flag> + </use> +</pkgmetadata> diff --git a/dev-haskell/uri-encode/uri-encode-1.5.0.5.ebuild b/dev-haskell/uri-encode/uri-encode-1.5.0.5.ebuild new file mode 100644 index 00000000000..d1b052679fe --- /dev/null +++ b/dev-haskell/uri-encode/uri-encode-1.5.0.5.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# ebuild generated by hackport 0.5.4 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Unicode aware uri-encoding" +HOMEPAGE="https://hackage.haskell.org/package/uri-encode" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="+network-uri tools" + +RDEPEND=">=dev-haskell/text-0.7:=[profile?] <dev-haskell/text-1.3:=[profile?] + >=dev-haskell/utf8-string-0.3:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?] + >=dev-lang/ghc-7.4.1:= + network-uri? ( >=dev-haskell/network-uri-2.6:=[profile?] ) + !network-uri? ( >dev-haskell/network-2.4.1.0:=[profile?] <dev-haskell/network-2.6:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag network-uri network-uri) \ + $(cabal_flag tools tools) +}