Browse code

Rename few python package's directory & spec files

Change-Id: Ifcee494a976242e48aaefd5e12a01073551126fe
Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/c/photon/+/22144
Tested-by: gerrit-photon <photon-checkins@vmware.com>

Shreenidhi Shedi authored on 2023/10/17 01:42:44
Showing 14 changed files
1 1
deleted file mode 100644
... ...
@@ -1,97 +0,0 @@
1
-%define debug_package %{nil}
2
-
3
-Name:           python3-PyYAML
4
-Version:        5.4.1
5
-Release:        2%{?dist}
6
-Summary:        YAML parser and emitter for Python
7
-Group:          Development/Libraries
8
-License:        MIT
9
-Vendor:         VMware, Inc.
10
-Distribution:   Photon
11
-URL:            http://pyyaml.org/
12
-Source0:        http://pyyaml.org/download/pyyaml/PyYAML-%{version}.tar.gz
13
-%define sha512  PyYAML=359c45d843fd839797572efeab121f17b1947647960dfb062f3618f25f71e1a6bc4bab14a1720b6b67f256089d5d48c452ec5419e3130222765c7ca41db11dad
14
-
15
-BuildRequires:  libyaml-devel
16
-BuildRequires:  python3-devel
17
-BuildRequires:  python3-setuptools
18
-BuildRequires:  cython3
19
-
20
-Requires:       python3-setuptools
21
-Requires:       python3
22
-Requires:       libyaml
23
-
24
-Provides:       python%{python3_version}dist(pyyaml)
25
-
26
-%description
27
-YAML is a data serialization format designed for human readability and
28
-interaction with scripting languages.  PyYAML is a YAML parser and
29
-emitter for Python.
30
-
31
-PyYAML features a complete YAML 1.1 parser, Unicode support, pickle
32
-support, capable extension API, and sensible error messages.  PyYAML
33
-supports standard YAML tags and provides Python-specific tags that allow
34
-to represent an arbitrary Python object.
35
-
36
-PyYAML is applicable for a broad range of tasks from complex
37
-configuration files to object serialization and persistence.
38
-
39
-%prep
40
-%autosetup -p1 -n PyYAML-%{version}
41
-
42
-%build
43
-%py3_build
44
-
45
-%install
46
-rm -rf %{buildroot}
47
-mkdir -p %{buildroot}/%{_bindir}
48
-%py3_install
49
-chmod a-x examples/yaml-highlight/yaml_hl.py
50
-
51
-%check
52
-python3 setup.py test
53
-
54
-%clean
55
-rm -rf %{buildroot}
56
-
57
-%files
58
-%defattr(-,root,root,-)
59
-%doc PKG-INFO README LICENSE examples
60
-%{python3_sitelib}/*
61
-
62
-%changelog
63
-* Wed Mar 01 2023 Nitesh Kumar <kunitesh@vmware.com> 5.4.1-2
64
-- Adding Requires cython3 to build with binding libyaml
65
-- as needed by ansible-posix v1.5.1
66
-* Mon Oct 10 2022 Prashant S Chauhan <psinghchauha@vmware.com> 5.4.1-1
67
-- Update release to compile with python 3.11
68
-* Mon Apr 12 2021 Gerrit Photon <photon-checkins@vmware.com> 5.3.1-1
69
-- Automatic Version Bump
70
-* Wed Jan 27 2021 Tapas Kundu <tkundu@vmware.com> 5.4.1-1
71
-- Update to 5.4.1
72
-* Wed Dec 16 2020 Shreenidhi Shedi <sshedi@vmware.com> 5.3.1-2
73
-- Fix build with new rpm
74
-* Wed Jul 29 2020 Gerrit Photon <photon-checkins@vmware.com> 5.3.1-1
75
-- Automatic Version Bump
76
-* Tue Jun 23 2020 Tapas Kundu <tkundu@vmware.com> 3.13-6
77
-- Mass removal python2
78
-* Wed Apr 08 2020 Tapas Kundu <tkundu@vmware.com> 3.13-5
79
-- Fix for CVE-2020-1747
80
-* Sat Mar 07 2020 Tapas Kundu <tkundu@vmware.com> 3.13-4
81
-- Fix for CVE-2019-20477
82
-* Tue Apr 16 2019 Tapas Kundu <tkundu@vmware.com> 3.13-3
83
-- Added lib3 changes for CVE-2017-18342
84
-- change default loader for yaml.add_constructor
85
-- Add custom constructors to multiple loaders
86
-* Thu Mar 28 2019 Ankit Jain <ankitja@vmware.com> 3.13-2
87
-- Fix for CVE-2017-18342
88
-* Thu Sep 20 2018 Tapas Kundu <tkundu@vmware.com> 3.13-1
89
-- Updated to release 3.13
90
-* Tue May 16 2017 Kumar Kaushik <kaushikk@vmware.com> 3.12-2
91
-- Adding python3 support.
92
-* Tue Apr 18 2017 Dheeraj Shetty <dheerajs@vmware.com> 3.12-1
93
-- Updated version to 3.12
94
-* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.11-2
95
-- GA - Bump release of all rpms
96
-* Wed Mar 04 2015 Mahmoud Bassiouny <mbassiouny@vmware.com>
97
-- Initial packaging for Photon
98 1
deleted file mode 100644
... ...
@@ -1,80 +0,0 @@
1
-Summary:        ECDSA cryptographic signature library (pure python)
2
-Name:           python3-ecdsa
3
-Version:        0.18.0
4
-Release:        1%{?dist}
5
-License:        MIT
6
-Group:          System Environment/Security
7
-Vendor:         VMware, Inc.
8
-Distribution:   Photon
9
-URL:            https://pypi.python.org/pypi/ecdsa
10
-Source0:        https://pypi.python.org/packages/source/e/ecdsa/ecdsa-%{version}.tar.gz
11
-%define         sha512 ecdsa=f26dbeccd8e6ec832405d419b7244ca97b43a2811513493913a4f2f2fd1d2f453068fe0ba7b90b972f42a0d7b9834212fbd4d4559475cffeb1d80075fa954d78
12
-BuildArch:      noarch
13
-BuildRequires:  python3-devel
14
-BuildRequires:  python3-setuptools
15
-BuildRequires:  python3-xml
16
-Requires:       python3
17
-
18
-%if 0%{?with_check}
19
-BuildRequires: python3-pip
20
-BuildRequires: python3-pytest
21
-BuildRequires: openssl
22
-%endif
23
-
24
-%description
25
-This is an easy-to-use implementation of ECDSA cryptography (Elliptic Curve
26
-Digital Signature Algorithm), implemented purely in Python, released under
27
-the MIT license. With this library, you can quickly create keypairs (signing
28
-key and verifying key), sign messages, and verify the signatures. The keys
29
-and signatures are very short, making them easy to handle and incorporate
30
-into other protocols.
31
-
32
-%prep
33
-%autosetup -n ecdsa-%{version}
34
-
35
-%build
36
-%py3_build
37
-
38
-%install
39
-python3 setup.py install -O1 --skip-build \
40
-    --root "%{buildroot}" \
41
-    --single-version-externally-managed
42
-
43
-%if 0%{?with_check}
44
-%check
45
-pip3 install --ignore-installed tox hypothesis
46
-tox -e coverage
47
-%endif
48
-
49
-%clean
50
-%{__rm} -rf %{buildroot}
51
-
52
-%files
53
-%defattr(-, root, root,-)
54
-%{python3_sitelib}/*
55
-
56
-%changelog
57
-* Tue Dec 13 2022 Gerrit Photon <photon-checkins@vmware.com> 0.18.0-1
58
-- Automatic Version Bump.
59
-* Fri Dec 02 2022 Prashant S Chauhan <psinghchauha@vmware.com> 0.17.0-2
60
-- Update release to compile with python 3.11
61
-* Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 0.17.0-1
62
-- Automatic Version Bump
63
-* Mon Apr 12 2021 Gerrit Photon <photon-checkins@vmware.com> 0.16.1-1
64
-- Automatic Version Bump
65
-* Tue Sep 01 2020 Gerrit Photon <photon-checkins@vmware.com> 0.16.0-1
66
-- Automatic Version Bump
67
-* Wed Jul 08 2020 Tapas Kundu <tkundu@vmware.com> 0.15-2
68
-- Mass removal python2
69
-* Mon Jun 22 2020 Gerrit Photon <photon-checkins@vmware.com> 0.15-1
70
-- Automatic Version Bump
71
-* Mon Jun 19 2017 Xiaolin Li <xiaolinl@vmware.com> 0.13-5
72
-- Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
73
-* Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 0.13-4
74
-- Use python2 explicitly
75
-* Mon Feb 27 2017 Xiaolin Li <xiaolinl@vmware.com> 0.13-3
76
-- Added python3 site-packages.
77
-* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.13-2
78
-- GA - Bump release of all rpms
79
-* Tue Jan 5 2016 Xiaolin Li <xiaolinl@vmware.com> 0.13-1
80
-- Initial build.  First version.
81 1
deleted file mode 100644
... ...
@@ -1,99 +0,0 @@
1
-Summary:        Python SSH module
2
-Name:           python3-paramiko
3
-Version:        2.12.0
4
-Release:        2%{?dist}
5
-License:        LGPL
6
-Group:          System Environment/Security
7
-Vendor:         VMware, Inc.
8
-Distribution:   Photon
9
-URL:            http://www.paramiko.org
10
-
11
-Source0:        https://github.com/paramiko/paramiko/archive/paramiko-%{version}.tar.gz
12
-%define sha512  paramiko=1bf325ffd393447cb90009d01dc1104d0d43a6acdd08cc6d28310063a649a333323748800dab119ab5e10833975e68f5f5702044fc247a2e8058122a5327f2c7
13
-
14
-BuildArch:      noarch
15
-
16
-BuildRequires:  python3-devel
17
-BuildRequires:  python3-ecdsa > 0.11
18
-BuildRequires:  python3-pycryptodome
19
-BuildRequires:  python3-cryptography
20
-BuildRequires:  python3-setuptools
21
-BuildRequires:  python3-xml
22
-
23
-Requires:       python3
24
-Requires:       python3-pycryptodome
25
-Requires:       python3-ecdsa > 0.11
26
-Requires:       python3-cryptography
27
-Requires:       python3-PyNaCl
28
-Requires:       python3-bcrypt
29
-
30
-%description
31
-"Paramiko" is a combination of the esperanto words for "paranoid" and "friend". It's a module for Python 2.6+ that implements the SSH2 protocol for secure (encrypted and authenticated) connections to remote machines. Unlike SSL (aka TLS), SSH2 protocol does not require hierarchical certificates signed by a powerful central authority.
32
-
33
-%prep
34
-%autosetup -p1 -n paramiko-%{version}
35
-
36
-%build
37
-%{py3_build}
38
-
39
-%install
40
-rm -rf %{buildroot}
41
-python3 setup.py install -O1 --skip-build \
42
-    --root "%{buildroot}" \
43
-    --single-version-externally-managed
44
-
45
-%check
46
-%if 0%{?with_check}
47
-LANG=en_US.UTF-8 python3 test.py
48
-%endif
49
-
50
-%clean
51
-rm -rf %{buildroot}
52
-
53
-%files
54
-%defattr(-, root, root)
55
-%{python3_sitelib}/*
56
-
57
-%changelog
58
-* Fri Jan 06 2023 Brennan Lamoreaux <blamoreaux@vmware.com> 2.12.0-2
59
-- Version bump for python3-ecdsa upgrade.
60
-* Tue Dec 13 2022 Gerrit Photon <photon-checkins@vmware.com> 2.12.0-1
61
-- Automatic Version Bump
62
-* Mon Oct 10 2022 Prashant S Chauhan <psinghchauha@vmware.com> 2.11.0-2
63
-- Replace deprecated pycrypto with pycryptodome
64
-* Wed Jun 01 2022 Gerrit Photon <photon-checkins@vmware.com> 2.11.0-1
65
-- Automatic Version Bump
66
-* Tue Apr 05 2022 Shreenidhi Shedi <sshedi@vmware.com> 2.10.3-1
67
-- Upgrade to v2.10.3
68
-* Tue Sep 01 2020 Gerrit Photon <photon-checkins@vmware.com> 2.7.2-1
69
-- Automatic Version Bump
70
-* Wed Jul 08 2020 Tapas Kundu <tkundu@vmware.com> 2.7.1-2
71
-- Mass removal python2
72
-* Mon Jun 22 2020 Gerrit Photon <photon-checkins@vmware.com> 2.7.1-1
73
-- Automatic Version Bump
74
-* Wed Mar 06 2019 Tapas Kundu <tkundu@vmware.com> 2.4.2-2
75
-- Added bcrypt and PyNaCl to requires.
76
-* Thu Jan 10 2019 Siju Maliakkal <smaliakkal@vmware.com> 2.4.2-1
77
-- Upgraded to 2.4.2 to mitigate CVE-2018-1000805
78
-* Tue Sep 11 2018 Him Kalyan Bordoloi <bordoloih@vmware.com> 2.4.1-1
79
-- Update version to 2.4.1
80
-* Mon Apr 16 2018 Xiaolin Li <xiaolinl@vmware.com> 2.1.5-1
81
-- Update version to 2.1.5 for CVE-2018-1000132
82
-* Tue Jul 25 2017 Divya Thaluru <dthaluru@vmware.com> 2.1.2-5
83
-- Fixed test command
84
-* Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 2.1.2-4
85
-- Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
86
-* Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 2.1.2-3
87
-- Use python2 explicitly while building
88
-* Fri May 05 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.1.2-2
89
-- Added missing requires python-cryptography
90
-* Sat Apr 15 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.1.2-1
91
-- Update to 2.1.2
92
-* Mon Feb 27 2017 Xiaolin Li <xiaolinl@vmware.com> 1.16.0-4
93
-- Added python3 site-packages.
94
-* Fri Oct 07 2016 ChangLee <changlee@vmware.com> 1.16.0-3
95
-- Modified %check
96
-* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.16.0-2
97
-- GA - Bump release of all rpms
98
-* Tue Jan 5 2016 Xiaolin Li <xiaolinl@vmware.com> 1.16.0-1
99
-- Initial build.  First version
100 1
deleted file mode 100644
... ...
@@ -1,51 +0,0 @@
1
-+++ b/tests/test_error.py	2018-09-29 00:34:04.128556337 +0530
2
-@@ -28,6 +28,8 @@ import unittest
3
- import pickle
4
- 
5
- from gi.repository import GLib
6
-+import gi
7
-+gi.require_version('GIMarshallingTests', '1.0')
8
- from gi.repository import GIMarshallingTests
9
- 
10
- 
11
-+++ b/tests/test_gi.py	2018-09-29 00:34:42.848558014 +0530
12
-@@ -1783,7 +1783,7 @@ class TestPointer(unittest.TestCase):
13
-     def test_pointer_in_return(self):
14
-         self.assertEqual(GIMarshallingTests.pointer_in_return(42), 42)
15
- 
16
--
17
-+@unittest.skip("disabled photon build")
18
- class TestEnum(unittest.TestCase):
19
- 
20
-     def test_enum(self):
21
-+++ b/tests/test_gtype.py	2018-09-29 00:35:30.048560060 +0530
22
-@@ -3,6 +3,8 @@ from __future__ import absolute_import
23
- import unittest
24
- 
25
- from gi.repository import GObject
26
-+import gi
27
-+gi.require_version('GIMarshallingTests', '1.0')
28
- from gi.repository import GIMarshallingTests
29
- 
30
- 
31
-+++ b/tests/test_iochannel.py	2018-09-29 00:36:33.632562815 +0530
32
-@@ -55,6 +55,7 @@ second line
33
-         self.assertEqual(ch.readline(), '')
34
-         ch.shutdown(True)
35
- 
36
-+    @unittest.skip("disabled photon build")
37
-     def test_file_readline_latin1(self):
38
-         ch = GLib.IOChannel(filename=self.testlatin1, mode='r')
39
-         ch.set_encoding('latin1')
40
-@@ -118,6 +119,7 @@ second line
41
-         self.assertRaises(ValueError, ch.seek, 0, 3)
42
-         ch.shutdown(True)
43
- 
44
-+    @unittest.skip("disabled photon build")
45
-     def test_file_write(self):
46
-         ch = GLib.IOChannel(filename=self.testout, mode='w')
47
-         ch.set_encoding('latin1')
48 1
deleted file mode 100644
... ...
@@ -1,110 +0,0 @@
1
-Name:           python3-pygobject
2
-Version:        3.42.2
3
-Release:        2%{?dist}
4
-Summary:        Python Bindings for GObject
5
-Group:          Development/Languages
6
-License:        LGPLv2+
7
-Vendor:         VMware, Inc.
8
-Distribution:   Photon
9
-URL:            https://pypi.org/project/PyGObject
10
-
11
-Source0:        https://pypi.org/project/PyGObject/#files/PyGObject-%{version}.tar.gz
12
-%define sha512  PyGObject=ba48ba470c78d76f4090460df286d926e15c4063374a1d3afa89dd374230a042aca53d864fc0efaf67efdba5723fe15440d34888a0b45c97d73c5c4cfe17559c
13
-
14
-%if 0%{?with_check}
15
-Patch0:         pygobject-makecheck-fixes.patch
16
-%endif
17
-
18
-Requires:       python3
19
-Requires:       gobject-introspection
20
-Requires:       glib
21
-
22
-BuildRequires:  python3-setuptools
23
-BuildRequires:  glib-devel
24
-BuildRequires:  python3-devel
25
-BuildRequires:  gobject-introspection-devel
26
-BuildRequires:  which
27
-
28
-%if 0%{?with_check}
29
-BuildRequires:  python3-gobject-introspection
30
-BuildRequires:  python3-test
31
-BuildRequires:  glib-schemas
32
-BuildRequires:  dbus
33
-BuildRequires:  curl-devel
34
-BuildRequires:  openssl-devel
35
-BuildRequires:  python3-xml
36
-%endif
37
-
38
-%description
39
-Python bindings for GLib and GObject.
40
-
41
-%package        devel
42
-Summary:        Development files for embedding PyGObject introspection support
43
-Requires:       python3-pygobject = %{version}-%{release}
44
-
45
-%description    devel
46
-Development files for pygobject.
47
-
48
-%prep
49
-%autosetup -p1 -n PyGObject-%{version}
50
-
51
-%build
52
-export PYGOBJECT_WITHOUT_PYCAIRO='True'
53
-%py3_build
54
-
55
-%install
56
-export PYGOBJECT_WITHOUT_PYCAIRO='True'
57
-%py3_install
58
-
59
-%check
60
-%if 0%{?with_check}
61
-easy_install_3=$(ls /usr/bin |grep easy_install |grep 3)
62
-$easy_install_3 pytest
63
-python3 setup.py test
64
-%endif
65
-
66
-%clean
67
-rm -rf %{buildroot}
68
-
69
-%files
70
-%defattr(-,root,root,-)
71
-%{python3_sitelib}/*
72
-
73
-%files  devel
74
-%defattr(-,root,root,-)
75
-%{_libdir}/pkgconfig/*.pc
76
-%{_includedir}/*
77
-
78
-%changelog
79
-* Fri Dec 02 2022 Prashant S Chauhan <psinghchauha@vmware.com> 3.42.2-2
80
-- Update release to compile with python 3.11
81
-* Sun Aug 21 2022 Gerrit Photon <photon-checkins@vmware.com> 3.42.2-1
82
-- Automatic Version Bump
83
-* Wed May 11 2022 Shreenidhi Shedi <sshedi@vmware.com> 3.38.0-4
84
-- Bump version as a part of libffi upgrade
85
-* Tue Dec 15 2020 Shreenidhi Shedi <sshedi@vmware.com> 3.38.0-3
86
-- Fix build with new rpm
87
-* Tue Sep 29 2020 Satya Naga Vasamsetty <svasamsetty@vmware.com> 3.38.0-2
88
-- openssl 1.1.1
89
-* Mon Sep 21 2020 Gerrit Photon <photon-checkins@vmware.com> 3.38.0-1
90
-- Automatic Version Bump
91
-* Tue Jun 30 2020 Gerrit Photon <photon-checkins@vmware.com> 3.36.1-1
92
-- Automatic Version Bump
93
-* Sun Jun 21 2020 Tapas Kundu <tkundu@vmware.com> 3.30.1-3
94
-- Mass removal python2
95
-* Thu Dec 06 2018 Tapas Kundu <tkundu@vmware.com> 3.30.1-2
96
-- Fix makecheck
97
-* Thu Sep 27 2018 Tapas Kundu <tkundu@vmware.com> 3.30.1-1
98
-- Updated to release 3.30.1
99
-* Tue Sep 19 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.24.1-3
100
-- Skip some ui make check paths that failed.
101
-* Thu Aug 10 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.24.1-2
102
-- Fix make check
103
-* Fri Apr 14 2017 Xiaolin Li <xiaolinl@vmware.com> 3.24.1-1
104
-- Updated to version 3.24.1 and added python3 package.
105
-* Mon Oct 03 2016 ChangLee <changLee@vmware.com> 3.10.2-3
106
-- Modified %check
107
-* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.10.2-2
108
-- GA - Bump release of all rpms
109
-* Sat Jan 24 2015 Touseef Liaqat <tliaqat@vmware.com> 7.19.5.1
110
-- Initial build.  First version
111 1
new file mode 100644
... ...
@@ -0,0 +1,97 @@
0
+%define debug_package %{nil}
1
+
2
+Name:           python3-PyYAML
3
+Version:        5.4.1
4
+Release:        2%{?dist}
5
+Summary:        YAML parser and emitter for Python
6
+Group:          Development/Libraries
7
+License:        MIT
8
+Vendor:         VMware, Inc.
9
+Distribution:   Photon
10
+URL:            http://pyyaml.org/
11
+Source0:        http://pyyaml.org/download/pyyaml/PyYAML-%{version}.tar.gz
12
+%define sha512  PyYAML=359c45d843fd839797572efeab121f17b1947647960dfb062f3618f25f71e1a6bc4bab14a1720b6b67f256089d5d48c452ec5419e3130222765c7ca41db11dad
13
+
14
+BuildRequires:  libyaml-devel
15
+BuildRequires:  python3-devel
16
+BuildRequires:  python3-setuptools
17
+BuildRequires:  cython3
18
+
19
+Requires:       python3-setuptools
20
+Requires:       python3
21
+Requires:       libyaml
22
+
23
+Provides:       python%{python3_version}dist(pyyaml)
24
+
25
+%description
26
+YAML is a data serialization format designed for human readability and
27
+interaction with scripting languages.  PyYAML is a YAML parser and
28
+emitter for Python.
29
+
30
+PyYAML features a complete YAML 1.1 parser, Unicode support, pickle
31
+support, capable extension API, and sensible error messages.  PyYAML
32
+supports standard YAML tags and provides Python-specific tags that allow
33
+to represent an arbitrary Python object.
34
+
35
+PyYAML is applicable for a broad range of tasks from complex
36
+configuration files to object serialization and persistence.
37
+
38
+%prep
39
+%autosetup -p1 -n PyYAML-%{version}
40
+
41
+%build
42
+%py3_build
43
+
44
+%install
45
+rm -rf %{buildroot}
46
+mkdir -p %{buildroot}/%{_bindir}
47
+%py3_install
48
+chmod a-x examples/yaml-highlight/yaml_hl.py
49
+
50
+%check
51
+python3 setup.py test
52
+
53
+%clean
54
+rm -rf %{buildroot}
55
+
56
+%files
57
+%defattr(-,root,root,-)
58
+%doc PKG-INFO README LICENSE examples
59
+%{python3_sitelib}/*
60
+
61
+%changelog
62
+* Wed Mar 01 2023 Nitesh Kumar <kunitesh@vmware.com> 5.4.1-2
63
+- Adding Requires cython3 to build with binding libyaml
64
+- as needed by ansible-posix v1.5.1
65
+* Mon Oct 10 2022 Prashant S Chauhan <psinghchauha@vmware.com> 5.4.1-1
66
+- Update release to compile with python 3.11
67
+* Mon Apr 12 2021 Gerrit Photon <photon-checkins@vmware.com> 5.3.1-1
68
+- Automatic Version Bump
69
+* Wed Jan 27 2021 Tapas Kundu <tkundu@vmware.com> 5.4.1-1
70
+- Update to 5.4.1
71
+* Wed Dec 16 2020 Shreenidhi Shedi <sshedi@vmware.com> 5.3.1-2
72
+- Fix build with new rpm
73
+* Wed Jul 29 2020 Gerrit Photon <photon-checkins@vmware.com> 5.3.1-1
74
+- Automatic Version Bump
75
+* Tue Jun 23 2020 Tapas Kundu <tkundu@vmware.com> 3.13-6
76
+- Mass removal python2
77
+* Wed Apr 08 2020 Tapas Kundu <tkundu@vmware.com> 3.13-5
78
+- Fix for CVE-2020-1747
79
+* Sat Mar 07 2020 Tapas Kundu <tkundu@vmware.com> 3.13-4
80
+- Fix for CVE-2019-20477
81
+* Tue Apr 16 2019 Tapas Kundu <tkundu@vmware.com> 3.13-3
82
+- Added lib3 changes for CVE-2017-18342
83
+- change default loader for yaml.add_constructor
84
+- Add custom constructors to multiple loaders
85
+* Thu Mar 28 2019 Ankit Jain <ankitja@vmware.com> 3.13-2
86
+- Fix for CVE-2017-18342
87
+* Thu Sep 20 2018 Tapas Kundu <tkundu@vmware.com> 3.13-1
88
+- Updated to release 3.13
89
+* Tue May 16 2017 Kumar Kaushik <kaushikk@vmware.com> 3.12-2
90
+- Adding python3 support.
91
+* Tue Apr 18 2017 Dheeraj Shetty <dheerajs@vmware.com> 3.12-1
92
+- Updated version to 3.12
93
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.11-2
94
+- GA - Bump release of all rpms
95
+* Wed Mar 04 2015 Mahmoud Bassiouny <mbassiouny@vmware.com>
96
+- Initial packaging for Photon
0 97
new file mode 100644
... ...
@@ -0,0 +1,80 @@
0
+Summary:        ECDSA cryptographic signature library (pure python)
1
+Name:           python3-ecdsa
2
+Version:        0.18.0
3
+Release:        1%{?dist}
4
+License:        MIT
5
+Group:          System Environment/Security
6
+Vendor:         VMware, Inc.
7
+Distribution:   Photon
8
+URL:            https://pypi.python.org/pypi/ecdsa
9
+Source0:        https://pypi.python.org/packages/source/e/ecdsa/ecdsa-%{version}.tar.gz
10
+%define         sha512 ecdsa=f26dbeccd8e6ec832405d419b7244ca97b43a2811513493913a4f2f2fd1d2f453068fe0ba7b90b972f42a0d7b9834212fbd4d4559475cffeb1d80075fa954d78
11
+BuildArch:      noarch
12
+BuildRequires:  python3-devel
13
+BuildRequires:  python3-setuptools
14
+BuildRequires:  python3-xml
15
+Requires:       python3
16
+
17
+%if 0%{?with_check}
18
+BuildRequires: python3-pip
19
+BuildRequires: python3-pytest
20
+BuildRequires: openssl
21
+%endif
22
+
23
+%description
24
+This is an easy-to-use implementation of ECDSA cryptography (Elliptic Curve
25
+Digital Signature Algorithm), implemented purely in Python, released under
26
+the MIT license. With this library, you can quickly create keypairs (signing
27
+key and verifying key), sign messages, and verify the signatures. The keys
28
+and signatures are very short, making them easy to handle and incorporate
29
+into other protocols.
30
+
31
+%prep
32
+%autosetup -n ecdsa-%{version}
33
+
34
+%build
35
+%py3_build
36
+
37
+%install
38
+python3 setup.py install -O1 --skip-build \
39
+    --root "%{buildroot}" \
40
+    --single-version-externally-managed
41
+
42
+%if 0%{?with_check}
43
+%check
44
+pip3 install --ignore-installed tox hypothesis
45
+tox -e coverage
46
+%endif
47
+
48
+%clean
49
+%{__rm} -rf %{buildroot}
50
+
51
+%files
52
+%defattr(-, root, root,-)
53
+%{python3_sitelib}/*
54
+
55
+%changelog
56
+* Tue Dec 13 2022 Gerrit Photon <photon-checkins@vmware.com> 0.18.0-1
57
+- Automatic Version Bump.
58
+* Fri Dec 02 2022 Prashant S Chauhan <psinghchauha@vmware.com> 0.17.0-2
59
+- Update release to compile with python 3.11
60
+* Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 0.17.0-1
61
+- Automatic Version Bump
62
+* Mon Apr 12 2021 Gerrit Photon <photon-checkins@vmware.com> 0.16.1-1
63
+- Automatic Version Bump
64
+* Tue Sep 01 2020 Gerrit Photon <photon-checkins@vmware.com> 0.16.0-1
65
+- Automatic Version Bump
66
+* Wed Jul 08 2020 Tapas Kundu <tkundu@vmware.com> 0.15-2
67
+- Mass removal python2
68
+* Mon Jun 22 2020 Gerrit Photon <photon-checkins@vmware.com> 0.15-1
69
+- Automatic Version Bump
70
+* Mon Jun 19 2017 Xiaolin Li <xiaolinl@vmware.com> 0.13-5
71
+- Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
72
+* Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 0.13-4
73
+- Use python2 explicitly
74
+* Mon Feb 27 2017 Xiaolin Li <xiaolinl@vmware.com> 0.13-3
75
+- Added python3 site-packages.
76
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.13-2
77
+- GA - Bump release of all rpms
78
+* Tue Jan 5 2016 Xiaolin Li <xiaolinl@vmware.com> 0.13-1
79
+- Initial build.  First version.
0 80
new file mode 100644
... ...
@@ -0,0 +1,99 @@
0
+Summary:        Python SSH module
1
+Name:           python3-paramiko
2
+Version:        2.12.0
3
+Release:        2%{?dist}
4
+License:        LGPL
5
+Group:          System Environment/Security
6
+Vendor:         VMware, Inc.
7
+Distribution:   Photon
8
+URL:            http://www.paramiko.org
9
+
10
+Source0:        https://github.com/paramiko/paramiko/archive/paramiko-%{version}.tar.gz
11
+%define sha512  paramiko=1bf325ffd393447cb90009d01dc1104d0d43a6acdd08cc6d28310063a649a333323748800dab119ab5e10833975e68f5f5702044fc247a2e8058122a5327f2c7
12
+
13
+BuildArch:      noarch
14
+
15
+BuildRequires:  python3-devel
16
+BuildRequires:  python3-ecdsa > 0.11
17
+BuildRequires:  python3-pycryptodome
18
+BuildRequires:  python3-cryptography
19
+BuildRequires:  python3-setuptools
20
+BuildRequires:  python3-xml
21
+
22
+Requires:       python3
23
+Requires:       python3-pycryptodome
24
+Requires:       python3-ecdsa > 0.11
25
+Requires:       python3-cryptography
26
+Requires:       python3-PyNaCl
27
+Requires:       python3-bcrypt
28
+
29
+%description
30
+"Paramiko" is a combination of the esperanto words for "paranoid" and "friend". It's a module for Python 2.6+ that implements the SSH2 protocol for secure (encrypted and authenticated) connections to remote machines. Unlike SSL (aka TLS), SSH2 protocol does not require hierarchical certificates signed by a powerful central authority.
31
+
32
+%prep
33
+%autosetup -p1 -n paramiko-%{version}
34
+
35
+%build
36
+%{py3_build}
37
+
38
+%install
39
+rm -rf %{buildroot}
40
+python3 setup.py install -O1 --skip-build \
41
+    --root "%{buildroot}" \
42
+    --single-version-externally-managed
43
+
44
+%check
45
+%if 0%{?with_check}
46
+LANG=en_US.UTF-8 python3 test.py
47
+%endif
48
+
49
+%clean
50
+rm -rf %{buildroot}
51
+
52
+%files
53
+%defattr(-, root, root)
54
+%{python3_sitelib}/*
55
+
56
+%changelog
57
+* Fri Jan 06 2023 Brennan Lamoreaux <blamoreaux@vmware.com> 2.12.0-2
58
+- Version bump for python3-ecdsa upgrade.
59
+* Tue Dec 13 2022 Gerrit Photon <photon-checkins@vmware.com> 2.12.0-1
60
+- Automatic Version Bump
61
+* Mon Oct 10 2022 Prashant S Chauhan <psinghchauha@vmware.com> 2.11.0-2
62
+- Replace deprecated pycrypto with pycryptodome
63
+* Wed Jun 01 2022 Gerrit Photon <photon-checkins@vmware.com> 2.11.0-1
64
+- Automatic Version Bump
65
+* Tue Apr 05 2022 Shreenidhi Shedi <sshedi@vmware.com> 2.10.3-1
66
+- Upgrade to v2.10.3
67
+* Tue Sep 01 2020 Gerrit Photon <photon-checkins@vmware.com> 2.7.2-1
68
+- Automatic Version Bump
69
+* Wed Jul 08 2020 Tapas Kundu <tkundu@vmware.com> 2.7.1-2
70
+- Mass removal python2
71
+* Mon Jun 22 2020 Gerrit Photon <photon-checkins@vmware.com> 2.7.1-1
72
+- Automatic Version Bump
73
+* Wed Mar 06 2019 Tapas Kundu <tkundu@vmware.com> 2.4.2-2
74
+- Added bcrypt and PyNaCl to requires.
75
+* Thu Jan 10 2019 Siju Maliakkal <smaliakkal@vmware.com> 2.4.2-1
76
+- Upgraded to 2.4.2 to mitigate CVE-2018-1000805
77
+* Tue Sep 11 2018 Him Kalyan Bordoloi <bordoloih@vmware.com> 2.4.1-1
78
+- Update version to 2.4.1
79
+* Mon Apr 16 2018 Xiaolin Li <xiaolinl@vmware.com> 2.1.5-1
80
+- Update version to 2.1.5 for CVE-2018-1000132
81
+* Tue Jul 25 2017 Divya Thaluru <dthaluru@vmware.com> 2.1.2-5
82
+- Fixed test command
83
+* Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 2.1.2-4
84
+- Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
85
+* Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 2.1.2-3
86
+- Use python2 explicitly while building
87
+* Fri May 05 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.1.2-2
88
+- Added missing requires python-cryptography
89
+* Sat Apr 15 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.1.2-1
90
+- Update to 2.1.2
91
+* Mon Feb 27 2017 Xiaolin Li <xiaolinl@vmware.com> 1.16.0-4
92
+- Added python3 site-packages.
93
+* Fri Oct 07 2016 ChangLee <changlee@vmware.com> 1.16.0-3
94
+- Modified %check
95
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.16.0-2
96
+- GA - Bump release of all rpms
97
+* Tue Jan 5 2016 Xiaolin Li <xiaolinl@vmware.com> 1.16.0-1
98
+- Initial build.  First version
0 99
new file mode 100644
... ...
@@ -0,0 +1,51 @@
0
+--- a/tests/test_error.py	2018-09-29 00:32:59.220553524 +0530
1
+@@ -28,6 +28,8 @@ import unittest
2
+ import pickle
3
+ 
4
+ from gi.repository import GLib
5
++import gi
6
++gi.require_version('GIMarshallingTests', '1.0')
7
+ from gi.repository import GIMarshallingTests
8
+ 
9
+ 
10
+--- a/tests/test_gi.py	2018-09-29 00:34:17.392556911 +0530
11
+@@ -1783,7 +1783,7 @@ class TestPointer(unittest.TestCase):
12
+     def test_pointer_in_return(self):
13
+         self.assertEqual(GIMarshallingTests.pointer_in_return(42), 42)
14
+ 
15
+-
16
++@unittest.skip("disabled photon build")
17
+ class TestEnum(unittest.TestCase):
18
+ 
19
+     def test_enum(self):
20
+--- a/tests/test_gtype.py	2018-09-29 00:34:59.732558746 +0530
21
+@@ -3,6 +3,8 @@ from __future__ import absolute_import
22
+ import unittest
23
+ 
24
+ from gi.repository import GObject
25
++import gi
26
++gi.require_version('GIMarshallingTests', '1.0')
27
+ from gi.repository import GIMarshallingTests
28
+ 
29
+ 
30
+--- a/tests/test_iochannel.py	2018-09-29 00:35:44.260560675 +0530
31
+@@ -55,6 +55,7 @@ second line
32
+         self.assertEqual(ch.readline(), '')
33
+         ch.shutdown(True)
34
+ 
35
++    @unittest.skip("disabled photon build")
36
+     def test_file_readline_latin1(self):
37
+         ch = GLib.IOChannel(filename=self.testlatin1, mode='r')
38
+         ch.set_encoding('latin1')
39
+@@ -118,6 +119,7 @@ second line
40
+         self.assertRaises(ValueError, ch.seek, 0, 3)
41
+         ch.shutdown(True)
42
+ 
43
++    @unittest.skip("disabled photon build")
44
+     def test_file_write(self):
45
+         ch = GLib.IOChannel(filename=self.testout, mode='w')
46
+         ch.set_encoding('latin1')
0 47
new file mode 100644
... ...
@@ -0,0 +1,108 @@
0
+Name:           python3-pygobject
1
+Version:        3.42.2
2
+Release:        2%{?dist}
3
+Summary:        Python Bindings for GObject
4
+Group:          Development/Languages
5
+License:        LGPLv2+
6
+Vendor:         VMware, Inc.
7
+Distribution:   Photon
8
+URL:            https://pypi.org/project/PyGObject
9
+
10
+Source0: https://pypi.org/project/PyGObject/#files/PyGObject-%{version}.tar.gz
11
+%define sha512 PyGObject=ba48ba470c78d76f4090460df286d926e15c4063374a1d3afa89dd374230a042aca53d864fc0efaf67efdba5723fe15440d34888a0b45c97d73c5c4cfe17559c
12
+
13
+%if 0%{?with_check}
14
+Patch0:         pygobject-makecheck-fixes.patch
15
+%endif
16
+
17
+Requires:       python3
18
+Requires:       gobject-introspection
19
+Requires:       glib
20
+
21
+BuildRequires:  python3-setuptools
22
+BuildRequires:  glib-devel
23
+BuildRequires:  python3-devel
24
+BuildRequires:  gobject-introspection-devel
25
+BuildRequires:  which
26
+
27
+%if 0%{?with_check}
28
+BuildRequires:  python3-gobject-introspection
29
+BuildRequires:  python3-pytest
30
+BuildRequires:  python3-pip
31
+BuildRequires:  glib-schemas
32
+BuildRequires:  dbus
33
+BuildRequires:  curl-devel
34
+BuildRequires:  openssl-devel
35
+BuildRequires:  python3-xml
36
+%endif
37
+
38
+%description
39
+Python bindings for GLib and GObject.
40
+
41
+%package        devel
42
+Summary:        Development files for embedding PyGObject introspection support
43
+Requires:       %{name} = %{version}-%{release}
44
+
45
+%description    devel
46
+Development files for pygobject.
47
+
48
+%prep
49
+%autosetup -p1 -n PyGObject-%{version}
50
+
51
+%build
52
+export PYGOBJECT_WITHOUT_PYCAIRO='True'
53
+%{py3_build}
54
+
55
+%install
56
+export PYGOBJECT_WITHOUT_PYCAIRO='True'
57
+%{py3_install}
58
+
59
+%check
60
+pip3 install tomli
61
+python3 setup.py test
62
+
63
+%clean
64
+rm -rf %{buildroot}
65
+
66
+%files
67
+%defattr(-,root,root,-)
68
+%{python3_sitelib}/*
69
+
70
+%files  devel
71
+%defattr(-,root,root,-)
72
+%{_libdir}/pkgconfig/*.pc
73
+%{_includedir}/*
74
+
75
+%changelog
76
+* Fri Dec 02 2022 Prashant S Chauhan <psinghchauha@vmware.com> 3.42.2-2
77
+- Update release to compile with python 3.11
78
+* Sun Aug 21 2022 Gerrit Photon <photon-checkins@vmware.com> 3.42.2-1
79
+- Automatic Version Bump
80
+* Wed May 11 2022 Shreenidhi Shedi <sshedi@vmware.com> 3.38.0-4
81
+- Bump version as a part of libffi upgrade
82
+* Tue Dec 15 2020 Shreenidhi Shedi <sshedi@vmware.com> 3.38.0-3
83
+- Fix build with new rpm
84
+* Tue Sep 29 2020 Satya Naga Vasamsetty <svasamsetty@vmware.com> 3.38.0-2
85
+- openssl 1.1.1
86
+* Mon Sep 21 2020 Gerrit Photon <photon-checkins@vmware.com> 3.38.0-1
87
+- Automatic Version Bump
88
+* Tue Jun 30 2020 Gerrit Photon <photon-checkins@vmware.com> 3.36.1-1
89
+- Automatic Version Bump
90
+* Sun Jun 21 2020 Tapas Kundu <tkundu@vmware.com> 3.30.1-3
91
+- Mass removal python2
92
+* Thu Dec 06 2018 Tapas Kundu <tkundu@vmware.com> 3.30.1-2
93
+- Fix makecheck
94
+* Thu Sep 27 2018 Tapas Kundu <tkundu@vmware.com> 3.30.1-1
95
+- Updated to release 3.30.1
96
+* Tue Sep 19 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.24.1-3
97
+- Skip some ui make check paths that failed.
98
+* Thu Aug 10 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.24.1-2
99
+- Fix make check
100
+* Fri Apr 14 2017 Xiaolin Li <xiaolinl@vmware.com> 3.24.1-1
101
+- Updated to version 3.24.1 and added python3 package.
102
+* Mon Oct 03 2016 ChangLee <changLee@vmware.com> 3.10.2-3
103
+- Modified %check
104
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.10.2-2
105
+- GA - Bump release of all rpms
106
+* Sat Jan 24 2015 Touseef Liaqat <tliaqat@vmware.com> 7.19.5.1
107
+- Initial build.  First version
0 108
new file mode 100644
... ...
@@ -0,0 +1,51 @@
0
+Name:           python3-tornado
1
+Version:        6.2
2
+Release:        2%{?dist}
3
+Summary:        Tornado is a Python web framework and asynchronous networking library
4
+License:        PSFL
5
+Group:          Development/Languages/Python
6
+Url:            https://pypi.python.org/pypi/tornado
7
+Source0:        https://pypi.python.org/packages/fa/14/52e2072197dd0e63589e875ebf5984c91a027121262aa08f71a49b958359/tornado-%{version}.tar.gz
8
+%define sha512  tornado=157cbeee21bef29ac68b319329e7fc57db4c68dbb5a245e2171b7a28427ebbfe16b745e3bdbdec5912caae5eaa60c3cbbf8830c9c76fec5ffdf025e234468517
9
+
10
+Vendor:         VMware, Inc.
11
+Distribution:   Photon
12
+
13
+BuildRequires:  python3 python3-setuptools
14
+BuildRequires:  python3-devel
15
+BuildRequires:  python3-libs
16
+Requires:       python3
17
+Requires:       python3-libs
18
+
19
+%description
20
+Tornado is a Python web framework and asynchronous networking library
21
+
22
+%prep
23
+%autosetup -n tornado-%{version}
24
+
25
+%build
26
+%py3_build
27
+
28
+%install
29
+%py3_install
30
+
31
+%files
32
+%defattr(-,root,root,-)
33
+%{python3_sitelib}/*
34
+
35
+%changelog
36
+* Fri Dec 02 2022 Prashant S Chauhan <psinghchauha@vmware.com> 6.2-2
37
+- Update release to compile with python 3.11
38
+* Mon Jul 11 2022 Gerrit Photon <photon-checkins@vmware.com> 6.2-1
39
+- Automatic Version Bump
40
+* Tue Apr 19 2022 Gerrit Photon <photon-checkins@vmware.com> 6.1-1
41
+- Automatic Version Bump
42
+* Fri Jul 24 2020 Gerrit Photon <photon-checkins@vmware.com> 6.0.4-1
43
+- Automatic Version Bump
44
+* Sun Jun 21 2020 Tapas Kundu <tkundu@vmware.com> 4.5.2-3
45
+- Mass removal python2
46
+* Tue Dec 17 2019 Padmini Thirumalachar <pthirumalachar@vmware.com> 4.5.2-2
47
+- To build python2 and python3 tornado packages
48
+- To remove buildArch
49
+* Mon Dec 11 2017 Padmini Thirumalachar <pthirumalachar@vmware.com> 4.5.2-1
50
+- Initial version of python tornado for PhotonOS.
0 51
new file mode 100644
... ...
@@ -0,0 +1,41 @@
0
+Summary:       A Python module for decorators, wrappers and monkey patching
1
+Name:          python3-wrapt
2
+Version:       1.14.1
3
+Release:       1%{?dist}
4
+Group:         Development/Tools/Python
5
+License:       BSD
6
+URL:           https://github.com/GrahamDumpleton/wrapt
7
+Vendor:        VMware, Inc.
8
+Distribution:  Photon
9
+
10
+Source0:       https://files.pythonhosted.org/packages/11/eb/e06e77394d6cf09977d92bff310cb0392930c08a338f99af6066a5a98f92/wrapt-%{version}.tar.gz
11
+%define sha512 wrapt=69986796303ad78f532b4f671829226c7bb43d97a494a111dcf397b68b447f64cee16d14d3f8c9eb84bbb9c1ac8709b6f33f7d78389b2968493e95ced63779ac
12
+
13
+BuildRequires: gcc
14
+BuildRequires: python3-devel
15
+BuildRequires: python3-setuptools
16
+Requires: python3
17
+
18
+%description
19
+The aim of the wrapt module is to provide a transparent object proxy for Python, which can be used as the basis for the construction
20
+of function wrappers and decorator functions.
21
+
22
+%prep
23
+%autosetup -p1 -n wrapt-%{version}
24
+
25
+%build
26
+%py3_build
27
+
28
+%install
29
+%py3_install
30
+
31
+%files
32
+%defattr(-,root,root,-)
33
+%doc README.rst
34
+%license LICENSE
35
+%{python3_sitearch}/wrapt
36
+%{python3_sitearch}/wrapt-%{version}-py%{python3_version}.egg-info
37
+
38
+%changelog
39
+* Mon Aug 29 2022 Srish Srinivasan <ssrish@vmware.com> 1.14.1-1
40
+- Initial build. First version
0 41
\ No newline at end of file
1 42
deleted file mode 100644
... ...
@@ -1,51 +0,0 @@
1
-Name:           python3-tornado
2
-Version:        6.2
3
-Release:        2%{?dist}
4
-Summary:        Tornado is a Python web framework and asynchronous networking library
5
-License:        PSFL
6
-Group:          Development/Languages/Python
7
-Url:            https://pypi.python.org/pypi/tornado
8
-Source0:        https://pypi.python.org/packages/fa/14/52e2072197dd0e63589e875ebf5984c91a027121262aa08f71a49b958359/tornado-%{version}.tar.gz
9
-%define sha512  tornado=157cbeee21bef29ac68b319329e7fc57db4c68dbb5a245e2171b7a28427ebbfe16b745e3bdbdec5912caae5eaa60c3cbbf8830c9c76fec5ffdf025e234468517
10
-
11
-Vendor:         VMware, Inc.
12
-Distribution:   Photon
13
-
14
-BuildRequires:  python3 python3-setuptools
15
-BuildRequires:  python3-devel
16
-BuildRequires:  python3-libs
17
-Requires:       python3
18
-Requires:       python3-libs
19
-
20
-%description
21
-Tornado is a Python web framework and asynchronous networking library
22
-
23
-%prep
24
-%autosetup -n tornado-%{version}
25
-
26
-%build
27
-%py3_build
28
-
29
-%install
30
-%py3_install
31
-
32
-%files
33
-%defattr(-,root,root,-)
34
-%{python3_sitelib}/*
35
-
36
-%changelog
37
-* Fri Dec 02 2022 Prashant S Chauhan <psinghchauha@vmware.com> 6.2-2
38
-- Update release to compile with python 3.11
39
-* Mon Jul 11 2022 Gerrit Photon <photon-checkins@vmware.com> 6.2-1
40
-- Automatic Version Bump
41
-* Tue Apr 19 2022 Gerrit Photon <photon-checkins@vmware.com> 6.1-1
42
-- Automatic Version Bump
43
-* Fri Jul 24 2020 Gerrit Photon <photon-checkins@vmware.com> 6.0.4-1
44
-- Automatic Version Bump
45
-* Sun Jun 21 2020 Tapas Kundu <tkundu@vmware.com> 4.5.2-3
46
-- Mass removal python2
47
-* Tue Dec 17 2019 Padmini Thirumalachar <pthirumalachar@vmware.com> 4.5.2-2
48
-- To build python2 and python3 tornado packages
49
-- To remove buildArch
50
-* Mon Dec 11 2017 Padmini Thirumalachar <pthirumalachar@vmware.com> 4.5.2-1
51
-- Initial version of python tornado for PhotonOS.
52 1
deleted file mode 100644
... ...
@@ -1,41 +0,0 @@
1
-Summary:       A Python module for decorators, wrappers and monkey patching
2
-Name:          python3-wrapt
3
-Version:       1.14.1
4
-Release:       1%{?dist}
5
-Group:         Development/Tools/Python
6
-License:       BSD
7
-URL:           https://github.com/GrahamDumpleton/wrapt
8
-Vendor:        VMware, Inc.
9
-Distribution:  Photon
10
-
11
-Source0:       https://files.pythonhosted.org/packages/11/eb/e06e77394d6cf09977d92bff310cb0392930c08a338f99af6066a5a98f92/wrapt-%{version}.tar.gz
12
-%define sha512 wrapt=69986796303ad78f532b4f671829226c7bb43d97a494a111dcf397b68b447f64cee16d14d3f8c9eb84bbb9c1ac8709b6f33f7d78389b2968493e95ced63779ac
13
-
14
-BuildRequires: gcc
15
-BuildRequires: python3-devel
16
-BuildRequires: python3-setuptools
17
-Requires: python3
18
-
19
-%description
20
-The aim of the wrapt module is to provide a transparent object proxy for Python, which can be used as the basis for the construction
21
-of function wrappers and decorator functions.
22
-
23
-%prep
24
-%autosetup -p1 -n wrapt-%{version}
25
-
26
-%build
27
-%py3_build
28
-
29
-%install
30
-%py3_install
31
-
32
-%files
33
-%defattr(-,root,root,-)
34
-%doc README.rst
35
-%license LICENSE
36
-%{python3_sitearch}/wrapt
37
-%{python3_sitearch}/wrapt-%{version}-py%{python3_version}.egg-info
38
-
39
-%changelog
40
-* Mon Aug 29 2022 Srish Srinivasan <ssrish@vmware.com> 1.14.1-1
41
-- Initial build. First version
42 1
\ No newline at end of file