diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-09-12 21:40:26 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-09-12 22:12:39 +0100 |
commit | 2b5ceeedff31499a29406d07699b03774b9229f7 (patch) | |
tree | 7faeb460807dc0f44843b1df9945f9fd65d17163 /dev-haskell/hpack | |
parent | dev-haskell/hourglass: drop old (diff) | |
download | gentoo-2b5ceeedff31499a29406d07699b03774b9229f7.tar.gz gentoo-2b5ceeedff31499a29406d07699b03774b9229f7.tar.bz2 gentoo-2b5ceeedff31499a29406d07699b03774b9229f7.zip |
dev-haskell/hpack: drop old
Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/hpack')
-rw-r--r-- | dev-haskell/hpack/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/hpack/files/hpack-0.14.1-aeson-1.patch | 24 | ||||
-rw-r--r-- | dev-haskell/hpack/hpack-0.14.1.ebuild | 39 |
3 files changed, 0 insertions, 64 deletions
diff --git a/dev-haskell/hpack/Manifest b/dev-haskell/hpack/Manifest index fffe72baea40..052dde252cfe 100644 --- a/dev-haskell/hpack/Manifest +++ b/dev-haskell/hpack/Manifest @@ -1,2 +1 @@ -DIST hpack-0.14.1.tar.gz 38373 BLAKE2B d5c3b900e3e2fd852081934f4a7b4a327f4647608ceecf76ac65faf4e464bed7428e4b444f7b06f8a0e7661458e1817aedaaa2ea2dd8161a362be9f596f7f0be SHA512 5bd7b5335aef1a3d866c07937e457397c82235c99b578b6270b699895b9a5d39259eef324e6741af9a6e296bfe56587fc9888dc0fc2e4bd6fe99bbc74a7e0b04 DIST hpack-0.33.0.tar.gz 60260 BLAKE2B 555178af9cc84e8c0dcf55890908933c9d17d3c7d45d3ec0d309a4e561bf4ea2eb7fbacae7cff232215de59dad3e36734d03f0d574c28d891bdb5c68c1113b45 SHA512 8d70bea1c18e9a26fe137f6e20fec4af28dff6ebc50981d2f57ad9a8e0b9574ff158adb5ba16597b6a5f0e4d843c09fee57dd82407dc1383b1e07453b64d010b diff --git a/dev-haskell/hpack/files/hpack-0.14.1-aeson-1.patch b/dev-haskell/hpack/files/hpack-0.14.1-aeson-1.patch deleted file mode 100644 index a4b3fd1f4b6a..000000000000 --- a/dev-haskell/hpack/files/hpack-0.14.1-aeson-1.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/src/Hpack/Config.hs b/src/Hpack/Config.hs -index cb84f71..5566b8c 100644 ---- a/src/Hpack/Config.hs -+++ b/src/Hpack/Config.hs -@@ -101,3 +101,9 @@ githubBaseUrl = "https://github.com/" - --genericParseJSON_ :: forall a. (Generic a, GFromJSON (Rep a), HasTypeName a) => Value -> Parser a -+#if MIN_VERSION_aeson(1,0,0) -+# define AESON_ARITY Zero -+#else -+# define AESON_ARITY -+#endif -+ -+genericParseJSON_ :: forall a. (Generic a, GFromJSON AESON_ARITY (Rep a), HasTypeName a) => Value -> Parser a - genericParseJSON_ = genericParseJSON defaultOptions {fieldLabelModifier = hyphenize name} -diff --git a/test/Hpack/ConfigSpec.hs b/test/Hpack/ConfigSpec.hs -index 320ba9a..d13d932 100644 ---- a/test/Hpack/ConfigSpec.hs -+++ b/test/Hpack/ConfigSpec.hs -@@ -971,3 +971,3 @@ spec = do - |] -- readPackageConfig file `shouldReturn` Left (file ++ ": Error in $.executables.foo: failed to parse field executables: The key \"main\" was not found") -+ readPackageConfig file `shouldReturn` Left (file ++ ": Error in $.executables.foo: key \"main\" not present") - diff --git a/dev-haskell/hpack/hpack-0.14.1.ebuild b/dev-haskell/hpack/hpack-0.14.1.ebuild deleted file mode 100644 index cb1770d7b30a..000000000000 --- a/dev-haskell/hpack/hpack-0.14.1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -# ebuild generated by hackport 0.5.9999 - -CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" -inherit haskell-cabal - -DESCRIPTION="An alternative format for Haskell packages" -HOMEPAGE="https://github.com/sol/hpack#readme" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=">=dev-haskell/aeson-0.8:=[profile?] - >=dev-haskell/base-compat-0.8:=[profile?] - dev-haskell/glob:=[profile?] - dev-haskell/text:=[profile?] - dev-haskell/unordered-containers:=[profile?] - dev-haskell/yaml:=[profile?] - >=dev-lang/ghc-7.8.2:= -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.18.1.3 - test? ( >=dev-haskell/aeson-0.10 - dev-haskell/aeson-qq - >=dev-haskell/hspec-2 <dev-haskell/hspec-3 - dev-haskell/interpolate - >=dev-haskell/mockery-0.3 - dev-haskell/quickcheck - dev-haskell/temporary ) -" - -PATCHES=("${FILESDIR}"/${P}-aeson-1.patch) |