[pkg-php-pear] Bug#762518: PEAR: [Regression] Preversion are not “translated” anymore

David Prévot taffit at debian.org
Tue Sep 23 01:11:55 UTC 2014


Package: pkg-php-tools
Version: 1.21
Severity: normal

Hi,

Among php-log dependencies, php-mdb2 (see package.xml extract bellow)
version used to be translated to 2.0.0~rc1, respecting Debian syntax,
but with the current version of pkg-php-tools, that’s not true anymore.

   <package>
    <name>MDB2</name>
    <channel>pear.php.net</channel>
    <min>2.0.0RC1</min>
   </package>

According to Guillaume, the thing to fix should be in the following
file:
	/usr/share/php/pkgtools/base/dependency.php

Regards

David

P.-S.: I’m currently using the following trick in d/watch to DTRT, and
it seems to work well in most cases. Maybe will such advice could have
its place in our documentation, or maybe some people have better advices
to share.

	options=uversionmangle=s/-?([^\d.])/~$1/i;tr/A-Z/a-z/ \


-- System Information:
Debian Release: jessie/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-2-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pkg-php-tools depends on:
ii  debhelper  9.20140817
ii  php-pear   5.6.0+dfsg-1
ii  php5-cli   5.6.0+dfsg-1
ii  php5-json  1.3.6-1

pkg-php-tools recommends no packages.

Versions of packages pkg-php-tools suggests:
ii  dh-make  1.20140617

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20140922/898e29f8/attachment.sig>


More information about the pkg-php-pear mailing list