public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Packit <hello@packit.dev>
To: git-commits@fedoraproject.org
Subject: [rpms/python-unidiff] f45: [packit] New upstream release 1.0.0
Date: Fri, 21 Aug 2026 11:33:38 GMT	[thread overview]
Message-ID: <178731201891.1.4214967020045181132.rpms-python-unidiff-6c648fc0e0d7@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-unidiff
            Branch : f45
            Commit : 6c648fc0e0d74acf411df062ad590b5955889a9c
            Author : Packit <hello@packit.dev>
            Date   : 2026-08-20T17:43:28+02:00
            Stats  : +11/-65 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-unidiff/c/6c648fc0e0d74acf411df062ad590b5955889a9c?branch=f45

            Log:
            [packit] New upstream release 1.0.0

Resolves rhbz#2520211

---
diff --git a/.gitignore b/.gitignore
index adee62f..b925e90 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
 /unidiff-0.6.0.tar.gz
 /unidiff-0.7.3.tar.gz
 /unidiff-0.7.5.tar.gz
+/unidiff-1.0.0.tar.gz

diff --git a/0001-use-setuptools-console_scripts-for-usr-bin-unidiff.patch b/0001-use-setuptools-console_scripts-for-usr-bin-unidiff.patch
deleted file mode 100644
index 5f151b1..0000000
--- a/0001-use-setuptools-console_scripts-for-usr-bin-unidiff.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-From fcc0e38077c9e7b09377805da23dac55e3d817fa Mon Sep 17 00:00:00 2001
-From: Dan Callaghan <dcallagh@redhat.com>
-Date: Thu, 16 Jun 2016 16:30:40 +1000
-Subject: [PATCH] use setuptools console_scripts for /usr/bin/unidiff
-
-
-diff --git a/setup.py b/setup.py
-index d3ba282..73f6dce 100644
---- a/setup.py
-+++ b/setup.py
-@@ -39,7 +39,11 @@
-     author_email=EMAIL,
-     url=URL,
-     packages=find_packages(exclude=('tests',)),
--    scripts=['bin/unidiff'],
-+    entry_points={
-+        'console_scripts': [
-+            'unidiff = unidiff.cli:main',
-+        ],
-+    },
-     include_package_data=True,
-     license=LICENSE,
-     classifiers=[
-diff --git a/bin/unidiff b/unidiff/cli.py
-old mode 100755
-new mode 100644
-similarity index 98%
-rename from bin/unidiff
-rename to unidiff/cli.py
-index 3d370e8..3242f28
---- a/bin/unidiff
-+++ b/unidiff/cli.py
-@@ -1,4 +1,3 @@
--#!/usr/bin/env python
- 
- from __future__ import print_function, unicode_literals
- 
-@@ -30,8 +29,7 @@ def get_parser():
-                         help='if not specified, read diff data from stdin')
-     return parser
- 
--
--if __name__ == '__main__':
-+def main():
-     parser = get_parser()
-     args = parser.parse_args()
- 
-@@ -73,3 +71,6 @@ def get_parser():
-     if renamed_files:
-         print('%d file(s) renamed' % renamed_files)
-     print('Total: %d addition(s), %d deletion(s)' % (additions, deletions))
-+
-+if __name__ == '__main__':
-+    main()
--- 
-2.26.2
-

diff --git a/README.packit b/README.packit
index 786c2a0..09d231a 100644
--- a/README.packit
+++ b/README.packit
@@ -1,3 +1,3 @@
 This repository is maintained by packit.
 https://packit.dev/
-The file was generated using packit 0.80.0.post8+gf2b5fcbc.
+The file was generated using packit 1.16.2.post1.dev12+g819bb7962.

diff --git a/python-unidiff.spec b/python-unidiff.spec
index 666e9f0..ff2cbd2 100644
--- a/python-unidiff.spec
+++ b/python-unidiff.spec
@@ -2,17 +2,14 @@
 %global pypi_name unidiff
 
 Name:           python-%{modname}
-Version:        0.7.5
-Release:        14%{?dist}
+Version:        1.0.0
+Release:        1%{?dist}
 Summary:        Python library to parse and interact with unified diffs (patches)
 License:        MIT
 URL:            http://github.com/matiasb/python-unidiff
 Source0:        %pypi_source
 BuildArch:      noarch
 
-# use setuptools console_scripts for /usr/bin/unidiff
-Patch1: 0001-use-setuptools-console_scripts-for-usr-bin-unidiff.patch
-
 %description
 python-unidiff is a Python library to parse and interact with unified diffs 
 (patches).
@@ -45,10 +42,15 @@ rm -r unidiff.egg-info
 PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m unittest discover -s tests/
 
 %files -n python%{python3_pkgversion}-%{modname} -f %{pyproject_files}
-%doc README.rst HISTORY
+%doc README.md HISTORY
 %{_bindir}/%{modname}
 
 %changelog
+* Thu Aug 20 2026 Packit <hello@packit.dev> - 1.0.0-1
+- New upstream release 1.0.0 (rhbz#2520211)
+- Drop unnecessary patch
+- Adjust the README in the RPM installed files
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.5-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index 571e522..865cadc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (unidiff-0.7.5.tar.gz) = bcb8c234643ecaf7d8227b57f90fbc546851b5e3abe84d74b33570bf3399b9be756b4dca9f1506b69e9401e724bfd9892c5deac515160685e5399bfe555716a3
+SHA512 (unidiff-1.0.0.tar.gz) = ae603ab2d45acd59b2c1d37cb22c6265152643a6c67caef911b388b40d3be90f3e1e949e02e3d67aa7a922c60fa8f98bd4ead853c0007922ac2836600f245cce

                 reply	other threads:[~2026-08-21 11:33 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=178731201891.1.4214967020045181132.rpms-python-unidiff-6c648fc0e0d7@fedoraproject.org \
    --to=hello@packit.dev \
    --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