forked from pulp/pulp_python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pulp-python.spec
238 lines (201 loc) · 8.94 KB
/
pulp-python.spec
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
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
Name: pulp-python
Version: 1.1.0
Release: 0.2.beta%{?dist}
Summary: Support for Python content in the Pulp platform
Group: Development/Languages
License: GPLv2
URL: https://github.com/pulp/pulp_python
Source0: https://fedorahosted.org/releases/p/u/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-setuptools
# This is the minimum platform version we require to function.
%define pulp_version 2.8
%description
Provides a collection of platform plugins and client extensions support for Python packages.
%prep
%setup -q
%build
pushd common
%{__python} setup.py build
popd
pushd extensions_admin
%{__python} setup.py build
popd
pushd plugins
%{__python} setup.py build
popd
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_sysconfdir}/pulp/
mkdir -p %{buildroot}/%{_sysconfdir}/pulp/vhosts80/
pushd common
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
popd
pushd extensions_admin
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
popd
pushd plugins
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
popd
mkdir -p %{buildroot}/%{_var}/lib/pulp/published/python
cp -R plugins/etc/httpd %{buildroot}/%{_sysconfdir}/
# Remove tests
rm -rf %{buildroot}/%{python_sitelib}/test
%clean
rm -rf %{buildroot}
# ---- Common (check out the hilarious package name!)---------------------------
%package -n python-pulp-python-common
Summary: Pulp Python support common library
Group: Development/Languages
Requires: python-pulp-common >= %{pulp_version}
Requires: python-setuptools
%description -n python-pulp-python-common
A collection of modules shared among all Pulp-Python components.
%files -n python-pulp-python-common
%defattr(-,root,root,-)
%dir %{python_sitelib}/pulp_python
%{python_sitelib}/pulp_python/__init__.py*
%{python_sitelib}/pulp_python/common/
%dir %{python_sitelib}/pulp_python/extensions
%{python_sitelib}/pulp_python/extensions/__init__.py*
%{python_sitelib}/pulp_python_common*.egg-info
%doc COPYRIGHT LICENSE AUTHORS
# ---- Plugins -----------------------------------------------------------------
%package plugins
Summary: Pulp Python plugins
Group: Development/Languages
Requires: python-pulp-common >= %{pulp_version}
Requires: python-pulp-python-common >= %{version}
Requires: pulp-server >= %{pulp_version}
Requires: python-setuptools
%description plugins
Provides a collection of platform plugins that extend the Pulp platform
to provide Python package support.
%files plugins
%defattr(-,root,root,-)
%{python_sitelib}/pulp_python/plugins/
%config(noreplace) %{_sysconfdir}/httpd/conf.d/pulp_python.conf
%{python_sitelib}/pulp_python_plugins*.egg-info
%defattr(-,apache,apache,-)
%{_var}/lib/pulp/published/python/
%doc COPYRIGHT LICENSE AUTHORS
# ---- Admin Extensions --------------------------------------------------------
%package admin-extensions
Summary: The Python admin client extensions
Group: Development/Languages
Requires: python-pulp-common >= %{pulp_version}
Requires: python-pulp-python-common = %{version}
Requires: pulp-admin-client >= %{pulp_version}
Requires: python-setuptools
%description admin-extensions
A collection of extensions that supplement and override generic admin
client capabilites with Python specific features.
%files admin-extensions
%defattr(-,root,root,-)
%{python_sitelib}/pulp_python/extensions/admin/
%{python_sitelib}/pulp_python_extensions_admin*.egg-info
%doc COPYRIGHT LICENSE AUTHORS
%changelog
* Thu Jan 28 2016 Dennis Kliban <dkliban@redhat.com> 1.1.0-0.1.alpha
- Ensure file objects are cleaned up on error (pcreech@redhat.com)
- converted to use mongoengine (mhrivnak@redhat.com)
- Convert shebang to python2 (ipanova@redhat.com)
- Merge branch '1.0-dev' (dkliban@redhat.com)
- Adds fc23 to dist_list.txt config and removes fc21. (dkliban@redhat.com)
- Merge branch 'pr/51' (ipanova@redhat.com)
- 1349 - Handles repo.working_dir None (vjancik@redhat.com)
- Merge branch '1.0-dev' (ipanova@redhat.com)
- Merge branch '1.0-testing' into 1.0-dev (ipanova@redhat.com)
- Merge branch '1.0-release' into 1.0-testing (ipanova@redhat.com)
- Adjusting documentation for the package_names config key.
(ipanova@redhat.com)
- Limit Mock to <1.1 in test_requirement.txt. (rbarlow@redhat.com)
- Don't test pulp_python against pypi in Travis. (rbarlow@redhat.com)
- Ignore D104 in our pep257 checks. (rbarlow@redhat.com)
- Merge branch '1.0-dev' (ipanova@redhat.com)
- Enable auto-publish by default. (ipanova@redhat.com)
- Merge branch '1.0-dev' (ipanova@redhat.com)
- Merge branch '1.0-testing' into 1.0-dev (ipanova@redhat.com)
- Removing shutil.move and copytree where /var/cache/pulp is involved
(ipanova@redhat.com)
- Automatic commit of package [pulp-python] release [1.0.1-1]. (pulp-
infra@redhat.com)
- Bumping version for 1.0.1 release (dkliban@redhat.com)
- Automatic commit of package [pulp-python] release [1.0.1-0.2.rc]. (pulp-
infra@redhat.com)
- Bumping version for 1.0.1 RC1 (dkliban@redhat.com)
- Automatic commit of package [pulp-python] release [1.0.1-0.1.beta]. (pulp-
infra@redhat.com)
- Bumping build number for 1.0.1 beta (dkliban@redhat.com)
- Merge branch '1.0-dev' (dkliban@redhat.com)
- Merge branch '1.0-testing' into 1.0-dev (dkliban@redhat.com)
- Removed fc20 from dist_list.txt (dkliban@redhat.com)
- Merge branch '1.0-dev' (dkliban@redhat.com)
- Merge branch '1.0-testing' into 1.0-dev (dkliban@redhat.com)
- Added fc22 to dist_list.txt (dkliban@redhat.com)
- Merge branch '1.0-dev' (rbarlow@redhat.com)
- Merge branch '1.0-testing' into 1.0-dev (rbarlow@redhat.com)
- Add Graham Forest to the AUTHORS file. (rbarlow@redhat.com)
- Merge branch '1.0-dev' (rbarlow@redhat.com)
- Merge branch '1.0-testing' into 1.0-dev (rbarlow@redhat.com)
- Add release notes for 1.0.1. (rbarlow@redhat.com)
- Automatic commit of package [pulp-python] release [1.0.1-0.0.beta]. (pulp-
infra@redhat.com)
- Set the version to 1.0.2-0.0.alpha. (rbarlow@redhat.com)
- Set the version to 1.0.1-0.0.beta. (rbarlow@redhat.com)
- Use the PKG-INFO file with the shortest path (graham@urbanairship.com)
- Add DOS line ending support (graham@urbanairship.com)
- Add nosexcover to test_requirements.txt. (rbarlow@redhat.com)
- Merge pull request #40 from urbanairship/dos-line-ending-support
(rbarlow@redhat.com)
- Modify test requirements. (rbarlow@redhat.com)
- Use the PKG-INFO file with the shortest path (graham@urbanairship.com)
- Add DOS line ending support (graham@urbanairship.com)
- Bump the version requirement & the base version of pulp-python
(bcourt@redhat.com)
- Rename .rst (ryan@ryanhiebert.com)
- Fix import ordering (cduryee@redhat.com)
- re-apply 2.7 specific changes (bcourt@redhat.com)
- Update the .travis.yml & run-tests to maintain Pulp 2.6 Compatibility Fix
.travis.yaml to not use the --cover-min-percentage flag which is not
available in 2.6.0 Put back the line in the .travis.yaml to load okaara,
pymongo, and iniparse Add mongoengine to the .travis.yml file
(bcourt@redhat.com)
- Merge branch '1.0-release' into 1.0-testing (bcourt@redhat.com)
- Set the version to 1.0.0-1. (rbarlow@redhat.com)
- Merge branch '1.0-dev' (bmbouter@gmail.com)
- Merge branch '1.0-testing' into 1.0-dev (bmbouter@gmail.com)
- Adds exlinks references, and adds a Bugs release note for 1.0.0
(bmbouter@gmail.com)
- Automatic commit of package [pulp-python] release [1.0.0-0.3.rc]. (pulp-
infra@redhat.com)
- Merge remote-tracking branch 'origin/1.0-dev' (cduryee@redhat.com)
- Merge remote-tracking branch 'origin/1.0-testing' into 1.0-dev
(cduryee@redhat.com)
- Merge pull request #34 from rbarlow/rc2 (cduryee@redhat.com)
- Set the version to 1.0.0-0.3.rc. (rbarlow@redhat.com)
- Add an empty /etc/pulp/vhosts80/pulp_python.conf. (rbarlow@redhat.com)
- Automatic commit of package [pulp-python] release [1.0.0-0.2.rc]. (pulp-
infra@redhat.com)
- Merge branch '1.0-dev' (rbarlow@redhat.com)
- Merge branch 'rc' into 1.0-testing (rbarlow@redhat.com)
- Merge branch '1.0-dev' (rbarlow@redhat.com)
- Set the version to 1.0.0-0.2.rc. (rbarlow@redhat.com)
- Ensure that documented examples use correct package names.
(rbarlow@redhat.com)
- Merge branch '1.0-dev' (rbarlow@redhat.com)
- Merge branch '1.0-dev' (rbarlow@redhat.com)
- Merge branch '1.0-dev' (rbarlow@redhat.com)
- Merge branch '1.0-dev' (rbarlow@redhat.com)
* Tue Mar 24 2015 Randy Barlow <rbarlow@redhat.com> 1.0.0-0.1.beta
- Added ability to synchronize with PyPI.
* Wed Jan 21 2015 Randy Barlow <rbarlow@redhat.com> 0.0.0-1
- Initial release
- Adding ability to remove Python packages from Pulp repository using pulp-
admin (skarmark@redhat.com)
- Support copying Python packages between repos. (rbarlow@redhat.com)
- Add a CLI command to list packages. (rbarlow@redhat.com)
- Create documentation. (rbarlow@redhat.com)