summaryrefslogtreecommitdiff
path: root/dev-haskell/uri-encode
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/uri-encode')
-rw-r--r--dev-haskell/uri-encode/Manifest3
-rw-r--r--dev-haskell/uri-encode/metadata.xml12
-rw-r--r--dev-haskell/uri-encode/uri-encode-1.5.0.5.ebuild34
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-haskell/uri-encode/Manifest b/dev-haskell/uri-encode/Manifest
new file mode 100644
index 000000000000..ef25215f9d8b
--- /dev/null
+++ b/dev-haskell/uri-encode/Manifest
@@ -0,0 +1,3 @@
+DIST uri-encode-1.5.0.5.tar.gz 3447 BLAKE2B cdd8449651a28dfcdd21d0745d928b340aa9d6c13c8ce1b9c9da7d13cc51670df8d35b65f9c82b46649566f67014441f1b8e124b70469a1d2e654551d1726a03 SHA512 1ad0fb5144b93dce50ffaf99a84ba2fe8c05508866fb374d62b75c4a32b58f3c97d7ec30257eec29973ad15fde4e902286e86a41ee36e62b00e00d941e181885
+EBUILD uri-encode-1.5.0.5.ebuild 982 BLAKE2B ae848a1e400e5dda4c658bd8c53d4128aa8a2d9c6f034e4ec557f75d672ae421cbeaa6561fcc117d931ab1c71a925270fd4c67217ed658af1775416c911528d9 SHA512 07887918750304441ab046eb52c4ceb58c777bd86d00cc55c77aa97b3371dca42d6a983a932f7a09bb95bf543882ffc433caa1cdac9beb9eb0b3760372472d4c
+MISC metadata.xml 391 BLAKE2B 047b27d511268e6bd11e93914bf54cf3a451d2ed6e6f5cdb357be2c7981871e27bde40161694c419d7e7fcc38e76c82dd2c4eb544c47996cd54ebd20328c869c SHA512 aa130874716a9568b803e19d14554eed77aca2d248e757876487bce54a32135336f7c4e5bd965d89a60086216224a9154a4081a376ab4e9f0528953752b21f52
diff --git a/dev-haskell/uri-encode/metadata.xml b/dev-haskell/uri-encode/metadata.xml
new file mode 100644
index 000000000000..dd850c2aa122
--- /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>haskell@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 000000000000..d1b052679fe3
--- /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)
+}