Package: equivs

Version: 2.2.0

I can't manage to specify a package version on the template. In my particular 
case, I'm trying to fake a python version (I've already installed it through 
pyenv, so it's not recognized as an actual package), so I can install 
`python-dev (stable 2.7.16-1 amd64)` and get the damn `Python.h` to compile and 
install `pybluez`.

Anyway, I've tried with:
```
Provides: python 2.7.16-1
Provides: python: 2.7.16-1
Provides: python=2.7.16-1
Provides: python="2.7.16-1"
```

But when runing `equivs-build fakePython2.7.16` it's always rejected with some 
variant of:
`dpkg-gencontrol: warning: can't parse dependency python="2.7.16-1"`

Where the full contents of `fakePython2.7.16` are:
```
### Commented entries have reasonable defaults.
### Uncomment to edit them.
Source: fake.python
Section: misc
Priority: optional
# Homepage: <enter URL here; no default>
Standards-Version: 3.9.2

Package: fake-python
Version: 1.1
# Maintainer: Your Name <yourn...@example.com>
# Pre-Depends: <comma-separated list of packages>
# Depends: <comma-separated list of packages>
# Recommends: <comma-separated list of packages>
# Suggests: <comma-separated list of packages>
Provides: python="2.7.16-1", libpython-dev, python2.7-dev, python2-dev
# Replaces: <comma-separated list of packages>
# Architecture: all
# Multi-Arch: <one of: foreign|same|allowed>
# Copyright: <copyright file; defaults to GPL2>
# Changelog: <changelog file; defaults to a generic changelog>
# Readme: <README.Debian file; defaults to a generic one>
# Extra-Files: <comma-separated list of additional files for the doc directory>
# Links: <pair of space-separated paths; First is path symlink points at, 
second is filename of link>
# Files: <pair of space-separated paths; First is file to include, second is 
destination>
# <more pairs, if there's more than one file to include. Notice the starting 
space>
Description: <short description; defaults to some wise words>
long description and info
.
second paragraph
```

I've tried reading the source code of dpkg-gencontrol, but I just can't wrap my 
head around pearl (╯°□°)╯︵ ┻━┻
Any help would be greatly apreciated q.q

-- System Information:
Linux kali 5.8.0-kali3-amd64 #1 SMP Debian 5.8.14-1kali1 (2020-10-13) x86_64 
GNU/Linux

Sent with [ProtonMail](https://protonmail.com) Secure Email.

Reply via email to