diff --git a/.gitignore b/.gitignore index d151ecc4..439757d5 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,14 @@ influxdb.egg-info/ dist/ build/ mock*/ -nose*/ \ No newline at end of file +nose*/ +.pybuild/ +debian/files +debian/python-influxdb.debhelper.log +debian/python-influxdb.postinst.debhelper +debian/python-influxdb.prerm.debhelper +debian/python-influxdb.substvars +debian/python-influxdb/ +debian/python3-influxdb.debhelper.log +debian/python3-influxdb.substvars +debian/python3-influxdb/ diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..0a5212f9 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +influxdb-python (0.1.4-1) unstable; urgency=low + + * debianize influxdb-python. + + -- unknown Wed, 05 Mar 2014 14:57:11 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000..45a4fb75 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..6df02340 --- /dev/null +++ b/debian/control @@ -0,0 +1,36 @@ +Source: influxdb-python +Maintainer: unknown +Homepage: https://pypi.python.org/pypi/influxdb +Section: python +X-Python-Version: >= 2.7 +X-Python3-Version: >= 3.3 +Priority: optional +Build-Depends: debhelper (>= 8), + dh-python, + python-all, + python-setuptools, + python-requests, + python-six, + python-mock, + python-nose, + python3-all, + python3-setuptools, + python3-requests, + python3-six, + python3-mock, + python3-nose +Standards-Version: 3.9.5 + +Package: python-influxdb +Architecture: all +Depends: ${misc:Depends}, ${python:Depends}, python-six, python-requests (>= 1.0.3) +Description: Python client for InfluxDB + . + This is the Python 2 compatible package. + +Package: python3-influxdb +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends}, python3-six, python3-requests +Description: Python client for InfluxDB + . + This is the Python 3 compatible package. diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 00000000..e69de29b diff --git a/debian/python-influxdb.pyremove b/debian/python-influxdb.pyremove new file mode 100644 index 00000000..96ecbd3f --- /dev/null +++ b/debian/python-influxdb.pyremove @@ -0,0 +1 @@ +influxdb*.egg-info/SOURCES.txt diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..e0785c2c --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=influxdb +#export PYBUILD_TEST_TOX=1 + +%: + dh $@ --with python2,python3 --buildsystem=pybuild diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 00000000..89ae9db8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native)