public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: David Auer <dreua@posteo.de>
To: git-commits@fedoraproject.org
Subject: [rpms/trash-cli] pr6: Get build requries from upstream
Date: Sun, 20 Sep 2026 14:35:03 GMT	[thread overview]
Message-ID: <178991490379.1.16157642947552526863.rpms-trash-cli-302155206485@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/trash-cli
Branch : pr6
Commit : 302155206485302f6564198c45339127aed20590
Author : David Auer <dreua@posteo.de>
Date   : 2026-09-20T16:34:55+02:00
Stats  : +6/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/trash-cli/c/302155206485302f6564198c45339127aed20590?branch=pr6

Log:
Get build requries from upstream

---
diff --git a/trash-cli.spec b/trash-cli.spec
index 50dadee..ca8d5d6 100644
--- a/trash-cli.spec
+++ b/trash-cli.spec
@@ -8,9 +8,6 @@ Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
 
 BuildArch:      noarch
 BuildRequires:  python3-devel
-BuildRequires:  python3dist(pytest)
-BuildRequires:  python3dist(flexmock)
-BuildRequires:  python3dist(pyyaml)
 
 %description
 trash-cli provides a command line trash usable with GNOME, KDE, Xfce or any
@@ -19,9 +16,12 @@ compatible with rm and you can use trash-put as an alias to rm.
 
 %prep
 %autosetup -n %{name}-%{version} -p1
+# clean specific requirements for older (eol) python versions
+# this removes the whole line if it matches in any combination
+sed -i -E "/; python_version (~=|<) '(2.7|3.4|3.3|3.5|3.8)'/d" setup.cfg
 
 %generate_buildrequires
-%pyproject_buildrequires
+%pyproject_buildrequires -x dev
 
 %build
 %pyproject_wheel
@@ -32,9 +32,8 @@ compatible with rm and you can use trash-put as an alias to rm.
 %pyproject_save_files -l trashcli
 
 %check
-# There is a tox.ini in the repo and buildrequires -t works, but the README
-# instructs to run pytest, so we do that. "not slow" should be enough for
-# a quick verification.
+# There is a tox.ini in the repo, but the README instructs to run pytest.
+# "not slow" should be enough for a quick verification.
 %pytest -m "not slow"
 
 %files -f %{pyproject_files}

                 reply	other threads:[~2026-09-20 14:35 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=178991490379.1.16157642947552526863.rpms-trash-cli-302155206485@fedoraproject.org \
    --to=dreua@posteo.de \
    --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