Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 482344

Summary: dev-python/faulthandler - Display the Python traceback/stacktrace on a crash (bundled in >=dev-lang/python-3.3).
Product: Gentoo Linux Reporter: Martin Mokrejš <mmokrejs>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED OBSOLETE    
Severity: enhancement CC: python
Priority: Normal Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://pypi.python.org/pypi/faulthandler/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: faulthandler-2.2.ebuild
dev-python/faulthandler-2.2.ebuild

Description Martin Mokrejš 2013-08-24 19:13:40 UTC
Created attachment 356882 [details]
faulthandler-2.2.ebuild

Here is a sketch of the package ebuild.
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-08-24 23:08:23 UTC
Consider to ...

1. use the recommended latest EAPI 5.
2. migrate to distutils-r1 [1] eclass.
3. attach the FAULTHANDLER license to this bug.
4. not specify the Python dependency as distutils-r1 already does that; if you want to restrict it, then use PYTHON_COMPAT [2] to denote which Python versions the ebuild is compatible with. Unless you intended a blocker, in which you case you will want to use !>=dev-lang/python-3.3.

 [1]: http://devmanual.gentoo.org/eclass-reference/distutils-r1.eclass/index.html
 [2]: http://www.gentoo.org/proj/en/Python/python-r1/dev-guide.xml#doc_chap2_sect2
Comment 2 Martin Mokrejš 2013-08-25 22:34:36 UTC
Hi Tom,
  thank you for you kind guidance about how to improve the ebuild. I again forgot most of the ebuild quiz knowledges so I am not eligible. ;) Too much work just everywhere. Please finish the ebuild or somebody else. I will be glad to contribute such crappy skeletons and time to time commit my crap to sci overlay. Hope that's better than nothing. ;-)

BTW, I used vim so whatever was the template API. I will keep your advice for future when I have time to learn again how to write nicely ebuilds. Just no time at the moment.

Thank you,
Martin
Comment 3 Tina 2013-10-11 10:03:43 UTC
i wrote an ebuild for it based on http://gpo.zugaina.org/dev-python/faulthandler

see attachment
Comment 4 Tina 2013-10-11 10:05:01 UTC
Created attachment 360620 [details]
dev-python/faulthandler-2.2.ebuild
Comment 5 Matthias Maier gentoo-dev 2018-02-07 00:01:36 UTC
Already in tree