summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 06:57:09 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 06:57:09 +0000
commit2ce17b0a8d4235e950823828aaa560a6b1c99b99 (patch)
treefebe4155fdc6a96d37fb398bdc14c3d3fb53391c
parent3ac74d5d44d2e5f0b7515c857e3ac8254d6205db (diff)
automatic import of python-canaryd
-rw-r--r--.gitignore1
-rw-r--r--python-canaryd.spec86
-rw-r--r--sources1
3 files changed, 88 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..bcaae3d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/canaryd-0.6.9.tar.gz
diff --git a/python-canaryd.spec b/python-canaryd.spec
new file mode 100644
index 0000000..e17de5b
--- /dev/null
+++ b/python-canaryd.spec
@@ -0,0 +1,86 @@
+%global _empty_manifest_terminate_build 0
+Name: python-canaryd
+Version: 0.6.9
+Release: 1
+Summary: Client for Service Canary
+License: MIT
+URL: https://servicecanary.com
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/58/4d/cab7248b15fd0c3f9d6d4cc461b1f031f0386d6d7da8db9e894ef72aca2b/canaryd-0.6.9.tar.gz
+BuildArch: noarch
+
+Requires: python3-nose
+Requires: python3-jsontest
+Requires: python3-coverage
+Requires: python3-mock
+Requires: python3-dictdiffer
+Requires: python3-wheel
+Requires: python3-twine
+Requires: python3-ipdb
+Requires: python3-ipdbplugin
+Requires: python3-nose
+Requires: python3-jsontest
+Requires: python3-coverage
+Requires: python3-mock
+Requires: python3-dictdiffer
+
+%description
+
+
+%package -n python3-canaryd
+Summary: Client for Service Canary
+Provides: python-canaryd
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-canaryd
+
+
+%package help
+Summary: Development documents and examples for canaryd
+Provides: python3-canaryd-doc
+%description help
+
+
+%prep
+%autosetup -n canaryd-0.6.9
+
+%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-canaryd -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.9-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..9dc616e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+81b081b1614318214bec34fbaae2dd41 canaryd-0.6.9.tar.gz