Skip to content
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
Merged

New plugin stdeb #190

merged 3 commits into from
Sep 20, 2015

Conversation

locolupo
Copy link
Member

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 added a commit that referenced this pull request Sep 20, 2015
@mriehl mriehl merged commit 98161d7 into pybuilder:master Sep 20, 2015
@mriehl
Copy link
Member

mriehl commented Sep 20, 2015

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

@locolupo
Copy link
Member Author

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

np, thanks for merging!

@locolupo locolupo deleted the new_plugin_stdeb branch September 20, 2015 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants