Compare commits

...

22 Commits

Author SHA1 Message Date
Miro Hrončok 8ec0601a38 Update to 0.0.8 to support allowlist_externals 2022-03-02 22:06:38 +01:00
Miro Hrončok 3a0da78ca2 Update to 0.0.7 to pin tox < 4 2022-02-07 11:44:06 +01:00
Miro Hrončok 984b04bdf0 Use all pyproject-rpm-macros features now when RHEL 9 was synced 2022-02-04 13:39:43 +01:00
Fedora Release Engineering 19b9653c02 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 16:06:52 +00:00
Miro Hrončok 9a6b31458f Use %pyproject_save_files 2021-08-05 10:51:57 +02:00
Miro Hrončok 2a49b7e01e In %check, test if the module at least imports 2021-08-05 10:50:23 +02:00
Fedora Release Engineering ae2780e482 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-27 08:23:37 +00:00
Python Maint 4e0ae548bb Rebuilt for Python 3.10 2021-06-02 14:09:32 +02:00
Miro Hrončok 1bcc0066f4 Update to 0.0.6 2021-03-29 14:04:27 +02:00
Fedora Release Engineering dbe7fe79da - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 13:53:52 +00:00
Miro Hrončok 08a36062f8 Update to 0.0.5 2020-11-25 12:10:20 +01:00
Miro Hrončok 7ab0f137fb Update to 0.0.4 2020-11-04 17:21:44 +01:00
Miro Hrončok e7d306b2f0 Add Fedora CI tests for pyroject-rpm-macros %tox 2020-09-30 21:23:47 +02:00
Miro Hrončok 00458f6425 Update to 0.0.3 2020-09-30 21:20:53 +02:00
Lumir Balhar ad78b94031 Use %{python3_pkgversion} to make specfile more universal 2020-09-07 12:22:17 +02:00
Miro Hrončok ea2e8a28d4 Bump release, %changelog
Fixup for 3e7fdc2f6a
2020-08-12 13:19:28 +02:00
Miro Hrončok 3e7fdc2f6a Use %pyproject_buildrequires to fix FTBFS with pyproject-rpm-macros >= 0-23
See https://src.fedoraproject.org/rpms/pyproject-rpm-macros/pull-request/65
2020-08-12 13:16:57 +02:00
Fedora Release Engineering 1e2f8462ed - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 04:21:07 +00:00
Miro Hrončok c363f70790 Rebuilt for Python 3.9 2020-05-23 20:49:13 +02:00
Fedora Release Engineering 0151c43430 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 15:50:49 +00:00
Miro Hrončok e22c46e2a5 Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 14:33:49 +02:00
Miro Hrončok effc749583 Rebuilt for Python 3.8 2019-08-19 10:59:50 +02:00
3 changed files with 97 additions and 15 deletions
+67 -14
View File
@@ -2,7 +2,7 @@
%global pypi_under tox_current_env
Name: python-%{pypi_name}
Version: 0.0.2
Version: 0.0.8
Release: 1%{?dist}
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}
BuildArch: noarch
# Don't use %%pyproject_buildrequires to avoid a build dependency loop.
BuildRequires: python3-devel
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: pyproject-rpm-macros
BuildRequires: python3dist(setuptools)
BuildRequires: python3dist(wheel)
%description
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}
%{?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.
@@ -33,27 +30,83 @@ The tox-current-env plugin allows to run tests in current Python environment.
%autosetup -n %{pypi_name}-%{version}
%generate_buildrequires
# Don't use %%pyproject_buildrequires -t/-e to avoid a build dependency loop
%pyproject_buildrequires -r
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files %{pypi_under}
#check
%check
# the tests currently only work within actual tox and with various Python
# versions installed, so we skip them.
# versions installed, so we skip them and do an import check only instead:
%pyproject_check_import
%files -n python3-%{pypi_name}
%license LICENSE
%files -n python%{python3_pkgversion}-%{pypi_name} -f %{pyproject_files}
%doc README.rst
%{python3_sitelib}/%{pypi_under}/
%{python3_sitelib}/%{pypi_under}-%{version}.dist-info/
%changelog
* Wed Mar 02 2022 Miro Hrončok <mhroncok@redhat.com> - 0.0.8-1
- Update to 0.0.8 to support allowlist_externals
* Mon Feb 07 2022 Miro Hrončok <mhroncok@redhat.com> - 0.0.7-1
- Update to 0.0.7 to pin tox < 4
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Aug 05 2021 Miro Hrončok <mhroncok@redhat.com> - 0.0.6-4
- In %%check, test if the module at least imports
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 0.0.6-2
- Rebuilt for Python 3.10
* Mon Mar 29 2021 Miro Hrončok <mhroncok@redhat.com> - 0.0.6-1
- Update to 0.0.6
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Nov 25 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.5-1
- Update to 0.0.5
* 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
- Update to 0.0.2
+1 -1
View File
@@ -1 +1 @@
SHA512 (tox-current-env-0.0.2.tar.gz) = 0adcd103c0d93f894fb931520369fd0d51779ea443dd37129c8fbb12ce77f6fb93e81750c44269c97a7ba43dca6dc6086f2c35d7c655f541ace942a28cd749c0
SHA512 (tox-current-env-0.0.8.tar.gz) = b169cae94a984b78ecfcaadb0b68fc2cd3f1e037320b87824439d4c0f19f04e07d05a618b7e7532da62479a41fa6606e0bbadd6e5cf626f62d21eb66c6ef34cb
+29
View File
@@ -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