pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hs-versions



Module Name:    pkgsrc
Committed By:   pho
Date:           Mon Oct 30 03:13:10 UTC 2023

Modified Files:
        pkgsrc/devel/hs-versions: Makefile PLIST buildlink3.mk distinfo

Log Message:
devel/hs-versions: Update to 6.0.3

6.0.3 (2023-10-23)
Added
* Data instances for the various data types.
* Simple conversion types between the main version types.
* Compile-time constructors via Template Haskell, like versioningQ.

6.0.2 (2023-10-12)
Added
* Lift instances for the various types, which allows parsing version
  numbers at compile time within Template Haskell quotes. Currently there
  is no exported function that supports this directly, but you could write
  one like:

-- | Parse a `Versioning` at compile time.
thVer :: Text -> Q Exp
thVer nm =
  case versioning nm of
    Left err -> fail (errorBundlePretty err)
    Right v  -> lift v

Changed
* Due to the new dependency on template-haskell, GHC 8.8 is now the lowest
  supported compiler version.

6.0.1 (2023-05-08)
Fixed
* Restored the ability to compile with GHC versions earlier than 9.

6.0.0 (2023-04-29)

A number of type changes have been made to improve parsing and comparison
logic. Doing so fixed several bugs and made the code cleaner overall.

If you're just doing basic parsing and comparisons and not actually
inspecting the types themselves, you shouldn't notice a difference.

Added
* New types Release, Chunks, and Chunk.

Changed
* Both SemVer and Version now contain a better-behaving Release type for
  their prerelease info.
* Similarly, Version now also has a better-behaving Chunks type for its
  main version number sections.
* The release traversal now yields a Maybe Release.
* Versions with ~ in their metadata will now parse as a Mess. Example:
  12.0.0-3ubuntu1~20.04.5

Removed
* The various Semigroup instances. Adding version numbers together is a
  nonsensical operation and should never have been added in the first
  place.
* The VChunk and VUnit types and their associated functions.

Fixed
* Leading zeroes are handled a little better in SemVer pre-release data.

5.0.5 (2023-03-23)
Changed
* Bumped base bound to support GHC 9.6.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/hs-versions/Makefile \
    pkgsrc/devel/hs-versions/buildlink3.mk
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/hs-versions/PLIST \
    pkgsrc/devel/hs-versions/distinfo

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

Modified files:

Index: pkgsrc/devel/hs-versions/Makefile
diff -u pkgsrc/devel/hs-versions/Makefile:1.5 pkgsrc/devel/hs-versions/Makefile:1.6
--- pkgsrc/devel/hs-versions/Makefile:1.5       Mon Oct  9 04:54:35 2023
+++ pkgsrc/devel/hs-versions/Makefile   Mon Oct 30 03:13:10 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2023/10/09 04:54:35 pho Exp $
+# $NetBSD: Makefile,v 1.6 2023/10/30 03:13:10 pho Exp $
 
-DISTNAME=      versions-5.0.4
-PKGREVISION=   2
+DISTNAME=      versions-6.0.3
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
Index: pkgsrc/devel/hs-versions/buildlink3.mk
diff -u pkgsrc/devel/hs-versions/buildlink3.mk:1.5 pkgsrc/devel/hs-versions/buildlink3.mk:1.6
--- pkgsrc/devel/hs-versions/buildlink3.mk:1.5  Mon Oct  9 04:54:35 2023
+++ pkgsrc/devel/hs-versions/buildlink3.mk      Mon Oct 30 03:13:10 2023
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.5 2023/10/09 04:54:35 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2023/10/30 03:13:10 pho Exp $
 
 BUILDLINK_TREE+=       hs-versions
 
 .if !defined(HS_VERSIONS_BUILDLINK3_MK)
 HS_VERSIONS_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.hs-versions+=    hs-versions>=5.0.4
-BUILDLINK_ABI_DEPENDS.hs-versions+=    hs-versions>=5.0.4nb2
+BUILDLINK_API_DEPENDS.hs-versions+=    hs-versions>=6.0.3
+BUILDLINK_ABI_DEPENDS.hs-versions+=    hs-versions>=6.0.3
 BUILDLINK_PKGSRCDIR.hs-versions?=      ../../devel/hs-versions
 
 .include "../../devel/hs-hashable/buildlink3.mk"

Index: pkgsrc/devel/hs-versions/PLIST
diff -u pkgsrc/devel/hs-versions/PLIST:1.2 pkgsrc/devel/hs-versions/PLIST:1.3
--- pkgsrc/devel/hs-versions/PLIST:1.2  Wed Jan 25 18:48:52 2023
+++ pkgsrc/devel/hs-versions/PLIST      Mon Oct 30 03:13:10 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2023/01/25 18:48:52 pho Exp $
+@comment $NetBSD: PLIST,v 1.3 2023/10/30 03:13:10 pho Exp $
 lib/versions-${PKGVERSION}/${HS_VERSION}/package-description
 lib/versions-${PKGVERSION}/${HS_VERSION}/package-id
 ${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
@@ -7,13 +7,15 @@ lib/${HS_PLATFORM}/${HS_PKGID}/Data/Vers
 ${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Data/Versions.p_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
 ${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
-${PLIST.doc}share/doc/${HS_PLATFORM}/versions-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/versions-${PKGVERSION}/LICENSE
 ${PLIST.doc}share/doc/${HS_PLATFORM}/versions-${PKGVERSION}/html/Data-Versions.html
 ${PLIST.doc}share/doc/${HS_PLATFORM}/versions-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/versions-${PKGVERSION}/html/doc-index.json
 ${PLIST.doc}share/doc/${HS_PLATFORM}/versions-${PKGVERSION}/html/haddock-bundle.min.js
 ${PLIST.doc}share/doc/${HS_PLATFORM}/versions-${PKGVERSION}/html/index.html
 ${PLIST.doc}share/doc/${HS_PLATFORM}/versions-${PKGVERSION}/html/linuwial.css
 ${PLIST.doc}share/doc/${HS_PLATFORM}/versions-${PKGVERSION}/html/meta.json
 ${PLIST.doc}share/doc/${HS_PLATFORM}/versions-${PKGVERSION}/html/quick-jump.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/versions-${PKGVERSION}/html/quick-jump.min.js
 ${PLIST.doc}share/doc/${HS_PLATFORM}/versions-${PKGVERSION}/html/synopsis.png
 ${PLIST.doc}share/doc/${HS_PLATFORM}/versions-${PKGVERSION}/html/versions.haddock
Index: pkgsrc/devel/hs-versions/distinfo
diff -u pkgsrc/devel/hs-versions/distinfo:1.2 pkgsrc/devel/hs-versions/distinfo:1.3
--- pkgsrc/devel/hs-versions/distinfo:1.2       Wed Jan 25 18:48:52 2023
+++ pkgsrc/devel/hs-versions/distinfo   Mon Oct 30 03:13:10 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2023/01/25 18:48:52 pho Exp $
+$NetBSD: distinfo,v 1.3 2023/10/30 03:13:10 pho Exp $
 
-BLAKE2s (versions-5.0.4.tar.gz) = 6f3249938249c8d01025e5b9709e448b88fd92afa8774d8feb2a32d5607bee25
-SHA512 (versions-5.0.4.tar.gz) = 9f074371a7fba2fc16637c17713777866beba14463a5530472ee6fd3e822a1a45fa8c3fffb2a9a6222f5e5bbee88b0058121c960daea51e30855611355ff95d1
-Size (versions-5.0.4.tar.gz) = 17981 bytes
+BLAKE2s (versions-6.0.3.tar.gz) = 41cd0fdad0d653d5d81a3b8bab5d2d9641afc849893547e5246f423f4fba3213
+SHA512 (versions-6.0.3.tar.gz) = df18b506b90e0c5b22c60ebe823235305906d7b9e0fd6bf180f27fa1ad8931b3e84326d8bd48dde96b9431ea5ea689860ea39baae5551f836ce458dd148e7b1a
+Size (versions-6.0.3.tar.gz) = 18974 bytes



Home | Main Index | Thread Index | Old Index