[Git][haskell-team/DHG_packages][master] Initial packaging of typst-0.1.0.0

Scott Talbert (@swt2c) gitlab at salsa.debian.org
Mon Jan 1 23:16:23 GMT 2024



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


Commits:
671d08d9 by Scott Talbert at 2024-01-01T18:09:37-05:00
Initial packaging of typst-0.1.0.0

- - - - -


9 changed files:

- + p/haskell-typst/debian/changelog
- + p/haskell-typst/debian/compat
- + p/haskell-typst/debian/control
- + p/haskell-typst/debian/copyright
- + p/haskell-typst/debian/patches/fea8e05a6c870ea6e032102aaf9c4a2651a60135.patch
- + p/haskell-typst/debian/patches/series
- + p/haskell-typst/debian/rules
- + p/haskell-typst/debian/source/format
- + p/haskell-typst/debian/watch


Changes:

=====================================
p/haskell-typst/debian/changelog
=====================================
@@ -0,0 +1,5 @@
+haskell-typst (0.1.0.0-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Scott Talbert <swt at techie.net>  Mon, 01 Jan 2024 17:50:59 -0500


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


=====================================
p/haskell-typst/debian/control
=====================================
@@ -0,0 +1,98 @@
+Source: haskell-typst
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.org>
+Uploaders: Scott Talbert <swt at techie.net>
+Priority: optional
+Section: haskell
+Rules-Requires-Root: no
+Build-Depends: debhelper (>= 10),
+ haskell-devscripts-minimal | haskell-devscripts (>= 0.13),
+ cdbs,
+ ghc,
+ ghc-prof,
+ libghc-aeson-dev,
+ libghc-aeson-prof,
+ libghc-cassava-dev,
+ libghc-cassava-prof,
+ libghc-ordered-containers-dev,
+ libghc-ordered-containers-prof,
+ libghc-pretty-show-dev,
+ libghc-pretty-show-prof,
+ libghc-regex-tdfa-dev,
+ libghc-regex-tdfa-prof,
+ libghc-scientific-dev,
+ libghc-scientific-prof,
+ libghc-tasty-dev,
+ libghc-tasty-prof,
+ libghc-tasty-golden-dev,
+ libghc-tasty-golden-prof,
+ libghc-typst-symbols-dev (>= 0.1),
+ libghc-typst-symbols-dev (<< 0.2),
+ libghc-typst-symbols-prof,
+ libghc-vector-dev,
+ libghc-vector-prof,
+ libghc-xml-conduit-dev,
+ libghc-xml-conduit-prof,
+ libghc-yaml-dev,
+ libghc-yaml-prof,
+Build-Depends-Indep: ghc-doc,
+ libghc-aeson-doc,
+ libghc-cassava-doc,
+ libghc-ordered-containers-doc,
+ libghc-pretty-show-doc,
+ libghc-regex-tdfa-doc,
+ libghc-scientific-doc,
+ libghc-tasty-doc,
+ libghc-tasty-golden-doc,
+ libghc-typst-symbols-doc,
+ libghc-vector-doc,
+ libghc-xml-conduit-doc,
+ libghc-yaml-doc,
+Standards-Version: 4.6.2
+Homepage: https://hackage.haskell.org/package/typst
+Vcs-Browser: https://salsa.debian.org/haskell-team/DHG_packages/tree/master/p/haskell-typst
+Vcs-Git: https://salsa.debian.org/haskell-team/DHG_packages.git [p/haskell-typst]
+X-Description: Parsing and evaluating typst syntax.
+ A library for parsing and evaluating typst syntax.
+ Typst (<https://typst.app>) is a document layout and
+ formatting language. This library targets typst 0.4
+ and currently offers only partial support.
+
+Package: libghc-typst-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-typst-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-typst-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-typst/debian/copyright
=====================================
@@ -0,0 +1,44 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: typst
+Upstream-Contact: jgm at berkeley.edu
+Source: https://hackage.haskell.org/package/typst
+
+Files: *
+Copyright: Copyright 2023 John MacFarlane
+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) 2023, John MacFarlane
+ .
+ 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 John MacFarlane 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.


=====================================
p/haskell-typst/debian/patches/fea8e05a6c870ea6e032102aaf9c4a2651a60135.patch
=====================================
@@ -0,0 +1,92 @@
+From fea8e05a6c870ea6e032102aaf9c4a2651a60135 Mon Sep 17 00:00:00 2001
+From: John MacFarlane <jgm at berkeley.edu>
+Date: Fri, 18 Aug 2023 16:05:07 -0700
+Subject: [PATCH] Fix tests because of breaking symbol change ident -> equiv.
+
+---
+ test/out/math/spacing-02.out | 2 +-
+ test/out/math/spacing-04.out | 8 ++++----
+ test/typ/math/spacing-02.typ | 2 +-
+ test/typ/math/spacing-04.typ | 8 ++++----
+ 4 files changed, 10 insertions(+), 10 deletions(-)
+
+diff --git a/test/out/math/spacing-02.out b/test/out/math/spacing-02.out
+index 5af9bc7..943708e 100644
+--- a/test/out/math/spacing-02.out
++++ b/test/out/math/spacing-02.out
+@@ -92,7 +92,7 @@
+     , Code
+         "test/typ/math/spacing-02.typ"
+         ( line 5 , column 8 )
+-        (Ident (Identifier "ident"))
++        (Ident (Identifier "equiv"))
+     , Text "c"
+     , Code
+         "test/typ/math/spacing-02.typ"
+diff --git a/test/out/math/spacing-04.out b/test/out/math/spacing-04.out
+index d346781..992a382 100644
+--- a/test/out/math/spacing-04.out
++++ b/test/out/math/spacing-04.out
+@@ -53,7 +53,7 @@
+     , Code
+         "test/typ/math/spacing-04.typ"
+         ( line 4 , column 4 )
+-        (Ident (Identifier "ident"))
++        (Ident (Identifier "equiv"))
+     , Text "b"
+     , Text "+"
+     , Text "c"
+@@ -86,7 +86,7 @@
+                [ Code
+                    "test/typ/math/spacing-04.typ"
+                    ( line 5 , column 11 )
+-                   (Ident (Identifier "ident"))
++                   (Ident (Identifier "equiv"))
+                ]
+            ])
+     , Text "b"
+@@ -147,7 +147,7 @@
+                [ Code
+                    "test/typ/math/spacing-04.typ"
+                    ( line 6 , column 14 )
+-                   (Ident (Identifier "ident"))
++                   (Ident (Identifier "equiv"))
+                ]
+            ])
+     , Text "b"
+@@ -210,7 +210,7 @@
+                [ Code
+                    "test/typ/math/spacing-04.typ"
+                    ( line 8 , column 11 )
+-                   (Ident (Identifier "ident"))
++                   (Ident (Identifier "equiv"))
+                ]
+            , KeyValArg (Identifier "tl") (Block (Content [ Text "a" ]))
+            , KeyValArg (Identifier "tr") (Block (Content [ Text "b" ]))
+diff --git a/test/typ/math/spacing-02.typ b/test/typ/math/spacing-02.typ
+index ec72ed0..fc7342a 100644
+--- a/test/typ/math/spacing-02.typ
++++ b/test/typ/math/spacing-02.typ
+@@ -1,5 +1,5 @@
+ // Test predefined spacings.
+ $a thin b, a med b, a thick b, a quad b$ \
+ $a = thin b$ \
+-$a - b ident c quad (mod 2)$
++$a - b equiv c quad (mod 2)$
+ 
+diff --git a/test/typ/math/spacing-04.typ b/test/typ/math/spacing-04.typ
+index 3c42850..d80983c 100644
+--- a/test/typ/math/spacing-04.typ
++++ b/test/typ/math/spacing-04.typ
+@@ -1,7 +1,7 @@
+ // Test spacing for operators with decorations and modifiers on them
+ #set page(width: auto)
+-$a ident b + c - d => e log 5 op("ln") 6$ \
+-$a cancel(ident) b overline(+) c arrow(-) d hat(=>) e cancel(log) 5 dot(op("ln")) 6$ \
+-$a overbrace(ident) b underline(+) c grave(-) d underbracket(=>) e circle(log) 5 caron(op("ln")) 6$ \
++$a equiv b + c - d => e log 5 op("ln") 6$ \
++$a cancel(equiv) b overline(+) c arrow(-) d hat(=>) e cancel(log) 5 dot(op("ln")) 6$ \
++$a overbrace(equiv) b underline(+) c grave(-) d underbracket(=>) e circle(log) 5 caron(op("ln")) 6$ \
+ \
+-$a attach(ident, tl: a, tr: b) b attach(limits(+), t: a, b: b) c tilde(-) d breve(=>) e attach(limits(log), t: a, b: b) 5 attach(op("ln"), tr: a, bl: b) 6$
++$a attach(equiv, tl: a, tr: b) b attach(limits(+), t: a, b: b) c tilde(-) d breve(=>) e attach(limits(log), t: a, b: b) 5 attach(op("ln"), tr: a, bl: b) 6$


=====================================
p/haskell-typst/debian/patches/series
=====================================
@@ -0,0 +1 @@
+fea8e05a6c870ea6e032102aaf9c4a2651a60135.patch


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


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


=====================================
p/haskell-typst/debian/watch
=====================================
@@ -0,0 +1,2 @@
+version=3
+https://hackage.haskell.org/package/typst/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/671d08d9b1bab34557965444ffa8cd3f4625ba84

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/671d08d9b1bab34557965444ffa8cd3f4625ba84
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/20240101/df416fcf/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list