forked from ros-infrastructure/rospkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update release stuff for use with ros_release_python
- Loading branch information
1 parent
14df37a
commit ee1ba69
Showing
4 changed files
with
7 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
|
||
|
@@ -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 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |