forked from pool/ghc-fsnotify
osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-fsnotify revision:16, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-fsnotify?expand=0&rev=48
This commit is contained in:
parent
843ec71620
commit
28f367c2bc
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ded2165f72a2b4971f941cb83ef7f58b200e3e04159be78da55ba6c5d35f6da5
|
||||
size 20638
|
3
fsnotify-0.4.1.0.tar.gz
Normal file
3
fsnotify-0.4.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d130fb4a871a181a3d1485f24da85aa49d6ff9022ce08f8401b4626143eaf7ef
|
||||
size 22783
|
@ -1,76 +0,0 @@
|
||||
Name: fsnotify
|
||||
Version: 0.3.0.1
|
||||
x-revision: 2
|
||||
Author: Mark Dittmer <mark.s.dittmer@gmail.com>, Niklas Broberg
|
||||
Maintainer: Tom McLaughlin <tom@codedown.io>
|
||||
License: BSD3
|
||||
License-File: LICENSE
|
||||
Synopsis: Cross platform library for file change notification.
|
||||
Description: Cross platform library for file creation, modification,
|
||||
and deletion notification. This library builds upon
|
||||
existing libraries for platform-specific Windows, Mac,
|
||||
and Linux filesystem event notification.
|
||||
Category: Filesystem
|
||||
Cabal-Version: >= 1.8
|
||||
Build-Type: Simple
|
||||
Homepage: https://github.com/haskell-fswatch/hfsnotify
|
||||
Extra-Source-Files:
|
||||
README.md
|
||||
CHANGELOG.md
|
||||
test/Test.hs
|
||||
test/EventUtils.hs
|
||||
|
||||
|
||||
Library
|
||||
Build-Depends: base >= 4.8 && < 5
|
||||
, bytestring >= 0.10.2
|
||||
, containers >= 0.4
|
||||
, directory >= 1.2.7.0
|
||||
, filepath >= 1.3.0.0
|
||||
, text >= 0.11.0
|
||||
, time >= 1.1
|
||||
, async >= 2.0.1
|
||||
, unix-compat >= 0.2
|
||||
Exposed-Modules: System.FSNotify
|
||||
, System.FSNotify.Devel
|
||||
Other-Modules: System.FSNotify.Listener
|
||||
, System.FSNotify.Path
|
||||
, System.FSNotify.Polling
|
||||
, System.FSNotify.Types
|
||||
Hs-Source-Dirs: src
|
||||
GHC-Options: -Wall
|
||||
if os(linux)
|
||||
CPP-Options: -DOS_Linux
|
||||
Other-Modules: System.FSNotify.Linux
|
||||
Build-Depends: hinotify >= 0.3.0,
|
||||
shelly >= 1.6.5,
|
||||
unix >= 2.7.1.0
|
||||
else
|
||||
if os(windows)
|
||||
CPP-Options: -DOS_Win32
|
||||
Other-Modules: System.FSNotify.Win32
|
||||
, System.Win32.FileNotify
|
||||
, System.Win32.Notify
|
||||
Build-Depends: Win32
|
||||
Hs-Source-Dirs: win-src
|
||||
else
|
||||
if os(darwin)
|
||||
CPP-Options: -DOS_Mac
|
||||
Other-Modules: System.FSNotify.OSX
|
||||
Build-Depends: hfsevents >= 0.1.3
|
||||
|
||||
Test-Suite test
|
||||
Type: exitcode-stdio-1.0
|
||||
Main-Is: Test.hs
|
||||
Other-modules: EventUtils
|
||||
Hs-Source-Dirs: test
|
||||
GHC-Options: -Wall -threaded
|
||||
|
||||
if os(windows)
|
||||
Build-Depends: base >= 4.3.1.0, tasty >= 0.5, tasty-hunit, directory, filepath, unix-compat, fsnotify, async >= 2, temporary, random, Win32
|
||||
else
|
||||
Build-Depends: base >= 4.3.1.0, tasty >= 0.5, tasty-hunit, directory, filepath, unix-compat, fsnotify, async >= 2, temporary, random
|
||||
|
||||
Source-Repository head
|
||||
Type: git
|
||||
Location: git://github.com/haskell-fswatch/hfsnotify
|
@ -1,3 +1,37 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 17 02:03:57 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update fsnotify to version 0.4.1.0.
|
||||
Version 0.4.1.0
|
||||
---------------
|
||||
|
||||
* Add `unliftio` lower bound (#106)
|
||||
* Change the tests back to a test-suite to avoid building for library users. (#107)
|
||||
* Fix up Windows compatibility.
|
||||
* Export `WatchConfig` type (#108)
|
||||
|
||||
Version 0.4.0.1
|
||||
---------------
|
||||
|
||||
* Fix compatibility with *BSD.
|
||||
|
||||
Version 0.4.0.0
|
||||
---------------
|
||||
|
||||
API breaking update.
|
||||
|
||||
* New options for threading control (single-threaded, thread-per-watch, and thread-per-manager)
|
||||
* Revamp `WatchConfig` options to be less confusing and reduce boolean blindness.
|
||||
* Pull out debouncing stuff, since it was never correct as it simply took the last event affecting a given file in the debounce period. Debouncing is currently not included, and should be handled as an orthogonal concern. I'd like to include some debouncing logic, but didn't want to delay this release any longer.
|
||||
* We now expose `type DebounceFn = Action -> IO Action`, which represents an arbitrary debouncer. All debouncers should be in the form of one of these functions.
|
||||
* A robust state machine debouncer is in progress but not fully implemented yet; see the `state-machine` branch.
|
||||
* Contributions are welcome! We can potentially add multiple debouncers of different complexity as modules under `System.FSNotify.Debounce.*`.
|
||||
* Don't silently fall back to polling on failure of native watcher.
|
||||
Instead, throw an exception which the user can recover from by switching to polling.
|
||||
* Add ModifiedAttributes event type + Linux support
|
||||
* Add confOnHandlerException to be able to control what happens when a handler throws an exception.
|
||||
* WatchConfig constructor is no longer exposed. Instead use `defaultConfig {...}` with the accessors.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 16 17:31:00 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||
|
||||
|
@ -19,13 +19,12 @@
|
||||
%global pkg_name fsnotify
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.3.0.1
|
||||
Version: 0.4.1.0
|
||||
Release: 0
|
||||
Summary: Cross platform library for file change notification
|
||||
License: BSD-3-Clause
|
||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-async-devel
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
@ -33,18 +32,21 @@ BuildRequires: ghc-containers-devel
|
||||
BuildRequires: ghc-directory-devel
|
||||
BuildRequires: ghc-filepath-devel
|
||||
BuildRequires: ghc-hinotify-devel
|
||||
BuildRequires: ghc-monad-control-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-shelly-devel
|
||||
BuildRequires: ghc-safe-exceptions-devel
|
||||
BuildRequires: ghc-text-devel
|
||||
BuildRequires: ghc-time-devel
|
||||
BuildRequires: ghc-unix-compat-devel
|
||||
BuildRequires: ghc-unix-devel
|
||||
ExcludeArch: %{ix86}
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-exceptions-devel
|
||||
BuildRequires: ghc-random-devel
|
||||
BuildRequires: ghc-tasty-devel
|
||||
BuildRequires: ghc-tasty-hunit-devel
|
||||
BuildRequires: ghc-retry-devel
|
||||
BuildRequires: ghc-sandwich-devel
|
||||
BuildRequires: ghc-temporary-devel
|
||||
BuildRequires: ghc-unliftio-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
@ -64,7 +66,6 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkg_name}-%{version}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
Loading…
Reference in New Issue
Block a user