New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New plugin stdeb #190

Merged
merged 3 commits into from Sep 20, 2015

Conversation

Projects
None yet
2 participants
@locolupo
Member

locolupo commented Sep 12, 2015

Hi,

i’ve wrote a new pybuilder plugin, with this plugin it's now possible to build debian packages of you pybuilder based project.

the stdeb plugin (use_plugin("python.stdeb”)) provides a new task called make_deb and some new properties:
deb_package_maintainer, path_final_build, path_to_source_tarball

you can overwrite the default values in your build.py

To use the plugin you need an debian based operating system (tested on debian 8 and ubuntu 15.04) with the following packages installed:

  • dpkg-dev
  • python-setuptools, python-all, debhelper

We can’t resolv this requirements with pybuilder tools, because we can’t check for installed os packages. i've used assert_can_executeto check for the most but not every packages provides executables
If you like to discuss the opportunity to check for os packages i will create an enhancement issue for that - i have some ideas.

i’ve checked the debian package of pybuilder with lintian and all issues are project related and can be solved:

- W: python-pybuilder: new-package-should-close-itp-bug  # no changelog
- E: python-pybuilder: no-copyright-file
- W: python-pybuilder: description-synopsis-starts-with-article
- W: python-pybuilder: extended-description-line-too-long
- W: python-pybuilder: extended-description-line-too-long
- W: python-pybuilder: extended-description-line-too-long
- W: python-pybuilder: binary-without-manpage usr/bin/pyb
- W: python-pybuilder: binary-without-manpage usr/bin/pyb_

if you like i can provode a verbose version of this output.

looking forward to your feedback

@mriehl mriehl added the in progress label Sep 12, 2015

mriehl added a commit that referenced this pull request Sep 20, 2015

@mriehl mriehl merged commit 98161d7 into pybuilder:master Sep 20, 2015

1 of 2 checks passed

coverage/coveralls Coverage decreased (-0.1%) to 67.805%
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@mriehl

This comment has been minimized.

Show comment
Hide comment
@mriehl

mriehl Sep 20, 2015

Member

Thanks Marcel. I kinda forgot about merging, sorry for that.

Member

mriehl commented Sep 20, 2015

Thanks Marcel. I kinda forgot about merging, sorry for that.

@mriehl mriehl removed the in progress label Sep 20, 2015

@locolupo

This comment has been minimized.

Show comment
Hide comment
@locolupo

locolupo Sep 20, 2015

Member

Thanks Marcel. I kinda forgot about merging, sorry for that.

np, thanks for merging!

Member

locolupo commented Sep 20, 2015

Thanks Marcel. I kinda forgot about merging, sorry for that.

np, thanks for merging!

@locolupo locolupo deleted the locolupo:new_plugin_stdeb branch Sep 20, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment