[Build-common-hackers] Bug#521180: Bug#521180: cdbs: DEB_PYTHON_MODULE_PACKAGE behavior changed unexpectedly

Jonas Smedegaard dr at jones.dk
Sat Mar 28 08:43:00 UTC 2009


On Fri, Mar 27, 2009 at 03:35:35PM +0100, Jonas Smedegaard wrote:

>+# warn about deprecation (even when used as-is: may be plural in future)
>+DEB_PYTHON_MODULE_PACKAGE += $(warning Use of DEB_PYTHON_MODULE_PACKAGE is deprecated, please use DEB_PYTHON_MODULE_PACKAGES instead)

Whoops - above adds a space between variable and warning, causing the 
warning to not be triggered in build targets.

Patches attached again - with a fix added to actually make the warning 
work in targets using the deprecated DEB_PYTHON_MODULE_PACKAGE (by 
avoiding a space between variable and warning).

I will try test myself today, and if it works (and noone still has 
argued against it), I'll commit the change.


Kind regards,

  - Jonas

-- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plural.patch
Type: text/x-diff
Size: 1341 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20090328/a79a5aa7/attachment-0003.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: deprecate.patch
Type: text/x-diff
Size: 1480 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20090328/a79a5aa7/attachment-0004.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixnospace.patch
Type: text/x-diff
Size: 1104 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20090328/a79a5aa7/attachment-0005.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20090328/a79a5aa7/attachment-0001.pgp 


More information about the Build-common-hackers mailing list