[Python-modules-commits] [freetype-py] 02/06: initial debian dir
Daniel Glassey
wdg at moszumanska.debian.org
Thu Nov 12 18:33:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
wdg pushed a commit to branch master
in repository freetype-py.
commit 317174c00b7b3b70cbe76894e90d0512f80af417
Author: Daniel Glassey <wdg at debian.org>
Date: Thu Nov 12 16:52:25 2015 +0000
initial debian dir
---
debian/changelog | 6 ++++++
debian/compat | 1 +
debian/control | 30 ++++++++++++++++++++++++++++++
debian/copyright | 40 ++++++++++++++++++++++++++++++++++++++++
debian/python-freetype.examples | 1 +
debian/python-freetype.install | 1 +
debian/python3-freetype.examples | 1 +
debian/python3-freetype.install | 1 +
debian/rules | 38 ++++++++++++++++++++++++++++++++++++++
debian/source/format | 1 +
debian/watch | 3 +++
11 files changed, 123 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7076d6d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+freetype-py (1.0.2-1) UNRELEASED; urgency=medium
+
+ * Initial release, Closes: #649623
+
+ -- Daniel Glassey <wdg at debian.org> Thu, 12 Nov 2015 16:42:37 +0000
+
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..b9ed190
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,30 @@
+Source: freetype-py
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Daniel Glassey <wdg at debian.org>
+Build-Depends: debhelper (>= 9~),
+ python (>= 2.6.6-3~),
+ python-setuptools,
+ python3,
+ python3-setuptools
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+Standards-Version: 3.9.6
+Homepage: https://github.com/rougier/freetype-py
+
+Package: python-freetype
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: Freetype Python bindings
+ Freetype python provides bindings for the FreeType library.
+ Only the high-level API is bound.
+
+Package: python3-freetype
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Freetype Python bindings for Python 3
+ Freetype python provides bindings for the FreeType library.
+ Only the high-level API is bound.
+ .
+ This is the Python 3 version of the package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..4b938e2
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,40 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: freetype-py
+Upstream-Contact: Nicolas P. Rougier
+Source: https://pypi.python.org/pypi/freetype-py/
+
+Files: *
+Copyright: Copyright (c) 2011-2014, Nicolas P. Rougier
+License: BSD
+
+Files: debian/*
+Copyright: 2015 Daniel Glassey <wdg at debian.org>
+License: BSD
+
+License: BSD
+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 the freetype-py Development Team 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 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-freetype.examples b/debian/python-freetype.examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/python-freetype.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/python-freetype.install b/debian/python-freetype.install
new file mode 100644
index 0000000..48257a5
--- /dev/null
+++ b/debian/python-freetype.install
@@ -0,0 +1 @@
+usr/lib/python2.*/*-packages/*
diff --git a/debian/python3-freetype.examples b/debian/python3-freetype.examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/python3-freetype.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/python3-freetype.install b/debian/python3-freetype.install
new file mode 100644
index 0000000..87e0b0a
--- /dev/null
+++ b/debian/python3-freetype.install
@@ -0,0 +1 @@
+usr/lib/python3/*-packages/*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b342465
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,38 @@
+#!/usr/bin/make -f
+export DH_VERBOSE=1
+
+%:
+ dh $@ --with python2,python3
+
+override_dh_auto_build:
+ dh_auto_build
+ python3 setup.py build
+
+override_dh_auto_install:
+ dh_auto_install
+ python3 setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb
+# cp feedparser/sgmllib3.py $(CURDIR)/debian/tmp/usr/lib/python3/dist-packages/feedparser_sgmllib3.py
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf build .*egg-info
+
+#override_dh_auto_test:
+# # Add back data files which were missing in upstream tarball for 5.1
+# cp $(CURDIR)/debian/upstream/*.z feedparser/tests/compression
+# cp $(CURDIR)/debian/upstream/*.gz feedparser/tests/compression
+#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+# cd feedparser && python ./feedparsertest.py
+# # FIXME: run tests for python3 too. This requires running 2to3 over
+# # feedparsertest.py also, and then running it against the already
+# # converted feedparser.py, but still being able to find the test
+# # directory.
+#else
+# @echo "nocheck set, not running tests"
+#endif
+
+#override_dh_installdocs:
+# dh_installdocs -Xtests
+
+#override_dh_installchangelogs:
+# dh_installchangelogs NEWS
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..b53daa3
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+http://pypi.debian.net/freetype-py/freetype-py-(.+)\.(?: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/freetype-py.git
More information about the Python-modules-commits
mailing list