On Sat, May 29, 2010 at 09:18, Alessio Treglia <quadris...@ubuntu.com> wrote:
> Ops, forgot the URLs:
>
> [1] 
> http://debomatic.debian.net/maverick/pool/csound_5.12.1~dfsg-2ubuntu1/csound_5.12.1~dfsg-2ubuntu1.buildlog

for pyvers in 2.6; do \
                mkdir -p 
/tmp/buildd/csound-5.12.1~dfsg/debian/tmp/usr/lib/python$pyvers/$(basename
$(_py_=; python${_py_#python*} -c 'from distutils import sysconfig;
print(sysconfig.get_python_lib())')); \
                cp csnd.py _csnd.so \
                        
/tmp/buildd/csound-5.12.1~dfsg/debian/tmp/usr/lib/python$pyvers/$(basename
$(_py_=; python${_py_#python*} -c 'from distutils import sysconfig;
print(sysconfig.get_python_lib())')); \
        done

Basically it only installs for 2.6 because that is the only version
supported right now. If/when that changes, csound would install one
working and one broken module.


The real solution to this problem is to build the csound source twice,
once for each python version. One could probably do some magic to
rebuild only needed parts, but that is not (as Jonas hoped) at all
generic.

-- 

Saludos,
Felipe Sateler

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to