Bug#625171: Sponsoring needed for Pymca (Was: Bug#625171: pymca: FTBFS: rm: cannot remove `debian/pymca/usr/lib/python2.5/site-packages/PyMca/*.dat': No such file or directory)

Teemu Ikonen tpikonen at gmail.com
Tue May 24 14:43:10 UTC 2011


Hello Hideki,

Thanks for the patch. Actually I just made an upload to mentors.d.o
containing a fix almost exactly like your patch. The fix is somewhat
suboptimal, but will have to do for now.

The sources of the new version are here:
http://mentors.debian.net/debian/pool/main/p/pymca/

Since Andreas seems to be on vacation, could someone else from
debian-science upload pymca?

Best,

Teemu

On Tue, May 24, 2011 at 2:46 PM, Hideki Yamane <henrich at debian.or.jp> wrote:
> tags 625171 patch
> thanks
>
> Hi,
>
>  To avoid this FTBFS, remove python2.5 lines from debian/rules.
>  Here's a proposal patch.
>
>
>
> iff -urN pymca-4.4.1p1.orig/debian/rules pymca-4.4.1p1/debian/rules
> --- pymca-4.4.1p1.orig/debian/rules     2010-11-30 20:16:02.000000000 +0900
> +++ pymca-4.4.1p1/debian/rules  2011-05-24 17:58:05.561659399 +0900
> @@ -12,8 +12,7 @@
>        python setup.py clean
>        -rm -rf build
>
> -P25LIB=debian/pymca/usr/lib/python2.5/site-packages/PyMca
> -P26LIB=debian/pymca/usr/lib/python2.6/dist-packages/PyMca
> +P2xLIB=$(CURDIR)/debian/pymca/usr/lib/python2.*/dist-packages/PyMca
>
>  override_dh_install:
>        dh_install
> @@ -21,16 +20,11 @@
>        chmod -R a-X debian/pymca/usr/lib/*
>        # FIXME: Is there an easier way to exclude files which
>        # are installed to another binary package?
> -       rm -rf $(P25LIB)/attdata
> -       rm $(P25LIB)/*.dat
> -       rm $(P25LIB)/*.dict
> -       rm $(P25LIB)/*.cfg
> -       rm $(P25LIB)/changelog.txt
> -       rm -rf $(P26LIB)/attdata
> -       rm $(P26LIB)/*.dat
> -       rm $(P26LIB)/*.dict
> -       rm $(P26LIB)/*.cfg
> -       rm $(P26LIB)/changelog.txt
> +       rm -rf $(P2xLIB)/attdata \
> +               $(P2xLIB)/*.dat \
> +               $(P2xLIB)/*.dict \
> +               $(P2xLIB)/*.cfg \
> +               $(P2xLIB)/changelog.txt
>  override_dh_pysupport:
>        dh_pysupport
>        chmod 755 debian/pymca-data/usr/share/pyshared
>
>
>
> --
> debian-science-maintainers mailing list
> debian-science-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers
>





More information about the debian-science-maintainers mailing list