public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Artur Frenszek-Iwicki <fedora@svgames.pl>
To: git-commits@fedoraproject.org
Subject: [rpms/txt2tags] rawhide: Update to v3.9
Date: Mon, 31 Aug 2026 00:10:38 GMT [thread overview]
Message-ID: <178813503865.1.12537381666971291924.rpms-txt2tags-1ee4455e2d10@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/txt2tags
Branch : rawhide
Commit : 1ee4455e2d101cbd3b05fdab0dc19e9d67fbbca2
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date : 2026-08-30T22:57:10+02:00
Stats : +38/-9 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/txt2tags/c/1ee4455e2d101cbd3b05fdab0dc19e9d67fbbca2?branch=rawhide
Log:
Update to v3.9
---
diff --git a/.gitignore b/.gitignore
index cef1096..fe0a27a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ txt2tags-2.5.tgz
/txt2tags.py
/txt2tags*.src.rpm
/3.3.tar.gz
+/txt2tags-3.9.tar.gz
diff --git a/0000-fix-tests.patch b/0000-fix-tests.patch
new file mode 100644
index 0000000..1478222
--- /dev/null
+++ b/0000-fix-tests.patch
@@ -0,0 +1,24 @@
+diff -rU4 txt2tags-3.9--orig/test/lib.py txt2tags-3.9/test/lib.py
+--- txt2tags-3.9--orig/test/lib.py 2023-10-06 20:07:32.000000000 +0200
++++ txt2tags-3.9/test/lib.py 2026-08-30 22:49:34.027096973 +0200
+@@ -17,9 +17,9 @@
+
+ print("Testing txt2tags on Python", platform.python_version())
+
+ # Path for txt2tags (change here if your txt2tags is in a different location)
+-TXT2TAGS = os.path.join(TEST_DIR, "..", "txt2tags.py")
++TXT2TAGS = os.environ['TXT2TAGS_EXE']
+
+ CONFIG_FILE = "config"
+ CSS_FILE = "css"
+ DIR_OK = "ok"
+diff -rU4 txt2tags-3.9--orig/test/run.py txt2tags-3.9/test/run.py
+--- txt2tags-3.9--orig/test/run.py 2023-10-06 20:07:32.000000000 +0200
++++ txt2tags-3.9/test/run.py 2026-08-30 22:48:19.714263563 +0200
+@@ -1,5 +1,5 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ #
+ # txt2tags test-suite (http://txt2tags.org)
+ # See also: lib.py, */run.py
+ #
diff --git a/sources b/sources
index 4af9d88..7704390 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (3.3.tar.gz) = a52de3f5226d85af006304a9063b5dd01df2627a45670a91b954f758cb920648f86699acab5cd7822c0183e93eed110ddc7dd8d156b0eccbe1541e7fbc2bdb22
+SHA512 (txt2tags-3.9.tar.gz) = f2a1b0a671049595f12a05ca68acd860002bde9b8510eb9379ad9bdf94026b30522d670d39f2beffafa50104b44b2a3394aa090297ef92b46837c9a8e7e728ea
diff --git a/txt2tags.spec b/txt2tags.spec
index 704f386..ba5f885 100644
--- a/txt2tags.spec
+++ b/txt2tags.spec
@@ -1,13 +1,12 @@
Name: txt2tags
Summary: Summary: Converts text files to HTML, XHTML, LaTeX, and other formats
-Version: 3.3
-Release: 26%{?dist}
-# Automatically converted from old format: GPLv2 - review is highly recommended.
-License: GPL-2.0-only
-URL: http://txt2tags.sourceforge.net/
+Version: 3.9
+Release: 1%{?dist}
+License: GPL-2.0-or-later
+URL: https://txt2tags.org
+Source0: https://github.com/txt2tags/txt2tags/archive/refs/tags/%{version}/%{name}-%{version}.tar.gz
-# https://github.com/txt2tags/txt2tags/issues/207#issuecomment-544905237
-Source0: https://github.com/jendrikseipp/txt2tags/archive/%{version}.tar.gz
+Patch0: 0000-fix-tests.patch
BuildArch: noarch
@@ -33,7 +32,7 @@ Txt2tags is a document generator. It reads a text file with minimal markup as
* Plain text
%prep
-%setup -q
+%autosetup -p1
%generate_buildrequires
%pyproject_buildrequires
@@ -47,12 +46,17 @@ Txt2tags is a document generator. It reads a text file with minimal markup as
%check
%pyproject_check_import
+export TXT2TAGS_EXE="%{buildroot}%{_bindir}/txt2tags"
+PYTHONPATH="%{buildroot}%{python3_sitelib}:$(pwd)/test" ./test/run.py
%files -f %{pyproject_files}
%doc CHANGELOG.md README.md
%{_bindir}/txt2tags
%changelog
+* Sun Aug 30 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 3.9-1
+- Update to v3.9
+
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
reply other threads:[~2026-08-31 0:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178813503865.1.12537381666971291924.rpms-txt2tags-1ee4455e2d10@fedoraproject.org \
--to=fedora@svgames.pl \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox