|
| 1 | +# |
| 2 | +# This file is auto-generated. DO NOT EDIT |
| 3 | +# Generated by: autospec.py |
| 4 | +# |
| 5 | +Name : pypi-pytest_asyncio |
| 6 | +Version : 0.16.0 |
| 7 | +Release : 30 |
| 8 | +URL : https://files.pythonhosted.org/packages/89/53/8844d99d5343eecbb6d740d708581fbf63cefd560c07c7164b12691e54eb/pytest-asyncio-0.16.0.tar.gz |
| 9 | +Source0 : https://files.pythonhosted.org/packages/89/53/8844d99d5343eecbb6d740d708581fbf63cefd560c07c7164b12691e54eb/pytest-asyncio-0.16.0.tar.gz |
| 10 | +Summary : Pytest support for asyncio. |
| 11 | +Group : Development/Tools |
| 12 | +License : Apache-2.0 |
| 13 | +Requires: pypi-pytest_asyncio-license = %{version}-%{release} |
| 14 | +Requires: pypi-pytest_asyncio-python = %{version}-%{release} |
| 15 | +Requires: pypi-pytest_asyncio-python3 = %{version}-%{release} |
| 16 | +BuildRequires : buildreq-distutils3 |
| 17 | +Provides: pytest-asyncio |
| 18 | +Provides: pytest-asyncio-python |
| 19 | +Provides: pytest-asyncio-python3 |
| 20 | +BuildRequires : pypi(pytest) |
| 21 | + |
| 22 | +%description |
| 23 | +pytest-asyncio: pytest support for asyncio |
| 24 | +========================================== |
| 25 | + |
| 26 | +%package license |
| 27 | +Summary: license components for the pypi-pytest_asyncio package. |
| 28 | +Group: Default |
| 29 | + |
| 30 | +%description license |
| 31 | +license components for the pypi-pytest_asyncio package. |
| 32 | + |
| 33 | + |
| 34 | +%package python |
| 35 | +Summary: python components for the pypi-pytest_asyncio package. |
| 36 | +Group: Default |
| 37 | +Requires: pypi-pytest_asyncio-python3 = %{version}-%{release} |
| 38 | + |
| 39 | +%description python |
| 40 | +python components for the pypi-pytest_asyncio package. |
| 41 | + |
| 42 | + |
| 43 | +%package python3 |
| 44 | +Summary: python3 components for the pypi-pytest_asyncio package. |
| 45 | +Group: Default |
| 46 | +Requires: python3-core |
| 47 | +Provides: pypi(pytest_asyncio) |
| 48 | +Requires: pypi(pytest) |
| 49 | + |
| 50 | +%description python3 |
| 51 | +python3 components for the pypi-pytest_asyncio package. |
| 52 | + |
| 53 | + |
| 54 | +%prep |
| 55 | +%setup -q -n pytest-asyncio-0.16.0 |
| 56 | +cd %{_builddir}/pytest-asyncio-0.16.0 |
| 57 | + |
| 58 | +%build |
| 59 | +export http_proxy=http://127.0.0.1:9/ |
| 60 | +export https_proxy=http://127.0.0.1:9/ |
| 61 | +export no_proxy=localhost,127.0.0.1,0.0.0.0 |
| 62 | +export LANG=C.UTF-8 |
| 63 | +export SOURCE_DATE_EPOCH=1641480263 |
| 64 | +export GCC_IGNORE_WERROR=1 |
| 65 | +export CFLAGS="$CFLAGS -fno-lto " |
| 66 | +export FCFLAGS="$FFLAGS -fno-lto " |
| 67 | +export FFLAGS="$FFLAGS -fno-lto " |
| 68 | +export CXXFLAGS="$CXXFLAGS -fno-lto " |
| 69 | +export MAKEFLAGS=%{?_smp_mflags} |
| 70 | +python3 setup.py build |
| 71 | + |
| 72 | +%install |
| 73 | +export MAKEFLAGS=%{?_smp_mflags} |
| 74 | +rm -rf %{buildroot} |
| 75 | +mkdir -p %{buildroot}/usr/share/package-licenses/pypi-pytest_asyncio |
| 76 | +cp %{_builddir}/pytest-asyncio-0.16.0/LICENSE %{buildroot}/usr/share/package-licenses/pypi-pytest_asyncio/c700a8b9312d24bdc57570f7d6a131cf63d89016 |
| 77 | +python3 -tt setup.py build install --root=%{buildroot} |
| 78 | +echo ----[ mark ]---- |
| 79 | +cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || : |
| 80 | +echo ----[ mark ]---- |
| 81 | + |
| 82 | +%files |
| 83 | +%defattr(-,root,root,-) |
| 84 | + |
| 85 | +%files license |
| 86 | +%defattr(0644,root,root,0755) |
| 87 | +/usr/share/package-licenses/pypi-pytest_asyncio/c700a8b9312d24bdc57570f7d6a131cf63d89016 |
| 88 | + |
| 89 | +%files python |
| 90 | +%defattr(-,root,root,-) |
| 91 | + |
| 92 | +%files python3 |
| 93 | +%defattr(-,root,root,-) |
| 94 | +/usr/lib/python3*/* |
0 commit comments