On Fri, 5 Oct 2018 11:27:54 +0200 Ondrej Novy <[email protected]> wrote:
> Hi, > > pá 5. 10. 2018 v 11:21 odesílatel Neil Williams <[email protected]> > napsal: > > > I'm looking to package a new python3 utility which will depend > > on python3-enum34 and the homepage link from this source package > > claims support for python3. > > > > enum34 is backport of enum from Python 3.4. It doesn't make sense to > package it for Python 3, because we have >= Python 3.4 in unstable. I realised that just after I hit send. :-) My bad, should have read the package description first. > Correct solution: > https://sources.debian.org/src/python-eventlet/0.20.0-5/debian/patches/0011-Avoid-dependency-on-enum-compat.patch/ > > "enum34;python_version<"3.4"" Thanks for the hint - I didn't know about that bit of setup.py syntax. The package which depends on this would be new and uses another dependency which, in Debian, is only available for Python3. There's no need for me to consider Debian support for Python2 in the new package. So my patch to setup.py just drops the enum34 line entirely. -- Neil Williams [email protected]
pgp_xdVXBCWgY.pgp
Description: OpenPGP digital signature
_______________________________________________ Python-modules-team mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team
