Skip to content
Denis Demidov edited this page Sep 5, 2017 · 3 revisions

Creating debian package for python-ev3dev

The page mostly follows http://www.ev3dev.org/docs/devtools/packaging-for-ev3dev/ and is just a mental note for the package maintainer.

Update pbuilder environment:

OS=debian ARCH=amd64 DIST=jessie pbuilder-ev3dev base
OS=raspbian ARCH=armhf DIST=jessie pbuilder-ev3dev base

Update debian/changelog, commit the changes, then

git checkout master
git merge develop
git tag -a 1.0.0

Build the packages for debian and raspbian:

OS=debian ARCH=amd64 DIST=jessie pbuilder-ev3dev build
OS=raspbian ARCH=armhf DIST=jessie pbuilder-ev3dev build

Sign the packages:

debsign pbuilder-ev3dev/debian/jessie-amd64/python-ev3dev_1.0.0_amd64.changes
debsign pbuilder-ev3dev/raspbian/jessie-armhf/python-ev3dev_1.0.0_armhf.changes

Upload the packages:

dput ev3dev-rpi pbuilder-ev3dev/raspbian/jessie-armhf/python-ev3dev_0.8.1_armhf.changes
dput ev3dev-deb pbuilder-ev3dev/debian/jessie-amd64/python-ev3dev_0.8.1_amd64.changes
Clone this wiki locally