From 386855c4d1ef509c1fd32abd721589c81669613b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 23 Oct 2023 08:35:49 +0100 Subject: gentoo auto-resync : 23:10:2023 - 08:35:49 --- dev-haskell/tasty-expected-failure/Manifest | 6 ++-- dev-haskell/tasty-expected-failure/metadata.xml | 21 +++--------- .../tasty-expected-failure-0.11.1.2.ebuild | 10 +++--- .../tasty-expected-failure-0.12.3.ebuild | 40 ++++++++++++++++++++++ 4 files changed, 52 insertions(+), 25 deletions(-) create mode 100644 dev-haskell/tasty-expected-failure/tasty-expected-failure-0.12.3.ebuild (limited to 'dev-haskell/tasty-expected-failure') diff --git a/dev-haskell/tasty-expected-failure/Manifest b/dev-haskell/tasty-expected-failure/Manifest index 135b9a3cd907..f3d73d156ec7 100644 --- a/dev-haskell/tasty-expected-failure/Manifest +++ b/dev-haskell/tasty-expected-failure/Manifest @@ -1,3 +1,5 @@ DIST tasty-expected-failure-0.11.1.2.tar.gz 3781 BLAKE2B 04101b477457747abbf1a90fed80ab8692e3f771f27fae8310c0451839b38efadf1751ae302a1bac0f020e01533030563c45a2c0d75b03f9cda88ee23d1d8e12 SHA512 31f89d64a1f700a2563b291d287f559e023b0b1059cf5ad35eb9a8b2d4a7d90b2ffced828017b3e86d7ece0b125787f7512e9f4745c75d38bbc688e09031aae5 -EBUILD tasty-expected-failure-0.11.1.2.ebuild 818 BLAKE2B 45f7d15e293c3867f6b3e3522d36a89e77fed090a2082b49ed0bbacabfb45bde7f32165681505cd2682e909f9ed50cc810bc07e4645001e8d8ddedfe3fd3f465 SHA512 c04f5a558affafe006a060cd649af3995cb57615c2baa78df939f04b437eed839473532b46a7c14601589ad4e8915a542a08235373920c49df381e412485f6cb -MISC metadata.xml 1149 BLAKE2B 8248929801b7e0e88b47b3118613d1dd8b1c08e141d05cb965bd93a636e1f9192e13c22831c7064a68849b07bbe4e8d44a74559aa520fc51805515bf6498aacc SHA512 996bd124b1a2f42c8cc16b9d86fe1f76baf8d1a30ba1b18cf068fba5297d5f32b2d6f17f12b7e69aeafd1db5c4483265908d8fe2876cb64e4d932496f9b8696a +DIST tasty-expected-failure-0.12.3.tar.gz 6016 BLAKE2B 2e3b61686aa45c0bdcc593e77a6fed358f526aac5e0abd93b6894a6ab64637ec7ed0e0b94cd979ba8cbe4aaa3d41b80eb748c0cb3eccdd5f8e096055acac9c20 SHA512 38a38a6b918355b341ac52fbbd63312fbc44f2071785401dc667bb50b030e8c1963c5eb8f890c36daa0987d2fb4748effa543076429e0c8dea58f2fb0bf29f0c +EBUILD tasty-expected-failure-0.11.1.2.ebuild 791 BLAKE2B e68ab436869e3978953388e18fdb8a5ff51e5c19f79bba575afe4f5cc84db008074b49a610b0f0b3d1c317f32136a5fd916198cb9ca6527160dbba3c2034d8df SHA512 8be81f34b839bf643d570b2d37b46383948c4395a0be414264982d19f83cc0cc295de151bdfe4ab31e65aff61860a3365525335ded725ce1fecb9629106e05c5 +EBUILD tasty-expected-failure-0.12.3.ebuild 1085 BLAKE2B ab456f647230e4507cfe059b988560ba03b5e34cdade7e06b6a96310a19eb44159fc3712aa4b7bb684979b6568d4810b555631b37df7b9f3bf252febed555d8e SHA512 15e0ab9a7eef26cebb67cbc313ed6d60c1a4dc734c5ab000775b76b1585fccd629ff006b68e6035ddcff3814c04dd61e2c4866504987f735cf0f240c386181d2 +MISC metadata.xml 408 BLAKE2B 4ec114f43e776551efb1251d6901db5b8583f627e5165c51e4400994a78b512d374cab5ad21cad376e1a7b9a87138bbbf88376f8e3cf32247ea471108ed8b64b SHA512 fc53629906c1f4b378c44f8f1cd0a6496ae1a70b93feba837a1597218bf22ea60455ade8a99b146dfa413716900671d5c7d8fdbf3b779c1d0ec5970be72a3869 diff --git a/dev-haskell/tasty-expected-failure/metadata.xml b/dev-haskell/tasty-expected-failure/metadata.xml index 3a4f55351f26..ba8a08351743 100644 --- a/dev-haskell/tasty-expected-failure/metadata.xml +++ b/dev-haskell/tasty-expected-failure/metadata.xml @@ -5,21 +5,8 @@ haskell@gentoo.org Gentoo Haskell - - With the function 'Test.Tasty.ExpectedFailure.expectFail' in the provided module - "Test.Tasty.ExpectedFailure", you can mark that you expect test cases to fail, - and not to pass. - - This can for example be used for test-driven development: Create the tests, - mark them with 'Test.Tasty.ExpectedFailure.expectFail', and you can still push - to the main branch, without your continuous integration branch failing. - - Once someone implements the feature or fixes the bug (maybe unknowingly), the - test suite will tell him so, due to the now unexpectedly passing test, and he - can remove the 'Test.Tasty.ExpectedFailure.expectFail' marker. - - The module also provides 'Test.Tasty.ExpectedFailure.ignoreTest' to avoid - running a test. Both funtions are implemented via the more general - 'Test.Tasty.ExpectedFailure.warpTest', which is also provided. - + + tasty-expected-failure + nomeata/tasty-expected-failure + diff --git a/dev-haskell/tasty-expected-failure/tasty-expected-failure-0.11.1.2.ebuild b/dev-haskell/tasty-expected-failure/tasty-expected-failure-0.11.1.2.ebuild index 0133de4a47c7..d630f6b17fe1 100644 --- a/dev-haskell/tasty-expected-failure/tasty-expected-failure-0.11.1.2.ebuild +++ b/dev-haskell/tasty-expected-failure/tasty-expected-failure-0.11.1.2.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 # ebuild generated by hackport 0.6.1.9999 @@ -26,8 +26,6 @@ DEPEND="${RDEPEND} >=dev-haskell/cabal-1.10 " -src_prepare() { - cabal_chdeps \ - 'base >= 4.5 && <4.14' 'base >= 4.5' - default -} +CABAL_CHDEPS=( + 'base >= 4.5 && <4.14' 'base >= 4.5' +) diff --git a/dev-haskell/tasty-expected-failure/tasty-expected-failure-0.12.3.ebuild b/dev-haskell/tasty-expected-failure/tasty-expected-failure-0.12.3.ebuild new file mode 100644 index 000000000000..fb62f9a5e2d8 --- /dev/null +++ b/dev-haskell/tasty-expected-failure/tasty-expected-failure-0.12.3.ebuild @@ -0,0 +1,40 @@ +# 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" +inherit haskell-cabal + +DESCRIPTION="Mark tasty tests as failure expected" +HOMEPAGE="https://github.com/nomeata/tasty-expected-failure" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/tagged-0.7:=[profile?] =dev-haskell/tasty-0.11:=[profile?] + =dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( + dev-haskell/hedgehog + dev-haskell/tasty-golden + dev-haskell/tasty-hedgehog + dev-haskell/tasty-hunit + ) +" + +pkg_pretend() { + if use test; then + ewarn "The \"test\" USE flag for this package creates cycles within the" + ewarn "dependency graph. This may give you problems during 'haskell-updater' runs." + ewarn "It is recommended to leave it disabled unless explicitly testing the package." + fi +} -- cgit v1.2.3