summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 04:58:52 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 04:58:52 +0000
commite9421b5c49be984e62306f1c9419040004ba9124 (patch)
tree1466566414ebc2f6572c9da67738492e40d7be2f
parent0275857620854034e89e32ea7ef478c4c026e55e (diff)
automatic import of python-adb-enhancedopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-adb-enhanced.spec113
-rw-r--r--sources1
3 files changed, 115 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..6f3967f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/adb-enhanced-2.5.18.tar.gz
diff --git a/python-adb-enhanced.spec b/python-adb-enhanced.spec
new file mode 100644
index 0000000..5510297
--- /dev/null
+++ b/python-adb-enhanced.spec
@@ -0,0 +1,113 @@
+%global _empty_manifest_terminate_build 0
+Name: python-adb-enhanced
+Version: 2.5.18
+Release: 1
+Summary: Swiss-army knife for Android testing and development
+License: Apache
+URL: https://github.com/ashishb/adb-enhanced
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/78/ac/7e5f1e218704183106e332e720e421ebbed6f90a9a10946560faf1e33e74/adb-enhanced-2.5.18.tar.gz
+BuildArch: noarch
+
+Requires: python3-docopt
+Requires: python3-psutil
+
+%description
+|Lint| |Lint Markdown| |Lint YAML|
+|InstallAdbeTest|
+|AdbeInstallTests| |AdbeUnitTests|
+|AdbeUnitTests-Api16| |AdbeUnitTests-Api21| |AdbeUnitTests-Api22|
+|AdbeUnitTests-Api23| |AdbeUnitTests-Api24| |AdbeUnitTests-Api25|
+|AdbeUnitTests-Api26| |AdbeUnitTests-Api27| |AdbeUnitTests-Api28|
+|AdbeUnitTests-Api29|
+|Packaging status|
+ Logo
+ADB-Enhanced is a Swiss-army knife for Android testing and development.
+A command-line interface to trigger various scenarios like screen
+rotation, battery saver mode, data saver mode, doze mode, permission
+grant/revocation. Its a wrapper around ``adb`` and not a replacement.
+|asciicast|
+
+%package -n python3-adb-enhanced
+Summary: Swiss-army knife for Android testing and development
+Provides: python-adb-enhanced
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-adb-enhanced
+|Lint| |Lint Markdown| |Lint YAML|
+|InstallAdbeTest|
+|AdbeInstallTests| |AdbeUnitTests|
+|AdbeUnitTests-Api16| |AdbeUnitTests-Api21| |AdbeUnitTests-Api22|
+|AdbeUnitTests-Api23| |AdbeUnitTests-Api24| |AdbeUnitTests-Api25|
+|AdbeUnitTests-Api26| |AdbeUnitTests-Api27| |AdbeUnitTests-Api28|
+|AdbeUnitTests-Api29|
+|Packaging status|
+ Logo
+ADB-Enhanced is a Swiss-army knife for Android testing and development.
+A command-line interface to trigger various scenarios like screen
+rotation, battery saver mode, data saver mode, doze mode, permission
+grant/revocation. Its a wrapper around ``adb`` and not a replacement.
+|asciicast|
+
+%package help
+Summary: Development documents and examples for adb-enhanced
+Provides: python3-adb-enhanced-doc
+%description help
+|Lint| |Lint Markdown| |Lint YAML|
+|InstallAdbeTest|
+|AdbeInstallTests| |AdbeUnitTests|
+|AdbeUnitTests-Api16| |AdbeUnitTests-Api21| |AdbeUnitTests-Api22|
+|AdbeUnitTests-Api23| |AdbeUnitTests-Api24| |AdbeUnitTests-Api25|
+|AdbeUnitTests-Api26| |AdbeUnitTests-Api27| |AdbeUnitTests-Api28|
+|AdbeUnitTests-Api29|
+|Packaging status|
+ Logo
+ADB-Enhanced is a Swiss-army knife for Android testing and development.
+A command-line interface to trigger various scenarios like screen
+rotation, battery saver mode, data saver mode, doze mode, permission
+grant/revocation. Its a wrapper around ``adb`` and not a replacement.
+|asciicast|
+
+%prep
+%autosetup -n adb-enhanced-2.5.18
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-adb-enhanced -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 2.5.18-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..c85fc9d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+d0d2378cb1c30d92b7d9eccf34e3d6ea adb-enhanced-2.5.18.tar.gz