summaryrefslogtreecommitdiff
path: root/dev-haskell/parsec
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/parsec')
-rw-r--r--dev-haskell/parsec/Manifest7
-rw-r--r--dev-haskell/parsec/metadata.xml12
-rw-r--r--dev-haskell/parsec/parsec-3.1.14.0-r2.ebuild (renamed from dev-haskell/parsec/parsec-3.1.14.0-r1.ebuild)30
-rw-r--r--dev-haskell/parsec/parsec-3.1.15.0-r1.ebuild34
4 files changed, 57 insertions, 26 deletions
diff --git a/dev-haskell/parsec/Manifest b/dev-haskell/parsec/Manifest
index f35e216ac07c..0b84aa42213a 100644
--- a/dev-haskell/parsec/Manifest
+++ b/dev-haskell/parsec/Manifest
@@ -1,3 +1,6 @@
+DIST parsec-3.1.14.0-rev4.cabal 4356 BLAKE2B 6c0d7b4ae6c2adad8e79eee1f90ce51b6451b5929bddbd553e9a58cf4f9c169d48910ed8a6254afec54c096caf473230ce3f5672da60c4c170dcadfe9e1d1120 SHA512 4f5cef855f39497f7c84cb9f033cde9b8326a38a81d6ed1dab310078a935a14f36aa3f660b0ff1ef73333841c603c4a28237e96df1737de70ba9f88df84780c1
DIST parsec-3.1.14.0.tar.gz 35688 BLAKE2B 474b14ff35d332339ce07f09ef22cbbdf971de9d9712848eb1c67b7ea4359e46079b67d39f978755c7560c55baf6d5f0d69a425291644a3ff638139a8bbec3ce SHA512 db14f77a2d36da5e540be35f0facb7fa61f2c46057b98039bdf16c06fe9865d5ee47e3523a312201665ca133f3f93855b42f0d0a920b8e233ffc8274075c56d3
-EBUILD parsec-3.1.14.0-r1.ebuild 1299 BLAKE2B 8473baa826107c813b24f08213b6fa71e9aa4acaa4ac9dbd7a92c571c5f16e37652f31bbeaf628ba2c8052f86b1a702c19ea9c8bfda7397620b393771a4ee3a6 SHA512 21c43a26fb9389ec9d6f447fc1d0607a8bd83a06465f847a93c92e897b5d98317c0d49c160f767c0aac5bf946e4b41865d3587915a4da111383a116ce0dc37ef
-MISC metadata.xml 637 BLAKE2B 8cfd213e06fee18de6fc0c74811c3d5113812424f6801f092fcb6803f606a6e908235fb9e1c1626fecfef39dcf02360345c54108aea7471caca132c645870299 SHA512 e09035acdbb6ac200d49861c30f6207707d29c33810c16cc77070e2baf97afb8577fc407fbc938bcb0b329249f405d3553fa430c961d74106a2cba58ec9866a3
+DIST parsec-3.1.15.0.tar.gz 36412 BLAKE2B b7d0b0eb022c0662a023d94e83106a528ed2fe280e3aa4cbd643479045d8afdee66a6dee938d5b7932e823fa39dddff18a407efb03a26d0029f1aea59b8738ef SHA512 fab7c48f43fae2708ee2d345897f827111408f82f4370442047d49d703de5d7a9666753926486764a3cfab15df98cf0f8e37d5b73811ffc80797ee498b4eb591
+EBUILD parsec-3.1.14.0-r2.ebuild 1151 BLAKE2B 45c26ce7e537f618012e78299d87961320c48f016b1ed941db157217a82218e49e677b404f0978dbd9f3bf95499eb9409bd1c047b7c931e4289a7a88780070e2 SHA512 5864fa21dbc29592e114b0f8c0a9817812b62566e5c3511ba278677e4d54cebd0573361a15fadecdaaf7ec95a08110f254dd2d41be841b2b25092061e2a5b2f2
+EBUILD parsec-3.1.15.0-r1.ebuild 1009 BLAKE2B 6d8e20b344e7bfad575f6986615946240c9da10c92322bf1c058af61d2601c43914d43c90ec99603ff0250e957cdd80f143954f2d4c8d98f836e0723b7d3f0a4 SHA512 db26be4ad12c7065db8a197c499731a20f5b5c0f86c25a061b47b9bb1c370979ec79c5a8a9884c455b8234b180cb69d79c36c9d82c128a0a4b29e640cb468253
+MISC metadata.xml 376 BLAKE2B 5b1739eee86efe0620f806ddf37d9ee18c85467e1a4ff50273b0c42265f9f15e582e98f240e6295842cb32604356c325e376c89a215545d2b5f3dc9935770b32 SHA512 8962b5745d51962551eaca010513fdc7793b80b3f7a559d5b6ed0cf0d5f1825d40014cd4f76342e4ec266a88c20a3b8a40d7b79b19d910171152f3e27342495a
diff --git a/dev-haskell/parsec/metadata.xml b/dev-haskell/parsec/metadata.xml
index 34bd558d2be0..5e5863ecfd97 100644
--- a/dev-haskell/parsec/metadata.xml
+++ b/dev-haskell/parsec/metadata.xml
@@ -5,12 +5,8 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
- <longdescription>
- Parsec is designed from scratch as an industrial-strength parser
- library. It is simple, safe, well documented (on the package
- homepage), has extensive libraries and good error messages,
- and is also fast. It is defined as a monad transformer that can be
- stacked on arbitrary monads, and it is also parametric in the
- input stream type.
- </longdescription>
+ <upstream>
+ <remote-id type="hackage">parsec</remote-id>
+ <remote-id type="github">haskell/parsec</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/dev-haskell/parsec/parsec-3.1.14.0-r1.ebuild b/dev-haskell/parsec/parsec-3.1.14.0-r2.ebuild
index 198a26235898..3f56195eee38 100644
--- a/dev-haskell/parsec/parsec-3.1.14.0-r1.ebuild
+++ b/dev-haskell/parsec/parsec-3.1.14.0-r2.ebuild
@@ -3,9 +3,11 @@
EAPI=8
-# ebuild generated by hackport 0.7.1.1.9999
+# ebuild generated by hackport 0.8.0.0.9999
-CABAL_FEATURES="lib profile haddock hoogle hscolour" # Circular depens: test-suite"
+CABAL_HACKAGE_REVISION=4
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour" # Circular depends: test-suite
# break circular dependencies:
# https://github.com/gentoo-haskell/gentoo-haskell/issues/810
CABAL_FEATURES+=" nocabaldep"
@@ -13,27 +15,23 @@ inherit haskell-cabal
DESCRIPTION="Monadic parser combinators"
HOMEPAGE="https://github.com/haskell/parsec"
-SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
-# keep in sync with ghc-8.8
+# Keep in sync with relevant ghc versions (CABAL_CORE_LIB_GHC_PV)
KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
RESTRICT=test # circular dependencies: dev-haskell/base-orphans->cabal->parsec[test]->test-framework-hunit->test-framework->base-orphans
-RDEPEND=">=dev-haskell/mtl-1.1.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
- >=dev-lang/ghc-7.4.1:=
- >=dev-haskell/text-0.11.3.1:=[profile?] <dev-haskell/text-1.3:=[profile?]
+RDEPEND="
+ >=dev-lang/ghc-8.10.6:=
+"
+DEPEND="${RDEPEND}
"
-DEPEND="${RDEPEND}"
+# test? (
+# >=dev-haskell/test-framework-0.8 <dev-haskell/test-framework-0.9
+# >=dev-haskell/test-framework-hunit-0.3 <dev-haskell/test-framework-hunit-0.4
+# >=dev-haskell/hunit-1.6 <dev-haskell/hunit-1.7
+# )
CABAL_CORE_LIB_GHC_PV="8.8.4 8.10.4 8.10.5 8.10.6 8.10.7 9.0.1 9.0.2 PM:9999"
-
-src_prepare() {
- default
- cabal_chdeps \
- 'base >= 4.5.0 && < 4.14' 'base >= 4.5.0' \
- 'bytestring >= 0.9.2.1 && < 0.11' 'bytestring >= 0.9.2.1' \
- 'semigroups >= 0.18 && < 0.20' 'semigroups >= 0.18'
-}
diff --git a/dev-haskell/parsec/parsec-3.1.15.0-r1.ebuild b/dev-haskell/parsec/parsec-3.1.15.0-r1.ebuild
new file mode 100644
index 000000000000..70937459e239
--- /dev/null
+++ b/dev-haskell/parsec/parsec-3.1.15.0-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ebuild generated by hackport 0.8.0.0.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite circular depends
+# break circular dependencies:
+# https://github.com/gentoo-haskell/gentoo-haskell/issues/810
+CABAL_FEATURES+=" nocabaldep"
+inherit haskell-cabal
+
+DESCRIPTION="Monadic parser combinators"
+HOMEPAGE="https://github.com/haskell/parsec"
+
+LICENSE="BSD-2"
+SLOT="0/${PV}"
+# Keep in sync with relevant ghc versions (CABAL_CORE_LIB_GHC_PV)
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+RESTRICT=test # circular dependencies: dev-haskell/base-orphans->cabal->parsec[test]->test-framework-hunit->test-framework->base-orphans
+
+RDEPEND="
+ >=dev-lang/ghc-9.2.4:=
+"
+DEPEND="${RDEPEND}
+"
+# test? (
+# >=dev-haskell/tasty-1.4 <dev-haskell/tasty-1.5
+# >=dev-haskell/tasty-hunit-0.10 <dev-haskell/tasty-hunit-0.11
+# )
+
+CABAL_CORE_LIB_GHC_PV="9.2.4 9.2.5 9.2.6 9.2.7 9.2.8 9.4.4 9.4.5"