public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/adb-enhanced] rawhide: Update to 2.12.0 from PyPI
@ 2026-11-13 20:01 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-11-13 20:01 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-13 20:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-13 20:01 [rpms/adb-enhanced] rawhide: Update to 2.12.0 from PyPI Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox