Change-Id: I8d104a37af0a5ebe8aa8b172e3962681285577e0
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2115
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
... | ... |
@@ -1,20 +1,26 @@ |
1 |
-Name: python-Twisted |
|
2 |
-Version: 15.5.0 |
|
3 |
-Release: 3%{?dist} |
|
4 |
-Url: https://twistedmatrix.com |
|
1 |
+%{!?python2_sitelib: %define python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")} |
|
2 |
+%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")} |
|
3 |
+ |
|
5 | 4 |
Summary: An asynchronous networking framework written in Python |
5 |
+Name: python-Twisted |
|
6 |
+Version: 17.1.0 |
|
7 |
+Release: 1%{?dist} |
|
6 | 8 |
License: MIT |
7 | 9 |
Group: Development/Languages/Python |
10 |
+Vendor: VMware, Inc. |
|
11 |
+Distribution: Photon |
|
12 |
+Url: https://twistedmatrix.com |
|
8 | 13 |
Source0: https://pypi.python.org/packages/source/T/Twisted/Twisted-%{version}.tar.bz2 |
9 |
-%define sha1 Twisted=c7db4b949fc27794ca94677f66082f49be43f283 |
|
14 |
+%define sha1 Twisted=1cd9e3e39323f555a89d882cbbcf001015bd3113 |
|
10 | 15 |
|
11 |
-BuildRequires: python2 |
|
12 |
-BuildRequires: python2-libs |
|
13 |
-BuildRequires: python2-devel |
|
14 |
-BuildRequires: python-setuptools |
|
16 |
+BuildRequires: python2 |
|
17 |
+BuildRequires: python2-libs |
|
18 |
+BuildRequires: python2-devel |
|
19 |
+BuildRequires: python-setuptools |
|
20 |
+BuildRequires: python-incremental |
|
15 | 21 |
|
16 | 22 |
Requires: python2 |
17 |
-Requires: python2-libs |
|
23 |
+Requires: python2-libs |
|
18 | 24 |
requires: python-zope.interface |
19 | 25 |
|
20 | 26 |
BuildArch: x86_64 |
... | ... |
@@ -24,14 +30,27 @@ Twisted is an event-driven networking engine written in Python and licensed unde |
24 | 24 |
|
25 | 25 |
Twisted also supports many common network protocols, including SMTP, POP3, IMAP, SSHv2, and DNS. |
26 | 26 |
|
27 |
+%package -n python3-Twisted |
|
28 |
+Summary: python-Twisted |
|
29 |
+BuildRequires: python3-devel |
|
30 |
+BuildRequires: python3-libs |
|
31 |
+BuildRequires: python3-incremental |
|
32 |
+ |
|
33 |
+Requires: python3 |
|
34 |
+Requires: python3-libs |
|
35 |
+%description -n python3-Twisted |
|
36 |
+Python 3 version. |
|
37 |
+ |
|
27 | 38 |
%prep |
28 | 39 |
%setup -q -n Twisted-%{version} |
29 | 40 |
|
30 | 41 |
%build |
31 |
-python setup.py build |
|
42 |
+python2 setup.py build |
|
43 |
+python3 setup.py build |
|
32 | 44 |
|
33 | 45 |
%install |
34 |
-python setup.py install --prefix=%{_prefix} --root=%{buildroot} |
|
46 |
+python2 setup.py install --prefix=%{_prefix} --root=%{buildroot} |
|
47 |
+python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} |
|
35 | 48 |
|
36 | 49 |
%check |
37 | 50 |
easy_install tox |
... | ... |
@@ -39,15 +58,21 @@ tox -e py27-tests |
39 | 39 |
|
40 | 40 |
%files |
41 | 41 |
%defattr(-,root,root) |
42 |
-%{python_sitelib}/* |
|
42 |
+%{python2_sitelib}/* |
|
43 |
+ |
|
44 |
+%files -n python3-Twisted |
|
45 |
+%defattr(-,root,root) |
|
46 |
+%{python3_sitelib}/* |
|
43 | 47 |
%{_bindir}/* |
44 | 48 |
|
45 | 49 |
%changelog |
46 |
-* Mon Oct 10 2016 ChangLee <changlee@vmware.com> 15.5.0-3 |
|
47 |
-- Modified %check |
|
48 |
-* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 15.5.0-2 |
|
49 |
-- GA - Bump release of all rpms |
|
50 |
-* Thu Jan 21 2016 Anish Swaminathan <anishs@vmware.com> 15.5.0-1 |
|
51 |
-- Upgrade version |
|
52 |
-* Tue Oct 27 2015 Mahmoud Bassiouny <mbassiouny@vmware.com> |
|
53 |
-- Initial packaging for Photon |
|
50 |
+* Wed Mar 01 2017 Xiaolin Li <xiaolinl@vmware.com> 17.1.0-1 |
|
51 |
+- Added python3 package and updated to version 17.1.0. |
|
52 |
+* Mon Oct 10 2016 ChangLee <changlee@vmware.com> 15.5.0-3 |
|
53 |
+- Modified %check |
|
54 |
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 15.5.0-2 |
|
55 |
+- GA - Bump release of all rpms |
|
56 |
+* Thu Jan 21 2016 Anish Swaminathan <anishs@vmware.com> 15.5.0-1 |
|
57 |
+- Upgrade version |
|
58 |
+* Tue Oct 27 2015 Mahmoud Bassiouny <mbassiouny@vmware.com> |
|
59 |
+- Initial packaging for Photon |
54 | 60 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,65 @@ |
0 |
+%{!?python2_sitelib: %define python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")} |
|
1 |
+%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")} |
|
2 |
+ |
|
3 |
+Summary: Incremental is a small library that versions your Python projects. |
|
4 |
+Name: python-incremental |
|
5 |
+Version: 16.10.1 |
|
6 |
+Release: 1%{?dist} |
|
7 |
+License: MIT |
|
8 |
+Group: Development/Languages/Python |
|
9 |
+Vendor: VMware, Inc. |
|
10 |
+Distribution: Photon |
|
11 |
+Url: https://pypi.python.org/pypi/incremental |
|
12 |
+Source0: incremental-%{version}.tar.gz |
|
13 |
+%define sha1 incremental=7ec58968fd367d20856488a8991f3a586c7a8695 |
|
14 |
+ |
|
15 |
+BuildRequires: python2 |
|
16 |
+BuildRequires: python2-libs |
|
17 |
+BuildRequires: python2-devel |
|
18 |
+BuildRequires: python-setuptools |
|
19 |
+ |
|
20 |
+Requires: python2 |
|
21 |
+Requires: python2-libs |
|
22 |
+ |
|
23 |
+BuildArch: noarch |
|
24 |
+ |
|
25 |
+%description |
|
26 |
+Incremental is a small library that versions your Python projects. |
|
27 |
+ |
|
28 |
+%package -n python3-incremental |
|
29 |
+Summary: python-incremental |
|
30 |
+BuildRequires: python3-devel |
|
31 |
+BuildRequires: python3-libs |
|
32 |
+ |
|
33 |
+Requires: python3 |
|
34 |
+Requires: python3-libs |
|
35 |
+%description -n python3-incremental |
|
36 |
+Python 3 version. |
|
37 |
+ |
|
38 |
+%prep |
|
39 |
+%setup -q -n incremental-%{version} |
|
40 |
+ |
|
41 |
+%build |
|
42 |
+python2 setup.py build |
|
43 |
+python3 setup.py build |
|
44 |
+ |
|
45 |
+ |
|
46 |
+%install |
|
47 |
+python2 setup.py install --prefix=%{_prefix} --root=%{buildroot} |
|
48 |
+python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} |
|
49 |
+ |
|
50 |
+%check |
|
51 |
+python2 setup.py test |
|
52 |
+python3 setup.py test |
|
53 |
+ |
|
54 |
+%files |
|
55 |
+%defattr(-,root,root) |
|
56 |
+%{python2_sitelib}/* |
|
57 |
+ |
|
58 |
+%files -n python3-incremental |
|
59 |
+%defattr(-,root,root) |
|
60 |
+%{python3_sitelib}/* |
|
61 |
+ |
|
62 |
+%changelog |
|
63 |
+* Mon Mar 06 2017 Xiaolin Li <xiaolinl@vmware.com> 16.10.1-1 |
|
64 |
+- Initial packaging for Photon. |
|
0 | 65 |
\ No newline at end of file |
1 | 66 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,67 @@ |
0 |
+%{!?python2_sitelib: %define python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")} |
|
1 |
+%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")} |
|
2 |
+ |
|
3 |
+Summary: Python NTP library |
|
4 |
+Name: python-ntplib |
|
5 |
+Version: 0.3.3 |
|
6 |
+Release: 1%{?dist} |
|
7 |
+License: MIT |
|
8 |
+Group: Development/Languages/Python |
|
9 |
+Vendor: VMware, Inc. |
|
10 |
+Distribution: Photon |
|
11 |
+Url: https://pypi.python.org/pypi/ntplib/ |
|
12 |
+Source0: ntplib-%{version}.tar.gz |
|
13 |
+%define sha1 ntplib=403ac0cc01398bacdf608d4aa35e74e36f5ad64d |
|
14 |
+ |
|
15 |
+BuildRequires: python2 |
|
16 |
+BuildRequires: python2-libs |
|
17 |
+BuildRequires: python2-devel |
|
18 |
+BuildRequires: python-setuptools |
|
19 |
+BuildRequires: python-incremental |
|
20 |
+ |
|
21 |
+Requires: python2 |
|
22 |
+Requires: python2-libs |
|
23 |
+ |
|
24 |
+BuildArch: noarch |
|
25 |
+ |
|
26 |
+%description |
|
27 |
+This module offers a simple interface to query NTP servers from Python. |
|
28 |
+ |
|
29 |
+It also provides utility functions to translate NTP fields values to text (mode, leap indicator…). Since it’s pure Python, and only depends on core modules, it should work on any platform with a Python implementation. |
|
30 |
+ |
|
31 |
+%package -n python3-ntplib |
|
32 |
+Summary: python-ntplib |
|
33 |
+BuildRequires: python3-devel |
|
34 |
+BuildRequires: python3-libs |
|
35 |
+ |
|
36 |
+Requires: python3 |
|
37 |
+Requires: python3-libs |
|
38 |
+%description -n python3-ntplib |
|
39 |
+Python 3 version. |
|
40 |
+ |
|
41 |
+%prep |
|
42 |
+%setup -q -n ntplib-%{version} |
|
43 |
+ |
|
44 |
+%build |
|
45 |
+python2 setup.py build |
|
46 |
+python3 setup.py build |
|
47 |
+ |
|
48 |
+%install |
|
49 |
+python2 setup.py install --prefix=%{_prefix} --root=%{buildroot} |
|
50 |
+python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} |
|
51 |
+ |
|
52 |
+%check |
|
53 |
+python2 setup.py test |
|
54 |
+python3 setup.py test |
|
55 |
+ |
|
56 |
+%files |
|
57 |
+%defattr(-,root,root) |
|
58 |
+%{python2_sitelib}/* |
|
59 |
+ |
|
60 |
+%files -n python3-ntplib |
|
61 |
+%defattr(-,root,root) |
|
62 |
+%{python3_sitelib}/* |
|
63 |
+ |
|
64 |
+%changelog |
|
65 |
+* Mon Mar 06 2017 Xiaolin Li <xiaolinl@vmware.com> 0.3.3-1 |
|
66 |
+- Initial packaging for Photon. |
|
0 | 67 |
\ No newline at end of file |
1 | 68 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,68 @@ |
0 |
+%{!?python2_sitelib: %define python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")} |
|
1 |
+%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")} |
|
2 |
+%{!?python3_version: %define python_version %(python3 -c "import sys; sys.stdout.write(sys.version[:3])")} |
|
3 |
+ |
|
4 |
+Summary: Pure Python Vi Implementation. |
|
5 |
+Name: python-pyvim |
|
6 |
+Version: 0.0.20 |
|
7 |
+Release: 1%{?dist} |
|
8 |
+License: UNKNOWN |
|
9 |
+Group: Development/Languages/Python |
|
10 |
+Vendor: VMware, Inc. |
|
11 |
+Distribution: Photon |
|
12 |
+Url: https://pypi.python.org/pypi/service_identity |
|
13 |
+Source0: pyvim-%{version}.tar.gz |
|
14 |
+%define sha1 pyvim=0bcda6d5f01be0b334f8bdf974b23c3f65e023ae |
|
15 |
+ |
|
16 |
+BuildRequires: python2 |
|
17 |
+BuildRequires: python2-libs |
|
18 |
+BuildRequires: python2-devel |
|
19 |
+BuildRequires: python-setuptools |
|
20 |
+ |
|
21 |
+Requires: python2 |
|
22 |
+Requires: python2-libs |
|
23 |
+ |
|
24 |
+BuildArch: noarch |
|
25 |
+ |
|
26 |
+%description |
|
27 |
+An implementation of Vim in Python. |
|
28 |
+ |
|
29 |
+%package -n python3-pyvim |
|
30 |
+Summary: python-pyvim |
|
31 |
+BuildRequires: python3-devel |
|
32 |
+BuildRequires: python3-libs |
|
33 |
+ |
|
34 |
+Requires: python3 |
|
35 |
+Requires: python3-libs |
|
36 |
+%description -n python3-pyvim |
|
37 |
+Python 3 version. |
|
38 |
+ |
|
39 |
+%prep |
|
40 |
+%setup -q -n pyvim-%{version} |
|
41 |
+ |
|
42 |
+%build |
|
43 |
+python2 setup.py build |
|
44 |
+python3 setup.py build |
|
45 |
+ |
|
46 |
+%install |
|
47 |
+python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} |
|
48 |
+mv %{buildroot}/%{_bindir}/pyvim %{buildroot}/%{_bindir}/pyvim-%{python3_version} |
|
49 |
+python2 setup.py install --prefix=%{_prefix} --root=%{buildroot} |
|
50 |
+ |
|
51 |
+%check |
|
52 |
+python2 setup.py test |
|
53 |
+python3 setup.py test |
|
54 |
+ |
|
55 |
+%files |
|
56 |
+%defattr(-,root,root) |
|
57 |
+%{python2_sitelib}/* |
|
58 |
+%{_bindir}/pyvim |
|
59 |
+ |
|
60 |
+%files -n python3-pyvim |
|
61 |
+%defattr(-,root,root) |
|
62 |
+%{python3_sitelib}/* |
|
63 |
+%{_bindir}/pyvim-%{python3_version} |
|
64 |
+ |
|
65 |
+%changelog |
|
66 |
+* Mon Mar 06 2017 Xiaolin Li <xiaolinl@vmware.com> 0.0.20-1 |
|
67 |
+- Initial packaging for Photon. |
|
0 | 68 |
\ No newline at end of file |
1 | 69 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,64 @@ |
0 |
+%{!?python2_sitelib: %define python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")} |
|
1 |
+%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")} |
|
2 |
+ |
|
3 |
+Summary: pyVmomi is the Python SDK for the VMware vSphere API that allows you to manage ESX, ESXi, and vCenter. |
|
4 |
+Name: python-pyvmomi |
|
5 |
+Version: 6.5 |
|
6 |
+Release: 1%{?dist} |
|
7 |
+License: OSI Approved :: Apache Software License |
|
8 |
+Group: Development/Languages/Python |
|
9 |
+Vendor: VMware, Inc. |
|
10 |
+Distribution: Photon |
|
11 |
+Url: https://pypi.python.org/pypi/pyvmomi |
|
12 |
+Source0: pyvmomi-%{version}.tar.gz |
|
13 |
+%define sha1 pyvmomi=3fd28a2f0f9d0c771bece4a7dab8fcb140942cbc |
|
14 |
+ |
|
15 |
+BuildRequires: python2 |
|
16 |
+BuildRequires: python2-libs |
|
17 |
+BuildRequires: python2-devel |
|
18 |
+BuildRequires: python-setuptools |
|
19 |
+ |
|
20 |
+Requires: python2 |
|
21 |
+Requires: python2-libs |
|
22 |
+ |
|
23 |
+BuildArch: noarch |
|
24 |
+ |
|
25 |
+%description |
|
26 |
+pyVmomi is the Python SDK for the VMware vSphere API that allows you to manage ESX, ESXi, and vCenter. |
|
27 |
+ |
|
28 |
+%package -n python3-pyvmomi |
|
29 |
+Summary: python-pyvmomi |
|
30 |
+BuildRequires: python3-devel |
|
31 |
+BuildRequires: python3-libs |
|
32 |
+ |
|
33 |
+Requires: python3 |
|
34 |
+Requires: python3-libs |
|
35 |
+%description -n python3-pyvmomi |
|
36 |
+Python 3 version. |
|
37 |
+ |
|
38 |
+%prep |
|
39 |
+%setup -q -n pyvmomi-%{version} |
|
40 |
+ |
|
41 |
+%build |
|
42 |
+python2 setup.py build |
|
43 |
+python3 setup.py build |
|
44 |
+ |
|
45 |
+%install |
|
46 |
+python2 setup.py install --prefix=%{_prefix} --root=%{buildroot} |
|
47 |
+python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} |
|
48 |
+ |
|
49 |
+%check |
|
50 |
+python2 setup.py test |
|
51 |
+python3 setup.py test |
|
52 |
+ |
|
53 |
+%files |
|
54 |
+%defattr(-,root,root) |
|
55 |
+%{python2_sitelib}/* |
|
56 |
+ |
|
57 |
+%files -n python3-pyvmomi |
|
58 |
+%defattr(-,root,root) |
|
59 |
+%{python3_sitelib}/* |
|
60 |
+ |
|
61 |
+%changelog |
|
62 |
+* Mon Mar 06 2017 Xiaolin Li <xiaolinl@vmware.com> 6.5-1 |
|
63 |
+- Initial packaging for Photon. |
... | ... |
@@ -1,19 +1,24 @@ |
1 |
+%{!?python2_sitelib: %define python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")} |
|
2 |
+%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")} |
|
3 |
+ |
|
4 |
+Summary: Awesome Python HTTP Library That's Actually Usable |
|
1 | 5 |
Name: python-requests |
2 | 6 |
Version: 2.9.1 |
3 |
-Release: 3%{?dist} |
|
4 |
-Url: http://python-requests.org |
|
5 |
-Summary: Awesome Python HTTP Library That's Actually Usable |
|
7 |
+Release: 4%{?dist} |
|
6 | 8 |
License: Apache2 |
7 | 9 |
Group: Development/Languages/Python |
10 |
+Vendor: VMware, Inc. |
|
11 |
+Distribution: Photon |
|
12 |
+Url: http://python-requests.org |
|
8 | 13 |
Source0: http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz |
9 | 14 |
%define sha1 requests=17f01c47a0d7c676f6291608ef2f43db3fa74095 |
10 | 15 |
|
11 |
-BuildRequires: python2 |
|
12 |
-BuildRequires: python2-libs |
|
13 |
-BuildRequires: python-setuptools |
|
16 |
+BuildRequires: python2 |
|
17 |
+BuildRequires: python2-libs |
|
18 |
+BuildRequires: python-setuptools |
|
14 | 19 |
|
15 | 20 |
Requires: python2 |
16 |
-Requires: python2-libs |
|
21 |
+Requires: python2-libs |
|
17 | 22 |
|
18 | 23 |
BuildArch: noarch |
19 | 24 |
|
... | ... |
@@ -41,29 +46,49 @@ Features: |
41 | 41 |
- Simple Authentication |
42 | 42 |
+ Simple URL + HTTP Auth Registry |
43 | 43 |
|
44 |
+%package -n python3-requests |
|
45 |
+Summary: python-requests |
|
46 |
+BuildRequires: python3-devel |
|
47 |
+BuildRequires: python3-libs |
|
48 |
+ |
|
49 |
+Requires: python3 |
|
50 |
+Requires: python3-libs |
|
51 |
+%description -n python3-requests |
|
52 |
+Python 3 version. |
|
53 |
+ |
|
44 | 54 |
%prep |
45 | 55 |
%setup -q -n requests-%{version} |
46 | 56 |
|
47 | 57 |
%build |
48 |
-python setup.py build |
|
58 |
+python2 setup.py build |
|
59 |
+python3 setup.py build |
|
49 | 60 |
|
50 | 61 |
%install |
51 |
-python setup.py install --prefix=%{_prefix} --root=%{buildroot} |
|
62 |
+python2 setup.py install --prefix=%{_prefix} --root=%{buildroot} |
|
63 |
+python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} |
|
52 | 64 |
|
53 | 65 |
%check |
54 |
-python setup.py test |
|
66 |
+python2 setup.py test |
|
67 |
+python3 setup.py test |
|
55 | 68 |
|
56 | 69 |
%files |
57 | 70 |
%defattr(-,root,root) |
58 | 71 |
%doc README.rst HISTORY.rst LICENSE NOTICE |
59 |
-%{python_sitelib}/* |
|
72 |
+%{python2_sitelib}/* |
|
73 |
+ |
|
74 |
+%files -n python3-requests |
|
75 |
+%defattr(-,root,root) |
|
76 |
+%doc README.rst HISTORY.rst LICENSE NOTICE |
|
77 |
+%{python3_sitelib}/* |
|
60 | 78 |
|
61 | 79 |
%changelog |
62 |
-* Mon Oct 04 2016 ChangLee <changlee@vmware.com> 2.9.1-3 |
|
63 |
-- Modified %check |
|
64 |
-* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.9.1-2 |
|
65 |
-- GA - Bump release of all rpms |
|
66 |
-* Tue Feb 23 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 2.9.1-1 |
|
67 |
-- Updated to version 2.9.1 |
|
68 |
-* Wed Mar 04 2015 Mahmoud Bassiouny <mbassiouny@vmware.com> |
|
69 |
-- Initial packaging for Photon |
|
80 |
+* Wed Mar 01 2017 Xiaolin Li <xiaolinl@vmware.com> 2.9.1-4 |
|
81 |
+- Added python3 package. |
|
82 |
+* Mon Oct 04 2016 ChangLee <changlee@vmware.com> 2.9.1-3 |
|
83 |
+- Modified %check |
|
84 |
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.9.1-2 |
|
85 |
+- GA - Bump release of all rpms |
|
86 |
+* Tue Feb 23 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 2.9.1-1 |
|
87 |
+- Updated to version 2.9.1 |
|
88 |
+* Wed Mar 04 2015 Mahmoud Bassiouny <mbassiouny@vmware.com> |
|
89 |
+- Initial packaging for Photon |
70 | 90 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,67 @@ |
0 |
+%{!?python2_sitelib: %define python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")} |
|
1 |
+%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")} |
|
2 |
+ |
|
3 |
+Summary: Service identity verification for pyOpenSSL. |
|
4 |
+Name: python-service_identity |
|
5 |
+Version: 16.0.0 |
|
6 |
+Release: 1%{?dist} |
|
7 |
+License: MIT |
|
8 |
+Group: Development/Languages/Python |
|
9 |
+Vendor: VMware, Inc. |
|
10 |
+Distribution: Photon |
|
11 |
+Url: https://pypi.python.org/pypi/service_identity |
|
12 |
+Source0: service_identity-%{version}.tar.gz |
|
13 |
+%define sha1 service_identity=42617f5abbd917c663aea58c4628b82e80d245ce |
|
14 |
+ |
|
15 |
+BuildRequires: python2 |
|
16 |
+BuildRequires: python2-libs |
|
17 |
+BuildRequires: python2-devel |
|
18 |
+BuildRequires: python-setuptools |
|
19 |
+BuildRequires: python-incremental |
|
20 |
+ |
|
21 |
+Requires: python2 |
|
22 |
+Requires: python2-libs |
|
23 |
+ |
|
24 |
+BuildArch: noarch |
|
25 |
+ |
|
26 |
+%description |
|
27 |
+service_identity aspires to give you all the tools you need for verifying whether a certificate is valid for the intended purposes. |
|
28 |
+ |
|
29 |
+In the simplest case, this means host name verification. However, service_identity implements RFC 6125 fully and plans to add other relevant RFCs too. |
|
30 |
+ |
|
31 |
+%package -n python3-service_identity |
|
32 |
+Summary: python-service_identity |
|
33 |
+BuildRequires: python3-devel |
|
34 |
+BuildRequires: python3-libs |
|
35 |
+ |
|
36 |
+Requires: python3 |
|
37 |
+Requires: python3-libs |
|
38 |
+%description -n python3-service_identity |
|
39 |
+Python 3 version. |
|
40 |
+ |
|
41 |
+%prep |
|
42 |
+%setup -q -n service_identity-%{version} |
|
43 |
+ |
|
44 |
+%build |
|
45 |
+python2 setup.py build |
|
46 |
+python3 setup.py build |
|
47 |
+ |
|
48 |
+%install |
|
49 |
+python2 setup.py install --prefix=%{_prefix} --root=%{buildroot} |
|
50 |
+python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} |
|
51 |
+ |
|
52 |
+%check |
|
53 |
+python2 setup.py test |
|
54 |
+python3 setup.py test |
|
55 |
+ |
|
56 |
+%files |
|
57 |
+%defattr(-,root,root) |
|
58 |
+%{python2_sitelib}/* |
|
59 |
+ |
|
60 |
+%files -n python3-service_identity |
|
61 |
+%defattr(-,root,root) |
|
62 |
+%{python3_sitelib}/* |
|
63 |
+ |
|
64 |
+%changelog |
|
65 |
+* Mon Mar 06 2017 Xiaolin Li <xiaolinl@vmware.com> 16.0.0-1 |
|
66 |
+- Initial packaging for Photon. |
|
0 | 67 |
\ No newline at end of file |
1 | 68 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,66 @@ |
0 |
+%{!?python2_sitelib: %define python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")} |
|
1 |
+%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")} |
|
2 |
+ |
|
3 |
+Summary: The Swiss Army knife of Python web development |
|
4 |
+Name: python-werkzeug |
|
5 |
+Version: 0.11.15 |
|
6 |
+Release: 1%{?dist} |
|
7 |
+License: BSD |
|
8 |
+Group: Development/Languages/Python |
|
9 |
+Vendor: VMware, Inc. |
|
10 |
+Distribution: Photon |
|
11 |
+Url: https://pypi.python.org/pypi/Werkzeug |
|
12 |
+Source0: Werkzeug-%{version}.tar.gz |
|
13 |
+%define sha1 Werkzeug=7ed22d01e666773b269b766a0aa31f8511cc7e01 |
|
14 |
+ |
|
15 |
+BuildRequires: python2 |
|
16 |
+BuildRequires: python2-libs |
|
17 |
+BuildRequires: python2-devel |
|
18 |
+BuildRequires: python-setuptools |
|
19 |
+BuildRequires: python-incremental |
|
20 |
+ |
|
21 |
+Requires: python2 |
|
22 |
+Requires: python2-libs |
|
23 |
+ |
|
24 |
+BuildArch: noarch |
|
25 |
+ |
|
26 |
+%description |
|
27 |
+Werkzeug started as simple collection of various utilities for WSGI applications and has become one of the most advanced WSGI utility modules. It includes a powerful debugger, full featured request and response objects, HTTP utilities to handle entity tags, cache control headers, HTTP dates, cookie handling, file uploads, a powerful URL routing system and a bunch of community contributed addon modules. |
|
28 |
+ |
|
29 |
+%package -n python3-werkzeug |
|
30 |
+Summary: python-werkzeug |
|
31 |
+BuildRequires: python3-devel |
|
32 |
+BuildRequires: python3-libs |
|
33 |
+ |
|
34 |
+Requires: python3 |
|
35 |
+Requires: python3-libs |
|
36 |
+%description -n python3-werkzeug |
|
37 |
+Python 3 version. |
|
38 |
+ |
|
39 |
+%prep |
|
40 |
+%setup -q -n Werkzeug-%{version} |
|
41 |
+ |
|
42 |
+%build |
|
43 |
+python2 setup.py build |
|
44 |
+python3 setup.py build |
|
45 |
+ |
|
46 |
+ |
|
47 |
+%install |
|
48 |
+python2 setup.py install --prefix=%{_prefix} --root=%{buildroot} |
|
49 |
+python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} |
|
50 |
+ |
|
51 |
+%check |
|
52 |
+python2 setup.py test |
|
53 |
+python3 setup.py test |
|
54 |
+ |
|
55 |
+%files |
|
56 |
+%defattr(-,root,root) |
|
57 |
+%{python2_sitelib}/* |
|
58 |
+ |
|
59 |
+%files -n python3-werkzeug |
|
60 |
+%defattr(-,root,root) |
|
61 |
+%{python3_sitelib}/* |
|
62 |
+ |
|
63 |
+%changelog |
|
64 |
+* Mon Mar 06 2017 Xiaolin Li <xiaolinl@vmware.com> 0.11.15-1 |
|
65 |
+- Initial packaging for Photon. |
|
0 | 66 |
\ No newline at end of file |