summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 07:58:34 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 07:58:34 +0000
commitddd866e9114213229855e50f9c506ea45bb2741d (patch)
tree7e8bd4beeed6f8cc07485c99397131e908e3361a
parentd396f7d11624e1100121dd5a18670e5ba7dd2a96 (diff)
automatic import of python-edc-labopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-edc-lab.spec82
-rw-r--r--sources1
3 files changed, 84 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..84b8c5f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/edc-lab-0.3.43.tar.gz
diff --git a/python-edc-lab.spec b/python-edc-lab.spec
new file mode 100644
index 0000000..e14bc5c
--- /dev/null
+++ b/python-edc-lab.spec
@@ -0,0 +1,82 @@
+%global _empty_manifest_terminate_build 0
+Name: python-edc-lab
+Version: 0.3.43
+Release: 1
+Summary: LIMS/lab classes for clinicedc/edc projects
+License: GPL license, see LICENSE
+URL: https://github.com/clinicedc/edc-lab
+Source0: https://mirrors.aliyun.com/pypi/web/packages/72/d2/152d0291f97238e2f745a4c5ec5487641c7ced2700c5cd982da7f9f2c254/edc-lab-0.3.43.tar.gz
+BuildArch: noarch
+
+Requires: python3-pycups
+
+%description
+Add to settings:
+ INSTALLED_APPS = [
+ 'edc_lab.apps.AppConfig',
+ ]
+
+%package -n python3-edc-lab
+Summary: LIMS/lab classes for clinicedc/edc projects
+Provides: python-edc-lab
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-edc-lab
+Add to settings:
+ INSTALLED_APPS = [
+ 'edc_lab.apps.AppConfig',
+ ]
+
+%package help
+Summary: Development documents and examples for edc-lab
+Provides: python3-edc-lab-doc
+%description help
+Add to settings:
+ INSTALLED_APPS = [
+ 'edc_lab.apps.AppConfig',
+ ]
+
+%prep
+%autosetup -n edc-lab-0.3.43
+
+%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-edc-lab -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.43-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..49a2ec2
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+3a1f54ece4cca3a4c1de543f657466c2 edc-lab-0.3.43.tar.gz