Commit Graph

22 Commits

Author SHA1 Message Date
Petr Viktorin
d6e6bb7dfb Allow specifying extras for build dependencies 2019-07-18 10:50:13 +02:00
Petr Viktorin
3600e9832d Adjust help and error messages 2019-07-18 09:24:02 +02:00
Petr Viktorin
c7e7d1e003 Ignore extra requirements (rather than fail) 2019-07-18 09:10:09 +02:00
Petr Viktorin
bc156c4460 Generate run-time requirements for tests 2019-07-18 08:59:44 +02:00
Petr Viktorin
204b801da2 Add --without tests bcond 2019-07-18 08:38:42 +02:00
Petr Viktorin
5abd40fa6b Remove unused return value 2019-07-17 16:25:20 +02:00
Petr Viktorin
095970b345 Fix call to pip
Use sys.executable and decode the output
2019-07-17 16:21:42 +02:00
Petr Viktorin
0878a7a9a4 Remove unused CLI argument 2019-07-17 16:06:54 +02:00
Petr Viktorin
50645e10a3 Refactor and add tests 2019-07-17 15:57:02 +02:00
Petr Viktorin
e6c1981103 Clean up try blocks
- minimize code in try blocks
- remove "except Exception" (global error handling to be added later)
2019-07-17 12:29:05 +02:00
Miro Hrončok
dd5ff52621 Build packages on Fedora CI 2019-07-17 12:17:47 +02:00
Miro Hrončok
fdf511644e Add %pyproject_buildrequires 2019-07-05 11:28:55 +02:00
Miro Hrončok
d81f3dfe39 Add test spec file 2019-07-02 12:50:01 +00:00
Patrik Kopkan
ff932e5705 Merge #2 Use source names instead of numbers 2019-07-02 12:46:53 +00:00
Miro Hrončok
48b7c9c2bf Add changelog for 253976c and a94281a 2019-07-02 14:02:54 +02:00
Miro Hrončok
a94281a5df %pyproject_install: Add --no-warn-script-location
Otherwise you see:

    WARNING: The scripts py.test and pytest are installed in '/builddir/build/BUILDROOT/pytest-4.6.4-1.fc31.x86_64/usr/bin' which is not on PATH.
      Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

And that is not relevant for us.
2019-07-02 13:58:24 +02:00
Miro Hrončok
253976c0e7 Fix shell syntax in the install macro
This was the error:

    /var/tmp/rpm-tmp.UmO2Gv: line 45: syntax error near unexpected token `fi
2019-07-02 13:57:24 +02:00
Miro Hrončok
48b8e40baf README nitpick: The %pyproject_install macro installs from PWD 2019-07-02 13:56:49 +02:00
Miro Hrončok
286c22ff34 Use source names instead of numbers
Inspired by the redhat-rpm-config package.
2019-07-02 13:42:40 +02:00
Miro Hrončok
a4df3c984a Add rpmlint RC file and URL 2019-07-02 13:06:11 +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