Compare commits

..

26 commits

Author SHA1 Message Date
Fedora Release Engineering
50ea3f4470 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:33:56 +00:00
Python Maint
e8ee169600 Rebuilt for Python 3.15 2026-06-03 23:03:37 +02:00
Packit
01bce61193 Update to 2.3.4 upstream release
- Resolves: rhbz#2448522

Upstream tag: v2.3.4
Upstream commit: 06c8790e

Commit authored by Packit automation (https://packit.dev/)
2026-03-18 02:57:00 +00:00
Ankur Sinha (Ankur Sinha Gmail)
f516b5111b
feat: verify spdx license 2026-01-31 20:29:43 +00:00
Fedora Release Engineering
f80d50a93a Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 19:59:45 +00:00
Python Maint
f3fd010af3 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 15:02:47 +02:00
Python Maint
a6a99fe88e Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 15:22:24 +02:00
Ankur Sinha (Ankur Sinha Gmail)
588b13b408
fix: update BRs to use either taskv3 or v2
Task v3 does not build on all arches, but task2 currently does.
So while task2 is available, we'll keep vit on all arches. When task2
goes away, vit will be limited to archest that taskv3 supports.
2025-08-14 12:34:04 +01:00
Ankur Sinha (Ankur Sinha Gmail)
22c2e87057
fix: replace dir with file
https://docs.fedoraproject.org/en-US/packaging-guidelines/Directory_Replacement/
2025-08-14 12:07:22 +01:00
Ankur Sinha (Ankur Sinha Gmail)
42af7ceb50
fix: correct bash completion file location 2025-08-14 11:11:32 +01:00
Fedora Release Engineering
e4681640c9 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 20:10:09 +00:00
Python Maint
0adf1c4708 Rebuilt for Python 3.14 2025-06-02 23:25:05 +02:00
Ankur Sinha (Ankur Sinha Gmail)
1e4bced7db
chore: remove unused patch 2025-02-23 17:33:30 +00:00
Packit
3a5fa7cc43 Update to 2.3.3 upstream release
- Resolves: rhbz#2347116

Upstream tag: v2.3.3
Upstream commit: 7b75f9e6

Commit authored by Packit automation (https://packit.dev/)
2025-02-22 17:17:35 +00:00
Fedora Release Engineering
234509956d Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 14:30:30 +00:00
Fedora Release Engineering
a34297f345 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 08:54:46 +00:00
Python Maint
b09b185896 Rebuilt for Python 3.13 2024-06-07 11:24:26 +02:00
Fedora Release Engineering
b70ecd3cc3 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 08:01:45 +00:00
Ankur Sinha (Ankur Sinha Gmail)
4c9928a684
feat: update to 2.3.2 2023-11-05 16:55:56 +00:00
Ankur Sinha (Ankur Sinha Gmail)
eee0f2208c
chore: add packit 2023-11-05 16:54:59 +00:00
Ankur Sinha (Ankur Sinha Gmail)
1cdf20c47c
fix: for py3.12 2023-09-17 15:44:12 +01:00
Ankur Sinha (Ankur Sinha Gmail)
a26b3536b6
feat: update to 2.3.1 (fixes rhbz#2217400, rhbz#2220621, rhbz#2226500) 2023-07-28 23:16:04 +01:00
Fedora Release Engineering
790646fc83 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 17:46:50 +00:00
Python Maint
a0183345a1 Rebuilt for Python 3.12 2023-06-13 23:20:53 +02:00
Ankur Sinha (Ankur Sinha Gmail)
b5c7e4280f
feat: update to 2.3.0 (fixes rhbz#2186958)
https://github.com/vit-project/vit/releases/tag/v2.3.0
2023-05-18 12:49:54 +01:00
Fedora Release Engineering
9557edf313 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 06:25:20 +00:00
5 changed files with 64 additions and 9 deletions

5
.gitignore vendored
View file

@ -5,3 +5,8 @@
/vit-2.0.0.tar.gz
/vit-7200949.tar.gz
/vit-2.2.0.tar.gz
/vit-2.3.0.tar.gz
/vit-2.3.1.tar.gz
/vit-2.3.2.tar.gz
/vit-2.3.3.tar.gz
/vit-2.3.4.tar.gz

13
.packit.yaml Normal file
View file

@ -0,0 +1,13 @@
upstream_project_url: https://github.com/scottkosty/vit
copy_upstream_release_description: false
upstream_tag_template: v{version}
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
- fedora-rawhide
- job: koji_build
trigger: commit
dist_git_branches:
- fedora-all

3
README.packit Normal file
View file

@ -0,0 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 1.15.1.post1.dev4+g9380a86a0.

View file

@ -1 +1 @@
SHA512 (vit-2.2.0.tar.gz) = 6efbf4fa3d2d6b188f8ad5152a1cd949d1d1c263de19669087ba439a8248c9dfe9354e70b83d945ae3edd44fb9cc0d9a4bf4331a5aaacfd64fdece2cb4b9454e
SHA512 (vit-2.3.4.tar.gz) = 76682a39dad16f2921f16066d1ab0e4f7253b545a78bf357716895e1118f8dfba8dfad7d125f33f952f754238afe3fee54f76375d18e80a6b9b8e7c0fba05325

View file

@ -1,17 +1,24 @@
Name: vit
Version: 2.2.0
%global forgeurl https://github.com/scottkosty/%{name}
Version: 2.3.4
Release: %autorelease
Summary: Visual Interactive Taskwarrior full-screen terminal interface
%forgemeta
# spdx
License: MIT
URL: https://github.com/scottkosty/%{name}
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
URL: %forgeurl
Source0: %forgesource
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: task
Requires: task
BuildRequires: help2man
# use the newest task release
BuildRequires: (task >= 3 or task2)
# either of these will do, depends on the user
Requires: (task >= 3 or task2)
%{?python_provide:%python_provide python3-vit}
@ -29,7 +36,7 @@ Features:
%prep
%autosetup
%forgesetup
rm -rf vit.egg-info
# Comment out to remove /usr/bin/env shebangs
@ -47,15 +54,42 @@ find vit/ -type f -name "*.py" -exec sed -i '/^#![ ]*\/usr\/bin\/env.*$/ d' {}
%pyproject_save_files vit
# Install bashcompletion
install -m 0644 -p -D -t $RPM_BUILD_ROOT/%{_datadir}/bash-completion/completions/vit/ scripts/bash/%{name}.bash_completion
install -m 0644 -p -D -T scripts/bash/%{name}.bash_completion $RPM_BUILD_ROOT/%{bash_completions_dir}/vit
# generate man pages
for binary in "vit"
do
echo "Generating man page for ${binary// /-/}"
PYTHONPATH="$PYTHONPATH:%{buildroot}/%{python3_sitelib}/" PATH="$PATH:%{buildroot}/%{_bindir}/" help2man --no-info --no-discard-stderr --name="${binary}" --version-string="${binary} %{version}" --output="${binary// /-}.1" "${binary}"
cat "${binary// /-}.1"
install -t '%{buildroot}%{_mandir}/man1' -p -m 0644 -D "${binary// /-}.1"
done
%check
LC_ALL=C PYTHONPATH=. %{__python3} -m unittest
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Directory_Replacement/
%pretrans -p <lua>
path = "%{bash_completions_dir}/vit"
st = posix.stat(path)
if st and st.type == "directory" then
status = os.rename(path, path .. ".rpmmoved")
if not status then
suffix = 0
while not status do
suffix = suffix + 1
status = os.rename(path .. ".rpmmoved", path .. ".rpmmoved." .. suffix)
end
os.rename(path, path .. ".rpmmoved")
end
end
%files -f %{pyproject_files}
%doc README.md CUSTOMIZE.md COLOR.md DEVELOPMENT.md UPGRADE.md
%{_bindir}/%{name}
%{_datadir}/bash-completion/completions/%{name}
%{bash_completions_dir}/%{name}
%{_mandir}/man1/vit*
%ghost %{bash_completions_dir}/%{name}.rpmmoved
%changelog
%autochangelog