Compare commits

...
Sign in to create a new pull request.

9 commits

Author SHA1 Message Date
Fedora Release Engineering
b63f174c97 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:27:51 +00:00
Python Maint
f07e150624 Rebuilt for Python 3.15 2026-06-03 23:37:27 +02:00
Fedora Release Engineering
4b94c7859a Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 19:53:11 +00:00
Python Maint
9b84c3136c Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 15:02:06 +02:00
Python Maint
fa113da345 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 15:21:58 +02:00
Miro Hrončok
86072d07ec Convert to pyproject-rpm-macros
This is a fully automated conversion by https://pypi.org/project/pyprojectize/1a5/
2025-08-05 13:03:54 +02:00
Fedora Release Engineering
88df06ee9c Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 20:03:54 +00:00
Python Maint
808d909b23 Rebuilt for Python 3.14 2025-06-02 22:56:35 +02:00
Fedora Release Engineering
e5a8d2f5ec Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 14:17:54 +00:00

View file

@ -11,7 +11,6 @@ BuildArch: noarch
Requires: python3-virtualenv
Requires: python3-setuptools
BuildRequires: python3-setuptools
BuildRequires: python3-devel
BuildRequires: python3-pytest
@ -24,8 +23,6 @@ nicer to use. And it works with non-bash shells.
%prep
%autosetup -n %{name}-%{version}
# Remove bundled egg-info
rm -rf %{name}.egg-info
# Remove useless files (merge info)
rm -rf %{name}/shell_configs/zsh.orig
rm -rf %{name}/shell_configs/fish.orig
@ -33,21 +30,23 @@ rm -rf %{name}/shell_configs/fish.orig
# Port from mock to unittest.mock
sed -i "s/^from mock import /from unittest.mock import /" vex/tests/test_config.py vex/tests/test_main.py vex/tests/test_run.py vex/tests/test_shell_config.py
%generate_buildrequires
%pyproject_buildrequires
%build
%py3_build
%pyproject_wheel
%install
%py3_install
%pyproject_install
%pyproject_save_files -l %{name}
%check
%pyproject_check_import
%{__python3} -m pytest %{name}/tests/
%files
%files -f %{pyproject_files}
%doc README.rst
%license LICENSE
%{_bindir}/%{name}
%{python3_sitelib}/%{name}
%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info
%changelog
%autochangelog