debian/control file, how do I specify a dependency on a package between 2 versions of that package?
For example: python 2.5 or higher but lower than python 2.7.
Depends: python ($VERSION_STRING)
The operators for version dependencies are:
So in order to declare your example, you'd add two dependencies:
You can use two clauses to specify the constraints. The first states a dependency on python 2.5 or greater, and the second states a dependency on python earlier than 2.7.