[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#883246: ITP: python-enum-compat -- Python enum/enum34 compatibility package



On Fri, 01 Dec 2017 at 10:48:37 +0100, Ondřej Nový wrote:
> * Package name    : python-enum-compat
>   Version         : 0.0.2
>   Upstream Author : Jakub Stasiak <jakub@stasiak.at>
> * URL             : https://pypi.python.org/pypi/enum-compat
> * License         : Expat
>   Programming Lang: Python
>   Description     : Python enum/enum34 compatibility package
> 
> This is a "virtual" package, its whole purpose is to install enum34 on Python older than 3.4. On Python 3.4+ it’s a no-op.

Within Debian, wouldn't this be better achieved by having Python 2 packages
that require enum34 depend on python-enum34 directly, as they already do?
python-enum34 could have a Provides on some other name if that helped.

Even oldstable has python3 >= 3.4, so Python 2 (and pypy, which implements
the Python 2 language) is the only reason that enum34 itself has any
value.

The proposed name also isn't really compatible with Debian Python
policies: you can't `import enum_compat` after installing it.

    smcv


Reply to: