[DHG_packages] 01/01: Add snap-templates (split out of snap)
Clint Adams
clint at moszumanska.debian.org
Thu Oct 27 20:08:35 UTC 2016
This is an automated email from the git hooks/post-receive script.
clint pushed a commit to branch experimental
in repository DHG_packages.
commit 70333ca4020c168334a1ceff636504dc1c92275c
Author: Clint Adams <clint at debian.org>
Date: Thu Oct 27 14:56:45 2016 -0400
Add snap-templates (split out of snap)
---
p/haskell-snap-templates/debian/changelog | 5 +++
p/haskell-snap-templates/debian/compat | 1 +
p/haskell-snap-templates/debian/control | 45 ++++++++++++++++++++++
p/haskell-snap-templates/debian/copyright | 38 ++++++++++++++++++
.../debian/patches/rename-snap-binary | 28 ++++++++++++++
p/haskell-snap-templates/debian/patches/series | 1 +
p/haskell-snap-templates/debian/rules | 9 +++++
.../debian/snap-templates.haskell-binaries | 1 +
p/haskell-snap-templates/debian/source/format | 1 +
p/haskell-snap-templates/debian/watch | 2 +
10 files changed, 131 insertions(+)
diff --git a/p/haskell-snap-templates/debian/changelog b/p/haskell-snap-templates/debian/changelog
new file mode 100644
index 0000000..f0494d1
--- /dev/null
+++ b/p/haskell-snap-templates/debian/changelog
@@ -0,0 +1,5 @@
+haskell-snap-templates (1.0.0.0-1) experimental; urgency=low
+
+ * Initial release
+
+ -- Clint Adams <clint at debian.org> Thu, 27 Oct 2016 14:45:41 -0400
diff --git a/p/haskell-snap-templates/debian/compat b/p/haskell-snap-templates/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/p/haskell-snap-templates/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/p/haskell-snap-templates/debian/control b/p/haskell-snap-templates/debian/control
new file mode 100644
index 0000000..0699ed2
--- /dev/null
+++ b/p/haskell-snap-templates/debian/control
@@ -0,0 +1,45 @@
+Source: haskell-snap-templates
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.org>
+Uploaders: Clint Adams <clint at debian.org>
+Priority: extra
+Section: haskell
+Build-Depends: debhelper (>= 10),
+ haskell-devscripts (>= 0.8),
+ cdbs,
+ ghc,
+ ghc-prof,
+ libghc-directory-tree-dev (>= 0.11),
+ libghc-directory-tree-dev (<< 0.13),
+ libghc-hashable-dev,
+ libghc-old-time-dev (>= 1.0),
+ libghc-old-time-dev (<< 1.2),
+ libghc-text-dev (>= 0.11),
+ libghc-text-dev (<< 1.3),
+Standards-Version: 3.9.8
+Homepage: http://snapframework.com/
+X-Description: scaffolding CLI for the Snap Framework
+ This is the Scaffolding CLI for the official Snap Framework libraries.
+ It includes:
+ .
+ * The "snap-framework" executable program for generating starter projects
+ .
+ To get started, issue the following sequence of commands:
+ .
+ $ cabal install snap-templates
+ $ mkdir myproject
+ $ cd myproject
+ $ snap-framework init
+
+Package: snap-templates
+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}
diff --git a/p/haskell-snap-templates/debian/copyright b/p/haskell-snap-templates/debian/copyright
new file mode 100644
index 0000000..f63f794
--- /dev/null
+++ b/p/haskell-snap-templates/debian/copyright
@@ -0,0 +1,38 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: snap-templates
+Upstream-Contact: snap at snapframework.com
+Source: https://hackage.haskell.org/package/snap-templates
+
+Files: *
+Copyright: 2009 Snap Framework authors (see CONTRIBUTORS)
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: held by the contributors mentioned in debian/changelog
+License: BSD-3-clause
+
+License: BSD-3-clause
+ 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 the Snap Framework authors nor the names of its
+ 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 HOLDER 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/p/haskell-snap-templates/debian/patches/rename-snap-binary b/p/haskell-snap-templates/debian/patches/rename-snap-binary
new file mode 100644
index 0000000..f953c54
--- /dev/null
+++ b/p/haskell-snap-templates/debian/patches/rename-snap-binary
@@ -0,0 +1,28 @@
+--- a/snap-templates.cabal
++++ b/snap-templates.cabal
+@@ -5,14 +5,14 @@ description:
+ This is the Scaffolding CLI for the official Snap Framework libraries.
+ It includes:
+ .
+- * The \"snap\" executable program for generating starter projects
++ * The \"snap-framework\" executable program for generating starter projects
+ .
+ To get started, issue the following sequence of commands:
+ .
+ @$ cabal install snap-templates
+ $ mkdir myproject
+ $ cd myproject
+- $ snap init@
++ $ snap-framework init@
+ .
+ If you have trouble or any questions, see our FAQ page
+ (<http://snapframework.com/faq>) or the documentation
+@@ -57,7 +57,7 @@ extra-source-files:
+ test/snap-testsuite.cabal,
+ test/runTestsAndCoverage.sh
+
+-Executable snap
++Executable snap-framework
+ hs-source-dirs: src
+ main-is: Snap/Starter.hs
+
diff --git a/p/haskell-snap-templates/debian/patches/series b/p/haskell-snap-templates/debian/patches/series
new file mode 100644
index 0000000..e341243
--- /dev/null
+++ b/p/haskell-snap-templates/debian/patches/series
@@ -0,0 +1 @@
+rename-snap-binary
diff --git a/p/haskell-snap-templates/debian/rules b/p/haskell-snap-templates/debian/rules
new file mode 100755
index 0000000..e5aca0f
--- /dev/null
+++ b/p/haskell-snap-templates/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+DEB_CABAL_PACKAGE = snap-templates
+DEB_DEFAULT_COMPILER = ghc
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/hlibrary.mk
+
+build/snap-templates:: build-ghc-stamp
diff --git a/p/haskell-snap-templates/debian/snap-templates.haskell-binaries b/p/haskell-snap-templates/debian/snap-templates.haskell-binaries
new file mode 100644
index 0000000..40a6f79
--- /dev/null
+++ b/p/haskell-snap-templates/debian/snap-templates.haskell-binaries
@@ -0,0 +1 @@
+snap-framework
diff --git a/p/haskell-snap-templates/debian/source/format b/p/haskell-snap-templates/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/p/haskell-snap-templates/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/p/haskell-snap-templates/debian/watch b/p/haskell-snap-templates/debian/watch
new file mode 100644
index 0000000..19a52fe
--- /dev/null
+++ b/p/haskell-snap-templates/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://hackage.haskell.org/package/snap-templates/distro-monitor .*-([0-9\.]+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git
More information about the Pkg-haskell-commits
mailing list