summaryrefslogtreecommitdiff
path: root/math/hs-semigroups
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2019-12-31 16:36:07 +0000
committerpho <pho@pkgsrc.org>2019-12-31 16:36:07 +0000
commitc911e57bd2a14a5b314af5096501496e56fc616a (patch)
tree41c2208952a2fd2aeb7c312c116bc28d02ed5002 /math/hs-semigroups
parent2ec4b84ab605526f30f366e2c4ee0090a12d1f21 (diff)
downloadpkgsrc-c911e57bd2a14a5b314af5096501496e56fc616a.tar.gz
Update to semigroups-0.19.1
0.19.1 [2019.08.27] * Add GenericSemigroupMonoid, an adapter newtype suitable for DerivingVia, to Data.Semigroup.Generic. * Work around a bug related to the backported Generic(1) instances in this package (that could only be triggered on GHC 7.2 or 7.4) in which the hand-written Datatype, Constructor, and Selector instances for internal data types could overlap with GHC-generated instances. 0.19 [2019.05.10] * The (<>) method of the backported Semigroup class no longer has a default implementation in terms of mappend. This mirrors the Data.Semigroup API that was introduced in base-4.9. This is a breaking change for any Semigroup instances that are defined in tandem with versions of base older than 4.9. * Make the backported Hashable Arg instance reflect its respective variants in the hashable package. In hashable-1.3, the Hashable Arg instance only hashes the first argument, lest equal values have different hashes. * Backport the Lift (NonEmpty a) instance introduced in template-haskell-2.15.0.0. * Data.List.NonEmpty is now unconditionally Trustworthy. 0.18.5 [2018.07.02] * Use a more efficient sconcat for the Semigroup instances for strict and lazy ByteString. 0.18.4 [2018.01.29] * Backport Semigroup instances for Data.Ord.Down and strict ST, which were added in base-4.11. 0.18.3 * Add Semigroup instance for IO, as well as for Event and Lifetime from GHC.Event * Add Eq1, Ord1, Read1, and Show1 instances for NonEmpty * Define Generic and Generic1 instances back to GHC 7.2, and expose the Data.Semigroup.Generic module on GHC 7.2 0.18.2 * Depend on the bytestring-builder package to ensure Semigroup instances for bytestring Builder and ShortByteString are always defined * Allow building with binary-0.8.3 and later 0.18.1 * Add the missing instance for Data.Binary.Builder.Builder. 0.18.0.1 * Added support for base-4.9 0.18 * Removed the partial functions words, unwords, lines, unlines 0.17.0.1 * Fixed the @since annotations 0.17 * Added groupWith, groupAllWith, groupWith1, groupAllWith1 * Renamed sortOn to sortWith to match the "Comprehensive comprehensions" paper and TransformListComp extension. * Add Semigroup instances for Alt, Void, Proxy and Tagged * Add Num instances for Min and Max * Removed times1p in favor of stimes. 0.16.2.2 * Cleaned up imports to remove warnings on GHC 7.10. 0.16.2.1 * Restored the ability to build on GHC < 7.6. (Generic1 deriving was only added in GHC 7.6) 0.16.2 * Added genericMappend and supporting GSemigroup class for generically deriving Semigroup instances. * Added Arg a b which only compares for equality/order on its first argument, which can be used to compute argmin and argmax. * Add Bifunctor Arg instance to avoid orphans for GHC 7.10+. * Added missing Data.Monoid.Generic module to source control. 0.16.1 * Added Semigroup instances for various Builder constructions in text and bytestring where available. * Added MonadFix and MonadPlus instances for NonEmpty. 0.16.0.1 * Bumped deepseq version bound for GHC 7.10 compatibility. 0.16 * times1p and timesN are now reduced to accepting only a Natural argument. Whole doesn't exist in GHC 7.10's Numeric.Natural, and nats version 1 has removed support for the class. 0.15.4 * Use Data.Coerce.coerce on GHC 7.8+ to reduce the number of eta-expansions in the resulting core. * Avoid conflict with pending Foldable.length in base.
Diffstat (limited to 'math/hs-semigroups')
-rw-r--r--math/hs-semigroups/Makefile9
-rw-r--r--math/hs-semigroups/PLIST22
-rw-r--r--math/hs-semigroups/buildlink3.mk10
-rw-r--r--math/hs-semigroups/distinfo10
4 files changed, 16 insertions, 35 deletions
diff --git a/math/hs-semigroups/Makefile b/math/hs-semigroups/Makefile
index d2035a1a70f..5f1b15921cd 100644
--- a/math/hs-semigroups/Makefile
+++ b/math/hs-semigroups/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2016/01/10 11:49:10 szptvlfn Exp $
+# $NetBSD: Makefile,v 1.11 2019/12/31 16:36:07 pho Exp $
-DISTNAME= semigroups-0.15.3
-PKGREVISION= 7
+DISTNAME= semigroups-0.19.1
CATEGORIES= math
MAINTAINER= pho@cielonegro.org
@@ -10,7 +9,9 @@ LICENSE= 2-clause-bsd
.include "../../mk/haskell.mk"
.include "../../devel/hs-hashable/buildlink3.mk"
-.include "../../math/hs-nats/buildlink3.mk"
+.include "../../devel/hs-tagged/buildlink3.mk"
.include "../../devel/hs-text/buildlink3.mk"
+.include "../../devel/hs-transformers/buildlink3.mk"
+.include "../../devel/hs-transformers-compat/buildlink3.mk"
.include "../../devel/hs-unordered-containers/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/math/hs-semigroups/PLIST b/math/hs-semigroups/PLIST
deleted file mode 100644
index 3843e740b0b..00000000000
--- a/math/hs-semigroups/PLIST
+++ /dev/null
@@ -1,22 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2014/09/02 20:58:16 szptvlfn Exp $
-lib/semigroups-${PKGVERSION}/${HASKELL_VERSION}/Data/List/NonEmpty.hi
-lib/semigroups-${PKGVERSION}/${HASKELL_VERSION}/Data/Semigroup.hi
-lib/semigroups-${PKGVERSION}/${HASKELL_VERSION}/HSsemigroups-${PKGVERSION}.o
-lib/semigroups-${PKGVERSION}/${HASKELL_VERSION}/libHSsemigroups-${PKGVERSION}.a
-lib/semigroups-${PKGVERSION}/${HASKELL_VERSION}/package-description
-share/doc/semigroups-${PKGVERSION}/LICENSE
-${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/Data-List-NonEmpty.html
-${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/Data-Semigroup.html
-${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/doc-index.html
-${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/frames.html
-${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/haddock-util.js
-${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/hslogo-16.png
-${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/index-frames.html
-${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/index.html
-${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/mini_Data-List-NonEmpty.html
-${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/mini_Data-Semigroup.html
-${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/minus.gif
-${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/ocean.css
-${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/plus.gif
-${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/semigroups.haddock
-${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/synopsis.png
diff --git a/math/hs-semigroups/buildlink3.mk b/math/hs-semigroups/buildlink3.mk
index 534d6c94f3d..4f602eea370 100644
--- a/math/hs-semigroups/buildlink3.mk
+++ b/math/hs-semigroups/buildlink3.mk
@@ -1,17 +1,19 @@
-# $NetBSD: buildlink3.mk,v 1.9 2016/01/10 11:49:10 szptvlfn Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2019/12/31 16:36:07 pho Exp $
BUILDLINK_TREE+= hs-semigroups
.if !defined(HS_SEMIGROUPS_BUILDLINK3_MK)
HS_SEMIGROUPS_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.hs-semigroups+= hs-semigroups>=0.15.3
-BUILDLINK_ABI_DEPENDS.hs-semigroups+= hs-semigroups>=0.15.3nb7
+BUILDLINK_API_DEPENDS.hs-semigroups+= hs-semigroups>=0.19.1
+BUILDLINK_ABI_DEPENDS.hs-semigroups+= hs-semigroups>=0.19.1
BUILDLINK_PKGSRCDIR.hs-semigroups?= ../../math/hs-semigroups
.include "../../devel/hs-hashable/buildlink3.mk"
-.include "../../math/hs-nats/buildlink3.mk"
+.include "../../devel/hs-tagged/buildlink3.mk"
.include "../../devel/hs-text/buildlink3.mk"
+.include "../../devel/hs-transformers/buildlink3.mk"
+.include "../../devel/hs-transformers-compat/buildlink3.mk"
.include "../../devel/hs-unordered-containers/buildlink3.mk"
.endif # HS_SEMIGROUPS_BUILDLINK3_MK
diff --git a/math/hs-semigroups/distinfo b/math/hs-semigroups/distinfo
index bfd01f3fa0f..821cad94414 100644
--- a/math/hs-semigroups/distinfo
+++ b/math/hs-semigroups/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 23:33:35 agc Exp $
+$NetBSD: distinfo,v 1.4 2019/12/31 16:36:07 pho Exp $
-SHA1 (semigroups-0.15.3.tar.gz) = cb732ebddec66b4616301136439d00b6c5fe5298
-RMD160 (semigroups-0.15.3.tar.gz) = 099c12ac0ded615e7cbd103fbc680db5011f240c
-SHA512 (semigroups-0.15.3.tar.gz) = 71487c3aec2d7f41a5743b4b3339ebba723b3b230442ac52200b6b23f1f268a2c98eacb96a78d66c196e318922a4b1aea2dec2d48ef49a0efed500273949b46b
-Size (semigroups-0.15.3.tar.gz) = 11886 bytes
+SHA1 (semigroups-0.19.1.tar.gz) = f782391c947edd39b86c02f249e2b4cf629bf8c3
+RMD160 (semigroups-0.19.1.tar.gz) = 30b68217452c2da045a069d4d314316880facb79
+SHA512 (semigroups-0.19.1.tar.gz) = ea073a8aac0d6a4d82205a31bacc672b7f4e2471403b7a97f04b080535da71054abb987af6c7e459ea16908625b03991bc90055d0447d2b0cac55fef335362d4
+Size (semigroups-0.19.1.tar.gz) = 21124 bytes