Change-Id: I61a7fa6b92b44520eafe7d4d37fad71ef2c7288d
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/1353
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Sharath George
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,39 @@ |
0 |
+Name: python-pip |
|
1 |
+Version: 8.1.2 |
|
2 |
+Release: 1 |
|
3 |
+Url: https://pypi.python.org/pypi/pip |
|
4 |
+Summary: The PyPA recommended tool for installing Python packages. |
|
5 |
+License: MIT |
|
6 |
+Group: Development/Languages/Python |
|
7 |
+Vendor: VMware, Inc. |
|
8 |
+Distribution: Photon |
|
9 |
+Source0: https://pypi.python.org/packages/e7/a8/7556133689add8d1a54c0b14aeff0acb03c64707ce100ecd53934da1aa13/pip-%{version}.tar.gz |
|
10 |
+%define sha1 pip=910e2dd5c533d351a7dc84bc9091893659afcbb0 |
|
11 |
+BuildRequires: python2 |
|
12 |
+BuildRequires: python2-libs |
|
13 |
+BuildRequires: python-setuptools |
|
14 |
+ |
|
15 |
+Requires: python2 |
|
16 |
+Requires: python2-libs |
|
17 |
+ |
|
18 |
+%description |
|
19 |
+The PyPA recommended tool for installing Python packages. |
|
20 |
+ |
|
21 |
+ |
|
22 |
+%prep |
|
23 |
+%setup -q -n pip-%{version} |
|
24 |
+ |
|
25 |
+%build |
|
26 |
+python setup.py build |
|
27 |
+ |
|
28 |
+%install |
|
29 |
+python setup.py install --prefix=%{_prefix} --root=%{buildroot} |
|
30 |
+ |
|
31 |
+%files |
|
32 |
+%defattr(-,root,root) |
|
33 |
+%{python_sitelib}/* |
|
34 |
+%{_bindir}/* |
|
35 |
+ |
|
36 |
+%changelog |
|
37 |
+* Fri Sep 2 2016 Xiaolin Li <xiaolinl@vmware.com> 8.1.2-1 |
|
38 |
+- Initial packaging for Photon |
|
0 | 39 |
\ No newline at end of file |
1 | 40 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,40 @@ |
0 |
+Summary: The Python SQL Toolkit and Object Relational Mapper |
|
1 |
+Name: python-sqlalchemy |
|
2 |
+Version: 1.0.15 |
|
3 |
+Release: 1%{?dist} |
|
4 |
+Url: http://www.sqlalchemy.org |
|
5 |
+License: MIT |
|
6 |
+Group: Development/Languages/Python |
|
7 |
+Vendor: VMware, Inc. |
|
8 |
+Distribution: Photon |
|
9 |
+Source0: https://pypi.python.org/packages/18/7d/f230ac50198cfe3cdc957c3572a18dc92600047ce707b5b923c56ab92c1b/SQLAlchemy-%{version}.tar.gz |
|
10 |
+%define sha1 SQLAlchemy=b510372c8ee29772b85042dae4f3ba9a1e4d0e2e |
|
11 |
+BuildRequires: python2 |
|
12 |
+BuildRequires: python2-libs |
|
13 |
+BuildRequires: python-setuptools |
|
14 |
+ |
|
15 |
+Requires: python2 |
|
16 |
+Requires: python2-libs |
|
17 |
+ |
|
18 |
+BuildArch: noarch |
|
19 |
+ |
|
20 |
+%description |
|
21 |
+SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL. SQLAlchemy provides a full suite of well known enterprise-level persistence patterns, designed for efficient and high-performing database access, adapted into a simple and Pythonic domain language. |
|
22 |
+ |
|
23 |
+ |
|
24 |
+%prep |
|
25 |
+%setup -q -n SQLAlchemy-%{version} |
|
26 |
+ |
|
27 |
+%build |
|
28 |
+python setup.py build |
|
29 |
+ |
|
30 |
+%install |
|
31 |
+python setup.py install --prefix=%{_prefix} --root=%{buildroot} |
|
32 |
+ |
|
33 |
+%files |
|
34 |
+%defattr(-,root,root) |
|
35 |
+%{python_sitelib}/* |
|
36 |
+ |
|
37 |
+%changelog |
|
38 |
+* Tue Sep 6 2016 Xiaolin Li <xiaolinl@vmware.com> 1.0.15-1 |
|
39 |
+- Initial packaging for Photon |