Is it possible to manually add a dependency?

Asked by Petar Vasić on 2009-11-04

I'm using quickly to build a program that depends on another package being installed, as it uses it's database.

Since Quickly doesn't autodetect that dependency, can I somehow manually add a dependency on another Ubuntu package?

Question information

Language:
English Edit question
Status:
Answered
For:
Quickly Edit question
Assignee:
No assignee Edit question
Last query:
2009-11-04
Last reply:
2010-02-19
Didier Roche (didrocks) said : #1

Thanks for using Quickly.

I think this is more an issue as you miss an autodetect dependency.
Which python module do you use (and so, import in a python source file) which isn't detected when creating the package?
We can try to catch the bug together and see why the corresponding package isn't taken.

You can add recomends (automatically installed in ubuntu) or suggests in your package and those aren't changed.

Petar Vasić (p-vasic) said : #2

Hi Didiér,

I'm not importing anything with python, I'm just using a database that is created with another program.

"You can add recomends (automatically installed in ubuntu) or suggests in your package and those aren't changed."

This seems like the thing I'd like to do, but since I have little experience with building deb packages, I don't know how to do this.

Adding a section in debian/control perhaps?

Didier Roche (didrocks) said : #3

"Adding a section in debian/control perhaps?"

Right, just add "Recommends:" below all dependencies in "Depends:" section and above "Description:"
(do not indent "Recommends:")

But well, in your case Depends will be optimal. I'm opening a bug against distutils-extra and I'll find a way to add manually dependency.

Didier Roche (didrocks) said : #5

FYI, it's now possible in trunk to add manual dependencies.

Just use $ quickly configure dependencies and add dependencies separated by spaces or newline there.

Can you help with this problem?

Provide an answer of your own, or ask Petar Vasić for more information if necessary.

To post a message you must log in.