Skip to content

Commit

Permalink
dev-haskell/megaparsec-tests: bump to 9.0.1
Browse files Browse the repository at this point in the history
Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer@gmail.com>
  • Loading branch information
ezzieyguywuf committed Jan 16, 2021
1 parent cb309d7 commit 50b7f8b
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 3 deletions.
2 changes: 2 additions & 0 deletions dev-haskell/megaparsec-tests/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
DIST megaparsec-tests-8.0.0.tar.gz 29411 BLAKE2B d987c93abad293452a959f4a6ad36d02932d986874764c57173b0a63e90810813d89f8ded614288479d734d6979d8bef334e7b8700e89f5ef41b2dab04e67cf3 SHA512 8638c346707214f4279456a21cd752ad399728f7cce75407aa62960651d269176622511f3fe73b1d53c2e7974cd475b0e0fe1c9c2357b946b4533f4d721e6658
DIST megaparsec-tests-9.0.1.cabal 2677 BLAKE2B 7da054fe35cb009b959c0a2ec1eecf428219446e304b77924b9a708d12ae719a08dbe11900090d802de34c318c8f7dfdf8a81aad0550f3777abe1abf43998765 SHA512 01496a8ed70697f883f0545d781d99b44538fd210036734e1981b09c66f8cadc8d0846e738ad2e1b3048cfbc69d47d2accc0c2eef31ee14db6bac04d97d3cb59
DIST megaparsec-tests-9.0.1.tar.gz 30581 BLAKE2B 48958199afd3acb654b6f5f23e5417994ad3495d6c956bcde7e68b90e787549e64da39c1859d8c360de6b3823b55d789aafc1f183c39583d00af0fc52bac8a3c SHA512 68f937c2199843f5a7a16283072f57c20a07d8028b1984104ece3b4a11f814f371972b6e7bdc31350b5157a7da63453934a2b3954c537ec44c0fdbcd832f06bd
49 changes: 49 additions & 0 deletions dev-haskell/megaparsec-tests/megaparsec-tests-9.0.1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

# ebuild generated by hackport 0.6.7.9999
#hackport: flags: -dev

CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal

DESCRIPTION="Test utilities and the test suite of Megaparsec"
HOMEPAGE="https://github.com/mrkkrp/megaparsec"
SRC_URI="
https://hackage.haskell.org/package/${P}/${P}.tar.gz
https://hackage.haskell.org/package/${P}/revision/1.cabal -> ${PF}.cabal
"

LICENSE="BSD-2"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"

RDEPEND=">=dev-haskell/hspec-2.0:=[profile?] <dev-haskell/hspec-3.0:=[profile?]
>=dev-haskell/hspec-expectations-0.8:=[profile?] <dev-haskell/hspec-expectations-0.9:=[profile?]
>=dev-haskell/hspec-megaparsec-2.0:=[profile?] <dev-haskell/hspec-megaparsec-3.0:=[profile?]
~dev-haskell/megaparsec-9.0.1:=[profile?]
>=dev-haskell/mtl-2.2.2:=[profile?] <dev-haskell/mtl-3.0:=[profile?]
>=dev-haskell/quickcheck-2.10:2=[profile?] <dev-haskell/quickcheck-2.15:2=[profile?]
>=dev-haskell/text-0.2:=[profile?] <dev-haskell/text-1.3:=[profile?]
>=dev-lang/ghc-8.6.3:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-2.4.0.1
test? ( >=dev-haskell/case-insensitive-1.2 <dev-haskell/case-insensitive-1.3
>=dev-haskell/parser-combinators-1.0 <dev-haskell/parser-combinators-2.0
>=dev-haskell/scientific-0.3.1 <dev-haskell/scientific-0.4 )
"

src_prepare() {
default

# pull newer cabal from upsream
cp "${DISTDIR}/${PF}.cabal" "${S}/${PN}.cabal" || die
}

src_configure() {
haskell-cabal_src_configure \
--flag=-dev
}
3 changes: 0 additions & 3 deletions dev-haskell/megaparsec-tests/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,4 @@
<use>
<flag name="dev">Turn on development settings.</flag>
</use>
<longdescription>
Test utilities and the test suite of Megaparsec.
</longdescription>
</pkgmetadata>

0 comments on commit 50b7f8b

Please sign in to comment.