Bump to python3-pytest-cov 2.10.1
authorDongHun Kwak <dh0128.kwak@samsung.com>
Mon, 12 Apr 2021 06:19:11 +0000 (15:19 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Mon, 12 Apr 2021 06:29:03 +0000 (15:29 +0900)
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
packaging/python3-pytest-cov.manifest [new file with mode: 0644]
packaging/python3-pytest-cov.spec [new file with mode: 0644]

diff --git a/packaging/python3-pytest-cov.manifest b/packaging/python3-pytest-cov.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/python3-pytest-cov.spec b/packaging/python3-pytest-cov.spec
new file mode 100644 (file)
index 0000000..e866bce
--- /dev/null
@@ -0,0 +1,40 @@
+Name:           python3-pytest-cov
+Version:        2.10.1
+Release:        1
+Summary:        Pytest plugin for measuring coverage.
+License:        MIT
+Group:          Development/Languages/Python
+Source:         pytest-cov-%{version}.tar.gz
+Source1001:     %{name}.manifest
+
+BuildRequires:  pkgconfig(python3)
+BuildRequires:  python3-setuptools
+
+BuildArch:      noarch
+
+%description
+Pytest plugin for measuring coverage.
+
+
+%prep
+%setup -q -n pytest-cov-%{version}
+
+%build
+cp %{SOURCE1001} .
+%{_bindir}/python3 setup.py build
+
+%install
+%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+%files
+%manifest %{name}.manifest
+%license LICENSE
+
+%{python3_sitelib}/pytest-cov.pth
+%{python3_sitelib}/pytest_cov/__init__.py
+%{python3_sitelib}/pytest_cov/compat.py
+%{python3_sitelib}/pytest_cov/embed.py
+%{python3_sitelib}/pytest_cov/engine.py
+%{python3_sitelib}/pytest_cov/plugin.py
+%{python3_sitelib}/pytest_cov/__pycache__/*.cpython-*.pyc
+%{python3_sitelib}/pytest_cov-%{version}-py%{python3_version}.egg-info/*