[Python-modules-commits] [coreschema] 02/06: Import Debian changes 0.0.4-1

Pierre-Elliott Bécue peb-guest at moszumanska.debian.org
Thu Jan 11 12:56:50 UTC 2018


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

peb-guest pushed a commit to branch master
in repository coreschema.

commit 121d167b3964ac5f9f0129630e43a0b6f4443fc7
Author: Pierre-Elliott Bécue <becue at crans.org>
Date:   Thu Jan 11 13:45:25 2018 +0100

    Import Debian changes 0.0.4-1
    
    coreschema (0.0.4-1) unstable; urgency=low
    
      * Initial release (Closes: #886783)
---
 debian/changelog                           |  5 ++++
 debian/compat                              |  1 +
 debian/control                             | 42 ++++++++++++++++++++++++++++++
 debian/copyright                           | 37 ++++++++++++++++++++++++++
 debian/python-coreschema.lintian-overrides |  9 +++++++
 debian/rules                               |  6 +++++
 debian/source/format                       |  1 +
 debian/watch                               |  3 +++
 8 files changed, 104 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f95057e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+coreschema (0.0.4-1) unstable; urgency=low
+
+  * Initial release (Closes: #886783)
+
+ -- Pierre-Elliott Bécue <becue at crans.org>  Wed, 10 Jan 2018 01:17:21 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b4de394
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+11
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..26381af
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,42 @@
+Source: coreschema
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Pierre-Elliott Bécue <becue at crans.org>
+Homepage: https://github.com/core-api/python-coreschema
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 11),
+               dh-python,
+               python-all,
+               python-jinja2,
+               python-setuptools,
+               python3-all,
+               python3-jinja2,
+               python3-setuptools
+Standards-Version: 4.1.3
+Testsuite: autopkgtest-pkg-python
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/coreschema.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/coreschema.git
+
+Package: python3-coreschema
+Architecture: all
+Depends: python3-pkg-resources, ${misc:Depends}, ${python3:Depends}
+Description: Python3 utilities to describe an abstract data schema to coreapi
+ Core API is a format-independent Document Object Model for representing Web
+ APIs.
+ .
+ This package provides an abstract python library to describe classic data
+ types (Integers, Strings et al.).
+ .
+ This package provides the python3 library.
+
+Package: python-coreschema
+Architecture: all
+Depends: python-pkg-resources, ${misc:Depends}, ${python:Depends}
+Description: Python utilities to describe an abstract data schema to coreapi
+ Core API is a format-independent Document Object Model for representing Web
+ APIs.
+ .
+ This package provides an abstract python library to describe classic data
+ types (Integers, Strings et al.).
+ .
+ This package provides the python library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..eb0192e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,37 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: coreschema
+Source: https://github.com/core-api/python-coreschema
+Comment: Upstream did not provide a specific license file. In PKG-INFO and in
+ setup.py, the license is referred as a BSD License. I sent a mail to upstream
+ to ask him to add such a license file, but the statement on pypi + the
+ statement in the PKG-INFO file seems enough.
+
+Files: *
+Copyright: Copyright 2016-2017 Tom Christie <tom at tomchristie.com>
+License: BSD-2-Clause
+
+Files: debian/*
+Copyright: Copyright 2018 Pierre-Elliott Bécue <becue at crans.org>
+License: BSD-2-Clause
+
+License: BSD-2-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. 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.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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-coreschema.lintian-overrides b/debian/python-coreschema.lintian-overrides
new file mode 100644
index 0000000..9a1ef91
--- /dev/null
+++ b/debian/python-coreschema.lintian-overrides
@@ -0,0 +1,9 @@
+# coreschema is a dependency for coreapi which in turn is a new optional
+# dependency for djangorestframework (in debian) whose tests can't work without
+# coreapi.  djangorestframework is a dependency for hyperkitty which for now is
+# python2 only. Hyperkitty's upstream is currently working on python3
+# compatibility of hyperkitty[1]. In the meantime, this package will provide
+# the python2 library along with the python3 library.
+#
+# [1] https://gitlab.com/mailman/hyperkitty/merge_requests/67
+python-coreschema: new-package-should-not-package-python2-module
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..9287fd4
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=coreschema
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
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..887f5d3
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/@PACKAGE@/@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@

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



More information about the Python-modules-commits mailing list