[Python-modules-commits] [yattag] 03/03: Initial release (Closes: #820017)

Sandro Tosi morph at moszumanska.debian.org
Tue Apr 5 20:11:02 UTC 2016


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

morph pushed a commit to branch master
in repository yattag.

commit 6312d1faefac318b84ebbf0712cd4fe0ce251637
Author: Sandro Tosi <morph at debian.org>
Date:   Tue Apr 5 21:09:46 2016 +0100

    Initial release (Closes: #820017)
---
 debian/changelog |  5 +++++
 debian/compat    |  1 +
 debian/control   | 42 ++++++++++++++++++++++++++++++++++++++++++
 debian/copyright | 15 +++++++++++++++
 debian/rules     | 22 ++++++++++++++++++++++
 debian/watch     |  3 +++
 6 files changed, 88 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..efc86c2
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+yattag (1.5.2-1) unstable; urgency=low
+
+  * Initial release (Closes: #820017)
+
+ -- Sandro Tosi <morph at debian.org>  Tue, 05 Apr 2016 06:37:48 +0100
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..0122786
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,42 @@
+Source: yattag
+Section: python
+Priority: optional
+Maintainer: Sandro Tosi <morph at debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 9), dh-python, python-all, python3-all
+Standards-Version: 3.9.6
+Homepage: http://www.yattag.org/
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/yattag.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/yattag.git
+
+Package: python-yattag
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Description: library for generating HTML or XML in a pythonic way (Python 2)
+ With Yattag,
+ .
+  * you don't have to worry about closing HTML tags
+  * your HTML templates are Python code. Not a weird template language. Just
+    Python.
+  * you can easily render HTML forms, with defaults values and error messages.
+ .
+ It's actually easier and more readable to generate dynamic HTML with Yattag
+ than to write static HTML.
+ .
+ This package contains the Python 2 version of yattag.
+
+Package: python3-yattag
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Description: library for generating HTML or XML in a pythonic way (Python 3)
+ With Yattag,
+ .
+  * you don't have to worry about closing HTML tags
+  * your HTML templates are Python code. Not a weird template language. Just
+    Python.
+  * you can easily render HTML forms, with defaults values and error messages.
+ .
+ It's actually easier and more readable to generate dynamic HTML with Yattag
+ than to write static HTML.
+ .
+ This package contains the Python 3 version of yattag.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f6a239b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,15 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: yattag
+Source: https://github.com/leforestier/yattag
+
+Files: *
+Copyright: Benjamin Le Forestier <benjamin at leforestier.org>
+License: LGPL
+
+License: LGPL
+ On Debian systems, the complete text of the GNU Lesser General
+ Public License version 2 can be found in "/usr/share/common-licenses/LGPL".
+
+Files: debian/*
+Copyright: 2016 Sandro Tosi <morph at debian.org>
+License: LGPL
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..27f2493
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+PY2VERS := $(shell pyversions -s)
+PY3VERS := $(shell py3versions -s)
+
+
+%:
+	dh $@ --with python2,python3
+
+override_dh_auto_install:
+	set -e ; \
+	for python in $(PY2VERS); do \
+		$$python setup.py install --root=debian/python-yattag  --install-layout=deb; \
+	done
+	set -e ; \
+	for python in $(PY3VERS); do \
+		$$python setup.py install --root=debian/python3-yattag --install-layout=deb; \
+	done
+
+
+override_dh_installdocs:
+	dh_installdocs -A README.rst
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..ed7d94f
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/yattag/yattag-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/yattag.git



More information about the Python-modules-commits mailing list