public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/reuse] epel10: Update to version 3.0.2 (rhbz#2149997)
Date: Wed, 19 Aug 2026 12:50:26 GMT	[thread overview]
Message-ID: <178714382652.1.10741750474361263828.rpms-reuse-6493db0f8992@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/reuse
Branch : epel10
Commit : 6493db0f89925afba4cbbde8835594b384a00f41
Author : Jan Staněk <jstanek@redhat.com>
Date   : 2024-05-17T14:41:03+02:00
Stats  : +157/-12 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/reuse/c/6493db0f89925afba4cbbde8835594b384a00f41?branch=epel10

Log:
Update to version 3.0.2 (rhbz#2149997)

---
diff --git a/.gitignore b/.gitignore
index d40a9bb..5d87201 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,11 +5,4 @@ results_reuse/
 /fsfe-reuse-0.5.0.tar.gz
 /fsfe-reuse-0.5.2.tar.gz
 /fsfe-reuse-0.6.0.tar.gz
-/reuse-0.7.0.tar.gz
-/reuse-0.8.0.tar.gz
-/reuse-0.11.1.tar.gz
-/reuse-0.12.1.tar.gz
-/reuse-0.13.0.tar.gz
-/reuse-1.0.0.tar.gz
-/reuse-1.1.0.tar.gz
-/reuse-1.1.1.tar.gz
+/reuse-*.tar.gz

diff --git a/0001-Include-CONTRIBUTING.md-in-sdist.patch b/0001-Include-CONTRIBUTING.md-in-sdist.patch
new file mode 100644
index 0000000..5561854
--- /dev/null
+++ b/0001-Include-CONTRIBUTING.md-in-sdist.patch
@@ -0,0 +1,121 @@
+From 5908f69f147716d5f5f72ab88fe512407e01cf2d Mon Sep 17 00:00:00 2001
+From: rpm-build <rpm-build>
+Date: Fri, 17 May 2024 14:31:32 +0200
+Subject: [PATCH] Include CONTRIBUTING.md in sdist
+
+Signed-off-by: rpm-build <rpm-build>
+---
+ CONTRIBUTING.md | 88 +++++++++++++++++++++++++++++++++++++++++++++++++
+ pyproject.toml  |  1 +
+ 2 files changed, 89 insertions(+)
+ create mode 100644 CONTRIBUTING.md
+
+diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
+new file mode 100644
+index 0000000..10097a6
+--- /dev/null
++++ b/CONTRIBUTING.md
+@@ -0,0 +1,88 @@
++<!--
++SPDX-FileCopyrightText: 2021 Free Software Foundation Europe e.V. <https://fsfe.org>
++
++SPDX-License-Identifier: CC-BY-SA-4.0
++-->
++
++# Contribution guidelines
++
++Any issues or suggestions are welcome at <https://github.com/fsfe/reuse-tool> or
++via e-mail to one of the maintainers. General inquiries can be sent to
++<reuse@lists.fsfe.org>.
++
++## Code of conduct
++
++Interaction within this project is covered by the
++[FSFE's Code of Conduct](https://fsfe.org/about/codeofconduct).
++
++## Pull requests
++
++Pull requests are generally welcome and encouraged, but please beware that they
++may be closed as out-of-scope or otherwise not aligned with the design goals. To
++be safe, open an issue and engage in dialogue before beginning to implement a
++feature that may not be accepted.
++
++When making a pull request, don't hesitate to add yourself to the AUTHORS.rst
++file and the copyright headers of the files you touch.
++
++## Translation
++
++Translations are welcome at
++<https://hosted.weblate.org/projects/fsfe/reuse-tool/>. If you need additional
++help to get started, don't hesitate to get in touch with the maintainers.
++
++Broader instructions on how to help the FSFE translate things into local
++languages can be found at <https://fsfe.org/contribute/translators/>. The
++translators keep in touch with the <translators@lists.fsfe.org> mailing list.
++
++## Local development
++
++Starting local development is very simple, just execute the following commands:
++
++```bash
++git clone git@github.com:fsfe/reuse-tool.git
++cd reuse-tool/
++poetry install  # You may need to install poetry using your package manager.
++poetry run pre-commit install  # Using poetry is optional here if you already have pre-commit.
++```
++
++Next, you'll find the following commands handy:
++
++- `poetry run reuse`
++- `poetry run pytest`
++- `poetry run pylint src`
++- `poetry run mypy`
++- `make docs`
++
++## Development conventions
++
++### Poetry
++
++Because our downstreams may not have a very recent version of Poetry, we should
++target `poetry-core>=1.1.0` and `poetry~=1.2.0` when interacting with Poetry,
++especially when generating the `poetry.lock` file. You can
++`pip install poetry~=1.2.0` to ascertain that you always get this right.
++
++In order to update the `poetry.lock` file while changing as few lines as
++possible, run `poetry lock --no-update`.
++
++## Release checklist
++
++- Verify changelog
++- Create branch release-x.y.z
++- `bumpversion --new-version x.y.z minor`
++- `make update-resources`
++- Alter changelog
++- Do some final tweaks/bugfixes (and alter changelog)
++- `make test-release`
++- `pip install -i https://test.pypi.org/simple reuse` and test the package.
++- Once everything is good, `git tag -s vx.y.z`. Minimal tag message.
++- `git push origin vx.y.z`
++- `make release`
++- `git checkout main`
++- `git merge release-x.y.z`
++- `git push origin main`
++- Create a release on GitHub.
++- Update readthedocs (if not happened automatically)
++- Update API worker: https://git.fsfe.org/reuse/api-worker#user-content-server
++- Make sure package is updated in distros (contact maintainers)
+diff --git a/pyproject.toml b/pyproject.toml
+index 5ac2c96..2a72d62 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -30,6 +30,7 @@ include = [
+     { path = "AUTHORS.rst", format = "sdist" },
+     { path = "README.md", format = "sdist" },
+     { path = "CHANGELOG.md", format = "sdist" },
++    { path = "CONTRIBUTING.md", format = "sdist" },
+     { path = ".reuse", format = "sdist" },
+     { path = "LICENSES", format = "sdist" },
+     { path = "docs", format = "sdist" },
+-- 
+2.45.1
+

diff --git a/0002-Use-importlib-mode-for-pytest.patch b/0002-Use-importlib-mode-for-pytest.patch
new file mode 100644
index 0000000..6192301
--- /dev/null
+++ b/0002-Use-importlib-mode-for-pytest.patch
@@ -0,0 +1,26 @@
+From d513c3451ee2cbf12a51b4a522a41e52a60e623e Mon Sep 17 00:00:00 2001
+From: rpm-build <rpm-build>
+Date: Fri, 17 May 2024 14:36:49 +0200
+Subject: [PATCH] Use importlib mode for pytest
+
+Signed-off-by: rpm-build <rpm-build>
+---
+ pyproject.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 2a72d62..a171e82 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -108,7 +108,7 @@ use_parentheses = true
+ line_length = 80
+ 
+ [tool.pytest.ini_options]
+-addopts = "--doctest-modules"
++addopts = "--doctest-modules --import-mode=importlib"
+ 
+ [tool.mypy]
+ files = [
+-- 
+2.45.1
+

diff --git a/reuse.spec b/reuse.spec
index 093e505..dbcfb14 100644
--- a/reuse.spec
+++ b/reuse.spec
@@ -1,5 +1,5 @@
 Name:           reuse
-Version:        1.1.1
+Version:        3.0.2
 Release:        %autorelease
 Summary:        A tool for compliance with the REUSE recommendations
 # The CC0-1.0 licence applies to json data files, not code.
@@ -7,10 +7,14 @@ Summary:        A tool for compliance with the REUSE recommendations
 License:        Apache-2.0 AND CC0-1.0 AND CC-BY-SA-4.0 AND GPL-3.0-or-later
 Url:            https://github.com/fsfe/reuse-tool
 Source0:        %pypi_source
+
+Patch:          0001-Include-CONTRIBUTING.md-in-sdist.patch
+Patch:          0002-Use-importlib-mode-for-pytest.patch
+
 # Build
 BuildRequires:  python3-devel
 BuildRequires:  gettext
-# Test
+# Test + patching
 BuildRequires:  git
 BuildRequires:  mercurial
 # These are development dependencies in the Poetry config, not build
@@ -21,6 +25,7 @@ BuildRequires:  %{py3_dist sphinx_rtd_theme}
 BuildRequires:  %{py3_dist sphinx-autodoc-typehints}
 BuildRequires:  %{py3_dist sphinxcontrib-apidoc}
 BuildRequires:  %{py3_dist recommonmark}
+BuildRequires:  %{py3_dist furo}
 Recommends:     git
 Recommends:     mercurial
 BuildArch:      noarch
@@ -31,7 +36,7 @@ it is a linter that checks for a project's compliance, and a compiler that
 generates a project's bill of materials.
 
 %prep
-%autosetup -n %{name}-%{version}
+%autosetup -n %{name}-%{version} -S git_am
 
 %generate_buildrequires
 %pyproject_buildrequires -t

diff --git a/sources b/sources
index e404f25..abce09f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (reuse-1.1.1.tar.gz) = ef6821ffe76bd48790e2dab55d552f7fc44b50c19699663fa6923a155382b1909e21116d80f4790294fd081ab26b3ff84dbb3c1ac5f58f4f89bea0f1daf0e069
+SHA512 (reuse-3.0.2.tar.gz) = 3ed6f46a13eb84270e23736034c787e2b1d99766d8e0a996373201a4f8f02ee4f15c12c27da445be5820e7ac27d7fc4b2eafb35145792501082dd852183f60aa

                 reply	other threads:[~2026-08-19 12:50 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=178714382652.1.10741750474361263828.rpms-reuse-6493db0f8992@fedoraproject.org \
    --to=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