python-pytest 6.2.1-4 (aarch64;znver1;x86_64) 2021-13461
9999
Status | published | ||||||
Submitter | itchka [@T] compuserve.com | ||||||
Platform | rolling | ||||||
Repository | main | ||||||
URL | https://abf.openmandriva.org/build_lists/932468 | ||||||
Packages |
|
||||||
Build Date | 2021-01-09 23:00:25 +0000 UTC | ||||||
Last Updated | 2021-01-11 17:35:10.229223487 +0000 UTC |
$ git diff --patch-with-stat --summary f867c8104b2716f0d367843ddb4355766bd92303..e0113ca20495a7881ce2f2e6075e62c093543b95 .abf.yml | 2 +- fix-version-issue.patch | 11 +++++++++++ python-pytest.spec | 29 ++++++++++++++++++++++------- 3 files changed, 34 insertions(+), 8 deletions(-) create mode 100644 fix-version-issue.patch diff --git a/.abf.yml b/.abf.yml index 5ccc1fa..f5e75de 100644 --- a/.abf.yml +++ b/.abf.yml @@ -1,2 +1,2 @@ sources: - pytest-5.4.1.tar.gz: 06f8cebe4b7ab13973fa573b5fdf045ef783ea1a + pytest-6.2.1.tar.gz: 7450c3db97d3202c2e2649b250c3df9bac3a8efe diff --git a/fix-version-issue.patch b/fix-version-issue.patch new file mode 100644 index 0000000..150e1c2 --- /dev/null +++ b/fix-version-issue.patch @@ -0,0 +1,11 @@ +diff --git a/setup.cfg b/setup.cfg +index 09c07d5bb..537053558 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -1,5 +1,6 @@ + [metadata] + name = pytest ++version = 6.2.1 + description = pytest: simple powerful testing with Python + long_description = file: README.rst + long_description_content_type = text/x-rst diff --git a/python-pytest.spec b/python-pytest.spec index 8e1332b..7218067 100644 --- a/python-pytest.spec +++ b/python-pytest.spec @@ -3,9 +3,10 @@ Summary: Cross-project testing tool for Python Name: python-%{module} -Version: 5.4.1 -Release: 1 -Source0: https://files.pythonhosted.org/packages/6d/4e/572aed20422dee7fa2bd27995b2a53a32de90c1826e5531c9df6d3ea77ed/pytest-5.4.1.tar.gz +Version: 6.2.1 +Release: 4 +Source0: https://files.pythonhosted.org/packages/20/4c/d7b19b8661be78461fff0392e33943784340424921578fe1bf300ef59831/%{module}-%{version}.tar.gz +Patch0: fix-version-issue.patch License: MIT Group: Development/Python Url: http://pytest.org @@ -17,14 +18,21 @@ BuildRequires: python-sphinx BuildRequires: python-py >= 1.4.8 BuildRequires: python-six +#Provides: python%{py3_ver}dist(pytest) = %{EVRD} %description py.test is a simple cross-project testing tool for Python. %prep %setup -q -n %{module}-%{version} +#cp -R src/%{module}.egg-info ./ +#rm -rf %{pypi_name}.egg-info +%autopatch + +%build export PYTHONDONTWRITEBYTECODE=1 -python -B setup.py build +#python -B setup.py build +%py3_build pushd doc/en export PYTHONPATH=../../build/lib @@ -32,12 +40,19 @@ export PYTHONPATH=../../build/lib popd %install -PYTHONDONTWRITEBYTECODE=1 python -B setup.py install --root=%{buildroot} +#PYTHONDONTWRITEBYTECODE=1 python -B setup.py install --root=%{buildroot} +%py3_install -%clean +#%%clean +#mv %{buildroot}%{python_sitelib}/%{module}-*-py%{python3_version}.egg-info %{buildroot}/%{python_sitelib}/%{module}-%{version}-py%{python3_version}.egg-info +#sed s/Version: 0.0.0/Version: %{version} %{buildroot}/%{python_sitelib}/%{module}-%{version}-py%{python3_version}.egg-info/PKG-INFO %files %doc CHANGELOG.rst +%{python3_sitelib}/%{module}-%{version}-py%{python3_version}.egg-info +#%%{python_sitelib}/%%{module}-%%{version}-py*.egg-info +#%{python_sitelib}/%{module}-*-py*.egg-info/PKG-INFO %{_bindir}/py.test* %{_bindir}/pytest -%{py_puresitedir}/* +%{python3_sitelib}/_%{module} +%{python3_sitelib}/%{module}
Not Available
benbullard79 [@T] cox.net | No Comment. | 1200d 20hrs |
benbullard79 [@T] cox.net | No Comment. | 1200d 20hrs |