Menu

Tree [5d477b] default 0.4.0a /
 History

Read Only access


File Date Author Commit
 debian 2012-08-27 Ben Croston Ben Croston [cf36e5] - Added py_cleanup() function and removed autom...
 source 2012-09-21 Ben Croston Ben Croston [5d477b] - Warn, not error when channel already in use
 test 2012-09-21 Ben Croston Ben Croston [5d477b] - Warn, not error when channel already in use
 .hgignore 2012-02-06 Ben Croston Ben Croston [752c9c] Initial version
 .hgtags 2012-07-11 Ben Croston Ben Croston [1e0a95] Added tag 0.3.1a for changeset 754e10d2e7df
 CHANGELOG.txt 2012-09-08 Ben Croston Ben Croston [eacefa] - Added support for Revision 2 boards
 INSTALL.txt 2012-09-21 Ben Croston Ben Croston [5d477b] - Warn, not error when channel already in use
 LICENCE.txt 2012-02-06 Ben Croston Ben Croston [752c9c] Initial version
 MANIFEST.in 2012-07-10 Ben Croston Ben Croston [5108d3] Converted from Python to C
 README.Debian 2012-08-27 Ben Croston Ben Croston [cf36e5] - Added py_cleanup() function and removed autom...
 README.txt 2012-08-27 Ben Croston Ben Croston [cf36e5] - Added py_cleanup() function and removed autom...
 distribute_setup.py 2012-07-10 Ben Croston Ben Croston [5108d3] Converted from Python to C
 setup.py 2012-09-08 Ben Croston Ben Croston [eacefa] - Added support for Revision 2 boards

Read Me

# This README file gives a very rough idea of how to build Debian
# packages for this module
# There may be dependencies I've forgotten to mention!
# Version numbers may change as well!

# install debian package build dependencies
apt-get install devscripts build-essential fakeroot dh-make

# get development source
cd ~
hg clone hg clone https://code.google.com/p/raspberry-gpio-python/
cd raspberry-gpio-python

# create tarball (in dist directory)
python setup.py sdist

mkdir ~/temp
cd ~/temp
cp ~/raspberry-gpio-python/dist/*.gz .
tar xvfz RPi.GPIO-0.3.2a.tar.gz
mv RPi.GPIO-0.3.2a rpi.gpio-0.3.2a
cd rpi.gpio-0.3.2a
dh_make -s --email ben@croston.org -f ../RPi.GPIO-0.3.2a.tar.gz

# delete debian directory and replace it with my copy (from hg)
rm -rf debian
cp -a ~/raspberry-gpio-python/debian .

# remove distribute from setup.py (first two lines)
nano setup.py

# create patch
dpkg-source --commit

# build .deb files
debuild -us -uc
debuild clean
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.