summaryrefslogtreecommitdiff
path: root/dev-haskell/http-api-data
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-haskell/http-api-data
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-haskell/http-api-data')
-rw-r--r--dev-haskell/http-api-data/Manifest3
-rw-r--r--dev-haskell/http-api-data/http-api-data-0.3.3.ebuild42
-rw-r--r--dev-haskell/http-api-data/metadata.xml14
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-haskell/http-api-data/Manifest b/dev-haskell/http-api-data/Manifest
new file mode 100644
index 000000000000..ece19b55eee7
--- /dev/null
+++ b/dev-haskell/http-api-data/Manifest
@@ -0,0 +1,3 @@
+DIST http-api-data-0.3.3.tar.gz 17668 SHA256 cb3d7ef8a924a6b03481b7c5e26a580df72cbf89f2e8247e825f43f4b3ba8449 SHA512 125240fe0da41ff118937864cc5386d50b58cba98fa9d463202ac73a07b2d530563c3a7c41f81be42f25d99bcfc12ed01dca095a000f0cefc655d8046c3aa00c WHIRLPOOL 63be4395f094cec89457deca263a730097948fb3bff7fc8a4b77f7014053439a0ae64470405df92ce1aa12c67c37bafd059ccf0e73d617589c11e8093db1fd85
+EBUILD http-api-data-0.3.3.ebuild 1316 SHA256 b76e80876bd6122a8cc887bf7255b4e45695dbb1594696ffdeaa197eb6df9d3e SHA512 55d11acc2835eaa3b1bfe70e624b0dab85c05195c99fe2776a6589df90bc6f12628e3b1bb133affb50ebee97a461892279ea7cf84bd3a19773708e633f2ae2ec WHIRLPOOL fcc8bdb8343a2184911c9a91e18236822dbbb1127ece74e2734502e016fe471d6c71d4993a69caed4dd37aa913f69ae86931c220029ce7d6759219685025489f
+MISC metadata.xml 451 SHA256 d2d3347330a84f4533ae01ac26caa790e71db5cb55a179396ee3b59ec7c96d8e SHA512 c1d1bbb22c5eda41eecfd560624513271598fa334ff36eb58fed7aac29e1631296ca2ee53fd05b1157615a0d394dfa8e1dbc23257d4e7f5ce8d0456ebf342a7f WHIRLPOOL 113a6e311d8b9a3c87c7c72248c36c1e07f298acbf424561408c1681842a0179d417523fcce515e6bf1d264f90951524e663bd32ae47002eae2f23ca23da4c90
diff --git a/dev-haskell/http-api-data/http-api-data-0.3.3.ebuild b/dev-haskell/http-api-data/http-api-data-0.3.3.ebuild
new file mode 100644
index 000000000000..de3935c12d39
--- /dev/null
+++ b/dev-haskell/http-api-data/http-api-data-0.3.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.1.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Converting to/from HTTP API data like URL pieces, headers and query parameters"
+HOMEPAGE="https://github.com/fizruk/http-api-data"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="use-text-show"
+
+RDEPEND="dev-haskell/hashable:=[profile?]
+ >=dev-haskell/text-0.5:=[profile?]
+ >=dev-haskell/time-locale-compat-0.1.1.0:=[profile?] <dev-haskell/time-locale-compat-0.2:=[profile?]
+ dev-haskell/unordered-containers:=[profile?]
+ dev-haskell/uri-bytestring:=[profile?]
+ >=dev-haskell/uuid-types-1.0.2:=[profile?] <dev-haskell/uuid-types-1.1:=[profile?]
+ >=dev-lang/ghc-7.6.1:=
+ use-text-show? ( >=dev-haskell/text-show-2:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.16.0
+ test? ( >=dev-haskell/doctest-0.11 <dev-haskell/doctest-0.12
+ >=dev-haskell/hspec-1.3
+ dev-haskell/hunit
+ >=dev-haskell/quickcheck-2.9
+ >=dev-haskell/quickcheck-instances-0.3.12
+ dev-haskell/uuid )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag use-text-show use-text-show)
+}
diff --git a/dev-haskell/http-api-data/metadata.xml b/dev-haskell/http-api-data/metadata.xml
new file mode 100644
index 000000000000..249526e7aece
--- /dev/null
+++ b/dev-haskell/http-api-data/metadata.xml
@@ -0,0 +1,14 @@
+<?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="use-text-show">Use text-show library for efficient ToHttpApiData implementations</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">fizruk/http-api-data</remote-id>
+ </upstream>
+</pkgmetadata>