Menu

Tree [5108d3] default 0.3.0a /
 History

Read Only access


File Date Author Commit
 RPi 2012-07-10 Ben Croston Ben Croston [5108d3] Converted from Python to C
 debian 2012-07-10 Ben Croston Ben Croston [5108d3] Converted from Python to C
 source 2012-07-10 Ben Croston Ben Croston [5108d3] Converted from Python to C
 .hgignore 2012-02-06 Ben Croston Ben Croston [752c9c] Initial version
 .hgtags 2012-05-24 Ben Croston Ben Croston [6d5148] Added tag 0.2.0 for changeset da03663fcf69
 CHANGELOG.txt 2012-07-10 Ben Croston Ben Croston [5108d3] Converted from Python to C
 INSTALL.txt 2012-07-10 Ben Croston Ben Croston [5108d3] Converted from Python to C
 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-07-10 Ben Croston Ben Croston [5108d3] Converted from Python to C
 README.txt 2012-07-10 Ben Croston Ben Croston [5108d3] Converted from Python to C
 distribute_setup.py 2012-07-10 Ben Croston Ben Croston [5108d3] Converted from Python to C
 setup.py 2012-07-10 Ben Croston Ben Croston [5108d3] Converted from Python to C

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.0a.tar.gz
mv RPi.GPIO-0.3.0a rpi.gpio-0.3.0a
cd rpi.gpio-0.3.0a
dh_make -s --email ben@croston.org -f ../RPi.GPIO-0.3.0a.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.