Bug 1536907 - Split to provide python2-evemu and python3-evemu
Summary: Split to provide python2-evemu and python3-evemu
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: evemu
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Hutterer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3 PY3PATCH-AVAILABLE
TreeView+ depends on / blocked
 
Reported: 2018-01-22 02:06 UTC by Peter Hutterer
Modified: 2018-04-17 23:38 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-03 13:26:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Peter Hutterer 2018-01-22 02:06:22 UTC
Making evemu's bindings python3-safe requires a few changes to the package:

* switch python to python2 in the current package
* split out the python bindings as python2-evemu (right now they're part of evemu-devel)
* create a new package python3-evemu that only packages the python files

It's a bit annoying because it gives us two packages to update for every evemu release. But rpm doesn't seem to have a subpackage-specific install/build section, otherwise we could just run configure and install twice with different $PYTHON set.

Or add some upstream trickery to support both python versions on install.

Or drop the python2 bindings, but that will break most existing scripts and has issues on RHEL.

Or not provide python3 bindings.

Comment 1 Fedora End Of Life 2018-02-20 15:34:54 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 2 Carl George 2018-03-30 20:38:27 UTC
I think the best way to handle it is to build with Python 2 on RHEL and Python 3 on Fedora.  I implemented this with a pull request, for your consideration.

https://src.fedoraproject.org/rpms/evemu/pull-request/2

Comment 4 Peter Hutterer 2018-04-17 23:38:05 UTC
Sorry about the delay, my email filters were messed up and I didn't get any F28 emails. Thanks for implementing this, much appreciated.


Note You need to log in before you can comment on or make changes to this bug.