[Bug 2017670] Review Request: python-tomli-w - A Python library for writing TOML

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=2017670



--- Comment #2 from Miro Hrončok <mhroncok@xxxxxxxxxx> ---
(In reply to Miro Hrončok from comment #1)
> Note that there is a build dependency loop with flit from
> https://src.fedoraproject.org/rpms/python-flit/pull-request/16 -- is there a
> way to build this without flit?



Something like this works:


# (no idea if there is a hash-less URL for whls yet)
Source1:       
https://files.pythonhosted.org/packages/f2/1b/4a0eae0293fbc806ddb43f4bd24d54cef40dcd022a76d8b59986aa813a6a/tomli_w-%{version}-py3-none-any.whl
BuildRequires:  python3-devel
BuildRequires:  python3-pip

# no %%generate_buildrequires

...

%build
mkdir -p %{_pyproject_wheeldir}
cp -p %{SOURCE1} %{_pyproject_wheeldir}

%install
%pyproject_install
...


This could be under a bootstrap bcond in tomli and tomli-w.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2017670
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux