summaryrefslogtreecommitdiff
path: root/python-carly.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 07:35:10 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 07:35:10 +0000
commit03a9672945e604102c6db3a5fc5512f18415577f (patch)
treeec48dbaaac19f6d8027753385dc6cbae3c8bcc22 /python-carly.spec
parent0daaf3ee726cf26a5922e6496d46695e081932e8 (diff)
automatic import of python-carlyopeneuler20.03
Diffstat (limited to 'python-carly.spec')
-rw-r--r--python-carly.spec91
1 files changed, 91 insertions, 0 deletions
diff --git a/python-carly.spec b/python-carly.spec
new file mode 100644
index 0000000..95e8fe6
--- /dev/null
+++ b/python-carly.spec
@@ -0,0 +1,91 @@
+%global _empty_manifest_terminate_build 0
+Name: python-carly
+Version: 0.13.0
+Release: 1
+Summary: A tool for putting messages into and collecting responses from Twisted servers using real networking
+License: MIT
+URL: https://github.com/cjw296/carly
+Source0: https://mirrors.aliyun.com/pypi/web/packages/f9/8c/f2a7fba34d4d6df2dc086048c181d257c0e7ab31a06fe9a042ba1a48450b/carly-0.13.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-Twisted
+Requires: python3-attrs
+Requires: python3-twine
+Requires: python3-wheel
+Requires: python3-autobahn
+Requires: python3-coverage
+Requires: python3-testfixtures
+
+%description
+|CircleCI|_
+A tool for putting messages into and collecting responses from Twisted servers and clients using real networking.
+"call me maybe"
+Why carly? 'cos someone already took `Jepsen!`__
+__ https://jepsen.io/
+
+%package -n python3-carly
+Summary: A tool for putting messages into and collecting responses from Twisted servers using real networking
+Provides: python-carly
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-carly
+|CircleCI|_
+A tool for putting messages into and collecting responses from Twisted servers and clients using real networking.
+"call me maybe"
+Why carly? 'cos someone already took `Jepsen!`__
+__ https://jepsen.io/
+
+%package help
+Summary: Development documents and examples for carly
+Provides: python3-carly-doc
+%description help
+|CircleCI|_
+A tool for putting messages into and collecting responses from Twisted servers and clients using real networking.
+"call me maybe"
+Why carly? 'cos someone already took `Jepsen!`__
+__ https://jepsen.io/
+
+%prep
+%autosetup -n carly-0.13.0
+
+%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-carly -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.13.0-1
+- Package Spec generated