[Python-modules-commits] [watson-developer-cloud] 03/05: Import watson-developer-cloud_0.22.0-1.dsc

Luciano Bello luciano at moszumanska.debian.org
Wed Dec 7 04:54:46 UTC 2016


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

luciano pushed a commit to branch master
in repository watson-developer-cloud.

commit 3ef589cf3292e9e560cd537ff1ec48bd4f94486f
Author: Luciano Bello <luciano at debian.org>
Date:   Tue Dec 6 16:47:32 2016 -0500

    Import watson-developer-cloud_0.22.0-1.dsc
---
 debian/changelog                    |  5 +++++
 debian/compat                       |  1 +
 debian/control                      | 32 ++++++++++++++++++++++++++++++++
 debian/copyright                    | 27 +++++++++++++++++++++++++++
 debian/patches/binary_opening.patch | 11 +++++++++++
 debian/patches/series               |  1 +
 debian/rules                        | 19 +++++++++++++++++++
 debian/source/format                |  1 +
 debian/source/options               |  1 +
 debian/watch                        |  4 ++++
 10 files changed, 102 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6560884
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+watson-developer-cloud (0.22.0-1) unstable; urgency=medium
+
+  * Initial release (Closes: #835111)
+
+ -- Luciano Bello <luciano at debian.org>  Sun, 27 Nov 2016 15:48:44 -0500
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..05c6244
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,32 @@
+Source: watson-developer-cloud
+Section: python
+Priority: optional
+Maintainer: Luciano Bello <luciano at debian.org>
+Build-Depends: debhelper (>= 9), dh-python, python-all, python-setuptools, python3-all, python3-setuptools
+Standards-Version: 3.9.8
+Homepage: https://github.com/watson-developer-cloud/python-sdk
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-watson-developer-cloud.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-watson-developer-cloud.git/
+#Testsuite: autopkgtest-pkg-python
+
+Package: python-watson-developer-cloud
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Suggests: python-watson-developer-cloud-doc
+Description: Python client library to use the IBM Watson Services (Python 2)
+ Python client library to quickly interface with various IBM Watson Cloud
+ services.
+ .
+ This package installs the library for Python 2.
+
+Package: python3-watson-developer-cloud
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Suggests: python-watson-developer-cloud-doc
+Description: Python client library to use the IBM Watson Services (Python 3)
+ Python client library to quickly interface with various IBM Watson Cloud
+ services.
+ .
+ This package installs the library for Python 3.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a94e1e7
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,27 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: watson-developer-cloud
+Source: https://github.com/watson-developer-cloud/python-sdk
+
+Files: *
+Copyright: 2016 Jeffrey Stylos <jsstylos at us.ibm.com>
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2016 Luciano Bello <luciano at debian.org>
+License: Apache-2.0
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+ https://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache version 2.0 license
+ can be found in "/usr/share/common-licenses/Apache-2.0".
diff --git a/debian/patches/binary_opening.patch b/debian/patches/binary_opening.patch
new file mode 100644
index 0000000..0f465ed
--- /dev/null
+++ b/debian/patches/binary_opening.patch
@@ -0,0 +1,11 @@
+--- a/setup.py
++++ b/setup.py
+@@ -37,7 +37,7 @@ try:
+     read_md = lambda f: convert(f, 'rst')
+ except ImportError:
+     print('warning: pypandoc module not found, could not convert Markdown to RST')
+-    read_md = lambda f: open(f, 'r').read()
++    read_md = lambda f: open(f, 'rb').read().decode(encoding='utf-8')
+ 
+ 
+ class PyTest(TestCommand):
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ea16aac
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+binary_opening.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0abd982
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#export DH_VERBOSE = 1
+
+export PYBUILD_NAME=watson-developer-cloud
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+
+# If you need to rebuild the Sphinx documentation
+# Add spinxdoc to the dh --with line
+#override_dh_auto_build:
+#	dh_auto_build
+#	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml        docs/ build/html # HTML generator
+#	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bman        docs/ build/man # Manpage generator
+
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/source/options b/debian/source/options
new file mode 100644
index 0000000..68d0759
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore = "^[^/]*[.]egg(s|-info)/"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..e098824
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="repack"
+
+https://pypi.debian.net/watson-developer-cloud/watson-developer-cloud-(.+)\.(?: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/watson-developer-cloud.git



More information about the Python-modules-commits mailing list