Skip to content

Commit

Permalink
update release stuff for use with ros_release_python
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Dec 11, 2013
1 parent 14df37a commit ee1ba69
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 45 deletions.
24 changes: 2 additions & 22 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
.PHONY: all setup clean_dist distro clean install deb_dist upload-packages upload-building upload testsetup test
.PHONY: all setup clean_dist distro clean install testsetup test

NAME=rospkg
VERSION=`./setup.py --version`

OUTPUT_DIR=deb_dist


all:
echo "noop for debbuild"

Expand All @@ -20,31 +17,14 @@ clean_dist:
distro: setup clean_dist
python setup.py sdist

push: distro
python setup.py sdist register upload
scp dist/${NAME}-${VERSION}.tar.gz [email protected]:/home/ros/data/download.ros.org/downloads/${NAME}

clean: clean_dist
echo "clean"

install: distro
sudo checkinstall python setup.py install

deb_dist:
# need to convert unstable to each distro and repeat
python setup.py --command-packages=stdeb.command sdist_dsc --workaround-548392=False bdist_deb

upload-packages: deb_dist
dput -u -c dput.cf all-shadow-fixed ${OUTPUT_DIR}/${NAME}_${VERSION}-1_amd64.changes
dput -u -c dput.cf all-ros ${OUTPUT_DIR}/${NAME}_${VERSION}-1_amd64.changes

upload-building: deb_dist
dput -u -c dput.cf all-building ${OUTPUT_DIR}/${NAME}_${VERSION}-1_amd64.changes

upload: upload-building upload-packages

testsetup:
echo "running rospkg tests"

test: testsetup
cd test && nosetests
cd test && nosetests && nosetests3
23 changes: 0 additions & 23 deletions dput.cf

This file was deleted.

File renamed without changes.
5 changes: 5 additions & 0 deletions stdeb3.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[DEFAULT]
Package: python3-rospkg
Depends: python3-yaml, lsb-release
Suite: trusty
X-Python3-Version: >= 3.3

0 comments on commit ee1ba69

Please sign in to comment.