Group :: Development/Python3
RPM: python3-module-cherrypy
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define modulename cherrypy
Name: python3-module-%modulename
Version: 18.6.1
Release: alt1
Summary: CherryPy is a pythonic, object-oriented web development framework
License: BSD-3-Clause
Group: Development/Python3
URL: http://www.cherrypy.org
BuildArch: noarch
# git clone https://github.com/cherrypy/cherrypy
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools_scm
# win32 depends on pywin32
# note: don't remove win32 module because other packages may rely on it
%add_findreq_skiplist %python3_sitelibdir/%modulename/process/win32.py
%description
Your CherryPy powered web applications are in fact stand-alone Python
applications embedding their own multi-threaded web server. You can deploy
them anywhere you can run Python applications. Apache is not required,
but it's possible to run a CherryPy application behind it.
%prep
%setup
%build
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
%python3_build
%install
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
%python3_install
mv %buildroot%_bindir/cherryd %buildroot%_bindir/cherryd3
%files
%doc cherrypy/tutorial
%_bindir/cherryd3
%python3_sitelibdir/%modulename/
%python3_sitelibdir/CherryPy-%version-py%_python3_version.egg-info/
%exclude %python3_sitelibdir/%modulename/test
%changelog
…
Todas as alterações você pod ver aqui
%define modulename cherrypy
Name: python3-module-%modulename
Version: 18.6.1
Release: alt1
Summary: CherryPy is a pythonic, object-oriented web development framework
License: BSD-3-Clause
Group: Development/Python3
URL: http://www.cherrypy.org
BuildArch: noarch
# git clone https://github.com/cherrypy/cherrypy
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools_scm
# win32 depends on pywin32
# note: don't remove win32 module because other packages may rely on it
%add_findreq_skiplist %python3_sitelibdir/%modulename/process/win32.py
%description
Your CherryPy powered web applications are in fact stand-alone Python
applications embedding their own multi-threaded web server. You can deploy
them anywhere you can run Python applications. Apache is not required,
but it's possible to run a CherryPy application behind it.
%prep
%setup
%build
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
%python3_build
%install
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
%python3_install
mv %buildroot%_bindir/cherryd %buildroot%_bindir/cherryd3
%files
%doc cherrypy/tutorial
%_bindir/cherryd3
%python3_sitelibdir/%modulename/
%python3_sitelibdir/CherryPy-%version-py%_python3_version.egg-info/
%exclude %python3_sitelibdir/%modulename/test
%changelog
…
Todas as alterações você pod ver aqui