summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 04:32:32 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 04:32:32 +0000
commit24cd1bc7d0fea024d69ab2b5248c203a400709f5 (patch)
tree603a62b693089eada94e31512a0aac06ca0c1455
parentb1ed6cf0a42c22737f4da5170431facc3b8ff740 (diff)
automatic import of python-jsonschema-serialize-fork
-rw-r--r--.gitignore1
-rw-r--r--python-jsonschema-serialize-fork.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..65e2ebb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jsonschema_serialize_fork-2.1.1.tar.gz
diff --git a/python-jsonschema-serialize-fork.spec b/python-jsonschema-serialize-fork.spec
new file mode 100644
index 0000000..49db973
--- /dev/null
+++ b/python-jsonschema-serialize-fork.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-jsonschema_serialize_fork
+Version: 2.1.1
+Release: 1
+Summary: Fork of Julian Berman's jsonschema to include support for serializing defaults
+License: MIT
+URL: http://github.com/lrowe/jsonschema_serialize_fork
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a8/c9/c4f44afa6a769e2e279877d7d9d873dc6fe16a18df0e47496c9cc0934a57/jsonschema_serialize_fork-2.1.1.tar.gz
+BuildArch: noarch
+
+
+%description
+
+
+%package -n python3-jsonschema_serialize_fork
+Summary: Fork of Julian Berman's jsonschema to include support for serializing defaults
+Provides: python-jsonschema_serialize_fork
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-jsonschema_serialize_fork
+
+
+%package help
+Summary: Development documents and examples for jsonschema_serialize_fork
+Provides: python3-jsonschema_serialize_fork-doc
+%description help
+
+
+%prep
+%autosetup -n jsonschema_serialize_fork-2.1.1
+
+%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-jsonschema_serialize_fork -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 2.1.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..fdc83ba
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+6f8d900e0789a9e1f08519209f1eb050 jsonschema_serialize_fork-2.1.1.tar.gz