[csw-devel] SF.net SVN: gar:[16652] csw/mgar/pkg/subversion/trunk/Makefile

Maciej (Matchek) Bliziński maciej at opencsw.org
Sat Jun 23 22:35:11 CEST 2012


Hi Rupert,

On Mon, Jan 02, 2012 at 08:17:25PM +0000, rthurner at users.sourceforge.net wrote:
> +CHECKPKG_OVERRIDES_CSWpythonsvn += discouraged-path-in-pkgmap|/opt/csw/lib/svn/python/site-packages/svn/repos.pyc
> +CHECKPKG_OVERRIDES_CSWpythonsvn += discouraged-path-in-pkgmap|/opt/csw/lib/svn/python/site-packages/svn/wc.pyc
> +CHECKPKG_OVERRIDES_CSWpythonsvn += discouraged-path-in-pkgmap|/opt/csw/lib/svn/python/site-packages/libsvn/__init__.pyc
> (...)

We don't ship *.pyc files in Python packages. We use the pycompile class
instead, and generate the *.pyc files locally. Instead of overriding the
error tags, you can remove the files in a post-install-modulated step
and set the pycompile class on them.


More information about the devel mailing list