From cdfbc4da0c4e271069b0529cb735c92b21185e0e Mon Sep 17 00:00:00 2001 From: matoro Date: Sun, 24 Jul 2022 00:43:45 -0400 Subject: [PATCH] dev-haskell/snap-core: add 1.0.5.0, drop 1.0.4.2 Signed-off-by: Sam James --- dev-haskell/snap-core/Manifest | 2 +- dev-haskell/snap-core/metadata.xml | 39 ----------------- ....0.4.2.ebuild => snap-core-1.0.5.0.ebuild} | 43 +++++++++---------- 3 files changed, 22 insertions(+), 62 deletions(-) rename dev-haskell/snap-core/{snap-core-1.0.4.2.ebuild => snap-core-1.0.5.0.ebuild} (64%) diff --git a/dev-haskell/snap-core/Manifest b/dev-haskell/snap-core/Manifest index e8acb9d918981..5a8893d2d3d15 100644 --- a/dev-haskell/snap-core/Manifest +++ b/dev-haskell/snap-core/Manifest @@ -1 +1 @@ -DIST snap-core-1.0.4.2.tar.gz 163146 BLAKE2B 2fc037fa239eed3771c84ede4ed247f34169fb45464f5724e7d770baa0992409eeff4b066a9eaea3cdebf46a9846dd8ac94dab42deb36047bb26654df5642f9b SHA512 42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5 +DIST snap-core-1.0.5.0.tar.gz 163675 BLAKE2B 24cace660bd43093b1f7cd358e79f3df74d5daff62a2e1c754cbb80ea0631560443f69f5d5d892c0609a881b6c943dddcdb6ab3e9e7a8205c37b6c6465df2ce2 SHA512 4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b diff --git a/dev-haskell/snap-core/metadata.xml b/dev-haskell/snap-core/metadata.xml index a31266da8cde5..9373815219443 100644 --- a/dev-haskell/snap-core/metadata.xml +++ b/dev-haskell/snap-core/metadata.xml @@ -5,43 +5,4 @@ haskell@gentoo.org Gentoo Haskell - - No non-haskell unportable code. - - - 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. - diff --git a/dev-haskell/snap-core/snap-core-1.0.4.2.ebuild b/dev-haskell/snap-core/snap-core-1.0.5.0.ebuild similarity index 64% rename from dev-haskell/snap-core/snap-core-1.0.4.2.ebuild rename to dev-haskell/snap-core/snap-core-1.0.5.0.ebuild index 0d7046af4b4e6..c9dddcfd624b9 100644 --- a/dev-haskell/snap-core/snap-core-1.0.4.2.ebuild +++ b/dev-haskell/snap-core/snap-core-1.0.5.0.ebuild @@ -1,53 +1,45 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -# ebuild generated by hackport 0.6.5.9999 -#hackport: flags: +network-uri +# ebuild generated by hackport 0.7.1.1.9999 +#hackport: flags: +network-uri,-portable 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/" +HOMEPAGE="https://snapframework.com/" SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="debug portable" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="debug" -# Fixed in next release: https://github.com/snapframework/snap-core/commit/49a8090d7834a0ef9b438048e96be36e55b2fbf5 -RESTRICT=test # test relied on headers ordering - -RDEPEND=">=dev-haskell/attoparsec-0.12:=[profile?] =dev-haskell/zlib-0.5 = 1.2.0.6 && < 1.4' 'hashable >=1.2.0.6' +} + src_configure() { haskell-cabal_src_configure \ $(cabal_flag debug debug) \ --flag=network-uri \ - $(cabal_flag portable portable) + --flag=-portable }