summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 09:23:13 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 09:23:13 +0000
commit7ec08c034630ac267e987159bff1c535f3369472 (patch)
treec10d1f16fb43e72d001414331386de1b56f735c8
parent484e70ebcb7fa3e294ae1b2ec6d062a708860a5f (diff)
automatic import of python-arduinocontrolleropeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-arduinocontroller.spec79
-rw-r--r--sources1
3 files changed, 81 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..b4507b5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ArduinoController-0.1.1568726333.tar.gz
diff --git a/python-arduinocontroller.spec b/python-arduinocontroller.spec
new file mode 100644
index 0000000..55eb166
--- /dev/null
+++ b/python-arduinocontroller.spec
@@ -0,0 +1,79 @@
+%global _empty_manifest_terminate_build 0
+Name: python-ArduinoController
+Version: 0.1.1568726333
+Release: 1
+Summary: A highly versatile arduino controller
+License: MIT License
+URL: https://github.com/JulianKimmig/arduino_controller
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/96/f8/4a273c2b3056a20f2423bf9cf1a1c6d74e4d99d878804fbadc2d2d761387/ArduinoController-0.1.1568726333.tar.gz
+BuildArch: noarch
+
+Requires: python3-requests
+Requires: python3-Json-Dict
+Requires: python3-FilterDict
+Requires: python3-pyserial
+Requires: python3-ArduinoCodeCreator
+Requires: python3-numpy
+Requires: python3-pandas
+
+%description
+
+
+%package -n python3-ArduinoController
+Summary: A highly versatile arduino controller
+Provides: python-ArduinoController
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-ArduinoController
+
+
+%package help
+Summary: Development documents and examples for ArduinoController
+Provides: python3-ArduinoController-doc
+%description help
+
+
+%prep
+%autosetup -n ArduinoController-0.1.1568726333
+
+%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-ArduinoController -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.1568726333-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..e10d8b0
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+481e260433bbf11741a72ca791387ed5 ArduinoController-0.1.1568726333.tar.gz