[Python-modules-commits] [python-tinycss] 03/03: Initial release (Closes: #848320).

Michael Fladischer fladi at moszumanska.debian.org
Fri Dec 16 11:49:05 UTC 2016


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

fladi pushed a commit to branch master
in repository python-tinycss.

commit 7e1f921ee33a594153846551b75abba1ef0fa849
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Fri Dec 16 12:47:26 2016 +0100

    Initial release (Closes: #848320).
---
 debian/changelog                   |  5 +++
 debian/clean                       |  1 +
 debian/compat                      |  1 +
 debian/control                     | 78 ++++++++++++++++++++++++++++++++++++++
 debian/copyright                   | 41 ++++++++++++++++++++
 debian/python-tinycss-doc.doc-base |  8 ++++
 debian/python-tinycss-doc.docs     |  1 +
 debian/python-tinycss.docs         |  1 +
 debian/python3-tinycss.docs        |  1 +
 debian/rules                       | 23 +++++++++++
 debian/watch                       |  3 ++
 11 files changed, 163 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..583c04f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-tinycss (0.4-1) unstable; urgency=low
+
+  * Initial release (Closes: #848320).
+
+ -- Michael Fladischer <fladi at debian.org>  Fri, 16 Dec 2016 09:45:24 +0100
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..7fd6d15
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+tinycss.egg-info/SOURCES.txt
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..f902cb3
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,78 @@
+Source: python-tinycss
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Michael Fladischer <fladi at debian.org>
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               cython,
+               cython3,
+               python-all-dev,
+               python-setuptools,
+               python3-all-dev,
+               python3-setuptools,
+               python3-sphinx
+Standards-Version: 3.9.8
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.3
+Homepage: https://github.com/Kozea/tinycss
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-tinycss.git
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-tinycss.git
+
+
+Package: python-tinycss
+Architecture: any
+Depends: ${misc:Depends},
+         ${python:Depends},
+         ${shlibs:Depends}
+Suggests: python-tinycss-doc
+Description: complete yet simple CSS parser (Python2 version)
+ tinycss is a complete yet simple CSS parser for Python. It supports the full
+ syntax and error handling for CSS 2.1 as well as some CSS 3 modules:
+ .
+  * CSS Color 3
+  * CSS Fonts 3
+  * CSS Paged Media 3
+ .
+ It is designed to be easy to extend for new CSS modules and syntax,
+ and integrates well with cssselect for Selectors 3 support.
+ .
+ This package contains the Python 2 version of the library.
+
+
+Package: python3-tinycss
+Architecture: any
+Depends: ${misc:Depends},
+         ${python3:Depends},
+         ${shlibs:Depends}
+Suggests: python-tinycss-doc
+Description: complete yet simple CSS parser (Python3 version)
+ tinycss is a complete yet simple CSS parser for Python. It supports the full
+ syntax and error handling for CSS 2.1 as well as some CSS 3 modules:
+ .
+  * CSS Color 3
+  * CSS Fonts 3
+  * CSS Paged Media 3
+ .
+ It is designed to be easy to extend for new CSS modules and syntax,
+ and integrates well with cssselect for Selectors 3 support.
+ .
+ This package contains the Python 3 version of the library.
+
+Package: python-tinycss-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends},
+         ${sphinxdoc:Depends}
+Description: complete yet simple CSS parser (Documentation)
+ tinycss is a complete yet simple CSS parser for Python. It supports the full
+ syntax and error handling for CSS 2.1 as well as some CSS 3 modules:
+ .
+  * CSS Color 3
+  * CSS Fonts 3
+  * CSS Paged Media 3
+ .
+ It is designed to be easy to extend for new CSS modules and syntax,
+ and integrates well with cssselect for Selectors 3 support.
+ .
+ This package contains the documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e54c484
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,41 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python-tinycss
+Upstream-Contact: Simon Sapin <simon.sapin at exyr.org>
+Source: https://github.com/Kozea/tinycss
+
+Files: *
+Copyright: 2012, Simon Sapin <simon.sapin at exyr.org>
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2016, Michael Fladischer <fladi at debian.org>
+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.
+ .
+     * The names of the contributors may not 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/python-tinycss-doc.doc-base b/debian/python-tinycss-doc.doc-base
new file mode 100644
index 0000000..ddfc793
--- /dev/null
+++ b/debian/python-tinycss-doc.doc-base
@@ -0,0 +1,8 @@
+Document: python-tinycss-doc
+Title: tinycss Documentation
+Author: Simon Sapin <simon.sapin at exyr.org>
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-tinycss-doc/html/index.html
+Files: /usr/share/doc/python-tinycss-doc/html/*.html
diff --git a/debian/python-tinycss-doc.docs b/debian/python-tinycss-doc.docs
new file mode 100644
index 0000000..2981a3c
--- /dev/null
+++ b/debian/python-tinycss-doc.docs
@@ -0,0 +1 @@
+docs/.build/html
diff --git a/debian/python-tinycss.docs b/debian/python-tinycss.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python-tinycss.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/python3-tinycss.docs b/debian/python3-tinycss.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python3-tinycss.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b5ac442
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export PYBUILD_NAME=tinycss
+# Disable tests because not all dependencies have been packaged yet:
+# * pytest-flake8
+# * pytest isort
+export PYBUILD_DISABLE=test
+
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
+%:
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_build:
+	dh_auto_build
+	PYTHONPATH=. sphinx-build -b html -d docs/.build/.doctrees -N docs docs/.build/html
+
+override_dh_clean:
+	rm -rf docs/.build
+	dh_clean
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..2c54f0d
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/tinycss/tinycss-(.+)\.(?: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/python-tinycss.git



More information about the Python-modules-commits mailing list