diff options
Diffstat (limited to 'dev-haskell/snap-core')
-rw-r--r-- | dev-haskell/snap-core/Manifest | 7 | ||||
-rw-r--r-- | dev-haskell/snap-core/metadata.xml | 47 | ||||
-rw-r--r-- | dev-haskell/snap-core/snap-core-0.9.8.0.ebuild | 57 | ||||
-rw-r--r-- | dev-haskell/snap-core/snap-core-1.0.1.0.ebuild | 55 |
4 files changed, 166 insertions, 0 deletions
diff --git a/dev-haskell/snap-core/Manifest b/dev-haskell/snap-core/Manifest new file mode 100644 index 000000000000..9ef729ee1408 --- /dev/null +++ b/dev-haskell/snap-core/Manifest @@ -0,0 +1,7 @@ +DIST snap-core-0.9.8.0.tar.gz 91610 SHA256 47310fcd9c347883f5985c27c1fbcfac8c5783472a01afcc720bcc850622d2db SHA512 8bf98590294b3f8752255612b90378f19cec14067f2eaddab496cee5fddb4b8be954aada5a7831b81611d7ffc04d74156eb8fdb5d3c5f45e30259c7f86605585 WHIRLPOOL eb7de86ea6771811f310baf6b915fb387b2e4a00a86d3c4dd58e97e504688b435d42ccffb80e357d3d7a2065958998f628b50db139968f2944502ba1f3d8de0a +DIST snap-core-1.0.1.0.tar.gz 139670 SHA256 f5d2a8b690e77b03626e7bd1856011fc2a13b286939176bde7b61c064aafa37c SHA512 ed862530f235adca6f193c96d45b31705534089c58637bf8d0d9d8cd898db8f25494990e210151adc737c34e3cc59f5e0a47cc6b1e638dae9104e991e27dbe8b WHIRLPOOL cc4d328503cd3db8780580fa2f1d2dab807a263a40688bd438041f6871bda05ae73ff4f51b5c65f364a4cb5bc57b879c16ac381165a01e05c42b002252cb12ef +EBUILD snap-core-0.9.8.0.ebuild 2583 SHA256 0cb6c4b3cf3bd4c55d60a34ef2b5345b09f860deef95ee325d03abe1e2fd9634 SHA512 64daa778afd91fefe627b1cad171a1feedc045ad1d0e9c08a061aa57ba89ba1bfe5ee05923870056dd5e2fac62aa7428c78b27f70999c7b12f89a2ebf787ae96 WHIRLPOOL e8a551131b459cad3d729822fb900a9f880d76f32579e18beec2ab2aaecb9006c784d9885522dfbcccc83f89c23de2544f74d90c595588da747105ff4dddf1e9 +EBUILD snap-core-1.0.1.0.ebuild 2677 SHA256 240d55ffba5d0e5e8adc1a852c0e4aefcfed7d90b4f12bdc09e8835f1e1293a0 SHA512 f9e0ff4f1e06c677bcb04f5454ad335d96fe0e8e293a6493e7741401607826fcda7d1b718ccc3149d4fe6df358b65a413038b328cde140574c03b9a41662ac57 WHIRLPOOL c1366554e7d613fb272328ec62f834c40ad57b479259a60b480cf16d867e992a508016e6821028390229df8f52dea6788935253d233a2572652ebb96337ae355 +MISC ChangeLog 3418 SHA256 50aa7d140836cd176553b53c6a97028c87aadd1c91644edcf660a26c1875d53f SHA512 8a38ae551b746335ef5ffc6865cd2b46898523248d487d5e9cb36a8e0161fcf04d7ae4fc035fdf54796a853fd5177d2bb4538cb6c3148a5fa173aec03709d181 WHIRLPOOL 05798be77396d0bf480d5bcfe9bfa4324fcc5db859a8a4e5f3248970ee7b4316aa7562e4e9b8af55aeabb2df55f14c802cb347c5ad5775e1f81c06128b252800 +MISC ChangeLog-2015 1474 SHA256 9102212948e86d6d5da9c165ee8b45614d629edfc624d27f2778491f92769cf6 SHA512 63e9f3b7da577539fa843cfedc0582084c41d3f53d1998495ee33bc4937a52c2a20a9c3ed944c835780b06d48d8f11e2448fd15f7546126d15096cfa7f1451bf WHIRLPOOL b390d9a0888cdc1758f94a8c9df8d1274c6e983f8c1049dcf6cf8eaa7c3ee15dc53089eb69dfb98d4850797d444713cd35ecdef6264605ca9218430a010578d5 +MISC metadata.xml 1855 SHA256 a5422f8bc87b9b7e89b1c7442febd84f6689d2906a3257e4968e2711fc1be6c6 SHA512 f497be0430344459a95055207a06f9b9b2b33c6a0edc2cff99ad89051a5d8f615258aaf94234689d4443a6d30e0c4a6df1dadeba2fe142b1f0c324932691e66f WHIRLPOOL bd81bb32556b9352fd1ef335c2b278ed4bb61e25da9521f3c0563f670e93f35b8e483deb68e9ee06f8eebf67280b040f005735d1c18af14355f41f2d512d5145 diff --git a/dev-haskell/snap-core/metadata.xml b/dev-haskell/snap-core/metadata.xml new file mode 100644 index 000000000000..f00884306e68 --- /dev/null +++ b/dev-haskell/snap-core/metadata.xml @@ -0,0 +1,47 @@ +<?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="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 <http://snapframework.com/>. + + This library contains the core definitions and types for the Snap framework, + including: + + 1. Primitive types and functions for HTTP (requests, responses, cookies, + post/query parameters, etc) + + 2. Type aliases and helper functions for Iteratee I/O + + 3. A monad for programming web handlers called \"Snap\", inspired by + happstack's (<http://happstack.com/index.html>), which allows: + + * Stateful access to the HTTP request and response objects + + * Monadic failure (i.e. MonadPlus/Alternative instances) for declining + to handle requests and chaining handlers together + + * Early termination of the computation if you know early what you want + to return and want to prevent further monadic processing + + /Quick start/: The 'Snap' monad and HTTP definitions are in "Snap.Core", + some iteratee utilities are in "Snap.Iteratee". + + 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-core/snap-core-0.9.8.0.ebuild b/dev-haskell/snap-core/snap-core-0.9.8.0.ebuild new file mode 100644 index 000000000000..ed5746eb2b61 --- /dev/null +++ b/dev-haskell/snap-core/snap-core-0.9.8.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.6.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Snap: A Haskell Web Framework (core interfaces and types)" +HOMEPAGE="http://snapframework.com/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="amd64 x86" +IUSE="debug 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:=[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/hunit-1.2:=[profile?] <dev-haskell/hunit-2:=[profile?] + >=dev-haskell/monadcatchio-transformers-0.2.1:=[profile?] <dev-haskell/monadcatchio-transformers-0.4:=[profile?] + >=dev-haskell/mtl-2.0:=[profile?] <dev-haskell/mtl-2.3:=[profile?] + >=dev-haskell/random-1:=[profile?] <dev-haskell/random-2:=[profile?] + >=dev-haskell/regex-posix-0.95:=[profile?] <dev-haskell/regex-posix-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/unordered-containers-0.1.4.3:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/vector-0.6:=[profile?] <dev-haskell/vector-0.12:=[profile?] + >=dev-haskell/zlib-enum-0.2.1:=[profile?] <dev-haskell/zlib-enum-0.3:=[profile?] + >=dev-lang/ghc-7.4.1:= + >=dev-haskell/hashable-1.1:=[profile?] <dev-haskell/hashable-1.3:=[profile?] + portable? ( >=dev-haskell/time-locale-compat-0.1:=[profile?] <dev-haskell/time-locale-compat-0.2:=[profile?] ) + !portable? ( >=dev-haskell/bytestring-mmap-0.2.2:=[profile?] <dev-haskell/bytestring-mmap-0.3:=[profile?] + >=dev-haskell/old-locale-1:=[profile?] <dev-haskell/old-locale-2:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 +" + +src_prepare() { + default + + cabal_chdeps \ + 'time >= 1.0 && < 1.6' 'time >= 1.0' +} + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag debug debug) \ + $(cabal_flag portable portable) +} diff --git a/dev-haskell/snap-core/snap-core-1.0.1.0.ebuild b/dev-haskell/snap-core/snap-core-1.0.1.0.ebuild new file mode 100644 index 000000000000..c34b212ca497 --- /dev/null +++ b/dev-haskell/snap-core/snap-core-1.0.1.0.ebuild @@ -0,0 +1,55 @@ +# 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="Snap: A Haskell Web Framework (core interfaces and types)" +HOMEPAGE="http://snapframework.com/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="amd64 x86" +IUSE="debug portable" + +RDEPEND=">=dev-haskell/attoparsec-0.12:=[profile?] <dev-haskell/attoparsec-0.14:=[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/hunit-1.2:=[profile?] <dev-haskell/hunit-2:=[profile?] + >=dev-haskell/io-streams-1.3:=[profile?] <dev-haskell/io-streams-1.4:=[profile?] + >=dev-haskell/lifted-base-0.1:=[profile?] <dev-haskell/lifted-base-0.3:=[profile?] + >=dev-haskell/monad-control-1.0:=[profile?] <dev-haskell/monad-control-1.1:=[profile?] + >=dev-haskell/mtl-2.0:=[profile?] <dev-haskell/mtl-2.3:=[profile?] + >=dev-haskell/random-1:=[profile?] <dev-haskell/random-2:=[profile?] + >=dev-haskell/readable-0.1:=[profile?] <dev-haskell/readable-0.4:=[profile?] + >=dev-haskell/regex-posix-0.95:=[profile?] <dev-haskell/regex-posix-1:=[profile?] + >=dev-haskell/text-0.11:=[profile?] <dev-haskell/text-1.3:=[profile?] + >=dev-haskell/transformers-base-0.4:=[profile?] <dev-haskell/transformers-base-0.5:=[profile?] + >=dev-haskell/unix-compat-0.3:=[profile?] <dev-haskell/unix-compat-0.5:=[profile?] + >=dev-haskell/unordered-containers-0.1.4.3:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/vector-0.6:=[profile?] <dev-haskell/vector-0.12:=[profile?] + >=dev-lang/ghc-7.8.2:= + portable? ( >=dev-haskell/time-locale-compat-0.1:=[profile?] <dev-haskell/time-locale-compat-0.2:=[profile?] ) + !portable? ( >=dev-haskell/old-locale-1:=[profile?] <dev-haskell/old-locale-2:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.18.1.3 + test? ( dev-haskell/hashable + >=dev-haskell/parallel-3 <dev-haskell/parallel-4 + >=dev-haskell/quickcheck-2.3.0.2 <dev-haskell/quickcheck-3 + >=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/zlib-0.5 <dev-haskell/zlib-0.7 ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag debug debug) \ + $(cabal_flag portable portable) +} |