diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2016-04-16 08:32:48 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2016-04-16 08:32:48 -0700 |
commit | 7cdf764415fd56191118719b2ecec8c3a6aad0d3 (patch) | |
tree | c9df97b0da0fbc69eecaf4b6f64cc207f104dfb6 /debian | |
parent | fd2d56e18d19895267ec76d77cf7983b8603b8c0 (diff) | |
download | stylish-haskell-7cdf764415fd56191118719b2ecec8c3a6aad0d3.tar.gz |
start debianisation (generated by cabal-haskell)
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 87 | ||||
-rw-r--r-- | debian/copyright | 43 | ||||
-rwxr-xr-x | debian/rules | 10 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/stylish-haskell.install | 2 | ||||
-rw-r--r-- | debian/watch | 3 |
8 files changed, 152 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..1ed60b6 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +stylish-haskell (0.5.16.0-1) UNRELEASED; urgency=medium + + * Initial release (Closes #XXXXXX) + + -- Sean Whitton <spwhitton@spwhitton.name> Sat, 16 Apr 2016 08:19:41 -0700 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..d91fcb9 --- /dev/null +++ b/debian/control @@ -0,0 +1,87 @@ +Source: stylish-haskell +Maintainer: Sean Whitton <spwhitton@spwhitton.name> +Priority: extra +Section: haskell +Build-Depends: debhelper (>= 9), + haskell-devscripts (>= 0.8), + cdbs, + ghc, + ghc-prof, + libghc-aeson-dev (>= 0.6), + libghc-aeson-dev (<< 0.12), + libghc-aeson-prof (>= 0.6), + libghc-aeson-prof (<< 0.12), + libghc-bytestring-dev (>= 0.9), + libghc-bytestring-dev (<< 0.11), + libghc-bytestring-prof (>= 0.9), + libghc-bytestring-prof (<< 0.11), + libghc-containers-dev (>= 0.3), + libghc-containers-dev (<< 0.6), + libghc-containers-prof (>= 0.3), + libghc-containers-prof (<< 0.6), + libghc-directory-dev (>= 1.1), + libghc-directory-dev (<< 1.3), + libghc-directory-prof (>= 1.1), + libghc-directory-prof (<< 1.3), + libghc-filepath-dev (>= 1.1), + libghc-filepath-dev (<< 1.5), + libghc-filepath-prof (>= 1.1), + libghc-filepath-prof (<< 1.5), + libghc-src-exts-dev (>= 1.17), + libghc-src-exts-dev (<< 1.18), + libghc-src-exts-prof (>= 1.17), + libghc-src-exts-prof (<< 1.18), + libghc-mtl-dev (>= 2.0), + libghc-mtl-dev (<< 2.3), + libghc-mtl-prof (>= 2.0), + libghc-mtl-prof (<< 2.3), + libghc-syb-dev (>= 0.3), + libghc-syb-dev (<< 0.7), + libghc-syb-prof (>= 0.3), + libghc-syb-prof (<< 0.7), + libghc-yaml-dev (>= 0.7), + libghc-yaml-dev (<< 0.9), + libghc-yaml-prof (>= 0.7), + libghc-yaml-prof (<< 0.9), + libghc-cmdargs-dev (>= 0.9), + libghc-cmdargs-dev (<< 0.11), + libghc-strict-dev (>= 0.3), + libghc-strict-dev (<< 0.4), + libghc-hunit-dev (>= 1.2), + libghc-hunit-dev (<< 1.4), + libghc-test-framework-dev (>= 0.4), + libghc-test-framework-dev (<< 0.9), + libghc-test-framework-hunit-dev (>= 0.2), + libghc-test-framework-hunit-dev (<< 0.4), +Build-Depends-Indep: ghc-doc, + libghc-aeson-doc, + libghc-bytestring-doc, + libghc-containers-doc, + libghc-directory-doc, + libghc-filepath-doc, + libghc-src-exts-doc, + libghc-mtl-doc, + libghc-syb-doc, + libghc-yaml-doc, +Standards-Version: 3.9.8 +Homepage: https://github.com/jaspervdj/stylish-haskell +X-Description: Haskell code prettifier + A Haskell code prettifier. For more information, see: + . + <https://github.com/jaspervdj/stylish-haskell/blob/master/README.markdown> +Vcs-Git: https://git.spwhitton.name/stylish-haskell +Vcs-Browser: https://git.spwhitton.name/?p=stylish-haskell.git;a=summary + +Package: stylish-haskell +Architecture: any +Section: misc +Depends: ${haskell:Depends}, + ${misc:Depends}, +Recommends: ${haskell:Recommends}, +Suggests: ${haskell:Suggests}, haskell-mode +Conflicts: ${haskell:Conflicts}, +Provides: ${haskell:Provides}, +Description: ${haskell:ShortDescription}${haskell:ShortBlurb} + ${haskell:LongDescription} + . + ${haskell:Blurb} diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..dd4cbf3 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,43 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: stylish-haskell +Upstream-Contact: Jasper Van der Jeugt <m@jaspervdj.be> +Source: https://github.com/jaspervdj/stylish-haskell + +Files: * +Copyright: (C) 2012-2016 Jasper Van der Jeugt <m@jaspervdj.be> +License: BSD3 + +Files: debian/* +Copyright: (C) 2016 Sean Whitton <spwhitton@spwhitton.name> +License: BSD3 + +License: BSD3 + 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. + . + * Neither the name of Jasper Van der Jeugt <m@jaspervdj.be> nor + the names of other contributors may 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. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..75f2efc --- /dev/null +++ b/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +DEB_ENABLE_TESTS = yes +DEB_CABAL_PACKAGE = stylish-haskell +DEB_DEFAULT_COMPILER = ghc + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/hlibrary.mk + +build/stylish-haskell:: build-ghc-stamp diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/stylish-haskell.install b/debian/stylish-haskell.install new file mode 100644 index 0000000..0bcd032 --- /dev/null +++ b/debian/stylish-haskell.install @@ -0,0 +1,2 @@ +./data/stylish-haskell.yaml usr/share/stylish-haskell/data +dist-ghc/build/stylish-haskell/stylish-haskell usr/bin diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..9e0591f --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/stylish-haskell-$1\.tar\.gz/ \ + https://github.com/jaspervdj/stylish-haskell/tags .*/v?(\d\S*)\.tar\.gz |