Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 459572 - dev-python/pycparser-2.09.1 uses a wrong SRC_URI
Summary: dev-python/pycparser-2.09.1 uses a wrong SRC_URI
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-27 17:28 UTC by Guillaume Ayoub
Modified: 2013-06-18 06:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Ayoub 2013-02-27 17:28:22 UTC
The SRC_URI in pycparser-2.09.1 leads to bitbucket.org, but unfortunately this package is different from the one provided on PyPI.

Some .py files are generated and included in the PyPI package, they are not included in bitbucket (only the sources from the repository are included).

While these missing files are not really mandatory at first sight, they indeed are: if they are not included, .py files are generated in current path if you launch a script that uses pycparser. This behaviour has been reported here:

https://bitbucket.org/eliben/pycparser/issue/3/

This issue has been fixed between 2.09 and 2.09.1: the tarball on PyPI has been changed to include the generated files.

By the way, using bitbucket instead of PyPI is also possible, but you have to run _build_tables.py in the ebuild to generate the missing .py files. As the older tarballs are not stored on PyPI, it may be a better solution.

Reproducible: Always
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2013-06-18 06:58:36 UTC
  08 May 2013; Mike Gilbert <floppym@gentoo.org> +pycparser-2.09.1-r1.ebuild,
  -pycparser-2.09.1.ebuild:
  Pregenerate lexer and parser tables.