[Git][haskell-team/DHG_packages][master] Initial packaging of concurrent-extra-0.7.0.12

Scott Talbert (@swt2c) gitlab at salsa.debian.org
Thu Jul 28 20:49:01 BST 2022



Scott Talbert pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
6f7bb8f8 by Scott Talbert at 2022-07-28T15:43:54-04:00
Initial packaging of concurrent-extra-0.7.0.12

- - - - -


9 changed files:

- + p/haskell-concurrent-extra/debian/changelog
- + p/haskell-concurrent-extra/debian/compat
- + p/haskell-concurrent-extra/debian/control
- + p/haskell-concurrent-extra/debian/copyright
- + p/haskell-concurrent-extra/debian/patches/series
- + p/haskell-concurrent-extra/debian/patches/stress-test-timeout
- + p/haskell-concurrent-extra/debian/rules
- + p/haskell-concurrent-extra/debian/source/format
- + p/haskell-concurrent-extra/debian/watch


Changes:

=====================================
p/haskell-concurrent-extra/debian/changelog
=====================================
@@ -0,0 +1,5 @@
+haskell-concurrent-extra (0.7.0.12-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Scott Talbert <swt at techie.net>  Thu, 28 Jul 2022 15:20:38 -0400


=====================================
p/haskell-concurrent-extra/debian/compat
=====================================
@@ -0,0 +1 @@
+10


=====================================
p/haskell-concurrent-extra/debian/control
=====================================
@@ -0,0 +1,94 @@
+Source: haskell-concurrent-extra
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.org>
+Uploaders: Scott Talbert <swt at techie.net>
+Priority: optional
+Section: haskell
+Build-Depends: debhelper (>= 10),
+ haskell-devscripts-minimal | haskell-devscripts (>= 0.13),
+ cdbs,
+ ghc,
+ ghc-prof,
+ libghc-unbounded-delays-dev (>= 0.1),
+ libghc-unbounded-delays-prof,
+ libghc-hunit-dev (>= 1.2.2),
+ libghc-hunit-prof,
+ libghc-async-dev (>= 2.0),
+ libghc-async-prof,
+ libghc-random-dev (>= 1.0),
+ libghc-random-prof,
+ libghc-test-framework-dev (>= 0.2.4),
+ libghc-test-framework-prof,
+ libghc-test-framework-hunit-dev (>= 0.2.4),
+ libghc-test-framework-hunit-prof,
+Build-Depends-Indep: ghc-doc,
+ libghc-unbounded-delays-doc,
+Standards-Version: 4.6.1
+Homepage: https://github.com/basvandijk/concurrent-extra
+Vcs-Browser: https://salsa.debian.org/haskell-team/DHG_packages/tree/master/p/haskell-concurrent-extra
+Vcs-Git: https://salsa.debian.org/haskell-team/DHG_packages.git [p/haskell-concurrent-extra]
+X-Description: Extra concurrency primitives
+ The @concurrent-extra@ package offers among other things the
+ following selection of synchronisation primitives:
+ .
+  * @Broadcast@: Wake multiple threads by broadcasting a value.
+ .
+  * @Event@: Wake multiple threads by signalling an event.
+ .
+  * @Lock@: Enforce exclusive access to a resource. Also known as a
+ binary semaphore or mutex. The package additionally provides an
+ alternative that works in the @STM@ monad.
+ .
+  * @RLock@: A lock which can be acquired multiple times by the same
+ thread. Also known as a reentrant mutex.
+ .
+  * @ReadWriteLock@: Multiple-reader, single-writer locks. Used to
+ protect shared resources which may be concurrently read, but only
+ sequentially written.
+ .
+  * @ReadWriteVar@: Concurrent read, sequential write variables.
+ .
+ Please consult the API documentation of the individual modules for
+ more detailed information.
+ .
+ This package was inspired by the concurrency libraries of Java and
+ Python.
+
+Package: libghc-concurrent-extra-dev
+Architecture: any
+Depends: ${haskell:Depends},
+ ${misc:Depends},
+ ${shlibs:Depends},
+Recommends: ${haskell:Recommends},
+Suggests: ${haskell:Suggests},
+Conflicts: ${haskell:Conflicts},
+Provides: ${haskell:Provides},
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
+
+Package: libghc-concurrent-extra-prof
+Architecture: any
+Depends: ${haskell:Depends},
+ ${misc:Depends},
+Recommends: ${haskell:Recommends},
+Suggests: ${haskell:Suggests},
+Conflicts: ${haskell:Conflicts},
+Provides: ${haskell:Provides},
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
+
+Package: libghc-concurrent-extra-doc
+Architecture: all
+Section: doc
+Depends: ${haskell:Depends},
+ ${misc:Depends},
+Recommends: ${haskell:Recommends},
+Suggests: ${haskell:Suggests},
+Conflicts: ${haskell:Conflicts},
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}


=====================================
p/haskell-concurrent-extra/debian/copyright
=====================================
@@ -0,0 +1,47 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: concurrent-extra
+Upstream-Contact: Bas van Dijk <v.dijk.bas at gmail.com>
+ Roel van Dijk <vandijk.roel at gmail.com>
+Source: https://hackage.haskell.org/package/concurrent-extra
+
+Files: *
+Copyright: (c) 2010-2012 Bas van Dijk & Roel van Dijk
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: held by the contributors mentioned in debian/changelog
+License: BSD-3-clause
+
+License: BSD-3-clause
+ Copyright (c) 2010-2012 Bas van Dijk & Roel van Dijk
+ .
+ All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+     * Redistributions of source code must retain the above copyright
+       notice, this list of conditions and the following disclaimer.
+ .
+     * Redistributions in binary form must reproduce the above
+       copyright notice, this list of conditions and the following
+       disclaimer in the documentation and/or other materials provided
+       with the distribution.
+ .
+     * The names of Bas van Dijk, Roel van Dijk and the names of
+       contributors may NOT be used to endorse or promote products
+       derived from this software without specific prior written
+       permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


=====================================
p/haskell-concurrent-extra/debian/patches/series
=====================================
@@ -0,0 +1 @@
+stress-test-timeout


=====================================
p/haskell-concurrent-extra/debian/patches/stress-test-timeout
=====================================
@@ -0,0 +1,11 @@
+--- a/Control/Concurrent/ReadWriteLock/Test.hs
++++ b/Control/Concurrent/ReadWriteLock/Test.hs
+@@ -97,7 +97,7 @@ test2 = assert $ within (10 * a_moment)
+           RWLock.acquireRead rwl
+ 
+ stressTest :: Assertion
+-stressTest = assert $ within (500 * a_moment) $ do
++stressTest = assert $ within (1000 * a_moment) $ do
+   lock <- RWLock.new
+ 
+   let randomDelay hi = randomRIO (0, hi) >>= threadDelay


=====================================
p/haskell-concurrent-extra/debian/rules
=====================================
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+DEB_ENABLE_TESTS = yes
+DEB_SETUP_BIN_NAME = debian/hlibrary.setup
+DEB_CABAL_PACKAGE = concurrent-extra
+DEB_DEFAULT_COMPILER = ghc
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/hlibrary.mk


=====================================
p/haskell-concurrent-extra/debian/source/format
=====================================
@@ -0,0 +1 @@
+3.0 (quilt)


=====================================
p/haskell-concurrent-extra/debian/watch
=====================================
@@ -0,0 +1,2 @@
+version=3
+https://hackage.haskell.org/package/concurrent-extra/distro-monitor .*-([0-9\.]+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/6f7bb8f82832e49b28441878fa3d8302db00a648

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/6f7bb8f82832e49b28441878fa3d8302db00a648
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20220728/33787da4/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list