diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-11 16:58:22 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 16:58:22 +0000 |
| commit | 2da548148e0ff1a1529353d3ad46f262e0b6223e (patch) | |
| tree | ffab4b5fec3f0e49b970a11659361dc93e692020 | |
| parent | 45a12ac3bddd2344eae03c0822c31bd6d3d602dc (diff) | |
automatic import of python-fhir-resources
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-fhir-resources.spec | 111 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 113 insertions, 0 deletions
@@ -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 @@ -0,0 +1 @@ +56b00689319f79d27f35e877111f3d00 fhir.resources-7.0.0.tar.gz |
