summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-10 04:30:04 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-10 04:30:04 +0000
commit8d9c1a882353deabeb35459c2b8dd1fc40bce66e (patch)
treeb24262093277b12b5bbee4eb52f8ae377dce33b1
parenta3d2a050957c10aa2b0f0bda1534dfa9a05ab180 (diff)
automatic import of python-super-state-machineopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-super-state-machine.spec74
-rw-r--r--sources1
3 files changed, 76 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..b6615d2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/super_state_machine-2.0.2.tar.gz
diff --git a/python-super-state-machine.spec b/python-super-state-machine.spec
new file mode 100644
index 0000000..eadc2b0
--- /dev/null
+++ b/python-super-state-machine.spec
@@ -0,0 +1,74 @@
+%global _empty_manifest_terminate_build 0
+Name: python-super_state_machine
+Version: 2.0.2
+Release: 1
+Summary: Super State Machine gives you utilities to build finite state machines.
+License: BSD
+URL: https://github.com/beregond/super_state_machine
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/84/ee/2c55720ce1c35e00299e57e673945c5d6379f5fc1cbe9e7d0405ca11cc72/super_state_machine-2.0.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-six
+Requires: python3-enum34
+
+%description
+
+
+%package -n python3-super_state_machine
+Summary: Super State Machine gives you utilities to build finite state machines.
+Provides: python-super_state_machine
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-super_state_machine
+
+
+%package help
+Summary: Development documents and examples for super_state_machine
+Provides: python3-super_state_machine-doc
+%description help
+
+
+%prep
+%autosetup -n super_state_machine-2.0.2
+
+%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-super_state_machine -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..b7385ac
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+296e32ba7c2ca34e4e4cf0e8715f3bc4 super_state_machine-2.0.2.tar.gz