Miro Hrončok
262f6d3bc3
%pyproject_buildrequires -x now implies -r
...
The usage without -r errored anyway, this way instead of forcing the user to add it,
we do it ourselves.
Machines stealing human's labor, yet again.
2020-07-16 13:38:50 +02:00
Miro Hrončok
a723865460
Remove Fedora 30 remnants
2020-06-23 11:09:03 +00:00
Petr Viktorin
82a7579530
Document how to test the macros
2020-06-23 11:48:59 +02:00
Miro Hrončok
95ba8376f5
Handle extracting debuginfo from extension modules
...
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1806625
Upstream issue for a proper fix https://github.com/pypa/pip/issues/7555
Co-Authored-By: Petr Viktorin <pviktori@redhat.com>
2020-04-16 15:45:48 +02:00
Patrik Kopkan
2800b49530
Add %pyproject_save_files macro
...
This macro save generates file section to %pyproject_files. It should
simplify %files section and allow to build by some automatic machinery
Supposed use case in Fedora:
%install
%pyproject_install
%pyproject_save_files requests _requests
%files -n python3-requests -f %{pyproject_files}
%doc README.rst
%license LICENSE
Automatic build of arbitrary packages (e.g. in Copr):
%install
%pyproject_install
%pyproject_save_files * +bindir // save all modules with executables
%files -n python3-requests -f %{pyproject_files}
Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
2020-04-15 16:45:10 +02:00
Miro Hrončok
9bb7de7385
Fedora CI: Update the mock config to support mock 2.0
...
See https://github.com/rpm-software-management/mock/wiki/Release-Notes-2.0
2020-02-12 15:29:11 +01:00
Miro Hrončok
dbb90f5dc1
Preserve existing flags in shebangs of Python files in /usr/bin
...
Use pathfix.py with -k and -a flags
Solves problems like https://bugzilla.redhat.com/show_bug.cgi?id=1335203
2020-02-07 18:35:06 +01:00
Patrik Kopkan
49a323e46e
create directory in $PWD
for built wheel
...
It is little bit more explicit than installing wheels from $PWD.
2019-11-21 13:12:18 +01:00
Miro Hrončok
11da7b793a
Documentation typo
2019-08-27 14:54:28 +02:00
Miro Hrončok
fda0a23075
-t means "use tox", -e means "use this toxenv", -e implies -t
...
Further fixes
2019-08-13 14:42:21 +02:00
Miro Hrončok
ec073171f3
Add %tox macro to invoke tests
2019-07-29 14:42:53 +02:00
Miro Hrončok
8a60635881
Allow to fetch test dependencies from tox
2019-07-26 15:07:11 +02:00
Petr Viktorin
03316d81e7
Document run-time deps
2019-07-18 11:24:18 +02:00
Petr Viktorin
50645e10a3
Refactor and add tests
2019-07-17 15:57:02 +02:00
Miro Hrončok
fdf511644e
Add %pyproject_buildrequires
2019-07-05 11:28:55 +02:00
Miro Hrončok
48b8e40baf
README nitpick: The %pyproject_install macro installs from PWD
2019-07-02 13:56:49 +02:00
Patrik Kopkan
162b0ca345
initial import ( #1717389 )
2019-07-02 12:41:04 +02:00
Gwyn Ciesla
044c83788e
Added the README
2019-07-01 15:15:34 +00:00