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:
9
packaging/debian/README
Normal file
9
packaging/debian/README
Normal 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.
|
5
packaging/debian/changelog
Normal file
5
packaging/debian/changelog
Normal 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
1
packaging/debian/clean
Normal file
@ -0,0 +1 @@
|
||||
*.egg-info/*
|
1
packaging/debian/compat
Normal file
1
packaging/debian/compat
Normal file
@ -0,0 +1 @@
|
||||
9
|
29
packaging/debian/control
Normal file
29
packaging/debian/control
Normal 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.
|
26
packaging/debian/copyright
Normal file
26
packaging/debian/copyright
Normal 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
0
packaging/debian/docs
Normal file
12
packaging/debian/rules
Executable file
12
packaging/debian/rules
Executable 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
|
1
packaging/debian/source/format
Normal file
1
packaging/debian/source/format
Normal file
@ -0,0 +1 @@
|
||||
3.0 (native)
|
1
packaging/debian/source/options
Normal file
1
packaging/debian/source/options
Normal file
@ -0,0 +1 @@
|
||||
extend-diff-ignore = "^[^/]+\.egg-info/"
|
Reference in New Issue
Block a user