From 34810408ae73610cc1349f1a05c17cd65bf5573a Mon Sep 17 00:00:00 2001 From: hololeap Date: Mon, 28 Aug 2023 16:59:27 -0600 Subject: [PATCH] tests: Improve ebuild formatting - Use an asterisk at the end of the version when possible - Add newline to DEPEND - Avoid backslashes by passing an array to src_configure - Drop trailing .0 components Thanks-to: Sam James Signed-off-by: hololeap --- tests/data/golden/hakyll-4.16.1.0.ebuild | 47 +++++++++++--------- tests/data/golden/microstache-1.0.2.3.ebuild | 11 ++--- tests/data/golden/time-compat-1.9.6.1.ebuild | 13 +++--- tests/data/golden/tree-diff-0.2.2.ebuild | 29 ++++++------ 4 files changed, 54 insertions(+), 46 deletions(-) diff --git a/tests/data/golden/hakyll-4.16.1.0.ebuild b/tests/data/golden/hakyll-4.16.1.0.ebuild index 08c7d081..4494785b 100644 --- a/tests/data/golden/hakyll-4.16.1.0.ebuild +++ b/tests/data/golden/hakyll-4.16.1.0.ebuild @@ -21,36 +21,36 @@ RDEPEND=" >=dev-haskell/blaze-markup-0.5.1:=[profile?] =dev-haskell/data-default-0.4:=[profile?] =dev-haskell/file-embed-0.0.10.1:=[profile?] =dev-haskell/hashable-1.0:=[profile?] =dev-haskell/lrucache-1.1.1:=[profile?] =dev-haskell/network-uri-2.6:=[profile?] =dev-haskell/optparse-applicative-0.12:=[profile?] =dev-haskell/parsec-3.0:=[profile?] =dev-haskell/random-1.0:=[profile?] =dev-haskell/parsec-3:=[profile?] =dev-haskell/random-1:=[profile?] =dev-haskell/regex-tdfa-1.1:=[profile?] =dev-haskell/resourcet-1.1:=[profile?] =dev-haskell/scientific-0.3.4:=[profile?] =dev-haskell/tagsoup-0.13.1:=[profile?] =dev-haskell/time-locale-compat-0.1:=[profile?] =dev-haskell/unordered-containers-0.2:=[profile?] =dev-haskell/vector-0.11:=[profile?] =dev-haskell/wai-app-static-3.1:=[profile?] =dev-haskell/yaml-0.8.11:=[profile?] =dev-lang/ghc-8.10.6:= || ( - ( >=dev-haskell/aeson-1.0 =dev-haskell/aeson-2.0 =dev-haskell/aeson-1 =dev-haskell/aeson-2 =dev-haskell/text-0.11 =dev-haskell/text-2.0 =app-text/pandoc-2.11 =app-text/pandoc-3.0 =app-text/pandoc-3 =app-text/pandoc-2.11 =app-text/pandoc-3.0 =app-text/pandoc-3 =dev-haskell/cabal-3.2.1 test? ( >=dev-haskell/quickcheck-2.8 =dev-haskell/tasty-0.11 =dev-haskell/tasty-golden-2.3 =dev-haskell/tasty-hunit-0.9 =dev-haskell/tasty-quickcheck-0.8 =dev-haskell/cabal-3 test? ( >=dev-haskell/base-orphans-0.8.7 =dev-haskell/tasty-1.4.0.1 =dev-haskell/cabal-3 test? ( >=dev-haskell/base-compat-0.10.5 =dev-haskell/quickcheck-2.13 =dev-haskell/tagged-0.8.6 =dev-haskell/tasty-1.2.1 =dev-haskell/tasty-hunit-0.10 =dev-haskell/tasty-quickcheck-0.10 =dev-haskell/hunit-1.3.1 =dev-haskell/hunit-1.6.0.0 =dev-haskell/hunit-1.6 =dev-haskell/cabal-3.2.1 test? ( dev-haskell/base-compat >=dev-haskell/tasty-golden-2.3.1.1 =dev-haskell/tasty-quickcheck-0.10.1 =dev-haskell/trifecta-2 =dev-haskell/tasty-1.2 =dev-haskell/tasty-1.3.1 =dev-haskell/tasty-1.4.2