summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 05:43:51 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 05:43:51 +0000
commitf5d407491dadac2165e3b4fc84706d89e61c5bf4 (patch)
treea8b38566e29c495e2030ebc3700fcca1dc1cb413
parent072fd0c8badd9690fb68b318b2e804661c82ee07 (diff)
automatic import of python-shopify_clientopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-shopify-client.spec78
-rw-r--r--sources1
3 files changed, 80 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..f89400b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/shopify_client-3.2.2.tar.gz
diff --git a/python-shopify-client.spec b/python-shopify-client.spec
new file mode 100644
index 0000000..4a33908
--- /dev/null
+++ b/python-shopify-client.spec
@@ -0,0 +1,78 @@
+%global _empty_manifest_terminate_build 0
+Name: python-shopify_client
+Version: 3.2.2
+Release: 1
+Summary: Shopify Client that handles all the network interactions with Shopify
+License: None
+URL: https://github.com/Smooth-Code-IO/shopify-client
+Source0: https://mirrors.aliyun.com/pypi/web/packages/db/af/dccbfc053ecf0723564ad4a80207ccc8ad3415a2a1583e22e1b393e2c76f/shopify_client-3.2.2.tar.gz
+BuildArch: noarch
+
+
+%description
+# shopify-client
+Python Shopify Client
+
+
+%package -n python3-shopify_client
+Summary: Shopify Client that handles all the network interactions with Shopify
+Provides: python-shopify_client
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-shopify_client
+# shopify-client
+Python Shopify Client
+
+
+%package help
+Summary: Development documents and examples for shopify_client
+Provides: python3-shopify_client-doc
+%description help
+# shopify-client
+Python Shopify Client
+
+
+%prep
+%autosetup -n shopify_client-3.2.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-shopify_client -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 3.2.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..d2d5aae
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+57525c1b3d802e827fea7c0d81eea434 shopify_client-3.2.2.tar.gz