Hey Miro,
I've now added the macros as you suggested [1].
Thanks
Sandro
[1]
https://src.fedoraproject.org/rpms/mingw-python3/c/704b75953c6a887d967abb5edd6ed2ebab682073?branch=master
On 06.11.20 09:13, Sandro Mani wrote:
(Forwarding also to list)
-------- Forwarded Message --------
Subject: Re: Macros for trivial mingw-python-* packages
Date: Fri, 6 Nov 2020 09:12:18 +0100
From: Sandro Mani <[email protected]>
To: Miro HronĨok <[email protected]>
Hey Sandro. Before we proceed, would it make sense to introduce some
macros for this, similar to %py3_build and %py3_install?
E.g. you should be able to do this currently:
%global __python3 %{mingw64_python3}
...
%py3_build
...
%py3_install
...
%{python3_sitearch}/...
However I realize that might be problematic given the two stacks (32-
and 64bit). So what if we have:
%mingw32_py3_build
%mingw64_py3_build
And
%mingw32_py3_install
%mingw64_py3_install
Similarly to %{mingw32/64_python3} and %{mingw32/64_python3_sitearch}?
Sound good?
Yep good idea, I'll look into it.
Side note: I see this:
%{mingw64_python3_sitearch}/*
Please, don't do that, see
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_files_to_include
Right, I'll amend those.
Thanks
Sandro
_______________________________________________
mingw mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]