summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 16:58:22 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 16:58:22 +0000
commit2da548148e0ff1a1529353d3ad46f262e0b6223e (patch)
treeffab4b5fec3f0e49b970a11659361dc93e692020
parent45a12ac3bddd2344eae03c0822c31bd6d3d602dc (diff)
automatic import of python-fhir-resources
-rw-r--r--.gitignore1
-rw-r--r--python-fhir-resources.spec111
-rw-r--r--sources1
3 files changed, 113 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..f60c6ec 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fhir.resources-7.0.0.tar.gz
diff --git a/python-fhir-resources.spec b/python-fhir-resources.spec
new file mode 100644
index 0000000..888db45
--- /dev/null
+++ b/python-fhir-resources.spec
@@ -0,0 +1,111 @@
+%global _empty_manifest_terminate_build 0
+Name: python-fhir.resources
+Version: 7.0.0
+Release: 1
+Summary: FHIR Resources as Model Class
+License: BSD license
+URL: https://github.com/nazrulworld/fhir.resources
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a9/21/baeee8417d3f97490480bac2812b55df37c2254fa0f951f614a4ca0564d3/fhir.resources-7.0.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-pydantic[email]
+Requires: python3-orjson
+Requires: python3-PyYAML
+Requires: python3-lxml
+Requires: python3-coverage
+Requires: python3-isort
+Requires: python3-black
+Requires: python3-mypy
+Requires: python3-Jinja2
+Requires: python3-MarkupSafe
+Requires: python3-colorlog
+Requires: python3-certifi
+Requires: python3-fhirspec
+Requires: python3-zest-releaser[recommended]
+Requires: python3-flake8
+Requires: python3-flake8-isort
+Requires: python3-flake8-bugbear
+Requires: python3-requests
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-setuptools
+Requires: python3-orjson
+Requires: python3-coverage
+Requires: python3-isort
+Requires: python3-black
+Requires: python3-mypy
+Requires: python3-pytest-runner
+Requires: python3-orjson
+Requires: python3-PyYAML
+Requires: python3-lxml
+Requires: python3-flake8
+Requires: python3-flake8-isort
+Requires: python3-flake8-bugbear
+Requires: python3-requests
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-setuptools
+Requires: python3-lxml
+Requires: python3-PyYAML
+
+%description
+
+
+%package -n python3-fhir.resources
+Summary: FHIR Resources as Model Class
+Provides: python-fhir.resources
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-fhir.resources
+
+
+%package help
+Summary: Development documents and examples for fhir.resources
+Provides: python3-fhir.resources-doc
+%description help
+
+
+%prep
+%autosetup -n fhir.resources-7.0.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-fhir.resources -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 7.0.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..dc82964
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+56b00689319f79d27f35e877111f3d00 fhir.resources-7.0.0.tar.gz