summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 05:43:33 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 05:43:33 +0000
commitda99655061105873f0d0eb91583ef9ba10068e1a (patch)
treeb9413e847d367f7de63210f7384abcfaad937614
parentcfc9b249c6b2dec0b9d6ccb5a84c844df833e822 (diff)
automatic import of python-marketo
-rw-r--r--.gitignore1
-rw-r--r--python-marketo.spec75
-rw-r--r--sources1
3 files changed, 77 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..4812ab4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/marketo-0.1.0.tar.gz
diff --git a/python-marketo.spec b/python-marketo.spec
new file mode 100644
index 0000000..8b4f6f9
--- /dev/null
+++ b/python-marketo.spec
@@ -0,0 +1,75 @@
+%global _empty_manifest_terminate_build 0
+Name: python-marketo
+Version: 0.1.0
+Release: 1
+Summary: marketo-python is a python query client that wraps the Marketo SOAP API.
+License: MIT License
+URL: https://github.com/segmentio/marketo-python
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2f/e8/08133b5b83d0b7a4e5c1b28905bde17aa7989f868288760e8e06c08a390d/marketo-0.1.0.tar.gz
+BuildArch: noarch
+
+
+%description
+marketo-python is a python query client that wraps the Marketo SOAP API.
+For sending data to Marketo, check out https://segment.io.
+
+%package -n python3-marketo
+Summary: marketo-python is a python query client that wraps the Marketo SOAP API.
+Provides: python-marketo
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-marketo
+marketo-python is a python query client that wraps the Marketo SOAP API.
+For sending data to Marketo, check out https://segment.io.
+
+%package help
+Summary: Development documents and examples for marketo
+Provides: python3-marketo-doc
+%description help
+marketo-python is a python query client that wraps the Marketo SOAP API.
+For sending data to Marketo, check out https://segment.io.
+
+%prep
+%autosetup -n marketo-0.1.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-marketo -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..d34f299
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ba9992504a75924cedd5693f4ebf1ff4 marketo-0.1.0.tar.gz