Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7ab0f137fb | ||
|
|
e7d306b2f0 | ||
|
|
00458f6425 | ||
|
|
ad78b94031 | ||
|
|
ea2e8a28d4 | ||
|
|
3e7fdc2f6a | ||
|
|
1e2f8462ed | ||
|
|
c363f70790 | ||
|
|
0151c43430 | ||
|
|
e22c46e2a5 | ||
|
|
effc749583 |
@@ -2,7 +2,7 @@
|
|||||||
%global pypi_under tox_current_env
|
%global pypi_under tox_current_env
|
||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 0.0.2
|
Version: 0.0.4
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Tox plugin to run tests in current Python environment
|
Summary: Tox plugin to run tests in current Python environment
|
||||||
|
|
||||||
@@ -11,21 +11,18 @@ URL: https://github.com/fedora-python/tox-current-env
|
|||||||
Source0: %{pypi_source}
|
Source0: %{pypi_source}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
# Don't use %%pyproject_buildrequires to avoid a build dependency loop.
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
BuildRequires: python3-devel
|
|
||||||
BuildRequires: pyproject-rpm-macros
|
BuildRequires: pyproject-rpm-macros
|
||||||
BuildRequires: python3dist(setuptools)
|
|
||||||
BuildRequires: python3dist(wheel)
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The tox-current-env plugin allows to run tests in current Python environment.
|
The tox-current-env plugin allows to run tests in current Python environment.
|
||||||
|
|
||||||
|
|
||||||
%package -n python3-%{pypi_name}
|
%package -n python%{python3_pkgversion}-%{pypi_name}
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
|
||||||
|
|
||||||
%description -n python3-%{pypi_name}
|
%description -n python%{python3_pkgversion}-%{pypi_name}
|
||||||
The tox-current-env plugin allows to run tests in current Python environment.
|
The tox-current-env plugin allows to run tests in current Python environment.
|
||||||
|
|
||||||
|
|
||||||
@@ -33,6 +30,11 @@ The tox-current-env plugin allows to run tests in current Python environment.
|
|||||||
%autosetup -n %{pypi_name}-%{version}
|
%autosetup -n %{pypi_name}-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%generate_buildrequires
|
||||||
|
# Don't use %%pyproject_buildrequires -t/-e to avoid a build dependency loop
|
||||||
|
%pyproject_buildrequires
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
|
||||||
@@ -46,7 +48,7 @@ The tox-current-env plugin allows to run tests in current Python environment.
|
|||||||
# versions installed, so we skip them.
|
# versions installed, so we skip them.
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-%{pypi_name}
|
%files -n python%{python3_pkgversion}-%{pypi_name}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python3_sitelib}/%{pypi_under}/
|
%{python3_sitelib}/%{pypi_under}/
|
||||||
@@ -54,6 +56,30 @@ The tox-current-env plugin allows to run tests in current Python environment.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 04 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.4-1
|
||||||
|
- Update to 0.0.4
|
||||||
|
|
||||||
|
* Wed Sep 30 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.3-1
|
||||||
|
- Update to 0.0.3
|
||||||
|
|
||||||
|
* Wed Aug 12 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.2-7
|
||||||
|
- Fix FTBFS with pyproject-rpm-macros >= 0-23
|
||||||
|
|
||||||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.2-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.2-5
|
||||||
|
- Rebuilt for Python 3.9
|
||||||
|
|
||||||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.2-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.2-3
|
||||||
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||||
|
|
||||||
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.2-2
|
||||||
|
- Rebuilt for Python 3.8
|
||||||
|
|
||||||
* Mon Aug 12 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.2-1
|
* Mon Aug 12 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.2-1
|
||||||
- Update to 0.0.2
|
- Update to 0.0.2
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
SHA512 (tox-current-env-0.0.2.tar.gz) = 0adcd103c0d93f894fb931520369fd0d51779ea443dd37129c8fbb12ce77f6fb93e81750c44269c97a7ba43dca6dc6086f2c35d7c655f541ace942a28cd749c0
|
SHA512 (tox-current-env-0.0.4.tar.gz) = a73a8bd9cc2976ca6f19c03a4001a8ab65de6b323206e8e1ed4c45291a5213f87b62fcf8c8fbfd3723f8b157420413273f8603d4fc1b67667ae4231b35b1ecb2
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-basic
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
repositories:
|
||||||
|
- repo: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git"
|
||||||
|
dest: "pyproject-rpm-macros"
|
||||||
|
tests:
|
||||||
|
- pyproject_pytest:
|
||||||
|
dir: pyproject-rpm-macros/tests
|
||||||
|
run: ./mocktest.sh python-pytest
|
||||||
|
- pyproject_pluggy:
|
||||||
|
dir: pyproject-rpm-macros/tests
|
||||||
|
run: ./mocktest.sh python-pluggy
|
||||||
|
- pyproject_openqa_client:
|
||||||
|
dir: pyproject-rpm-macros/tests
|
||||||
|
run: ./mocktest.sh python-openqa_client
|
||||||
|
- pyproject_httpbin:
|
||||||
|
dir: pyproject-rpm-macros/tests
|
||||||
|
run: ./mocktest.sh python-httpbin
|
||||||
|
- pyproject_ldap:
|
||||||
|
dir: pyproject-rpm-macros/tests
|
||||||
|
run: ./mocktest.sh python-ldap
|
||||||
|
required_packages:
|
||||||
|
- mock
|
||||||
|
- rpmdevtools
|
||||||
|
- rpm-build
|
||||||
Reference in New Issue
Block a user