summaryrefslogtreecommitdiff
path: root/dev-haskell/snap-server
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/snap-server
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/snap-server')
-rw-r--r--dev-haskell/snap-server/Manifest5
-rw-r--r--dev-haskell/snap-server/metadata.xml32
-rw-r--r--dev-haskell/snap-server/snap-server-0.9.5.1-r1.ebuild50
-rw-r--r--dev-haskell/snap-server/snap-server-1.0.1.1.ebuild70
4 files changed, 157 insertions, 0 deletions
diff --git a/dev-haskell/snap-server/Manifest b/dev-haskell/snap-server/Manifest
new file mode 100644
index 000000000000..a158b6262f14
--- /dev/null
+++ b/dev-haskell/snap-server/Manifest
@@ -0,0 +1,5 @@
+DIST snap-server-0.9.5.1.tar.gz 59062 BLAKE2B 395796da3eb41a16c0c4e0f0118dbba31d75f78f1a31c4bfab70920c83b4d7e807be8fccd7619713aac48446c912ea988881f2c0aff138552a35e737f44ea70d SHA512 6320401c349fd7c376e798959274a9fb3aff49cf11c8b6d9edd513c6311c3daf23eeaf03087cda3c0afb11686203a422b0e36e8391d418b6b47e791505db50e3
+DIST snap-server-1.0.1.1.tar.gz 73893 BLAKE2B 35b907d285c099059ec5d1f288252a5e4086d20cf0c81f6992e4d0977340474e2123e8c48cc416c9483f4dcc919a0acd37a73f286f8db84aec546e36912ac422 SHA512 bf3496123c07432cefedc6b03de5f335bb9b3a1e917bac45c0ee6b8d7529a3013d19d21433ce02d3f3caa2091abf0a4415b974470317804d70dfb8c9d46b33bd
+EBUILD snap-server-0.9.5.1-r1.ebuild 2121 BLAKE2B 40af9a6b1617bac3cc399edd768e1536c99ef9f9d616aca72ce69e42a34f0ddf7368ac0e4cee62f8aa280f097f5930050ea4c4d6ff6124ee6596561f18af9bd3 SHA512 0e5fe7f136b8ad71320978768445c6914fd84220cc33ba93560e7ffc02c31ca0a897c717674479483e196e9d3a2ae0020360a7ed128c86f127dc557f97cd6fbd
+EBUILD snap-server-1.0.1.1.ebuild 3300 BLAKE2B ec1ed4d092f48e61e7f2ade66530b5a730da8f51c9861af59af9697a258450fa9b745104f2471776f842bf16d4c16d9f789d3e380003a28ab65983472df468d1 SHA512 2da192e11849e8bd066b248e934191f0886c898d31451d11c7de285441efc7afc0b546bfcf0eb5726de65c3938db1ffe5e63aa0208ca3463c4c690fa925dbc5c
+MISC metadata.xml 1427 BLAKE2B d190025f7b08e754a96fc40656ea5669e0a15bee559e5d8d8b88ea25ebc4b195e055b7779c42d5aeb8be3ce878031c0e16912e75755eeaa5c37366c6304dd180 SHA512 b94a8124fae8c073c4dfa2e8d629b547077d6d09eb9e7cf17faa038274125b17fe217b065e5c5ec78087abbdfea1219c3d45bbbc30e3fd2ebbe60c3e53cd3d81
diff --git a/dev-haskell/snap-server/metadata.xml b/dev-haskell/snap-server/metadata.xml
new file mode 100644
index 000000000000..ebe4d9a5fb29
--- /dev/null
+++ b/dev-haskell/snap-server/metadata.xml
@@ -0,0 +1,32 @@
+<?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="build-pong">Build a server that just returns "PONG"</flag>
+ <flag name="openssl">enable https support using <pkg>dev-haskell/hsopenssl</pkg></flag>
+ <flag name="portable">no non-haskell unportable code.</flag>
+ </use>
+ <longdescription>
+ Snap is a simple and fast web development framework and server written in
+ Haskell. For more information or to download the latest version, you can
+ visit the Snap project website at &lt;http://snapframework.com/&gt;.
+
+ The Snap HTTP server is a high performance, epoll-enabled, iteratee-based web
+ server library written in Haskell. Together with the @snap-core@ library upon
+ which it depends, it provides a clean and efficient Haskell programming
+ interface to the HTTP protocol.
+
+ Higher-level facilities for building web applications (like user/session
+ management, component interfaces, data modeling, etc.) are planned but not
+ yet implemented, so this release will mostly be of interest for those who:
+
+ * need a fast and minimal HTTP API at roughly the same level of abstraction
+ as Java servlets, or
+
+ * are interested in contributing to the Snap Framework project.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-haskell/snap-server/snap-server-0.9.5.1-r1.ebuild b/dev-haskell/snap-server/snap-server-0.9.5.1-r1.ebuild
new file mode 100644
index 000000000000..26400139a1c7
--- /dev/null
+++ b/dev-haskell/snap-server/snap-server-0.9.5.1-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.5.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="A fast, iteratee-based, epoll-enabled web server for the Snap Framework"
+HOMEPAGE="http://snapframework.com/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="amd64 x86"
+IUSE="openssl portable"
+
+RDEPEND=">=dev-haskell/attoparsec-0.10:=[profile?] <dev-haskell/attoparsec-0.14:=[profile?]
+ >=dev-haskell/attoparsec-enumerator-0.3:=[profile?] <dev-haskell/attoparsec-enumerator-0.4:=[profile?]
+ >=dev-haskell/blaze-builder-0.2.1.4:=[profile?] <dev-haskell/blaze-builder-0.5:=[profile?]
+ >=dev-haskell/blaze-builder-enumerator-0.2.0:=[profile?] <dev-haskell/blaze-builder-enumerator-0.3:=[profile?]
+ >=dev-haskell/case-insensitive-0.3:=[profile?] <dev-haskell/case-insensitive-1.3:=[profile?]
+ >=dev-haskell/enumerator-0.4.15:=[profile?] <dev-haskell/enumerator-0.5:=[profile?]
+ >=dev-haskell/monadcatchio-transformers-0.2.1:=[profile?] <dev-haskell/monadcatchio-transformers-0.4:=[profile?]
+ >=dev-haskell/mtl-2:=[profile?] <dev-haskell/mtl-3:=[profile?]
+ >=dev-haskell/network-2.3:=[profile?] <dev-haskell/network-2.7:=[profile?]
+ dev-haskell/old-locale:=[profile?]
+ >=dev-haskell/snap-core-0.9.3:=[profile?] <dev-haskell/snap-core-0.10:=[profile?]
+ >=dev-haskell/text-0.11:=[profile?] <dev-haskell/text-1.3:=[profile?]
+ >=dev-haskell/unix-compat-0.2:=[profile?] <dev-haskell/unix-compat-0.5:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ openssl? ( >=dev-haskell/hsopenssl-0.10:=[profile?] <dev-haskell/hsopenssl-0.12:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+"
+
+src_prepare() {
+ cabal_chdeps \
+ 'attoparsec >= 0.10 && < 0.13' 'attoparsec >= 0.10 && < 0.14' \
+ 'time >= 1.0 && < 1.6' 'time >= 1.0'
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag openssl openssl) \
+ $(cabal_flag portable portable)
+}
diff --git a/dev-haskell/snap-server/snap-server-1.0.1.1.ebuild b/dev-haskell/snap-server/snap-server-1.0.1.1.ebuild
new file mode 100644
index 000000000000..53647cff47d8
--- /dev/null
+++ b/dev-haskell/snap-server/snap-server-1.0.1.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="A web server for the Snap Framework"
+HOMEPAGE="http://snapframework.com/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="amd64 x86"
+IUSE="build-pong debug openssl portable"
+
+RDEPEND=">=dev-haskell/attoparsec-0.12:=[profile?] <dev-haskell/attoparsec-0.14:=[profile?]
+ >=dev-haskell/blaze-builder-0.4:=[profile?] <dev-haskell/blaze-builder-0.5:=[profile?]
+ >=dev-haskell/bytestring-builder-0.10.4:=[profile?] <dev-haskell/bytestring-builder-0.11:=[profile?]
+ >=dev-haskell/case-insensitive-1.1:=[profile?] <dev-haskell/case-insensitive-1.3:=[profile?]
+ >=dev-haskell/clock-0.7.1:=[profile?] <dev-haskell/clock-0.8:=[profile?]
+ >=dev-haskell/io-streams-1.3:=[profile?] <dev-haskell/io-streams-1.4:=[profile?]
+ >=dev-haskell/io-streams-haproxy-1.0:=[profile?] <dev-haskell/io-streams-haproxy-1.1:=[profile?]
+ >=dev-haskell/lifted-base-0.1:=[profile?] <dev-haskell/lifted-base-0.3:=[profile?]
+ >=dev-haskell/mtl-2.0:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
+ >=dev-haskell/network-2.3:=[profile?] <dev-haskell/network-2.7:=[profile?]
+ >=dev-haskell/old-locale-1.0:=[profile?] <dev-haskell/old-locale-1.1:=[profile?]
+ >=dev-haskell/snap-core-1.0:=[profile?] <dev-haskell/snap-core-1.1:=[profile?]
+ >=dev-haskell/text-0.11:=[profile?] <dev-haskell/text-1.3:=[profile?]
+ >=dev-haskell/unix-compat-0.2:=[profile?] <dev-haskell/unix-compat-0.5:=[profile?]
+ >=dev-haskell/vector-0.7:=[profile?] <dev-haskell/vector-0.12:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ openssl? ( >=dev-haskell/hsopenssl-0.10.4:=[profile?] <dev-haskell/hsopenssl-0.12:=[profile?]
+ >=dev-haskell/openssl-streams-1.1:=[profile?] <dev-haskell/openssl-streams-1.3:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.10
+ test? ( >=dev-haskell/base16-bytestring-0.1 <dev-haskell/base16-bytestring-0.2
+ >=dev-haskell/http-common-0.7 <dev-haskell/http-common-0.9
+ >=dev-haskell/http-streams-0.7 <dev-haskell/http-streams-0.9
+ >=dev-haskell/hunit-1.2 <dev-haskell/hunit-2
+ >=dev-haskell/monad-control-1.0 <dev-haskell/monad-control-1.1
+ >=dev-haskell/parallel-3 <dev-haskell/parallel-4
+ >=dev-haskell/quickcheck-2.3.0.2 <dev-haskell/quickcheck-3
+ >=dev-haskell/random-1.0 <dev-haskell/random-1.2
+ >=dev-haskell/test-framework-0.8.0.3 <dev-haskell/test-framework-0.9
+ >=dev-haskell/test-framework-hunit-0.2.7 <dev-haskell/test-framework-hunit-0.4
+ >=dev-haskell/test-framework-quickcheck2-0.2.12.1 <dev-haskell/test-framework-quickcheck2-0.4
+ >=dev-haskell/threads-0.5 <dev-haskell/threads-0.6
+ >=dev-haskell/transformers-0.3 <dev-haskell/transformers-0.6 )
+"
+
+src_prepare() {
+ default
+
+ cabal_chdeps \
+ 'directory >= 1.0 && < 1.3' 'directory >= 1.0' \
+ 'directory >= 1.1 && < 1.3' 'directory >= 1.1'
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag build-pong build-pong) \
+ $(cabal_flag debug debug) \
+ $(cabal_flag openssl openssl) \
+ $(cabal_flag portable portable)
+}