-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 9/28/10 6:43 AM, Kurt Schwehr wrote:
> Hi Daniel and python packagers,
> 
> 
> I've added distribute to py2[4-7], given it a Provides setuptools, and 
> Conflicts 
> 
> setuptools.
> 

Conflicts without Replaces forces user intervention, because dpkg
doesn't know to replace setuptools with distribute, but only that they
can't be installed at the same time:

While trying to install:
  distribute-py26-0.6.14-1

The following inconsistencies found:
  distribute-py26 conflicts with setuptools-py26, but setuptools-py26 is
installed

And if a user _has_ packages which Depend on setuptools:

$ fink remove setuptools-py26
Information about 9684 packages read in 6 seconds.
Reading buildlock packages...
        All buildlocks accounted for.
/sw32/bin/dpkg-lockwait --remove setuptools-py26
dpkg: dependency problems prevent removal of setuptools-py26:
 boto-py26 depends on setuptools-py26.
 nose-py26 depends on setuptools-py26.
/sw32/bin/dpkg: error processing setuptools-py26 (--remove):

This solution also does _not_ satisfy packages with versioned
dependencies, since Provides are unversioned, and a corresponding real
package's version is treated as higher:

$ fink install py2app-py26
...
The following package will be installed or updated:
 py2app-py26
The following 5 additional packages will be installed:
 altgraph-py26 bdist-mpkg-py26 macholib-py26 modulegraph-py26
setuptools-py26
...

While trying to install:
  setuptools-py26-0.6c11-1

The following inconsistencies found:
  distribute-py26 conflicts with setuptools-py26, but setuptools-py26 is
installed


> If your package depends or builddepends on setuptools, please test it with 
> distribute.
> 
> -kurt
> (goatbar)
> 

The following have versioned dependencies on setuptools:

$ find /sw32/fink/dists/unstable/main/finkinfo/libs/pythonmods -name
"*.info" | xargs grep -l "setuptools.*0.6c"
/sw32/fink/dists/unstable/main/finkinfo/libs/pythonmods/altgraph-py.info
/sw32/fink/dists/unstable/main/finkinfo/libs/pythonmods/bdist-mpkg-py.info
/sw32/fink/dists/unstable/main/finkinfo/libs/pythonmods/dulwich-py.info
/sw32/fink/dists/unstable/main/finkinfo/libs/pythonmods/growl-py.info
/sw32/fink/dists/unstable/main/finkinfo/libs/pythonmods/macholib-py.info
/sw32/fink/dists/unstable/main/finkinfo/libs/pythonmods/modulegraph-py.info
/sw32/fink/dists/unstable/main/finkinfo/libs/pythonmods/py2app-py.info
/sw32/fink/dists/unstable/main/finkinfo/libs/pythonmods/python-ldap-py.info

- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyh7ysACgkQB8UpO3rKjQ+wZwCgncNU/m0OI0Lk2HoRyJRQ55Ag
T/cAoKFaSea37a+J5kBU/YU+2ltUNImN
=naxK
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to