[Python-modules-commits] [python-confluent-kafka] 03/05: Debianize

Christos Trochalakis ctrochalakis-guest at moszumanska.debian.org
Fri Sep 23 08:51:56 UTC 2016


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

ctrochalakis-guest pushed a commit to branch master
in repository python-confluent-kafka.

commit db7389abb0ac3f99b34ddcf4d6d48cc27eb356c2
Author: Christos Trochalakis <yatiohi at ideopolis.gr>
Date:   Wed Sep 7 10:12:54 2016 +0300

    Debianize
---
 debian/changelog |  5 +++++
 debian/compat    |  1 +
 debian/control   | 33 +++++++++++++++++++++++++++++++++
 debian/copyright | 29 +++++++++++++++++++++++++++++
 debian/rules     |  8 ++++++++
 debian/watch     |  3 +++
 6 files changed, 79 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4c55c9c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-confluent-kafka (0.9.1.2-1) UNRELEASED; urgency=medium
+
+  * Initial release. (Closes: #836936)
+
+ -- Christos Trochalakis <yatiohi at ideopolis.gr>  Wed, 07 Sep 2016 09:55:40 +0300
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..ae8d16a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: python-confluent-kafka
+Section: python
+Priority: optional
+Maintainer: Christos Trochalakis <yatiohi at ideopolis.gr>
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python-all,
+               python-setuptools,
+               python-dev,
+               python3-all,
+               python3-setuptools,
+               python3-dev,
+               librdkafka-dev (>= 0.9.1)
+Standards-Version: 3.9.8
+Homepage: https://github.com/confluentinc/confluent-kafka-python
+
+Package: python-confluent-kafka
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Description: Python client to interact with Kafka - Python 2.7
+ python-confluent-kafka wraps the librdkafka C library, providing full Kafka
+ protocol support with great performance and reliability.
+ .
+ This package provides the Python 2.7 module.
+
+Package: python3-confluent-kafka
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}
+Description: Python client to interact with Kafka - Python 3.x
+ python-confluent-kafka wraps the librdkafka C library, providing full Kafka
+ protocol support with great performance and reliability.
+ .
+ This package provides the Python 3.x module.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..40caca3
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: confluent-kafka-python
+Source: https://github.com/confluentinc/confluent-kafka-python
+
+Files: *
+Copyright: 2016 Confluent Inc.
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2016 Christos Trochalakis <yatiohi at ideopolis.gr>
+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/rules b/debian/rules
new file mode 100755
index 0000000..908d8cd
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#! /usr/bin/make -f
+
+export DH_VERBOSE = 1
+export PYBUILD_NAME = confluent-kafka
+
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..159fe0d
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/confluent-kafka/confluent-kafka-(.+)\.(?: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-confluent-kafka.git



More information about the Python-modules-commits mailing list