Menu

Tree [2aed2c] default 0.5.1a /
 History

Read Only access


File Date Author Commit
 RPi 2012-09-23 Ben Croston Ben Croston [0670e9] - Added VERSION
 debian 2013-03-15 Ben Croston Ben Croston [2aed2c] Fixed callbacks for multiple GPIOs (issue 28)
 source 2013-03-15 Ben Croston Ben Croston [2aed2c] Fixed callbacks for multiple GPIOs (issue 28)
 test 2013-03-03 Ben Croston Ben Croston [5080e4] - Added new edge detection events (interrupt ha...
 .hgignore 2012-02-06 Ben Croston Ben Croston [752c9c] Initial version
 .hgtags 2013-03-03 Ben Croston Ben Croston [50e60f] Added tag 0.5.0a for changeset b8da656fb650
 CHANGELOG.txt 2013-03-15 Ben Croston Ben Croston [2aed2c] Fixed callbacks for multiple GPIOs (issue 28)
 INSTALL.txt 2012-09-21 Ben Croston Ben Croston [5d477b] - Warn, not error when channel already in use
 LICENCE.txt 2013-02-10 Ben Croston Ben Croston [45599a] - Fix for installing on Arch Linux (Python 3.3)...
 MANIFEST.in 2012-07-10 Ben Croston Ben Croston [5108d3] Converted from Python to C
 README.Debian 2013-03-15 Ben Croston Ben Croston [2aed2c] Fixed callbacks for multiple GPIOs (issue 28)
 README.txt 2013-03-03 Ben Croston Ben Croston [5080e4] - Added new edge detection events (interrupt ha...
 distribute_setup.py 2013-02-10 Ben Croston Ben Croston [45599a] - Fix for installing on Arch Linux (Python 3.3)...
 setup.py 2013-03-15 Ben Croston Ben Croston [2aed2c] Fixed callbacks for multiple GPIOs (issue 28)

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!

VERSION=0.5.1a
export DEBFULLNAME="Ben Croston"
export DEBEMAIL="ben@croston.org"

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

# create build area
mkdir ~/temp
cd ~/temp

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

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

cd ~/temp
cp raspberry-gpio-python/dist/*.gz .
tar xvfz RPi.GPIO-$VERSION.tar.gz
mv RPi.GPIO-$VERSION rpi.gpio-$VERSION
cd rpi.gpio-$VERSION
dh_make -s -f ../RPi.GPIO-$VERSION.tar.gz

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

# remove distribute from setup.py (first two lines)
#sed -i '1,2d' setup.py

# create patch
#dpkg-source --commit

# build .deb files
debuild -us -uc
debuild clean