(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 <manisan...@gmail.com>
To:     Miro HronĨok <mhron...@redhat.com>




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 -- mingw@lists.fedoraproject.org
To unsubscribe send an email to mingw-le...@lists.fedoraproject.org
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/mingw@lists.fedoraproject.org

Reply via email to