Skip to content

Commit f7658f3

Browse files
author
Chris Hager
committed
RPIO v0.10.1
* Updated debian/control to Standards-Version=3.9.3.1
1 parent 79a7aaa commit f7658f3

File tree

13 files changed

+30
-22
lines changed

13 files changed

+30
-22
lines changed

README.rst

+7-1
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,10 @@ Links
6767
* http://pypi.python.org/pypi/RPi.GPIO
6868
* http://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf
6969
* http://www.kernel.org/doc/Documentation/gpio.txt
70-
* `semver versioning standard <http://semver.org/>`_
70+
* `semver versioning standard <http://semver.org/>`_
71+
72+
73+
Changes
74+
-------
75+
76+
Please refer to the `'Changes' section in the documentation <http://pythonhosted.org/RPIO/#changes>`_.

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.10.0
1+
0.10.1

debian/changelog

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
rpio (0.10.1) unstable; urgency=low
2+
3+
* Updated debian/control Standards-Version to 3.9.3.1
4+
5+
-- Chris Hager <[email protected]> Fri, 15 Mar 2013 13:58:49 +0100
6+
17
rpio (0.10.0) unstable; urgency=low
28

39
* Auto-cleanup on exit (also shuts down ``wait_for_interrupts(threaded=True)``)

debian/control

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Section: python
33
Priority: optional
44
Maintainer: Chris Hager <[email protected]>
55
Build-Depends: debhelper (>= 8.0.0), python (>= 2.6.6-3~), python3 (>= 3.1.3-12~), python-setuptools, python3-setuptools, python-dev, python3-dev
6-
Standards-Version: 3.8.4
6+
Standards-Version: 3.9.3.1
77
X-Python-Version: >= 2.6
88
X-Python3-Version: >= 3.2
99
Homepage: https://github.com/metachris/RPIO

documentation/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
# built documents.
4949
#
5050
# The short X.Y version.
51-
version = '0.10.0'
51+
version = '0.10.1'
5252
# The full version, including alpha/beta/rc tags.
5353
release = version
5454

documentation/source/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ Changes
119119
* Bugfix in cpuinfo.c: correctly trim over-voltage header
120120
* rpio-curses: help shows raspberry sysinfo
121121
* switched argument ordering of wait_for_interrupts to (``wait_for_interrupts(threaded=False, epoll_timeout=1)``)
122+
* Added ``RPIO.Exceptions`` (list of C GPIO exceptions)
122123

123124
* v0.9.6
124125

documentation/source/rpio_py.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ or pull-down resistor.
5151
* Possible edges are ``rising``, ``falling`` and ``both`` (default).
5252
* Possible ``pull_up_down`` values are ``RPIO.PUD_UP``, ``RPIO.PUD_DOWN`` and ``RPIO.PUD_OFF`` (default).
5353
* If ``threaded_callback`` is ``True``, the callback will be started inside a thread. Else the callback will block RPIO from waiting for interrupts until it has finished (in the meantime no further callbacks are dispatched).
54-
* If ``debounce_timeout_ms`` is set, interrupt callbacks will not be started until the specified milliseconds have passed since the last interrupt. Adjust this to your needs (typically between 10ms and 100ms).
54+
* If ``debounce_timeout_ms`` is set, interrupt callbacks will not be started until the specified milliseconds have passed since the last interrupt. Adjust this to your needs (typically between 10ms and 1000ms.).
5555

5656
The callback receives two arguments: the gpio number and the value (an integer, either ``0`` (Low) or ``1`` (High)). A callback typically looks like this::
5757

fabfile.py

+6-11
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def build_deb():
8080
run("dpkg-buildpackage -i -I -rfakeroot")
8181

8282

83-
def upload_deb():
83+
def grab_deb():
8484
# Custom github upload
8585
v = _get_cur_version()
8686
t = ("/Users/chris/Projects/private/web/metachris.github.com/"
@@ -94,7 +94,7 @@ def upload_deb():
9494
print ""
9595
print " $ cd %s.." % t
9696
print " $ ./gen_version_index.sh %s" % v
97-
print " $ ./gen_index.sh"
97+
print " $ ./gen_index.sh %s" % v
9898
print " $ git status"
9999
print " $ git add ."
100100
print " $ git commit -am 'Debian packages for RPIO %s" % v
@@ -180,14 +180,9 @@ def test3_pwm():
180180
#
181181
def upload_to_pypi():
182182
""" Upload sdist and bdist_eggs to pypi """
183-
# DO_UPLOAD provides a safety mechanism to avoid accidental pushes to pypi.
184-
# Set it to "upload" to actually push to pypi; else it only does a dry-run.
185-
DO_UPLOAD = "upload"
186-
187183
# One more safety input and then we are ready to go :)
188184
x = prompt("Are you sure to upload the current version to pypi?")
189185
if not x or not x.lower() in ["y", "yes"]:
190-
print("Error: no build found in dist/")
191186
return
192187

193188
local("rm -rf dist")
@@ -198,7 +193,7 @@ def upload_to_pypi():
198193
with cd("/tmp"):
199194
run("tar -xf /tmp/%s" % fn)
200195
with cd("/tmp/RPIO-%s" % version):
201-
run("python2.6 setup.py bdist_egg %s" % DO_UPLOAD)
202-
run("python2.7 setup.py bdist_egg %s" % DO_UPLOAD)
203-
run("python3.2 setup.py bdist_egg %s" % DO_UPLOAD)
204-
local("python setup.py sdist %s" % DO_UPLOAD)
196+
run("python2.6 setup.py bdist_egg upload")
197+
run("python2.7 setup.py bdist_egg upload")
198+
run("python3.2 setup.py bdist_egg upload")
199+
local("python setup.py sdist upload")

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def read(fname):
88

99
setup(
1010
name="RPIO",
11-
version="0.10.0",
11+
version="0.10.1",
1212
package_dir={"": "source"},
1313
packages=['RPIO', 'RPIO.PWM'],
1414
ext_modules=[

source/RPIO/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def socket_callback(socket, val):
116116
from RPIO._RPIO import Interruptor
117117

118118

119-
VERSION = "0.10.0"
119+
VERSION = "0.10.1"
120120

121121
# Exposing constants from RPi.GPIO
122122
VERSION_GPIO = _GPIO.VERSION_GPIO
@@ -263,7 +263,7 @@ def cleanup_interrupts():
263263
"""
264264
Removes all callbacks and closes used GPIO interfaces and sockets. After
265265
this you'll need to re-add the interrupt callbacks before waiting for
266-
interrupts again. Since RPIO v0.10.0 this is done automatically on exit.
266+
interrupts again. Since RPIO v0.10.1 this is done automatically on exit.
267267
"""
268268
_rpio.cleanup_interrupts()
269269

source/c_gpio/py_gpio.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ PyMODINIT_FUNC init_GPIO(void)
540540
rpi_revision_hex = Py_BuildValue("s", revision_hex);
541541
PyModule_AddObject(module, "RPI_REVISION_HEX", rpi_revision_hex);
542542

543-
version = Py_BuildValue("s", "0.10.0/0.4.2a");
543+
version = Py_BuildValue("s", "0.10.1/0.4.2a");
544544
PyModule_AddObject(module, "VERSION_GPIO", version);
545545

546546
// set up mmaped areas

source/c_pwm/pwm_py.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ PyMODINIT_FUNC init_PWM(void)
245245
return;
246246
#endif
247247

248-
PyModule_AddObject(module, "VERSION", Py_BuildValue("s", "0.10.0"));
248+
PyModule_AddObject(module, "VERSION", Py_BuildValue("s", "0.10.1"));
249249
PyModule_AddObject(module, "DELAY_VIA_PWM", Py_BuildValue("i", DELAY_VIA_PWM));
250250
PyModule_AddObject(module, "DELAY_VIA_PCM", Py_BuildValue("i", DELAY_VIA_PCM));
251251
PyModule_AddObject(module, "LOG_LEVEL_DEBUG", Py_BuildValue("i", LOG_LEVEL_DEBUG));

source/scripts/man/rpio.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH "RPIO" "1" "March 14, 2013" "0.10.0" "RPIO"
1+
.TH "RPIO" "1" "March 15, 2013" "0.10.1" "RPIO"
22
.SH NAME
33
rpio \- RPIO Documentation
44
.

0 commit comments

Comments
 (0)