Skip to content

Commit

Permalink
time/hs-time-manager: update to time-manager-0.2.2
Browse files Browse the repository at this point in the history
## 0.2.2

* `initialize` with non positive integer creates a time manager
  which does not maintain timeout.
  [#1017](yesodweb/wai#1017)

## 0.2.1

* Export KilledByThreadManager exception
  [#1016](yesodweb/wai#1016)

## 0.2.0

* Providing `System.ThreadManager`.
* `withHandle` catches `TimeoutThread` internally.
  It returns `Nothing` on timeout.

## 0.1.3

* Providing `withHandle` and `withHandleKillThread`.

## 0.1.2

* Holding `Weak ThreadId` to prevent thread leak again
  [#1013](yesodweb/wai#1013)

## 0.1.1

* Removing `unliftio`.
  • Loading branch information
depressed-pho committed Jan 30, 2025
1 parent 34210b3 commit 471d829
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 14 deletions.
3 changes: 2 additions & 1 deletion time/hs-time-manager/DESCR
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Scalable timer functions provided by a timer manager.
Scalable timer functions provided by a timer manager and thread management
functions to prevent thread leak by a thread manager.
6 changes: 2 additions & 4 deletions time/hs-time-manager/Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# $NetBSD: Makefile,v 1.10 2024/05/09 01:32:51 pho Exp $
# $NetBSD: Makefile,v 1.11 2025/01/30 16:13:35 pho Exp $

DISTNAME= time-manager-0.1.0
PKGREVISION= 1
DISTNAME= time-manager-0.2.2
CATEGORIES= time

MAINTAINER= [email protected]
COMMENT= Scalable timer
LICENSE= mit

.include "../../devel/hs-auto-update/buildlink3.mk"
.include "../../devel/hs-unliftio/buildlink3.mk"
.include "../../mk/haskell.mk"
.include "../../mk/bsd.pkg.mk"
6 changes: 5 additions & 1 deletion time/hs-time-manager/PLIST
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
@comment $NetBSD: PLIST,v 1.3 2024/05/01 14:29:33 pho Exp $
@comment $NetBSD: PLIST,v 1.4 2025/01/30 16:13:35 pho Exp $
${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/System/ThreadManager.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/System/ThreadManager.hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/System/ThreadManager.p_hi
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/System/TimeManager.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/System/TimeManager.hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/System/TimeManager.p_hi
Expand All @@ -8,6 +11,7 @@ ${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
lib/time-manager-${PKGVERSION}/${HS_VERSION}/package-description
lib/time-manager-${PKGVERSION}/${HS_VERSION}/package-id
share/doc/${HS_PLATFORM}/time-manager-${PKGVERSION}/LICENSE
${PLIST.doc}share/doc/${HS_PLATFORM}/time-manager-${PKGVERSION}/html/System-ThreadManager.html
${PLIST.doc}share/doc/${HS_PLATFORM}/time-manager-${PKGVERSION}/html/System-TimeManager.html
${PLIST.doc}share/doc/${HS_PLATFORM}/time-manager-${PKGVERSION}/html/doc-index.html
${PLIST.doc}share/doc/${HS_PLATFORM}/time-manager-${PKGVERSION}/html/haddock-bundle.min.js
Expand Down
7 changes: 3 additions & 4 deletions time/hs-time-manager/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
# $NetBSD: buildlink3.mk,v 1.10 2024/05/09 01:32:51 pho Exp $
# $NetBSD: buildlink3.mk,v 1.11 2025/01/30 16:13:35 pho Exp $

BUILDLINK_TREE+= hs-time-manager

.if !defined(HS_TIME_MANAGER_BUILDLINK3_MK)
HS_TIME_MANAGER_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.hs-time-manager+= hs-time-manager>=0.1.0
BUILDLINK_ABI_DEPENDS.hs-time-manager+= hs-time-manager>=0.1.0nb1
BUILDLINK_API_DEPENDS.hs-time-manager+= hs-time-manager>=0.2.2
BUILDLINK_ABI_DEPENDS.hs-time-manager+= hs-time-manager>=0.2.2
BUILDLINK_PKGSRCDIR.hs-time-manager?= ../../time/hs-time-manager

.include "../../devel/hs-auto-update/buildlink3.mk"
.include "../../devel/hs-unliftio/buildlink3.mk"
.endif # HS_TIME_MANAGER_BUILDLINK3_MK

BUILDLINK_TREE+= -hs-time-manager
8 changes: 4 additions & 4 deletions time/hs-time-manager/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.5 2024/05/01 14:29:33 pho Exp $
$NetBSD: distinfo,v 1.6 2025/01/30 16:13:35 pho Exp $

BLAKE2s (time-manager-0.1.0.tar.gz) = 7dbce7ca9251ee9cb125dd275566783a8cbb02fbdd2427923e79cf6e7efec62c
SHA512 (time-manager-0.1.0.tar.gz) = c00600dcd790ce0ae49a0e0c51ca723864ae04e468ffe91d72313b97193c7ccaac75d2dece248cb725b2c6a4e8a283e1314d15bb3758b1a380cc8b8ac8949c2a
Size (time-manager-0.1.0.tar.gz) = 3063 bytes
BLAKE2s (time-manager-0.2.2.tar.gz) = 093ea0248c85dcac05aba52f61689a05c2d34f263f31b753fa67713e86301f6f
SHA512 (time-manager-0.2.2.tar.gz) = 4a7cb8233336d81217565d79eea8f208f3ebcff82f65cda64cf567aa56b71e580581c3d8b313566ab51bad6eeaca51ff3f0104a90c08dd97bcf4439511c59438
Size (time-manager-0.2.2.tar.gz) = 5814 bytes

0 comments on commit 471d829

Please sign in to comment.