Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
pytest-runner: Autospec creation for version 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fenrus75 authored and djklimes committed Nov 5, 2018
1 parent b702287 commit fc285bf
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 17 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ build.log.round*
*.zip
commitmsg
results/
rpms/
2 changes: 2 additions & 0 deletions options.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ broken_parallel_build = false
compat = false
# set conservative build flags
conservative_flags = false
# dev package requires the extras to be installed
dev_requires_extras = false
# pass -ffast-math to compiler
fast-math = false
# optimize build for speed over size
Expand Down
26 changes: 12 additions & 14 deletions pytest-runner.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,15 @@
#
Name : pytest-runner
Version : 4.2
Release : 39
Release : 40
URL : https://files.pythonhosted.org/packages/9e/b7/fe6e8f87f9a756fd06722216f1b6698ccba4d269eac6329d9f0c441d0f93/pytest-runner-4.2.tar.gz
Source0 : https://files.pythonhosted.org/packages/9e/b7/fe6e8f87f9a756fd06722216f1b6698ccba4d269eac6329d9f0c441d0f93/pytest-runner-4.2.tar.gz
Summary : Invoke py.test as distutils command with dependency resolution
Group : Development/Tools
License : MIT
Requires: pytest-runner-python3
Requires: pytest-runner-license
Requires: pytest-runner-python
Requires: Sphinx
Requires: pytest
Requires: pytest-runner-license = %{version}-%{release}
Requires: pytest-runner-python = %{version}-%{release}
Requires: pytest-runner-python3 = %{version}-%{release}
BuildRequires : buildreq-distutils3
BuildRequires : pluggy
BuildRequires : py-python
Expand All @@ -38,7 +36,7 @@ license components for the pytest-runner package.
%package python
Summary: python components for the pytest-runner package.
Group: Default
Requires: pytest-runner-python3
Requires: pytest-runner-python3 = %{version}-%{release}

%description python
python components for the pytest-runner package.
Expand All @@ -61,14 +59,14 @@ export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C
export SOURCE_DATE_EPOCH=1533001301
python3 setup.py build -b py3
export SOURCE_DATE_EPOCH=1541271787
python3 setup.py build

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/doc/pytest-runner
cp LICENSE %{buildroot}/usr/share/doc/pytest-runner/LICENSE
python3 -tt setup.py build -b py3 install --root=%{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/pytest-runner
cp LICENSE %{buildroot}/usr/share/package-licenses/pytest-runner/LICENSE
python3 -tt setup.py build install --root=%{buildroot}
echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
echo ----[ mark ]----
Expand All @@ -77,8 +75,8 @@ echo ----[ mark ]----
%defattr(-,root,root,-)

%files license
%defattr(-,root,root,-)
/usr/share/doc/pytest-runner/LICENSE
%defattr(0644,root,root,0755)
/usr/share/package-licenses/pytest-runner/LICENSE

%files python
%defattr(-,root,root,-)
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
39
40
11 changes: 9 additions & 2 deletions whatrequires
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
# This file contains recursive sources that require this package
PyJWT
aiohttp-cors
astroid
dask
flake8
idna-ssl
mccabe
paho-mqtt
pyee
pylint
scikit-image
totem
pyrsistent
smartcols
yarl

0 comments on commit fc285bf

Please sign in to comment.