Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233646 - dev-python/htmlgen-2.2.2 - ebuild enhancements
Summary: dev-python/htmlgen-2.2.2 - ebuild enhancements
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 232575
  Show dependency tree
 
Reported: 2008-08-01 20:50 UTC by René 'Necoro' Neumann
Modified: 2008-08-19 06:52 UTC (History)
0 users

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


Attachments
htmlgen-2.2.2.ebuild (htmlgen-2.2.2.ebuild,1.48 KB, text/plain)
2008-08-01 20:50 UTC, René 'Necoro' Neumann
Details
htmlgen-2.2.2.ebuild (htmlgen-2.2.2.ebuild,1.48 KB, text/plain)
2008-08-01 22:37 UTC, René 'Necoro' Neumann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description René 'Necoro' Neumann 2008-08-01 20:50:14 UTC
This is a blocker for bug #232575

Rewrote htmlgen to not use /usr/lib/python directly anymore.
As the original ebuild dates back to 2003, it needed a major rewrite. I therefore introduced a couple of changes:

- instead of installing in site-packages directly, it now uses its own subdirectory
- add a "doc" useflag to install the html docs
- let the python-eclass do the compiling stuff instead of using crude makefiles
Comment 1 René 'Necoro' Neumann 2008-08-01 20:50:54 UTC
Created attachment 161937 [details]
htmlgen-2.2.2.ebuild

The ebuild. Again no diff, as it would be longer as the ebuild ;)
Comment 2 René 'Necoro' Neumann 2008-08-01 20:54:16 UTC
Ah - and btw: The homepage is not accessible anymore. Googling showed me, that this problem is well known and that there seems to exists no official homepage (anymore).
How should this be reflected in the ebuild?
Comment 3 René 'Necoro' Neumann 2008-08-01 22:37:39 UTC
Created attachment 161943 [details]
htmlgen-2.2.2.ebuild

get_python_sitedir has been renamed to "python_get_sitedir". Reflect this in
the ebuild.
Comment 4 Jesus Rivero (RETIRED) gentoo-dev 2008-08-19 01:23:43 UTC
dev-python/htmlgen-2.2.2 mods in tree now. Thanks Necoro, once again for your contributions to Python Team. I changed two things in your ebuild though. Copyright date and src_compile got erased as it didn't have anything in it. 

 Best regards, 



 Closing bug now,
Comment 5 René 'Necoro' Neumann 2008-08-19 06:52:51 UTC
The noop src_compile was included, because if no src_compile is given, it executes the default... and the default is doing "emake".

Though - there is no real problem having it executed here, except some additional noise:
>>> Compiling source in /var/tmp/portage/dev-python/htmlgen-2.2.2/work/HTMLgen ...
Type "make install" to install HTMLgen.
The modules will be put in site-packages.

Other targets include: test gendoc compileall dist bigdist
>>> Source compiled.