summaryrefslogtreecommitdiff
path: root/python-edc.spec
blob: c8d0274989378ba4bd2e89203d6feef97832e72d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
%global _empty_manifest_terminate_build 0
Name:		python-edc
Version:	0.4.89
Release:	1
Summary:	EDC core modules for clinicedc/edc projects.
License:	GPL license, see LICENSE
URL:		https://github.com/clinicedc/edc
Source0:	https://mirrors.nju.edu.cn/pypi/web/packages/07/fd/daaabcc238a04069f3916c52193cdb7d5c7b0b8d2fa763ef2a494a11088b/edc-0.4.89.tar.gz
BuildArch:	noarch

Requires:	python3-argon2-cffi
Requires:	python3-boto3
Requires:	python3-celery
Requires:	python3-gunicorn
Requires:	python3-inflect
Requires:	python3-mysqlclient
Requires:	python3-pycups
Requires:	python3-pyrabbit
Requires:	python3-dateutil
Requires:	python3-memcached
Requires:	python3-reportlab
Requires:	python3-tqdm
Requires:	python3-fontawesomefree
Requires:	python3-django-environ
Requires:	python3-django-redis
Requires:	python3-django-audit-fields
Requires:	python3-django-crypto-fields
Requires:	python3-django-defender
Requires:	python3-django-extensions
Requires:	python3-django-logentry-admin
Requires:	python3-django-multisite-edc
Requires:	python3-django-revision
Requires:	python3-django-simple-history
Requires:	python3-django-storages
Requires:	python3-djangorestframework
Requires:	python3-edc-action-item
Requires:	python3-edc-adherence
Requires:	python3-edc-adverse-event
Requires:	python3-edc-appointment
Requires:	python3-edc-auth
Requires:	python3-edc-consent
Requires:	python3-edc-constants
Requires:	python3-edc-crf
Requires:	python3-edc-dashboard
Requires:	python3-edc-data-manager
Requires:	python3-edc-device
Requires:	python3-edc-document-status
Requires:	python3-edc-dx
Requires:	python3-edc-dx-review
Requires:	python3-edc-egfr
Requires:	python3-edc-export
Requires:	python3-edc-facility
Requires:	python3-edc-fieldsets
Requires:	python3-edc-form-describer
Requires:	python3-edc-form-label
Requires:	python3-edc-form-validators
Requires:	python3-edc-glucose
Requires:	python3-edc-he
Requires:	python3-edc-identifier
Requires:	python3-edc-lab
Requires:	python3-edc-lab-dashboard
Requires:	python3-edc-lab-panel
Requires:	python3-edc-lab-results
Requires:	python3-edc-label
Requires:	python3-edc-list-data
Requires:	python3-edc-listboard
Requires:	python3-edc-locator
Requires:	python3-edc-ltfu
Requires:	python3-edc-metadata
Requires:	python3-edc-mnsi
Requires:	python3-edc-model
Requires:	python3-edc-model-admin
Requires:	python3-edc-model-fields
Requires:	python3-edc-model-form
Requires:	python3-edc-model-wrapper
Requires:	python3-edc-navbar
Requires:	python3-edc-notification
Requires:	python3-edc-offstudy
Requires:	python3-edc-pdf-reports
Requires:	python3-edc-pdutils
Requires:	python3-edc-pharmacy
Requires:	python3-edc-pharmacy-dashboard
Requires:	python3-edc-prn
Requires:	python3-edc-protocol
Requires:	python3-edc-protocol-incident
Requires:	python3-edc-qol
Requires:	python3-edc-randomization
Requires:	python3-edc-reference
Requires:	python3-edc-refusal
Requires:	python3-edc-registration
Requires:	python3-edc-reportable
Requires:	python3-edc-review-dashboard
Requires:	python3-edc-rx
Requires:	python3-edc-screening
Requires:	python3-edc-search
Requires:	python3-edc-sites
Requires:	python3-edc-subject-dashboard
Requires:	python3-edc-subject-model-wrappers
Requires:	python3-edc-timepoint
Requires:	python3-edc-transfer
Requires:	python3-edc-unblinding
Requires:	python3-edc-utils
Requires:	python3-edc-visit-schedule
Requires:	python3-edc-visit-tracking
Requires:	python3-edc-vitals

%description
Here are a set of python modules that extend Django to empower you to build an EDC / eSource system to handle data
collection and management for multi-site longitudinal clinical trials.
Refer to the specific open projects listed below for example EDC systems built with these modules.
The more recent the trial the better the example.
The codebase continues to evolve over many years of conducting clinical trials for mostly NIH-funded clinical trials through
the `Harvard T Chan School of Public Health <https://aids.harvard.edu>`__, the
`Botswana-Harvard AIDS Institute Partnership <https://aids.harvard.edu/research/bhp>`__
in Gaborone, Botswana and the `London School of Hygiene and Tropical Medicine <https://lshtm.ac.uk>`__.
Almost all trials have been related to HIV/AIDS research. Recent work with the
`Liverpool School of Tropical Medicine <https://lstm.ac.uk>`__ has expanded into Diabetes (DM),
Hypertension (HTN) and models of integrating care in Africa (https://inteafrica.org) for the
three main chronic conditions -- HIV/DM/HTN.
See also https://www.lstmed.ac.uk/RespondAfrica
The implementations we have developed are mostly eSource systems rather than the traditional EDCs.
The ``clinicedc`` for each trial consists of a subset of trial-specific modules that reference this module.
(python 3.10+ and Django 4.1, see setup.cfg)

%package -n python3-edc
Summary:	EDC core modules for clinicedc/edc projects.
Provides:	python-edc
BuildRequires:	python3-devel
BuildRequires:	python3-setuptools
BuildRequires:	python3-pip
%description -n python3-edc
Here are a set of python modules that extend Django to empower you to build an EDC / eSource system to handle data
collection and management for multi-site longitudinal clinical trials.
Refer to the specific open projects listed below for example EDC systems built with these modules.
The more recent the trial the better the example.
The codebase continues to evolve over many years of conducting clinical trials for mostly NIH-funded clinical trials through
the `Harvard T Chan School of Public Health <https://aids.harvard.edu>`__, the
`Botswana-Harvard AIDS Institute Partnership <https://aids.harvard.edu/research/bhp>`__
in Gaborone, Botswana and the `London School of Hygiene and Tropical Medicine <https://lshtm.ac.uk>`__.
Almost all trials have been related to HIV/AIDS research. Recent work with the
`Liverpool School of Tropical Medicine <https://lstm.ac.uk>`__ has expanded into Diabetes (DM),
Hypertension (HTN) and models of integrating care in Africa (https://inteafrica.org) for the
three main chronic conditions -- HIV/DM/HTN.
See also https://www.lstmed.ac.uk/RespondAfrica
The implementations we have developed are mostly eSource systems rather than the traditional EDCs.
The ``clinicedc`` for each trial consists of a subset of trial-specific modules that reference this module.
(python 3.10+ and Django 4.1, see setup.cfg)

%package help
Summary:	Development documents and examples for edc
Provides:	python3-edc-doc
%description help
Here are a set of python modules that extend Django to empower you to build an EDC / eSource system to handle data
collection and management for multi-site longitudinal clinical trials.
Refer to the specific open projects listed below for example EDC systems built with these modules.
The more recent the trial the better the example.
The codebase continues to evolve over many years of conducting clinical trials for mostly NIH-funded clinical trials through
the `Harvard T Chan School of Public Health <https://aids.harvard.edu>`__, the
`Botswana-Harvard AIDS Institute Partnership <https://aids.harvard.edu/research/bhp>`__
in Gaborone, Botswana and the `London School of Hygiene and Tropical Medicine <https://lshtm.ac.uk>`__.
Almost all trials have been related to HIV/AIDS research. Recent work with the
`Liverpool School of Tropical Medicine <https://lstm.ac.uk>`__ has expanded into Diabetes (DM),
Hypertension (HTN) and models of integrating care in Africa (https://inteafrica.org) for the
three main chronic conditions -- HIV/DM/HTN.
See also https://www.lstmed.ac.uk/RespondAfrica
The implementations we have developed are mostly eSource systems rather than the traditional EDCs.
The ``clinicedc`` for each trial consists of a subset of trial-specific modules that reference this module.
(python 3.10+ and Django 4.1, see setup.cfg)

%prep
%autosetup -n edc-0.4.89

%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 -f filelist.lst
%dir %{python3_sitelib}/*

%files help -f doclist.lst
%{_docdir}/*

%changelog
* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.89-1
- Package Spec generated