git: dff114f7cc1d - main - devel/hs-spago: Update to 0.21.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Aug 2024 14:23:05 UTC
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=dff114f7cc1dc9443e0d8dd60a563d77d69e254b commit dff114f7cc1dc9443e0d8dd60a563d77d69e254b Author: Älven <alster@vinterdalen.se> AuthorDate: 2024-08-09 11:48:02 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2024-08-09 14:22:50 +0000 devel/hs-spago: Update to 0.21.0 PR: 279440 --- devel/hs-spago/Makefile | 8 ++++++-- devel/hs-spago/distinfo | 14 +++++++++++--- devel/hs-spago/files/patch-src_Spago_Bower.hs | 20 -------------------- devel/hs-spago/pkg-descr | 4 ++-- 4 files changed, 19 insertions(+), 27 deletions(-) diff --git a/devel/hs-spago/Makefile b/devel/hs-spago/Makefile index 6409fb1df160..1235444ba318 100644 --- a/devel/hs-spago/Makefile +++ b/devel/hs-spago/Makefile @@ -1,5 +1,5 @@ PORTNAME= spago -DISTVERSION= 0.20.9 +DISTVERSION= 0.21.0 CATEGORIES= devel MASTER_SITES= https://github.com/purescript/purescript-docs-search/releases/download/v0.0.11/docs-search-app.js?dummy=/:dsa11 \ https://github.com/purescript/purescript-docs-search/releases/download/v0.0.11/purescript-docs-search?dummy=/:pds11 \ @@ -13,9 +13,10 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= haskell@FreeBSD.org COMMENT= PureScript package manager and build tool -WWW= https://github.com/spacchetti/spago +WWW= https://github.com/spacchetti/spago/ LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ghc-9.2.8:lang/ghc92 RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss @@ -110,6 +111,8 @@ USE_CABAL= Diff-0.4.1 \ kan-extensions-5.2.4 \ keys-3.12.3_2 \ lens-family-core-2.1.0 \ + libyaml-0.1.4 \ + libyaml-clib-0.2.5 \ lifted-base-0.2.3.12 \ managed-1.0.9_1 \ megaparsec-9.2.1 \ @@ -199,6 +202,7 @@ USE_CABAL= Diff-0.4.1 \ x509-store-1.6.9 \ x509-system-1.6.7 \ x509-validation-1.6.12 \ + yaml-0.11.11.2_2 \ zlib-0.6.3.0 post-extract: diff --git a/devel/hs-spago/distinfo b/devel/hs-spago/distinfo index 741cf9eb5569..8a9ea23c70cd 100644 --- a/devel/hs-spago/distinfo +++ b/devel/hs-spago/distinfo @@ -1,4 +1,4 @@ -TIMESTAMP = 1656179479 +TIMESTAMP = 1717164139 SHA256 (cabal/docs-search-app-0.0.11.js) = 0254c9bd09924352f1571642bf0da588aa9bdb1f343f16d464263dd79b7e169f SIZE (cabal/docs-search-app-0.0.11.js) = 462590 SHA256 (cabal/purescript-docs-search-0.0.11) = 06dfcb9b84408527a2980802108fae6a5260a522013f67d0ef7e83946abe4dc2 @@ -235,6 +235,10 @@ SHA256 (cabal/keys-3.12.3/revision/2.cabal) = 97caf71bc3adc631cff437c4de549d3552 SIZE (cabal/keys-3.12.3/revision/2.cabal) = 2321 SHA256 (cabal/lens-family-core-2.1.0/lens-family-core-2.1.0.tar.gz) = 7b6c79107dc54db8317ace02fb6b158e6694d6fdcb3f34bdf65cf6489ca85fca SIZE (cabal/lens-family-core-2.1.0/lens-family-core-2.1.0.tar.gz) = 17960 +SHA256 (cabal/libyaml-0.1.4/libyaml-0.1.4.tar.gz) = d6297ec9b1ebb4e4b580a4357d840d08a6f53e13a10c0c53ee74b973bba6fa13 +SIZE (cabal/libyaml-0.1.4/libyaml-0.1.4.tar.gz) = 9592 +SHA256 (cabal/libyaml-clib-0.2.5/libyaml-clib-0.2.5.tar.gz) = 04526bc54e5fcf471c2bd22854e6b519e162a6e3d654e866cd8862103c725149 +SIZE (cabal/libyaml-clib-0.2.5/libyaml-clib-0.2.5.tar.gz) = 55500 SHA256 (cabal/lifted-base-0.2.3.12/lifted-base-0.2.3.12.tar.gz) = c134a95f56750aae806e38957bb03c59627cda16034af9e00a02b699474317c5 SIZE (cabal/lifted-base-0.2.3.12/lifted-base-0.2.3.12.tar.gz) = 11700 SHA256 (cabal/managed-1.0.9/managed-1.0.9.tar.gz) = 4d476da3b6e7a14220f2e3a764e5d43bf339e89a3dc46a7bdfdeb3856a54a86f @@ -467,7 +471,11 @@ SHA256 (cabal/x509-system-1.6.7/x509-system-1.6.7.tar.gz) = 68fc1ffd9b33fc858869 SIZE (cabal/x509-system-1.6.7/x509-system-1.6.7.tar.gz) = 3438 SHA256 (cabal/x509-validation-1.6.12/x509-validation-1.6.12.tar.gz) = 0d8e44e199332b22df3e7c19d21b1a79f237fde9a3abf23bef9e7c4991d0f1c8 SIZE (cabal/x509-validation-1.6.12/x509-validation-1.6.12.tar.gz) = 19733 +SHA256 (cabal/yaml-0.11.11.2/yaml-0.11.11.2.tar.gz) = ee74923ee5b0fef74413c58aaa20ea59baf5d29d256a62fb47cc279570d9dc2f +SIZE (cabal/yaml-0.11.11.2/yaml-0.11.11.2.tar.gz) = 31926 +SHA256 (cabal/yaml-0.11.11.2/revision/2.cabal) = 6f0a1859e0fb3068e50dbc7fe9bf9a26847741bc24344e35e16a03711a18f88d +SIZE (cabal/yaml-0.11.11.2/revision/2.cabal) = 5178 SHA256 (cabal/zlib-0.6.3.0/zlib-0.6.3.0.tar.gz) = 9eaa989ad4534438b5beb51c1d3a4c8f6a088fdff0b259a5394fbf39aaee04da SIZE (cabal/zlib-0.6.3.0/zlib-0.6.3.0.tar.gz) = 369595 -SHA256 (cabal/purescript-spago-0.20.9_GH0.tar.gz) = 4e0ac70ce37a9bb7679ef280e62b61b21c9ff66e0ba335d9dae540dcde364c39 -SIZE (cabal/purescript-spago-0.20.9_GH0.tar.gz) = 136020 +SHA256 (cabal/purescript-spago-0.21.0_GH0.tar.gz) = 0ae1b042010c4d1ffb3865ba0cf67beea741a40c724065dc4056367964b6f4ab +SIZE (cabal/purescript-spago-0.21.0_GH0.tar.gz) = 207729 diff --git a/devel/hs-spago/files/patch-src_Spago_Bower.hs b/devel/hs-spago/files/patch-src_Spago_Bower.hs deleted file mode 100644 index bd79651e3ce9..000000000000 --- a/devel/hs-spago/files/patch-src_Spago_Bower.hs +++ /dev/null @@ -1,20 +0,0 @@ ---- src/Spago/Bower.hs.orig 2022-05-03 16:26:05 UTC -+++ src/Spago/Bower.hs -@@ -9,7 +9,7 @@ import qualified Data.Aeson.Encode.Pretty as Pretty - - import qualified Data.Aeson as Aeson - import qualified Data.Aeson.Encode.Pretty as Pretty --import qualified Data.HashMap.Strict as HashMap -+import qualified Data.Aeson.KeyMap as KeyMap - import qualified Data.Text as Text - import qualified System.Info - import qualified Turtle -@@ -109,7 +109,7 @@ mkBowerVersion packageName version (Repo repo) = do - Just (Object obj) -> pure obj - _ -> die [ display $ "Unable to decode output from `bower " <> Text.intercalate " " args <> "`: ", display out ] - -- if HashMap.member "version" info -+ if KeyMap.member "version" info - then pure $ Bower.VersionRange $ "^" <> version - else pure $ Bower.VersionRange $ repo <> "#" <> version - diff --git a/devel/hs-spago/pkg-descr b/devel/hs-spago/pkg-descr index fa8f791ed7f7..e5b814a15d54 100644 --- a/devel/hs-spago/pkg-descr +++ b/devel/hs-spago/pkg-descr @@ -1,3 +1,3 @@ Spago is a PureScript package manager and build tool powered by Dhall and -package-sets, a curated list of PureScript packages. Spago focuses on great UX, -assuring minimal dependencies and reproducible builds. +package-sets, a curated list of PureScript packages. Spago focuses on +great UX, assuring minimal dependencies and reproducible builds.