public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/adb-enhanced] rawhide: Update to 2.12.0 from PyPI
Date: Fri, 13 Nov 2026 20:01:37 GMT	[thread overview]
Message-ID: <179460009792.1.5295312625363301411.rpms-adb-enhanced-ecd9d9b5f505@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/adb-enhanced
Branch : rawhide
Commit : ecd9d9b5f50593afa563010e769bd13df9d41df9
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-11-13T16:26:28-03:00
Stats  : +8/-11 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/adb-enhanced/c/ecd9d9b5f50593afa563010e769bd13df9d41df9?branch=rawhide

Log:
Update to 2.12.0 from PyPI

---
diff --git a/.gitignore b/.gitignore
index 8398bf7..a6534ab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /adb-enhanced-*.tar.gz
+/adb_enhanced-2.12.0.tar.gz

diff --git a/adb-enhanced.spec b/adb-enhanced.spec
index e21720c..0c64706 100644
--- a/adb-enhanced.spec
+++ b/adb-enhanced.spec
@@ -1,20 +1,17 @@
-%bcond_with tests
+%bcond_without tests
 
 Name:           adb-enhanced
-Version:        2.11.0
+Version:        2.12.0
 Release:        %autorelease
 Summary:        Tool for Android testing and development
 License:        Apache-2.0
 URL:            https://github.com/ashishb/adb-enhanced
-Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
+Source0:        https://pypi.io/packages/source/a/adb-enhanced/adb_enhanced-%{version}.tar.gz
 Source1:        remove-classpath.sh
 Patch0:         remove-classpath-manifest.patch
 BuildArch:      noarch
 BuildRequires:  python3-devel
 
-%if %{with tests}
-BuildRequires:  python3-pytest
-%endif
 
 %description
 ADB-Enhanced is a Swiss-army knife for Android testing and development. A
@@ -22,7 +19,7 @@ command-line interface to trigger various scenarios like screen rotation,
 battery saver mode, data saver mode, doze mode, permission grant/revocation.
 
 %prep
-%autosetup -N
+%autosetup -N -p1 -n adb_enhanced-%{version}
 # Relax strict dependency pins (==) to >= to avoid build failures with newer system libraries
 sed -i 's/==/>=/g' pyproject.toml
 
@@ -35,7 +32,7 @@ build-backend = "setuptools.build_meta"
 EOF
 
 # Remove shebang from python libraries that are not directly executed
-sed -i -e '1{\@^#!/usr/bin/env python@d}' adbe/adb_enhanced.py adbe/main.py
+sed -i -e '1{\@^#!/usr/bin/env python3\?@d}' adbe/adb_enhanced.py adbe/main.py
 
 # Remove Class-Path entry from the prebuilt jar manifest
 bash %{SOURCE1} --extract
@@ -56,9 +53,8 @@ bash %{SOURCE1} --repack
 
 %if %{with tests}
 %check
+# the sdist does not ship the upstream tests/ tree, so only run the import smoke test
 %pyproject_check_import
-
-%pytest -v tests/adbe_tests.py
 %endif
 
 %files -f %{pyproject_files}

diff --git a/sources b/sources
index 842d56e..b2f1a87 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (adb-enhanced-2.11.0.tar.gz) = 44f438ce3c0b28606518b2073bf8a4c1422a163dd03a957cff97509a2ebacceed5df1fce913f10dd0fab27bb37c3b20ec892b1e2b9ee428ee4f377bd6bbacc45
+SHA512 (adb_enhanced-2.12.0.tar.gz) = 5c2984ba8a37a6f0623bda27beda32a2b32ee5985f4825e118948e92f17a3a45861deb5389d0029e1caa92e9fdebee5f11224954069c4242a9d7fba53f5dd564

                 reply	other threads:[~2026-11-13 20:01 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=179460009792.1.5295312625363301411.rpms-adb-enhanced-ecd9d9b5f505@fedoraproject.org \
    --to=rosset.filipe@gmail.com \
    --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