Closed brianjmurrell closed 7 years ago
That package only supports Python 3 according to the classifiers.
https://github.com/shon/httpagentparser/blob/8bfc1c9b393d83da5544f392bbbe57cf7e7d2ff3/setup.py#L51
According to the README, it supports 2.5+ as well. Please open an issue in https://github.com/shon/httpagentparser
Ahh. Thanks. Learned something new about Python software distribution today. Ticket filed.
So in a case like this, I guess there is no switch (or other way) to force pyp2rpm
to build a specfile (i.e. while waiting for upstream to fix) for Python 2.x is there?
Never mind. I found -p
Fixed this issue in httpagentparser
Using pyp2rpm on httpagentparser-1.5.0) I get a specfile that only seems to be building the python3 variant of that package. The command I used to build the spec was: