Your message dated Sun, 01 Aug 2010 01:17:23 +0000
with message-id <[email protected]>
and subject line Bug#576426: fixed in moin 1.9.3-1
has caused the Debian Bug report #576426,
regarding lintian: build-depends-on-python-dev-with-no-arch-any
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
576426: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576426
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: moin
Version: 1.9.2-1

Hello Jonas,

Regarding Lintian error "build-depends-on-python-dev-with-no-arch-any"

The python policy (appendix A)[1], mention that:
> Build dependencies for Python dependent packages must be declared for
> every Python version that the package is built for. The python-all-dev
> should be used when building modules for any or all Python versions.
> To build for a specific version or versions, Build-Depend on
> pythonX.Y-dev.
> 
It also says:
> Some applications and pure Python modules may be able to build-depend
> only on python or python-all and not require the -dev packages.

Lintian warning[1] is consistent with the later recommendation.


I have made a test, and moinmoin compiles properly when replacing
"python-dev (>= 2.3.5-7)" with python-all. The resulting packages are
identical (except the files buildinfo.gz and control file, obviously)

pbuilder 

The way I change the control file is a bit hacky, doesn't CDBS deserves
a bug report here?
  CDBS_BUILD_DEPENDS_class_python-distutils = python-all


Shall I commit this modification? any better idea?

Regards,

Franklin


diff --git a/debian/rules b/debian/rules
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,8 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+CDBS_BUILD_DEPENDS_class_python-distutils = python-all
+
 DEB_PYTHON_SYSTEM = pysupport
 include /usr/share/cdbs/1/rules/upstream-tarball.mk
 include /usr/share/cdbs/1/rules/utils.mk


======================================== 
diff -u m3/moin_1.9.2-3.dsc m2/moin_1.9.2-3.dsc
> --- m3/moin_1.9.2-3.dsc       2010-04-04 14:54:40.000000000 +0200
> +++ m2/moin_1.9.2-3.dsc       2010-04-04 14:22:35.000000000 +0200
> @@ -8,13 +8,13 @@
>  Standards-Version: 3.8.4
>  Vcs-Browser: http://git.debian.org/?p=collab-maint/moin.git;a=summary
>  Vcs-Git: git://git.debian.org/git/collab-maint/moin.git
> -Build-Depends: cdbs (>= 0.4.70~), devscripts (>= 2.10.7~), dh-buildinfo, 
> python-support, python-dev (>= 2.3.5-7), debhelper (>= 6), unzip, zip
> +Build-Depends: cdbs (>= 0.4.70~), devscripts (>= 2.10.7~), dh-buildinfo, 
> python-support, python-all, debhelper (>= 6), unzip, zip
[..]
## The checksums of the tar files are modified, obviously.
========================================
$ debdiff m3/python-moinmoin_1.9.2-3_all.deb m2/python-moinmoin_1.9.2-3_all.deb 
> File lists identical (after any substitutions)
>
> No differences were encountered between the control files
=========================================
(cd m2 ; dpkg -x python-moinmoin_1.9.2-3_all.deb ./x/)
(cd m3 ; dpkg -x python-moinmoin_1.9.2-3_all.deb ./x/)
diff -u -r /tmp/m2/x /tmp/m3/x | grep -v '.zip differ$'
> Binary files /tmp/m2/x/usr/share/doc/python-moinmoin/buildinfo.gz and 
> /tmp/m3/x/usr/share/doc/python-moinmoin/buildinfo.gz differ
=========================================



[1] 
http://www.debian.org/doc/packaging-manuals/python-policy/ap-build_dependencies.html
[2] 
http://lintian.debian.org/tags/build-depends-on-python-dev-with-no-arch-any.html




--- End Message ---
--- Begin Message ---
Source: moin
Source-Version: 1.9.3-1

We believe that the bug you reported is fixed in the latest version of
moin, which is due to be installed in the Debian FTP archive:

moin_1.9.3-1.debian.tar.gz
  to main/m/moin/moin_1.9.3-1.debian.tar.gz
moin_1.9.3-1.dsc
  to main/m/moin/moin_1.9.3-1.dsc
moin_1.9.3.orig.tar.gz
  to main/m/moin/moin_1.9.3.orig.tar.gz
python-moinmoin_1.9.3-1_all.deb
  to main/m/moin/python-moinmoin_1.9.3-1_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <[email protected]> (supplier of updated moin package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 31 Jul 2010 20:46:59 -0400
Source: moin
Binary: python-moinmoin
Architecture: source all
Version: 1.9.3-1
Distribution: unstable
Urgency: low
Maintainer: Jonas Smedegaard <[email protected]>
Changed-By: Jonas Smedegaard <[email protected]>
Description: 
 python-moinmoin - Python clone of WikiWiki - library
Closes: 576426 579189 580186
Changes: 
 moin (1.9.3-1) unstable; urgency=low
 .
   * New upstream release.
 .
   [ Frank Lin PIAT ]
   * Build-Depends on python rather than python-dev.
     Closes: bug#576426.
   * Fix location of README.Migration in NEWS file.
   * Install upstream's docs/REQUIREMENTS file.
   * Add manpage moin(1).
   * Drop lintian override for test.wsgi: no longer executable.
   * Add lintian override for no-doc-base-registration.
   * Install the desktop edition sample config files.
   * Fix werkzeug-0.6 http redirect incompatibility.
     Closes: bug#579189.
   * Improve DEP3 header for patch fix_werkzeug_0.6_http_redirect
   * Fix werkzeug-0.6 xmlxpc incompatibility.
     Closes: bug#580186.
 .
   [ Jonas Smedegaard ]
   * Fix conditionally append version in hash-bang of Python scripts
     (relevant only on systems where default Python version is
     unsupported - i.e. highly unlikely to have caused real trouble
     anywhere). Tighten build-dependency on cdbs to versions providing
     new variable name. Rephrase related comment.
   * Drop files section in copyright file for no longer shipped CDBS
     snippet.
   * Fix append version to python dependency if using non-default
     version.
   * Tidy rules file: move variable below cdbs inclusions, and improve
     some comments.
   * Drop patches applied in upstream 0.9.3 release. Refresh patches.
   * Tighten build-dependency on cdbs.
   * Bump Policy compliance to Standards-Version 3.9.1.
Checksums-Sha1: 
 b2c17025b0c86839bbd78413713e86ed7a6bb110 1852 moin_1.9.3-1.dsc
 e019c2742f42d4d1f32b0f86f985ce938b821f1b 30514897 moin_1.9.3.orig.tar.gz
 d977431710660096f64227af2f95feee14dc620b 125342 moin_1.9.3-1.debian.tar.gz
 51f6ec8e6751d9f130762404d8fc6abdbdddb250 15005282 
python-moinmoin_1.9.3-1_all.deb
Checksums-Sha256: 
 87ec958c075ca090239b7f47054283414dcfd5c68515c4b8b10476c29aa55bd4 1852 
moin_1.9.3-1.dsc
 ec7d5bed863395f2b7b9935fbe5ccc51618b18720db2a91a1515faafa7f7e4f0 30514897 
moin_1.9.3.orig.tar.gz
 e626690416485fdfe7e99d03ab498defd9ca34b563bd5587c89784f5d17110ef 125342 
moin_1.9.3-1.debian.tar.gz
 3b38bef9a9c7ea23934ad20f9f076a033100a48084b410837dccd190d13fef5e 15005282 
python-moinmoin_1.9.3-1_all.deb
Files: 
 46d579521979f359ce196ce90be2bc24 1852 net optional moin_1.9.3-1.dsc
 b22c15446e9fabda180fc88b21635184 30514897 net optional moin_1.9.3.orig.tar.gz
 2680d1d3e203a9018ec2a5448d02a8b4 125342 net optional moin_1.9.3-1.debian.tar.gz
 85984d82f442a738f0cc4b8c55845893 15005282 python optional 
python-moinmoin_1.9.3-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCgAGBQJMVMheAAoJECx8MUbBoAEhgKYP/1xXUUMG1HXVLG4FW21vW1lB
4ANLtLRN087Aovb4x2l91HE2R8BqmDnhD/OER4bjDkdCznql96W8mX16a1wzns7Q
q27ttAvQuZlDcwqrBDVXG/B+5OJVHHLyfyQqLUm01c/vQAs3CjBiCfwKUYZNy2Mr
75Cj7uzdDhvhFmxjUw5+KmLIDUKHHpe2aW/ZHgF/PC/cWJrqV2x3yEnRwXZ/jjBP
ndkPzQLJtOngAohN/dTHYgr52Z6Y+duu2C1XalDFlIFwqacyepka1tWv+TA35f4q
E3XW0h5qdLFgvVxvOmAlRjUixfkEikBmdEndvvM+8RrFpBAeBg680HrF4j5LmjDk
8Q83v7MHElgcl/m50wamf5fehqTGdyOElON9dO/AX8Az3xv9K19G1ASCVUm1DAap
LUSgISWnZwA3jLnafsXHLfliYwvkgYSUpjFZRBe2YrIemGa/qb4OLkJQTncIWBae
GkSjzVf32I4Rg0gRcYRMmXy7WAlmA3HpwVxTKuDWjQaiYj20E7KYoKZwTR2qBA31
9xUuzmlmEY5c5pqjdxn+lxmOrmhrvE7JpjoHXsG0mfgc9zo95pnBuEGPdi3/3Jb1
/utWBl6HkQOQ1LcUy3ecNqvjRnk7MN9hC1MtbKXGBFkIHTgrBMNpCqlxd/0+bkF9
sLEydxctxYg4/19xloOD
=LHwj
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to