Menu

Tree [b8da65] default 0.5.0a /
 History

Read Only access


File Date Author Commit
 RPi 2012-09-23 Ben Croston Ben Croston [0670e9] - Added VERSION
 debian 2013-03-03 Ben Croston Ben Croston [5080e4] - Added new edge detection events (interrupt ha...
 source 2013-03-03 Ben Croston Ben Croston [b8da65] Fixed GIL threading bug on Python 2
 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-02-10 Ben Croston Ben Croston [4c3996] Added tag 0.4.2a for changeset fdf1aeb8fecf
 CHANGELOG.txt 2013-03-03 Ben Croston Ben Croston [5080e4] - Added new edge detection events (interrupt ha...
 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-03 Ben Croston Ben Croston [5080e4] - Added new edge detection events (interrupt ha...
 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-03 Ben Croston Ben Croston [5080e4] - Added new edge detection events (interrupt ha...

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.0a
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
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.