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

What needs to be done to make a package ready to be accepted in debian #179

Closed
stuaxo opened this issue Feb 24, 2021 · 3 comments
Closed

Comments

@stuaxo
Copy link

stuaxo commented Feb 24, 2021

I can see some candidate in the issue tracker:

doesn't create debian/copyright #30
copy README, README.rst to /usr/share/doc/package/ #120

One thing I tried is running lintian:

lintian pubsub_0.1.2-1_source.changes
E: pubsub changes: bad-distribution-in-changes-file unstable
E: pubsub source: missing-build-dependency-for-dh-addon python3 => dh-python
E: pubsub source: missing-build-dependency-for-dh_-command dh_python2 => dh-python
W: pubsub source: ancient-standards-version 3.9.1 (released 2010-07-26) (current is 4.5.0)
W: pubsub source: no-debian-copyright-in-source
W: pubsub source: package-uses-deprecated-debhelper-compat-version 9
@stuaxo
Copy link
Author

stuaxo commented Apr 28, 2021

Switched to python2=False, things now look a litttle better, but not quite there yet:

lintian python3-pubsub_0.1.2-1_all.deb 
E: python3-pubsub: extended-description-is-empty
E: python3-pubsub: no-copyright-file
W: python3-pubsub: new-package-should-close-itp-bug

@stuaxo stuaxo changed the title What needs to be done to make a package ready to be accepted in debian ? Display hints if things are missing that will cause lintian errors. Apr 28, 2021
@stuaxo stuaxo closed this as completed Apr 28, 2021
@stuaxo stuaxo changed the title Display hints if things are missing that will cause lintian errors. What needs to be done to make a package ready to be accepted in debian Apr 28, 2021
@Evidlo
Copy link
Contributor

Evidlo commented Jul 23, 2022

This didn't work for me, and it seems like this is for an old version of stdeb.

What did work was adding --build-depends dh-python --copyright-file my_copyright_file.

The full command looks like:

python3 setup.py \
	--command-packages=stdeb.command sdist_dsc \
	--sign-results \
	--copyright-file debian_copyright \
	--build-depends dh-python

@stuaxo
Copy link
Author

stuaxo commented Jul 26, 2022

Nice :) is this in the docs ?

It's been a few years since I tried stdeb, but this could be a good example if it's not there already.

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

2 participants