summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 18:26:20 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 18:26:20 +0000
commit8c69cd233fd3acb24cae5b090d47e10c03e58ec2 (patch)
tree38107ddcdf4eac4059d13dabce5beb992ce27657
parent162440c8d3b8c607af49f8787b20d567211a3d01 (diff)
automatic import of python-marshmallow3-annotations
-rw-r--r--.gitignore1
-rw-r--r--python-marshmallow3-annotations.spec92
-rw-r--r--sources1
3 files changed, 94 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..6a48c72 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/marshmallow3-annotations-1.1.0.tar.gz
diff --git a/python-marshmallow3-annotations.spec b/python-marshmallow3-annotations.spec
new file mode 100644
index 0000000..ba9b343
--- /dev/null
+++ b/python-marshmallow3-annotations.spec
@@ -0,0 +1,92 @@
+%global _empty_manifest_terminate_build 0
+Name: python-marshmallow3-annotations
+Version: 1.1.0
+Release: 1
+Summary: Marrying marshmallow3 and annotations
+License: MIT
+URL: https://github.com/dkunitsk/marshmallow3-annotations
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6c/71/75c28092b2a18a6ec3b0114cac95bdb7ae03c74144c26eaeea0fbe426811/marshmallow3-annotations-1.1.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-marshmallow
+Requires: python3-attrs
+
+%description
+# marshmallow3-annotations
+
+This is a fork of [marshmallow-annotations](https://github.com/justanr/marshmallow-annotations) which has been minimally
+patched to be marshmallow 3.0.0+ compatible. All credit goes to the original author.
+
+It is available on [PyPI](https://pypi.org/project/marshmallow3-annotations/).
+
+
+%package -n python3-marshmallow3-annotations
+Summary: Marrying marshmallow3 and annotations
+Provides: python-marshmallow3-annotations
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-marshmallow3-annotations
+# marshmallow3-annotations
+
+This is a fork of [marshmallow-annotations](https://github.com/justanr/marshmallow-annotations) which has been minimally
+patched to be marshmallow 3.0.0+ compatible. All credit goes to the original author.
+
+It is available on [PyPI](https://pypi.org/project/marshmallow3-annotations/).
+
+
+%package help
+Summary: Development documents and examples for marshmallow3-annotations
+Provides: python3-marshmallow3-annotations-doc
+%description help
+# marshmallow3-annotations
+
+This is a fork of [marshmallow-annotations](https://github.com/justanr/marshmallow-annotations) which has been minimally
+patched to be marshmallow 3.0.0+ compatible. All credit goes to the original author.
+
+It is available on [PyPI](https://pypi.org/project/marshmallow3-annotations/).
+
+
+%prep
+%autosetup -n marshmallow3-annotations-1.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-marshmallow3-annotations -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..ee584ac
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+8ea08eec0980cf15e8a81d35f15bc5df marshmallow3-annotations-1.1.0.tar.gz