1
0
mirror of https://github.com/cmur2/python-bme680.git synced 2024-12-22 12:54:29 +01:00

Version 1.0.3 prep

This commit is contained in:
Phil Howard 2017-11-23 11:25:34 +00:00
parent c9d4cef987
commit 288daed781
9 changed files with 32 additions and 8 deletions

View File

@ -1,9 +1,7 @@
1.0.3 1.0.3
----- -----
* Merged fixes from Bosch BME680_driver version 3.5.3 * Merged temperature compensation fix from Bosch's BME680_driver 3.5.3
* Replaced division with logical shift in compensation equations
* Fixed bug in temperature compensation of pressure
1.0.2 1.0.2
----- -----

View File

@ -2,7 +2,7 @@ from .constants import *
import math import math
import time import time
__version__ = '1.0.2' __version__ = '1.0.3'
class BME680(BME680Data): class BME680(BME680Data):
"""BOSCH BME680 """BOSCH BME680

View File

@ -39,7 +39,7 @@ classifiers = ['Development Status :: 5 - Production/Stable',
setup( setup(
name = 'bme680', name = 'bme680',
version = '1.0.2', version = '1.0.3',
author = 'Philip Howard', author = 'Philip Howard',
author_email = 'phil@pimoroni.com', author_email = 'phil@pimoroni.com',
description = """Python library for driving the Pimoroni BME680 Breakout""", description = """Python library for driving the Pimoroni BME680 Breakout""",

View File

@ -1,3 +1,9 @@
bme680 (1.0.3) stable; urgency=low
* Merged temperature compensation fix from Bosch's BME680_driver 3.5.3
-- Phil Howard <phil@pimoroni.com> Wed, 22 Nov 2017 00:00:00 +0000
bme680 (1.0.2) stable; urgency=low bme680 (1.0.2) stable; urgency=low
* Fixed set_gas_heater_temperature to avoid i2c TypeError * Fixed set_gas_heater_temperature to avoid i2c TypeError

View File

@ -0,0 +1,5 @@
Successfully uploaded bme680_1.0.2.dsc to build-master.raspberrypi.org for raspberrypi.
Successfully uploaded bme680_1.0.2.tar.xz to build-master.raspberrypi.org for raspberrypi.
Successfully uploaded python-bme680_1.0.2_all.deb to build-master.raspberrypi.org for raspberrypi.
Successfully uploaded python3-bme680_1.0.2_all.deb to build-master.raspberrypi.org for raspberrypi.
Successfully uploaded bme680_1.0.2_armhf.changes to build-master.raspberrypi.org for raspberrypi.

View File

@ -1,3 +1,9 @@
bme680 (1.0.3) stable; urgency=low
* Merged temperature compensation fix from Bosch's BME680_driver 3.5.3
-- Phil Howard <phil@pimoroni.com> Wed, 22 Nov 2017 00:00:00 +0000
bme680 (1.0.2) stable; urgency=low bme680 (1.0.2) stable; urgency=low
* Fixed set_gas_heater_temperature to avoid i2c TypeError * Fixed set_gas_heater_temperature to avoid i2c TypeError

View File

@ -39,9 +39,10 @@ inform "seeded debian changelog"
# generate pypi changelog # generate pypi changelog
sed -e "/--/d" -e "s/ \*/\*/" \ sed -e "/--/d" \
-e "s/.*\([0-9].[0-9].[0-9]\).*/\1/" \ -e "s/ \*/\*/" \
-e '/[0-9].[0-9].[0-9]/ a\ -e "s/.*(\([0-9].[0-9].[0-9]\)).*/\1/" \
-e '/^[0-9].[0-9].[0-9]$/ a\
-----' $mainlog | cat -s > $pypilog -----' $mainlog | cat -s > $pypilog
version=$(head -n 1 $pypilog) version=$(head -n 1 $pypilog)

0
packaging/test.txt Normal file
View File

8
packaging/testlog.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
sed -e "/--/d" \
-e "s/ \*/\*/" \
-e "s/.*(\([0-9].[0-9].[0-9]\)).*/\1/" \
-e '/^[0-9].[0-9].[0-9]$/ a\
-----' CHANGELOG