Bug#759020: python-llvm: version string contains 'tag: '
Reiner Herrmann
reiner at reiner-h.de
Sun Nov 16 22:05:39 UTC 2014
Package: python-llvm
Version: 0.12.7-2
Tags: patch
The version string is contained in the file llvm/_version.py.
In the tarball downloaded from Github this already looks like 'tag: 0.12.7'.
I found out that the "official" tarball provided by upstream on PyPI [1]
contains the correct version string.
So either a different source archive can be used, or the version string can
be corrected before building the package.
I attached two patches for both ways. One modifies the watch file to look
for new versions on PyPI instead of Github. The other one adds a
override_dh_auto_configure section to debian/rules, which corrects the
version strings.
[1] https://pypi.python.org/pypi/llvmpy/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debian_llvmpy_rules.patch
Type: text/x-patch
Size: 478 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20141116/5ae5bef0/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debian_llvmpy_watch.patch
Type: text/x-patch
Size: 399 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20141116/5ae5bef0/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20141116/5ae5bef0/attachment.sig>
More information about the Pkg-llvm-team
mailing list