Your message dated Sat, 13 Aug 2005 12:39:14 +0200
with message-id <[EMAIL PROTECTED]>
and subject line python-extclass: need a way to figure out the base python 
version
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 3 Dec 2003 13:22:23 +0000
>From [EMAIL PROTECTED] Wed Dec 03 07:22:22 2003
Return-path: <[EMAIL PROTECTED]>
Received: from matav-1.matav.hu (Woody.fw.matav.hu) [145.236.241.98] 
        by master.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1ARWxQ-0004tk-00; Wed, 03 Dec 2003 07:22:21 -0600
Received: by matav-1.matav.hu with esmtp; Wed, 03 Dec 2003 14:21:02 +0100
Received: from kusturica.tii.matav.hu (localhost [127.0.0.1])
        by bunuel.tii.matav.hu (Postfix) with SMTP
        id 8B1B318255; Wed,  3 Dec 2003 13:12:32 +0000 (UTC)
Received: by kusturica.tii.matav.hu (sSMTP sendmail emulation); Wed,  3 Dec 
2003 14:19:07 +0100
Subject: python-extclass: need a way to figure out the base python version
From: =?ISO-8859-1?Q?Magos=E1nyi_=C1rp=E1d?= <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: Sasa <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable
X-Mailer: Ximian Evolution 1.0.5 
Date: 03 Dec 2003 14:19:06 +0100
Message-Id: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 
        2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_11_20 
        (1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-4.0 required=4.0 tests=BAYES_70,HAS_PACKAGE 
        autolearn=no 
        version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_11_20
X-Spam-Level: 

Package: python-extclass
Version: 1.2.0zope-2.5.1-1.3
Severity: wishlist
Tags: patch

Hi!

It is important to have a well-defined way to figure out the python
version which the actual extclass is related to. It is because there
may be more pythons on a system, and only one extclass, and the
default python may not have extclass. This leads to some problems
configuring packages for build.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D220916
for details.

I have came up with a python-extclass-config script to make
the world a nicer place to live in. Its most important feature
is its --binary option, as I can use it for ./configure --with-python

Please include it in python-extclass. I believe there are other
maintainers of packages depending on extclass who will thank it
to you.

The script:
----------------------------------------------
#!/bin/bash
pythonver=3D`dpkg -s python-extclass|grep Depends|sed 's/^.*python\([^
]*\)-extclass .*/\1/'`
pythonbinary=3D/usr/bin/python$pythonver
case $1 in
        --version)
                echo $pythonver
        ;;
        --binary)
                echo $pythonbinary
        ;;
        --check)
                if [ -x $pythonbinary ]
                then
                        echo sanity check is okay
                        exit 0
                else
                        echo sanity check failed
                        exit 1
                fi
        ;;
        *)
                echo usage: "$0 [--version|--binary|--check]"
                echo --version outputs the python version
                echo --binary outputs the name of the python binary
                echo --check checks if the python binary actually exists
        ;;
esac
----------------------------------------------


-- System Information:
Debian Release: testing/ezmegmindigstabilabb
Architecture: i386
Kernel: Linux kusturica 2.4.23-rsbac #1 2003. dec. 2., kedd, 22.25.46
CET i686
Locale: LANG=3Dhu_HU, LC_CTYPE=3Dhu_HU

Versions of packages python-extclass depends on:
ii  python               2.3.2-2             An interactive high-level
object-o
ii  python2.3-extclass   1.2.0zope-2.5.1-1.3 Improves integration
between Pytho

-- no debconf information


--=20
GNU GPL: csak tiszta forr=E1sb=F3l

---------------------------------------
Received: (at 222801-done) by bugs.debian.org; 13 Aug 2005 10:39:18 +0000
>From [EMAIL PROTECTED] Sat Aug 13 03:39:18 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mail.cs.tu-berlin.de [130.149.17.13] (root)
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1E3tQ6-0001RB-00; Sat, 13 Aug 2005 03:39:18 -0700
Received: from mailhost.cs.tu-berlin.de ([EMAIL PROTECTED] [130.149.17.13])
        by mail.cs.tu-berlin.de (8.9.3p2/8.9.3) with ESMTP id MAA08409;
        Sat, 13 Aug 2005 12:39:16 +0200 (MEST)
Received: from localhost (localhost [127.0.0.1])
        by mailhost.cs.tu-berlin.de (Postfix) with ESMTP id DEDF9FD4D;
        Sat, 13 Aug 2005 12:39:15 +0200 (MEST)
Received: from mailhost.cs.tu-berlin.de ([127.0.0.1])
 by localhost (bueno [127.0.0.1]) (amavisd-new, port 10224) with ESMTP
 id 12471-15; Sat, 13 Aug 2005 12:39:14 +0200 (MEST) 11322
Received: from bolero.cs.tu-berlin.de (bolero.cs.tu-berlin.de [130.149.19.1])
        by mailhost.cs.tu-berlin.de (Postfix) with ESMTP;
        Sat, 13 Aug 2005 12:39:14 +0200 (MEST)
Received: (from [EMAIL PROTECTED])
        by bolero.cs.tu-berlin.de (8.12.10+Sun/8.12.8/Submit) id j7DAdEHh025521;
        Sat, 13 Aug 2005 12:39:14 +0200 (MEST)
From: Matthias Klose <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <[EMAIL PROTECTED]>
Date: Sat, 13 Aug 2005 12:39:14 +0200
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: python-extclass: need a way to figure out the base python version
X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid
X-Virus-Scanned: by amavisd-new at cs.tu-berlin.de
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02

closing as wontfix. if you call /usr/bin/python, you to find out that
yourself, i.e.

PYVER   := $(shell python -c 'import sys; print sys.version[:3]')


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to