From 95c34de1f9999b55a9d960ab265dadc575291918 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 12 Apr 2023 01:39:16 +0000 Subject: automatic import of python-reviewboard --- .gitignore | 1 + python-reviewboard.spec | 132 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 134 insertions(+) create mode 100644 python-reviewboard.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..e858ec2 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/ReviewBoard-5.0.4.tar.gz diff --git a/python-reviewboard.spec b/python-reviewboard.spec new file mode 100644 index 0000000..7e874ee --- /dev/null +++ b/python-reviewboard.spec @@ -0,0 +1,132 @@ +%global _empty_manifest_terminate_build 0 +Name: python-ReviewBoard +Version: 5.0.4 +Release: 1 +Summary: Review Board, a fully-featured web-based code and document review tool made with love <3 +License: MIT +URL: https://www.reviewboard.org/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2c/2c/645190326d5296442efee6bdf9fbb179ecb30e67e7231817dbeb05179b75/ReviewBoard-5.0.4.tar.gz +BuildArch: noarch + +Requires: python3-bleach +Requires: python3-cryptography +Requires: python3-django-braces +Requires: python3-django-cors-headers +Requires: python3-django-haystack +Requires: python3-django-multiselectfield +Requires: python3-django-evolution +Requires: python3-django-oauth-toolkit +Requires: python3-Django +Requires: python3-Djblets +Requires: python3-docutils +Requires: python3-markdown +Requires: python3-mimeparse +Requires: python3-paramiko +Requires: python3-pydiffx +Requires: python3-Pygments +Requires: python3-pymdown-extensions +Requires: python3-pymemcache +Requires: python3-pyOpenSSL +Requires: python3-pytz +Requires: python3-rbintegrations +Requires: python3-requests-oauthlib +Requires: python3-Whoosh +Requires: python3-elasticsearch +Requires: python3-elasticsearch +Requires: python3-elasticsearch +Requires: python3-elasticsearch +Requires: python3-ldap +Requires: python3-mercurial +Requires: python3-mysqlclient +Requires: python3-p4python +Requires: python3-psycopg2-binary +Requires: python3-django-storages +Requires: python3-python3-saml +Requires: python3-subvertpy +Requires: python3-django-storage-swift + +%description +`Review Board`_ is an open source, web-based code and document review tool +built to help companies, open source projects, and other organizations keep +their quality high and their bug count low. +We began writing Review Board in 2006 to fill a hole in the code review market. +We wanted something open source that could be flexible enough to work with a +variety of workflows, and could take the pain out of the code review process. +Today, it's a vital part of the development process at thousands of projects +and companies, ranging from small startups of two people to enterprises of +thousands. + +%package -n python3-ReviewBoard +Summary: Review Board, a fully-featured web-based code and document review tool made with love <3 +Provides: python-ReviewBoard +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-ReviewBoard +`Review Board`_ is an open source, web-based code and document review tool +built to help companies, open source projects, and other organizations keep +their quality high and their bug count low. +We began writing Review Board in 2006 to fill a hole in the code review market. +We wanted something open source that could be flexible enough to work with a +variety of workflows, and could take the pain out of the code review process. +Today, it's a vital part of the development process at thousands of projects +and companies, ranging from small startups of two people to enterprises of +thousands. + +%package help +Summary: Development documents and examples for ReviewBoard +Provides: python3-ReviewBoard-doc +%description help +`Review Board`_ is an open source, web-based code and document review tool +built to help companies, open source projects, and other organizations keep +their quality high and their bug count low. +We began writing Review Board in 2006 to fill a hole in the code review market. +We wanted something open source that could be flexible enough to work with a +variety of workflows, and could take the pain out of the code review process. +Today, it's a vital part of the development process at thousands of projects +and companies, ranging from small startups of two people to enterprises of +thousands. + +%prep +%autosetup -n ReviewBoard-5.0.4 + +%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-ReviewBoard -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot - 5.0.4-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..0c35f64 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +ae15b0c93e7751ee88197282de00ebf8 ReviewBoard-5.0.4.tar.gz -- cgit v1.2.3