[commit: packages/directory] master: Refactor & update `directory.cabal` to `cabal-version>=1.10` (76f2227)
git at git.haskell.org
git at git.haskell.org
Sun Oct 13 16:05:41 UTC 2013
Repository : ssh://git@git.haskell.org/directory
On branch : master
Link : http://git.haskell.org/packages/directory.git/commitdiff/76f2227d519a34b4916fc160dd0a58d466f6bfe4
>---------------------------------------------------------------
commit 76f2227d519a34b4916fc160dd0a58d466f6bfe4
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date: Sun Oct 13 12:58:04 2013 +0200
Refactor & update `directory.cabal` to `cabal-version>=1.10`
This also adds a Hackage-supported `changelog` file, bumps the package
version to 1.2.0.2, and lists the GHC versions this package has been
tested to compile with in the `tested-with` Cabal field.
Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>
>---------------------------------------------------------------
76f2227d519a34b4916fc160dd0a58d466f6bfe4
changelog | 11 +++++++
directory.cabal | 90 ++++++++++++++++++++++++++++++++++---------------------
2 files changed, 67 insertions(+), 34 deletions(-)
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..8f2cf93
--- /dev/null
+++ b/changelog
@@ -0,0 +1,11 @@
+-*-changelog-*-
+
+1.2.0.2 Oct 2013
+
+ * Add support for sub-second precision in `getModificationTime`
+ when linked against `unix>=2.6.0.0`
+ * Fix `createDirectoryIfMissing _ "."` in `C:\` on Windows
+ * Remove support for NHC98 compiler
+ * Update package to `cabal-version >= 1.10` format
+ * Enhance Haddock documentation for `doesDirectoryExist` and
+ `canonicalizePath`
diff --git a/directory.cabal b/directory.cabal
index e18b83d..6abf35d 100644
--- a/directory.cabal
+++ b/directory.cabal
@@ -1,46 +1,68 @@
-name: directory
-version: 1.2.0.1
--- GHC 7.6.1 released with 1.2.0.0
-license: BSD3
-license-file: LICENSE
-maintainer: libraries at haskell.org
-bug-reports: http://hackage.haskell.org/trac/ghc/newticket?component=libraries/directory
-synopsis: library for directory handling
+name: directory
+version: 1.2.0.2
+-- GHC 7.6.3 released with 1.2.0.1
+license: BSD3
+license-file: LICENSE
+maintainer: libraries at haskell.org
+bug-reports: http://hackage.haskell.org/trac/ghc/newticket?component=libraries/directory
+synopsis: library for directory handling
description:
- This package provides a library for handling directories.
+ This package provides a library for handling directories.
category: System
-build-type: Configure
+build-type: Configure
+cabal-version: >= 1.10
+tested-with: GHC==7.6.3, GHC==7.6.2, GHC==7.6.1, GHC==7.4.2, GHC==7.4.1
+
extra-tmp-files:
- config.log config.status autom4te.cache
- include/HsDirectoryConfig.h
+ autom4te.cache
+ config.log
+ config.status
+ include/HsDirectoryConfig.h
+
extra-source-files:
- config.guess config.sub install-sh
- configure.ac configure include/HsDirectoryConfig.h.in
-cabal-version: >= 1.6
+ changelog
+ config.guess
+ config.sub
+ configure
+ configure.ac
+ include/HsDirectoryConfig.h.in
+ install-sh
source-repository head
type: git
location: http://git.haskell.org/packages/directory.git
-Library {
+source-repository this
+ type: git
+ location: http://git.haskell.org/packages/directory.git
+ tag: directory-1.2.0.2-release
+
+Library
+ default-language: Haskell2010
+ other-extensions:
+ CPP
+ NondecreasingIndentation
+ Trustworthy
+
exposed-modules:
- System.Directory
+ System.Directory
+
c-sources:
- cbits/directory.c
+ cbits/directory.c
include-dirs: include
- includes: HsDirectory.h
- install-includes: HsDirectory.h HsDirectoryConfig.h
- extensions: CPP, ForeignFunctionInterface
- if impl(ghc >= 7.1)
- extensions: NondecreasingIndentation
- build-depends: base >= 4.5 && < 4.8,
- time < 1.5,
- filepath >= 1.1 && < 1.4
- if !impl(nhc98) {
- if os(windows) {
- build-depends: Win32
- } else {
- build-depends: unix
- }
- }
-}
+ includes:
+ HsDirectory.h
+ install-includes:
+ HsDirectory.h
+ HsDirectoryConfig.h
+
+ build-depends:
+ base >= 4.5 && < 4.8,
+ time >= 1.4 && < 1.5,
+ filepath >= 1.3 && < 1.4
+ if os(windows)
+ build-depends: Win32 >= 2.2.2 && < 2.4
+ else
+ build-depends: unix >= 2.5.1 && < 2.8
+
+ ghc-options: -Wall
More information about the ghc-commits
mailing list