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

dh-python2 packaging #259

Closed
adrelanos opened this issue Jan 23, 2015 · 2 comments
Closed

dh-python2 packaging #259

adrelanos opened this issue Jan 23, 2015 · 2 comments

Comments

@adrelanos
Copy link

If you don't want to do #256, no problem. To help with #129 ...

Here is the deal:

I would try to come up with a pull request that ships a Makefile, a make-helper.bsh and a debian/ folder. It would produce a "lintian clean" (= no issues reported by the Debian policy checking tool) package, using dh-python2, that would simply install all files from the tuf folder (https://github.com/theupdateframework/tuf/tree/develop/tuf) to the /usr/lib/tuf/* folder. I.e. /usr/lib/tuf/sig.py etc.

It would not address the PyNaCl dependency issue that I described here:
#258 (comment)

But this PyNaCl issue cannot be solved within TUF's own repository anyhow.

This work needs to be done at some point anyhow.

How does that sound?

@vladimir-v-diaz
Copy link
Contributor

The debian/ folder + Makefile + make-helper.bsh approach seems reasonable, it is similar to stdeb's debianize command that builds a debian/ folder alongside setup.py. A pull request would be appreciated.

Although I haven't tried stdeb, according to the documentation it should be simple:

  1. Install stdeb
  2. Navigate to TUF's root folder that contains setup.py
  3. python setup.py --command-packages=stdeb.command bdist_deb

Step 3 generates Debian source and binary packages.

@lukpueh
Copy link
Member

lukpueh commented Jul 1, 2019

Fixed by a2532a1. Thanks for the initiative, @adrelanos! Closing here.

@lukpueh lukpueh closed this as completed Jul 1, 2019
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

No branches or pull requests

3 participants