diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-10 07:31:35 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 07:31:35 +0000 |
commit | 7fdafd5061ed660416af83f88e9f927c66d2acd6 (patch) | |
tree | 78c08a91a2ea5d2f458b4b7645185238a58a8784 | |
parent | c52b0f8f5de82ed6eee6544744ccd57bdc436ec1 (diff) |
automatic import of python-propel
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-propel.spec | 144 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 146 insertions, 0 deletions
@@ -0,0 +1 @@ +/Propel-0.60.1.tar.gz diff --git a/python-propel.spec b/python-propel.spec new file mode 100644 index 0000000..2454ee4 --- /dev/null +++ b/python-propel.spec @@ -0,0 +1,144 @@ +%global _empty_manifest_terminate_build 0 +Name: python-Propel +Version: 0.60.1 +Release: 1 +Summary: A package to deploy sites in virtualenv, run scripts, and deploy workers with supervisor +License: MIT +URL: http://github.com/mardix/propel/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/de/34/81b261cbfa6ba03b876db554c4fc3e704c74eeeddd8f1a1aff316016c96e/Propel-0.60.1.tar.gz +BuildArch: noarch + + +%description + +Propel + +Propel is a package to deploy multiple Python sites/application in virtualenv. + +It also allows you to deploy PHP/HTML applications, run scripts and run workers with Supervisor. + +For Python application, it uses Virtualenv to isolate each application, Gunicorn+Gevent as the backend server, +Supervisor and Nginx. + +For PHP/HTML sites, it just uses the path as it would in normal environment, and you must have php-fpm + +Requirements: + Nginx + Gunicorn + Supervisor + Gevent + Virtualenvwrapper + php-fpm + +@Author: Mardix +@Copyright: 2015 - 2017 Mardix +@license: MIT + + + +%package -n python3-Propel +Summary: A package to deploy sites in virtualenv, run scripts, and deploy workers with supervisor +Provides: python-Propel +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-Propel + +Propel + +Propel is a package to deploy multiple Python sites/application in virtualenv. + +It also allows you to deploy PHP/HTML applications, run scripts and run workers with Supervisor. + +For Python application, it uses Virtualenv to isolate each application, Gunicorn+Gevent as the backend server, +Supervisor and Nginx. + +For PHP/HTML sites, it just uses the path as it would in normal environment, and you must have php-fpm + +Requirements: + Nginx + Gunicorn + Supervisor + Gevent + Virtualenvwrapper + php-fpm + +@Author: Mardix +@Copyright: 2015 - 2017 Mardix +@license: MIT + + + +%package help +Summary: Development documents and examples for Propel +Provides: python3-Propel-doc +%description help + +Propel + +Propel is a package to deploy multiple Python sites/application in virtualenv. + +It also allows you to deploy PHP/HTML applications, run scripts and run workers with Supervisor. + +For Python application, it uses Virtualenv to isolate each application, Gunicorn+Gevent as the backend server, +Supervisor and Nginx. + +For PHP/HTML sites, it just uses the path as it would in normal environment, and you must have php-fpm + +Requirements: + Nginx + Gunicorn + Supervisor + Gevent + Virtualenvwrapper + php-fpm + +@Author: Mardix +@Copyright: 2015 - 2017 Mardix +@license: MIT + + + +%prep +%autosetup -n Propel-0.60.1 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-Propel -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.60.1-1 +- Package Spec generated @@ -0,0 +1 @@ +5590934053cea5d45cc1156d7347a668 Propel-0.60.1.tar.gz |