1
0
mirror of https://github.com/cmur2/python-bme680.git synced 2025-06-29 00:30:31 +02:00

Added packaging, dropped copy of C code

This commit is contained in:
Phil Howard
2017-10-17 15:09:19 +01:00
parent 3751865cb6
commit 16853dc4f2
35 changed files with 374 additions and 2500 deletions

9
packaging/debian/README Normal file
View File

@ -0,0 +1,9 @@
README
Python library for the BME680 gas, temperature, pressure and humidity sensor. Supports communication over i2c only.
IMPORTANT
The bme680 library requires i2c.
To enable run `curl get.pimoroni.com/i2c | bash`
or use raspi-config and reboot your Raspberry Pi.

View File

@ -0,0 +1,5 @@
bme680 (1.0.0) stable; urgency=low
* Initial release
-- Phil Howard <phil@pimoroni.com> Mon, 08 Sep 2014 00:00:00 +0000

1
packaging/debian/clean Normal file
View File

@ -0,0 +1 @@
*.egg-info/*

1
packaging/debian/compat Normal file
View File

@ -0,0 +1 @@
9

29
packaging/debian/control Normal file
View File

@ -0,0 +1,29 @@
Source: bme680
Maintainer: Phil Howard <phil@pimoroni.com>
Homepage: https://github.com/pimoroni/bme680
Section: python
Priority: extra
Build-Depends: debhelper (>= 9.0.0), dh-python, python-all (>= 2.7), python-setuptools, python3-all (>= 3.4), python3-setuptools
Standards-Version: 3.9.6
X-Python-Version: >= 2.7
X-Python3-Version: >= 3.4
Package: python-bme680
Architecture: all
Section: python
Depends: ${misc:Depends}, ${python:Depends}, python-rpi.gpio, python-spidev
Description: Python library for the BME680 gas, temperature, pressure and humidity sensor.
The BME680 is a gas, temperature, pressure and humidity sensor.
Supports communication over i2c only.
.
This is the Python 2 version of the package.
Package: python3-bme680
Architecture: all
Section: python
Depends: ${misc:Depends}, ${python3:Depends}, python3-rpi.gpio, python3-spidev
Description: Python library for the BME680 gas, temperature, pressure and humidity sensor.
The BME680 is a gas, temperature, pressure and humidity sensor.
Supports communication over i2c only.
.
This is the Python 3 version of the package.

View File

@ -0,0 +1,26 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: bme680
Source: https://github.com/pimoroni/bme680
Files: *
Copyright: 2016 Pimoroni Ltd <phil@pimoroni.com>
License: MIT
License: MIT
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

0
packaging/debian/docs Normal file
View File

12
packaging/debian/rules Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/make -f
# -*- makefile -*-
#export DH_VERBOSE=1
export DH_OPTIONS
%:
dh $@ --with python2,python3 --buildsystem=python_distutils
override_dh_auto_install:
python setup.py install --root debian/python-bme680 --install-layout=deb
python3 setup.py install --root debian/python3-bme680 --install-layout=deb

View File

@ -0,0 +1 @@
3.0 (native)

View File

@ -0,0 +1 @@
extend-diff-ignore = "^[^/]+\.egg-info/"