## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 20; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: vex Version: 0.0.19 Release: %autorelease Summary: Run commands in a virtualenv License: MIT URL: http://github.com/sashahart/%{name} Source0: https://github.com/sashahart/%{name}/archive/%{version}.tar.gz BuildArch: noarch Requires: python3-virtualenv Requires: python3-setuptools BuildRequires: python3-setuptools BuildRequires: python3-devel BuildRequires: python3-pytest %description Vex is an alternative to virtualenv's 'source wherever/bin/activate' and `deactivate`, and virtualenvwrapper's `workon`, and also virtualenv-burrito if you use that. It works in a more elegant way, though it does less. You might find it 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 # 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 %build %py3_build %install %py3_install %check %{__python3} -m pytest %{name}/tests/ %files %doc README.rst %license LICENSE %{_bindir}/%{name} %{python3_sitelib}/%{name} %{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info %changelog ## START: Generated by rpmautospec * Sat Jan 27 2024 Fedora Release Engineering - 0.0.19-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jul 22 2023 Fedora Release Engineering - 0.0.19-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.0.19-15 - Rebuilt for Python 3.12 * Sat Jan 21 2023 Fedora Release Engineering - 0.0.19-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.0.19-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.0.19-12 - Rebuilt for Python 3.11 * Sat Jan 22 2022 Fedora Release Engineering - 0.0.19-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.0.19-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.0.19-9 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.0.19-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.0.19-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.0.19-6 - Rebuilt for Python 3.9 * Fri Jan 31 2020 Fedora Release Engineering - 0.0.19-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.0.19-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.0.19-3 - Rebuilt for Python 3.8 * Sat Jul 27 2019 Fedora Release Engineering - 0.0.19-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon May 13 2019 Lumír Balhar - 0.0.19-1 - New upstream release * Sun Feb 03 2019 Fedora Release Engineering - 0.0.18-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.0.18-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.0.18-7 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.0.18-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.0.18-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.0.18-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.0.18-3 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.0.18-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Wed Jun 08 2016 Lumir Balhar - 0.0.18-1 - Initial package. ## END: Generated by rpmautospec