[med-svn] [python-latexcodec] 02/04: Add initial debian/

Kevin Murray daube-guest at moszumanska.debian.org
Fri Oct 9 10:20:51 UTC 2015


This is an automated email from the git hooks/post-receive script.

daube-guest pushed a commit to branch master
in repository python-latexcodec.

commit 4a0b88ed3d5e0abca889d1c8843e6f0487cf0662
Author: Kevin Murray <spam at kdmurray.id.au>
Date:   Thu Oct 8 22:33:47 2015 +1100

    Add initial debian/
---
 debian/changelog     |  5 +++++
 debian/compat        |  1 +
 debian/control       | 30 ++++++++++++++++++++++++++++++
 debian/copyright     | 34 ++++++++++++++++++++++++++++++++++
 debian/rules         |  7 +++++++
 debian/source/format |  1 +
 debian/watch         |  4 ++++
 7 files changed, 82 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7a2303c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-latexcodec (1.0.1-1) unstable; urgency=medium
+
+  * Initial package (Closes: #NNNNN)
+
+ -- Kevin Murray <spam at kdmurray.id.au>  Thu, 08 Oct 2015 22:32:32 +1100
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..a16e0a8
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,30 @@
+Source: python-latexcodec
+Maintainer: Debian Med Packaging <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Kevin Murray <spam at kdmurray.id.au>
+Section: python
+Priority: optional
+Build-Depends: dh-python,
+               python-all,
+               python-six,
+               python3-all,
+               python3-six,
+               debhelper (>= 9)
+Standards-Version: 3.9.6
+Homepage: https://github.com/mcmtroffaes/latexcodec
+
+Package: python-latexcodec
+Architecture: all
+Depends: ${misc:Depends},
+         ${python:Depends}
+Description: lexer and codec to work with LaTeX code in Python
+ A lexer and codec to work with LaTeX code in Python.
+
+
+Package: python3-latexcodec
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends}
+Description: lexer and codec to work with LaTeX code in Python
+ A lexer and codec to work with LaTeX code in Python.
+ .
+ This is the Python 3 package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5b34c69
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Matthias C. M. Troffaes
+Source: https://github.com/mcmtroffaes/latexcodec
+
+
+Files: *
+Copyright: 2011-2014, Matthias C. M. Troffaes
+License: Expat
+
+Files: debian/*
+Copyright: 2015, Kevin Murray <spam at kdmurray.id.au>
+License: Expat
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person
+ obtaining a copy of this software and associated documentation
+ files (the "Software"), to deal in the Software without
+ restriction, including without limitation the rights to use,
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following
+ conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ OTHER DEALINGS IN THE SOFTWARE.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5cd6c23
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=latexcodec
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild --parallel
+
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/watch b/debian/watch
new file mode 100644
index 0000000..26e043d
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+opts="uversionmangle=s/(rc|a|b|c)/~$1/,filenamemangle=s/(?:.*?)?v?(\d[\d.]*)\.tar\.gz/latexcodec_$1.tar.gz/" \
+  https://github.com/mcmtroffaes/latexcodec/releases .*/archive/?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-latexcodec.git



More information about the debian-med-commit mailing list