Change-Id: I9c3acbad05ba1ee1df472ee90e1c22916d517dc5
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2185
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,101 @@ |
| 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: Self-service finite-state machines for the programmer on the go. |
|
| 4 |
+Name: python-automat |
|
| 5 |
+Version: 0.5.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/Automat |
|
| 12 |
+Source0: https://files.pythonhosted.org/packages/source/A/Automat/Automat-%{version}.tar.gz
|
|
| 13 |
+%define sha1 Automat=2fa7c1db2d1dab6cbb74ff5537e0f5be2782c637 |
|
| 14 |
+ |
|
| 15 |
+BuildRequires: python2 |
|
| 16 |
+BuildRequires: python2-libs |
|
| 17 |
+BuildRequires: python2-devel |
|
| 18 |
+BuildRequires: python-setuptools |
|
| 19 |
+BuildRequires: python-m2r |
|
| 20 |
+BuildRequires: python-setuptools_scm |
|
| 21 |
+BuildRequires: python-attrs |
|
| 22 |
+BuildRequires: python-six |
|
| 23 |
+BuildRequires: python-docutils |
|
| 24 |
+BuildRequires: python-mistune |
|
| 25 |
+ |
|
| 26 |
+ |
|
| 27 |
+Requires: python2 |
|
| 28 |
+Requires: python2-libs |
|
| 29 |
+Requires: python-m2r |
|
| 30 |
+Requires: python-setuptools_scm |
|
| 31 |
+Requires: python-attrs |
|
| 32 |
+Requires: python-six |
|
| 33 |
+Requires: python-docutils |
|
| 34 |
+Requires: python-mistune |
|
| 35 |
+ |
|
| 36 |
+BuildArch: noarch |
|
| 37 |
+ |
|
| 38 |
+%description |
|
| 39 |
+Self-service finite-state machines for the programmer on the go. |
|
| 40 |
+ |
|
| 41 |
+Automat is a library for concise, idiomatic Python expression of finite-state automata (particularly deterministic finite-state transducers). |
|
| 42 |
+ |
|
| 43 |
+%package -n python3-automat |
|
| 44 |
+Summary: python-automat |
|
| 45 |
+BuildRequires: python3-devel |
|
| 46 |
+BuildRequires: python3-libs |
|
| 47 |
+BuildRequires: python3-m2r |
|
| 48 |
+BuildRequires: python3-setuptools_scm |
|
| 49 |
+BuildRequires: python3-attrs |
|
| 50 |
+BuildRequires: python3-six |
|
| 51 |
+BuildRequires: python3-docutils |
|
| 52 |
+BuildRequires: python3-mistune |
|
| 53 |
+ |
|
| 54 |
+Requires: python3 |
|
| 55 |
+Requires: python3-libs |
|
| 56 |
+Requires: python3-m2r |
|
| 57 |
+Requires: python3-setuptools_scm |
|
| 58 |
+Requires: python3-attrs |
|
| 59 |
+Requires: python3-six |
|
| 60 |
+Requires: python3-docutils |
|
| 61 |
+Requires: python3-mistune |
|
| 62 |
+ |
|
| 63 |
+%description -n python3-automat |
|
| 64 |
+Python 3 version. |
|
| 65 |
+ |
|
| 66 |
+%prep |
|
| 67 |
+%setup -q -n Automat-%{version}
|
|
| 68 |
+rm -rf ../p3dir |
|
| 69 |
+cp -a . ../p3dir |
|
| 70 |
+ |
|
| 71 |
+%build |
|
| 72 |
+python2 setup.py build |
|
| 73 |
+pushd ../p3dir |
|
| 74 |
+python3 setup.py build |
|
| 75 |
+popd |
|
| 76 |
+ |
|
| 77 |
+%install |
|
| 78 |
+python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
| 79 |
+pushd ../p3dir |
|
| 80 |
+python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
| 81 |
+popd |
|
| 82 |
+ |
|
| 83 |
+%check |
|
| 84 |
+python2 setup.py test |
|
| 85 |
+pushd ../p3dir |
|
| 86 |
+python3 setup.py test |
|
| 87 |
+popd |
|
| 88 |
+ |
|
| 89 |
+%files |
|
| 90 |
+%defattr(-,root,root) |
|
| 91 |
+%{python2_sitelib}/*
|
|
| 92 |
+ |
|
| 93 |
+%files -n python3-automat |
|
| 94 |
+%defattr(-,root,root) |
|
| 95 |
+%{python3_sitelib}/*
|
|
| 96 |
+%{_bindir}/*
|
|
| 97 |
+ |
|
| 98 |
+%changelog |
|
| 99 |
+* Mon Mar 20 2017 Xiaolin Li <xiaolinl@vmware.com> 0.5.0-1 |
|
| 100 |
+- Initial packaging for Photon |
| 0 | 101 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,74 @@ |
| 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: Docutils -- Python Documentation Utilities. |
|
| 4 |
+Name: python-docutils |
|
| 5 |
+Version: 0.13.1 |
|
| 6 |
+Release: 1%{?dist}
|
|
| 7 |
+License: public domain, Python, 2-Clause BSD, GPL 3 (see COPYING.txt) |
|
| 8 |
+Group: Development/Languages/Python |
|
| 9 |
+Vendor: VMware, Inc. |
|
| 10 |
+Distribution: Photon |
|
| 11 |
+Url: https://pypi.python.org/pypi/docutils |
|
| 12 |
+Source0: https://files.pythonhosted.org/packages/source/d/docutils/docutils-%{version}.tar.gz
|
|
| 13 |
+%define sha1 docutils=c16e14ef18142fa248400cd174edb4fa40e51d5b |
|
| 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 |
+Docutils is a modular system for processing documentation into useful formats, such as HTML, XML, and LaTeX. For input Docutils supports reStructuredText, an easy-to-read, what-you-see-is-what-you-get plaintext markup syntax. |
|
| 27 |
+ |
|
| 28 |
+%package -n python3-docutils |
|
| 29 |
+Summary: python-docutils |
|
| 30 |
+BuildRequires: python3-devel |
|
| 31 |
+BuildRequires: python3-libs |
|
| 32 |
+ |
|
| 33 |
+Requires: python3 |
|
| 34 |
+Requires: python3-libs |
|
| 35 |
+ |
|
| 36 |
+%description -n python3-docutils |
|
| 37 |
+Python 3 version. |
|
| 38 |
+ |
|
| 39 |
+%prep |
|
| 40 |
+%setup -q -n docutils-%{version}
|
|
| 41 |
+rm -rf ../p3dir |
|
| 42 |
+cp -a . ../p3dir |
|
| 43 |
+ |
|
| 44 |
+%build |
|
| 45 |
+python2 setup.py build |
|
| 46 |
+pushd ../p3dir |
|
| 47 |
+python3 setup.py build |
|
| 48 |
+popd |
|
| 49 |
+ |
|
| 50 |
+%install |
|
| 51 |
+python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
| 52 |
+pushd ../p3dir |
|
| 53 |
+python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
| 54 |
+popd |
|
| 55 |
+ |
|
| 56 |
+%check |
|
| 57 |
+python2 setup.py test |
|
| 58 |
+pushd ../p3dir |
|
| 59 |
+python3 setup.py test |
|
| 60 |
+popd |
|
| 61 |
+ |
|
| 62 |
+%files |
|
| 63 |
+%defattr(-,root,root) |
|
| 64 |
+%{python2_sitelib}/*
|
|
| 65 |
+ |
|
| 66 |
+%files -n python3-docutils |
|
| 67 |
+%defattr(-,root,root) |
|
| 68 |
+%{python3_sitelib}/*
|
|
| 69 |
+%{_bindir}/*
|
|
| 70 |
+ |
|
| 71 |
+%changelog |
|
| 72 |
+* Mon Mar 20 2017 Xiaolin Li <xiaolinl@vmware.com> 0.13.1-1 |
|
| 73 |
+- Initial packaging for Photon |
| 0 | 74 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,78 @@ |
| 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: Markdown to reStructuredText converter. |
|
| 4 |
+Name: python-m2r |
|
| 5 |
+Version: 0.1.5 |
|
| 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/m2r |
|
| 12 |
+Source0: https://files.pythonhosted.org/packages/source/m/m2r/m2r-%{version}.tar.gz
|
|
| 13 |
+%define sha1 m2r=9c5aa6fa791ff53c5007774159d4d0d2ffb4e36a |
|
| 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 |
+M2R converts a markdown file including reST markups to a valid reST format. |
|
| 27 |
+ |
|
| 28 |
+Why another converter? |
|
| 29 |
+ |
|
| 30 |
+I wanted to write sphinx document in markdown, since it’s widely used now and easy to write code blocks and lists. However, converters using pandoc or recommonmark do not support many reST markups and sphinx extensions. For example, reST’s reference link like see `ref`_ (this is very convenient in long document in which same link appears multiple times) will be converted to a code block in HTML like see <code>ref</code>_, which is not expected. |
|
| 31 |
+ |
|
| 32 |
+%package -n python3-m2r |
|
| 33 |
+Summary: python-m2r |
|
| 34 |
+BuildRequires: python3-devel |
|
| 35 |
+BuildRequires: python3-libs |
|
| 36 |
+ |
|
| 37 |
+Requires: python3 |
|
| 38 |
+Requires: python3-libs |
|
| 39 |
+ |
|
| 40 |
+%description -n python3-m2r |
|
| 41 |
+Python 3 version. |
|
| 42 |
+ |
|
| 43 |
+%prep |
|
| 44 |
+%setup -q -n m2r-%{version}
|
|
| 45 |
+rm -rf ../p3dir |
|
| 46 |
+cp -a . ../p3dir |
|
| 47 |
+ |
|
| 48 |
+%build |
|
| 49 |
+python2 setup.py build |
|
| 50 |
+pushd ../p3dir |
|
| 51 |
+python3 setup.py build |
|
| 52 |
+popd |
|
| 53 |
+ |
|
| 54 |
+%install |
|
| 55 |
+python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
| 56 |
+pushd ../p3dir |
|
| 57 |
+python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
| 58 |
+popd |
|
| 59 |
+ |
|
| 60 |
+%check |
|
| 61 |
+python2 setup.py test |
|
| 62 |
+pushd ../p3dir |
|
| 63 |
+python3 setup.py test |
|
| 64 |
+popd |
|
| 65 |
+ |
|
| 66 |
+%files |
|
| 67 |
+%defattr(-,root,root) |
|
| 68 |
+%{python2_sitelib}/*
|
|
| 69 |
+ |
|
| 70 |
+%files -n python3-m2r |
|
| 71 |
+%defattr(-,root,root) |
|
| 72 |
+%{python3_sitelib}/*
|
|
| 73 |
+%{_bindir}/*
|
|
| 74 |
+ |
|
| 75 |
+%changelog |
|
| 76 |
+* Mon Mar 20 2017 Xiaolin Li <xiaolinl@vmware.com> 0.1.5-1 |
|
| 77 |
+- Initial packaging for Photon |
| 0 | 78 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,75 @@ |
| 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 fastest markdown parser in pure Python. |
|
| 4 |
+Name: python-mistune |
|
| 5 |
+Version: 0.7.4 |
|
| 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/mistune/ |
|
| 12 |
+Source0: https://files.pythonhosted.org/packages/source/m/mistune/mistune-%{version}.tar.gz
|
|
| 13 |
+%define sha1 mistune=23adb8fe73662bfc0f1b21009a8df2fc9affd4aa |
|
| 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 |
+The fastest markdown parser in pure Python |
|
| 27 |
+ |
|
| 28 |
+The fastest markdown parser in pure Python with renderer features, inspired by marked. |
|
| 29 |
+ |
|
| 30 |
+%package -n python3-mistune |
|
| 31 |
+Summary: python-mistune |
|
| 32 |
+BuildRequires: python3-devel |
|
| 33 |
+BuildRequires: python3-libs |
|
| 34 |
+ |
|
| 35 |
+Requires: python3 |
|
| 36 |
+Requires: python3-libs |
|
| 37 |
+ |
|
| 38 |
+%description -n python3-mistune |
|
| 39 |
+Python 3 version. |
|
| 40 |
+ |
|
| 41 |
+%prep |
|
| 42 |
+%setup -q -n mistune-%{version}
|
|
| 43 |
+rm -rf ../p3dir |
|
| 44 |
+cp -a . ../p3dir |
|
| 45 |
+ |
|
| 46 |
+%build |
|
| 47 |
+python2 setup.py build |
|
| 48 |
+pushd ../p3dir |
|
| 49 |
+python3 setup.py build |
|
| 50 |
+popd |
|
| 51 |
+ |
|
| 52 |
+%install |
|
| 53 |
+python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
| 54 |
+pushd ../p3dir |
|
| 55 |
+python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
| 56 |
+popd |
|
| 57 |
+ |
|
| 58 |
+%check |
|
| 59 |
+python2 setup.py test |
|
| 60 |
+pushd ../p3dir |
|
| 61 |
+python3 setup.py test |
|
| 62 |
+popd |
|
| 63 |
+ |
|
| 64 |
+%files |
|
| 65 |
+%defattr(-,root,root) |
|
| 66 |
+%{python2_sitelib}/*
|
|
| 67 |
+ |
|
| 68 |
+%files -n python3-mistune |
|
| 69 |
+%defattr(-,root,root) |
|
| 70 |
+%{python3_sitelib}/*
|
|
| 71 |
+ |
|
| 72 |
+%changelog |
|
| 73 |
+* Mon Mar 20 2017 Xiaolin Li <xiaolinl@vmware.com> 0.7.4-1 |
|
| 74 |
+- Initial packaging for Photon |
| 0 | 75 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,75 @@ |
| 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 blessed package to manage your versions by scm tags. |
|
| 4 |
+Name: python-setuptools_scm |
|
| 5 |
+Version: 1.15.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/setuptools_scm |
|
| 12 |
+Source0: https://files.pythonhosted.org/packages/source/s/setuptools_scm/setuptools_scm-%{version}.tar.gz
|
|
| 13 |
+%define sha1 setuptools_scm=273bb9fbc27d169cb9853b379db8f749ea7caede |
|
| 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 |
+setuptools_scm handles managing your python package versions in scm metadata instead of declaring them as the version argument or in a scm managed file. |
|
| 27 |
+ |
|
| 28 |
+It also handles file finders for the supported scm’s. |
|
| 29 |
+ |
|
| 30 |
+%package -n python3-setuptools_scm |
|
| 31 |
+Summary: python-setuptools_scm |
|
| 32 |
+BuildRequires: python3-devel |
|
| 33 |
+BuildRequires: python3-libs |
|
| 34 |
+ |
|
| 35 |
+Requires: python3 |
|
| 36 |
+Requires: python3-libs |
|
| 37 |
+ |
|
| 38 |
+%description -n python3-setuptools_scm |
|
| 39 |
+Python 3 version. |
|
| 40 |
+ |
|
| 41 |
+%prep |
|
| 42 |
+%setup -q -n setuptools_scm-%{version}
|
|
| 43 |
+rm -rf ../p3dir |
|
| 44 |
+cp -a . ../p3dir |
|
| 45 |
+ |
|
| 46 |
+%build |
|
| 47 |
+python2 setup.py build |
|
| 48 |
+pushd ../p3dir |
|
| 49 |
+python3 setup.py build |
|
| 50 |
+popd |
|
| 51 |
+ |
|
| 52 |
+%install |
|
| 53 |
+python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
| 54 |
+pushd ../p3dir |
|
| 55 |
+python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
| 56 |
+popd |
|
| 57 |
+ |
|
| 58 |
+%check |
|
| 59 |
+python2 setup.py test |
|
| 60 |
+pushd ../p3dir |
|
| 61 |
+python3 setup.py test |
|
| 62 |
+popd |
|
| 63 |
+ |
|
| 64 |
+%files |
|
| 65 |
+%defattr(-,root,root) |
|
| 66 |
+%{python2_sitelib}/*
|
|
| 67 |
+ |
|
| 68 |
+%files -n python3-setuptools_scm |
|
| 69 |
+%defattr(-,root,root) |
|
| 70 |
+%{python3_sitelib}/*
|
|
| 71 |
+ |
|
| 72 |
+%changelog |
|
| 73 |
+* Mon Mar 20 2017 Xiaolin Li <xiaolinl@vmware.com> 1.15.0-1 |
|
| 74 |
+- Initial packaging for Photon |