pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/hs-some
Module Name: pkgsrc
Committed By: pho
Date: Wed Oct 25 13:52:16 UTC 2023
Modified Files:
pkgsrc/devel/hs-some: Makefile PLIST buildlink3.mk distinfo
Log Message:
devel/hs-some: Update to 1.0.6
1.0.6
* Add instances for SSymbol, SNat and SChar from `base >=4.18.0.0'
1.0.5
* Add EqP and OrdP classes. These are strong versions of Eq1 and Ord1, and
on the other hand weaker versions of GEq and GCompare. They are exactly
what's needed for Eq and Ord instances of Some.
The naming is unfortunate: GShow would be better named ShowP, as it's
similar version of Show1.
Note: we could add ReadP with readsPrecP :: Int -> ReadS (t a) method,
but it will barely have any instances. GRead is different, as it can
reify the type index for many types, e.g. for the singletons.
In some future there will be major version of some with following
breaking changes:
- EqP and OrdP will become superclasses of GEq and GCompare
- Eq (Some t) will require EqP t, similarly for Ord and OrdP.
- GShow will get forall a. Show (f a) superclass. (This will cause
removal of Product and Sum instances for base <4.18).
To ease future transition you may
- Define EqP and OrdP instances for your types. The defaultEq and
defaultCompare methods can be used to define eqp and comparep from GEq
and GCompare instances respectively.
- Move to use GHC.Generics.:*: and :+: instead of Data.Functor.Product
and Sum, as these have better Eq and Ord instances.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/hs-some/Makefile \
pkgsrc/devel/hs-some/buildlink3.mk
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/hs-some/PLIST \
pkgsrc/devel/hs-some/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-some/Makefile
diff -u pkgsrc/devel/hs-some/Makefile:1.5 pkgsrc/devel/hs-some/Makefile:1.6
--- pkgsrc/devel/hs-some/Makefile:1.5 Mon Oct 9 04:54:29 2023
+++ pkgsrc/devel/hs-some/Makefile Wed Oct 25 13:52:16 2023
@@ -1,15 +1,12 @@
-# $NetBSD: Makefile,v 1.5 2023/10/09 04:54:29 pho Exp $
+# $NetBSD: Makefile,v 1.6 2023/10/25 13:52:16 pho Exp $
-DISTNAME= some-1.0.4.1
-PKGREVISION= 2
+DISTNAME= some-1.0.6
CATEGORIES= devel
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
COMMENT= Existential type: Some
LICENSE= modified-bsd
-HASKELL_UNRESTRICT_DEPENDENCIES+= \
- base
-
+.include "../../devel/hs-base-orphans/buildlink3.mk"
.include "../../mk/haskell.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/hs-some/buildlink3.mk
diff -u pkgsrc/devel/hs-some/buildlink3.mk:1.5 pkgsrc/devel/hs-some/buildlink3.mk:1.6
--- pkgsrc/devel/hs-some/buildlink3.mk:1.5 Mon Oct 9 04:54:29 2023
+++ pkgsrc/devel/hs-some/buildlink3.mk Wed Oct 25 13:52:16 2023
@@ -1,13 +1,15 @@
-# $NetBSD: buildlink3.mk,v 1.5 2023/10/09 04:54:29 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2023/10/25 13:52:16 pho Exp $
BUILDLINK_TREE+= hs-some
.if !defined(HS_SOME_BUILDLINK3_MK)
HS_SOME_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.hs-some+= hs-some>=1.0.4
-BUILDLINK_ABI_DEPENDS.hs-some+= hs-some>=1.0.4.1nb2
+BUILDLINK_API_DEPENDS.hs-some+= hs-some>=1.0.6
+BUILDLINK_ABI_DEPENDS.hs-some+= hs-some>=1.0.6
BUILDLINK_PKGSRCDIR.hs-some?= ../../devel/hs-some
+
+.include "../../devel/hs-base-orphans/buildlink3.mk"
.endif # HS_SOME_BUILDLINK3_MK
BUILDLINK_TREE+= -hs-some
Index: pkgsrc/devel/hs-some/PLIST
diff -u pkgsrc/devel/hs-some/PLIST:1.2 pkgsrc/devel/hs-some/PLIST:1.3
--- pkgsrc/devel/hs-some/PLIST:1.2 Tue Jan 24 18:34:14 2023
+++ pkgsrc/devel/hs-some/PLIST Wed Oct 25 13:52:16 2023
@@ -1,7 +1,10 @@
-@comment $NetBSD: PLIST,v 1.2 2023/01/24 18:34:14 pho Exp $
+@comment $NetBSD: PLIST,v 1.3 2023/10/25 13:52:16 pho Exp $
lib/some-${PKGVERSION}/${HS_VERSION}/package-description
lib/some-${PKGVERSION}/${HS_VERSION}/package-id
${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Data/EqP.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/EqP.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Data/EqP.p_hi
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/Compare.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/Compare.hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/Compare.p_hi
@@ -14,6 +17,9 @@ ${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKG
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/Show.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/Show.hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/Show.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Data/OrdP.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/OrdP.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Data/OrdP.p_hi
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some.hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some.p_hi
@@ -28,19 +34,23 @@ lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some/Newtype.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}/some-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/some-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/Data-EqP.html
${PLIST.doc}share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/Data-GADT-Compare.html
${PLIST.doc}share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/Data-GADT-DeepSeq.html
${PLIST.doc}share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/Data-GADT-Show.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/Data-OrdP.html
${PLIST.doc}share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/Data-Some-Church.html
${PLIST.doc}share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/Data-Some-GADT.html
${PLIST.doc}share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/Data-Some-Newtype.html
${PLIST.doc}share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/Data-Some.html
${PLIST.doc}share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/doc-index.json
${PLIST.doc}share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/haddock-bundle.min.js
${PLIST.doc}share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/index.html
${PLIST.doc}share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/linuwial.css
${PLIST.doc}share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/meta.json
${PLIST.doc}share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/quick-jump.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/quick-jump.min.js
${PLIST.doc}share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/some.haddock
${PLIST.doc}share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/devel/hs-some/distinfo
diff -u pkgsrc/devel/hs-some/distinfo:1.2 pkgsrc/devel/hs-some/distinfo:1.3
--- pkgsrc/devel/hs-some/distinfo:1.2 Tue Jan 24 18:34:14 2023
+++ pkgsrc/devel/hs-some/distinfo Wed Oct 25 13:52:16 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2023/01/24 18:34:14 pho Exp $
+$NetBSD: distinfo,v 1.3 2023/10/25 13:52:16 pho Exp $
-BLAKE2s (some-1.0.4.1.tar.gz) = 28f86d427e04608463b48aaba3cc1c429d072793c71d0681e4ce6fc1f6941bfa
-SHA512 (some-1.0.4.1.tar.gz) = 0a590b71194b318f8b14ec41589f3d066a913c37fd2b7772991cc58b3ad94173c50d1fd8e4a6ab5a4a50f0e4d173b574ef4de127c277053bd58bcfe6b7c2fd3f
-Size (some-1.0.4.1.tar.gz) = 9371 bytes
+BLAKE2s (some-1.0.6.tar.gz) = c3d06643c98e1184d0ff33531797083f84f1e14beab681e017622fcfa69d1cce
+SHA512 (some-1.0.6.tar.gz) = 78e2dbf275a77462b644751cb1e422ac771ba166518a812da9fdc9b621fdaaf9b6c3ed1c655623489e1f997ed67f83fa25aa7e57146513a126f01030ebc12c00
+Size (some-1.0.6.tar.gz) = 11394 bytes
Home |
Main Index |
Thread Index |
Old Index