pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/hs-servant



Module Name:    pkgsrc
Committed By:   pho
Date:           Thu Jan 30 15:54:10 UTC 2025

Modified Files:
        pkgsrc/www/hs-servant: Makefile PLIST buildlink3.mk distinfo

Log Message:
0.20.2
----
- Full query string helpers [#1604](https://github.com/haskell-servant/servant/pull/1604)

  This PR introduces `DeepQuery`, a route combinator that implements a pattern commonly known as deep objects.
  It builds upon the convention of using `[]` for a list of parameters:
  `books?filter[search]=value&filter[author][name]=value`.
  The corresponding type would be `DeepQuery "filter" BookQuery :> Get '[JSON] [Book]`.
- Add IsIn instance for NamedRoutes [#1707](https://github.com/haskell-servant/servant/pull/1707)
- Renamed `AtLeastOneFragment` type class to `AtMostOneFragment` [#1727](https://github.com/haskell-servant/servant/pull/1727)

  The previously named `AtLeastOneFragment` type class defined in the
  `Servant.API.TypeLevel` module has been renamed to `AtMostOneFragment`,
  since the previous name was misleading.
- Use `Header'` in response headers. [#1697](https://github.com/haskell-servant/servant/pull/1697)

  Use `Header'` instead of `Header` in response, so it's possible to provide
  `Description`, for example:

  ```
  type PaginationTotalCountHeader =
    Header'
      '[ Description "Indicates to the client total count of items in collection"
       , Optional
       , Strict
       ]
      "Total-Count"
      Int
  ```

  Note: if you want to add header with description you should use `addHeader'`
  or `noHeader'` which accepts `Header'` with all modifiers.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/www/hs-servant/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/hs-servant/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/hs-servant/buildlink3.mk
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/hs-servant/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/hs-servant/Makefile
diff -u pkgsrc/www/hs-servant/Makefile:1.7 pkgsrc/www/hs-servant/Makefile:1.8
--- pkgsrc/www/hs-servant/Makefile:1.7  Thu May  9 01:32:55 2024
+++ pkgsrc/www/hs-servant/Makefile      Thu Jan 30 15:54:10 2025
@@ -1,36 +1,25 @@
-# $NetBSD: Makefile,v 1.7 2024/05/09 01:32:55 pho Exp $
+# $NetBSD: Makefile,v 1.8 2025/01/30 15:54:10 pho Exp $
 
-DISTNAME=      servant-0.20.1
-PKGREVISION=   2
+DISTNAME=      servant-0.20.2
 CATEGORIES=    www
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       Family of combinators for defining webservices APIs
 LICENSE=       modified-bsd
 
-HASKELL_UNRESTRICT_DEPENDENCIES+=      \
-       QuickCheck      \
-       base            \
-       bytestring      \
-       deepseq         \
-       text
-
+.include "../../devel/hs-constraints/buildlink3.mk"
+.include "../../devel/hs-sop-core/buildlink3.mk"
+.include "../../www/hs-http-api-data/buildlink3.mk"
+.include "../../devel/hs-singleton-bool/buildlink3.mk"
 .include "../../converters/hs-aeson/buildlink3.mk"
 .include "../../textproc/hs-attoparsec/buildlink3.mk"
-.include "../../devel/hs-base-compat/buildlink3.mk"
 .include "../../math/hs-bifunctors/buildlink3.mk"
 .include "../../textproc/hs-case-insensitive/buildlink3.mk"
-.include "../../devel/hs-constraints/buildlink3.mk"
-.include "../../www/hs-http-api-data/buildlink3.mk"
 .include "../../www/hs-http-media/buildlink3.mk"
 .include "../../www/hs-http-types/buildlink3.mk"
 .include "../../devel/hs-mmorph/buildlink3.mk"
 .include "../../net/hs-network-uri/buildlink3.mk"
 .include "../../devel/hs-QuickCheck/buildlink3.mk"
-.include "../../devel/hs-singleton-bool/buildlink3.mk"
-.include "../../devel/hs-sop-core/buildlink3.mk"
-.include "../../converters/hs-string-conversions/buildlink3.mk"
-.include "../../devel/hs-tagged/buildlink3.mk"
 .include "../../devel/hs-vault/buildlink3.mk"
 .include "../../mk/haskell.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/hs-servant/PLIST
diff -u pkgsrc/www/hs-servant/PLIST:1.3 pkgsrc/www/hs-servant/PLIST:1.4
--- pkgsrc/www/hs-servant/PLIST:1.3     Thu May  2 06:47:43 2024
+++ pkgsrc/www/hs-servant/PLIST Thu Jan 30 15:54:10 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2024/05/02 06:47:43 pho Exp $
+@comment $NetBSD: PLIST,v 1.4 2025/01/30 15:54:10 pho Exp $
 ${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
 ${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/API.dyn_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Servant/API.hi
@@ -48,6 +48,9 @@ ${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKG
 ${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/API/QueryParam.dyn_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Servant/API/QueryParam.hi
 ${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/API/QueryParam.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/API/QueryString.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Servant/API/QueryString.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/API/QueryString.p_hi
 ${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/API/Raw.dyn_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Servant/API/Raw.hi
 ${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/API/Raw.p_hi
@@ -122,6 +125,7 @@ ${PLIST.doc}share/doc/${HS_PLATFORM}/ser
 ${PLIST.doc}share/doc/${HS_PLATFORM}/servant-${PKGVERSION}/html/Servant-API-Modifiers.html
 ${PLIST.doc}share/doc/${HS_PLATFORM}/servant-${PKGVERSION}/html/Servant-API-NamedRoutes.html
 ${PLIST.doc}share/doc/${HS_PLATFORM}/servant-${PKGVERSION}/html/Servant-API-QueryParam.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-${PKGVERSION}/html/Servant-API-QueryString.html
 ${PLIST.doc}share/doc/${HS_PLATFORM}/servant-${PKGVERSION}/html/Servant-API-Raw.html
 ${PLIST.doc}share/doc/${HS_PLATFORM}/servant-${PKGVERSION}/html/Servant-API-RemoteHost.html
 ${PLIST.doc}share/doc/${HS_PLATFORM}/servant-${PKGVERSION}/html/Servant-API-ReqBody.html

Index: pkgsrc/www/hs-servant/buildlink3.mk
diff -u pkgsrc/www/hs-servant/buildlink3.mk:1.6 pkgsrc/www/hs-servant/buildlink3.mk:1.7
--- pkgsrc/www/hs-servant/buildlink3.mk:1.6     Thu May  9 01:32:55 2024
+++ pkgsrc/www/hs-servant/buildlink3.mk Thu Jan 30 15:54:10 2025
@@ -1,30 +1,27 @@
-# $NetBSD: buildlink3.mk,v 1.6 2024/05/09 01:32:55 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2025/01/30 15:54:10 pho Exp $
 
 BUILDLINK_TREE+=       hs-servant
 
 .if !defined(HS_SERVANT_BUILDLINK3_MK)
 HS_SERVANT_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.hs-servant+=     hs-servant>=0.20.1
-BUILDLINK_ABI_DEPENDS.hs-servant+=     hs-servant>=0.20.1nb2
+BUILDLINK_API_DEPENDS.hs-servant+=     hs-servant>=0.20.2
+BUILDLINK_ABI_DEPENDS.hs-servant+=     hs-servant>=0.20.2
 BUILDLINK_PKGSRCDIR.hs-servant?=       ../../www/hs-servant
 
+.include "../../devel/hs-constraints/buildlink3.mk"
+.include "../../devel/hs-sop-core/buildlink3.mk"
+.include "../../www/hs-http-api-data/buildlink3.mk"
+.include "../../devel/hs-singleton-bool/buildlink3.mk"
 .include "../../converters/hs-aeson/buildlink3.mk"
 .include "../../textproc/hs-attoparsec/buildlink3.mk"
-.include "../../devel/hs-base-compat/buildlink3.mk"
 .include "../../math/hs-bifunctors/buildlink3.mk"
 .include "../../textproc/hs-case-insensitive/buildlink3.mk"
-.include "../../devel/hs-constraints/buildlink3.mk"
-.include "../../www/hs-http-api-data/buildlink3.mk"
 .include "../../www/hs-http-media/buildlink3.mk"
 .include "../../www/hs-http-types/buildlink3.mk"
 .include "../../devel/hs-mmorph/buildlink3.mk"
 .include "../../net/hs-network-uri/buildlink3.mk"
 .include "../../devel/hs-QuickCheck/buildlink3.mk"
-.include "../../devel/hs-singleton-bool/buildlink3.mk"
-.include "../../devel/hs-sop-core/buildlink3.mk"
-.include "../../converters/hs-string-conversions/buildlink3.mk"
-.include "../../devel/hs-tagged/buildlink3.mk"
 .include "../../devel/hs-vault/buildlink3.mk"
 .endif # HS_SERVANT_BUILDLINK3_MK
 

Index: pkgsrc/www/hs-servant/distinfo
diff -u pkgsrc/www/hs-servant/distinfo:1.2 pkgsrc/www/hs-servant/distinfo:1.3
--- pkgsrc/www/hs-servant/distinfo:1.2  Mon Oct 30 13:35:06 2023
+++ pkgsrc/www/hs-servant/distinfo      Thu Jan 30 15:54:10 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2023/10/30 13:35:06 pho Exp $
+$NetBSD: distinfo,v 1.3 2025/01/30 15:54:10 pho Exp $
 
-BLAKE2s (servant-0.20.1.tar.gz) = 06c90922f74a1b71929bcc79b6cb1fa5a8216d52e8f2a09a502670c1e3654d36
-SHA512 (servant-0.20.1.tar.gz) = b99b68ac106d1955f3868ed3de47052ea9498cbbff6ea21c7bb3e29f3228be169e09db5b8e1778397072f4bfb26262bafac8483b52da64f8f099fedd1bde7709
-Size (servant-0.20.1.tar.gz) = 56057 bytes
+BLAKE2s (servant-0.20.2.tar.gz) = 016689e548e6f6c382601505853999393d3df87b18442fb68bc0e92ea0207c50
+SHA512 (servant-0.20.2.tar.gz) = cc763214578e6b2d2372e0dd38957d33fb05fe1b27bb31027135b651c63390f314625dfdc4d8ac09f9ca106ca3a9f25af9493bb7bf7f544a5bb5ac3325969b4c
+Size (servant-0.20.2.tar.gz) = 58198 bytes



Home | Main Index | Thread Index | Old Index