summaryrefslogtreecommitdiff
path: root/python-misago.spec
blob: c364e1a618b2d3f5c3db0e8cb6159135afc6eadd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
%global _empty_manifest_terminate_build 0
Name:		python-Misago
Version:	0.34.0
Release:	1
Summary:	Misago is modern, fully featured forum application written in Python and ES6, powered by Django and React.js. It works out of the box and can be run alone or be connected to existing site with built in OAuth 2 client.
License:	GPLv2
URL:		http://www.misago-project.org/
Source0:	https://mirrors.nju.edu.cn/pypi/web/packages/70/58/38152d4b850b7783d8ac6e3c58f3bfa3b1235c8cf15924138b4b287e6e01/Misago-0.34.0.tar.gz
BuildArch:	noarch

Requires:	python3-amqp
Requires:	python3-anyio
Requires:	python3-ariadne
Requires:	python3-ariadne-django
Requires:	python3-asgiref
Requires:	python3-async-timeout
Requires:	python3-attrs
Requires:	python3-billiard
Requires:	python3-black
Requires:	python3-celery[redis]
Requires:	python3-certifi
Requires:	python3-cffi
Requires:	python3-charset-normalizer
Requires:	python3-click
Requires:	python3-click-didyoumean
Requires:	python3-click-plugins
Requires:	python3-click-repl
Requires:	python3-coverage[toml]
Requires:	python3-coveralls
Requires:	python3-cryptography
Requires:	python3-defusedxml
Requires:	python3-deprecated
Requires:	python3-django
Requires:	python3-django-debug-toolbar
Requires:	python3-django-js-asset
Requires:	python3-django-mptt
Requires:	python3-django-simple-sso
Requires:	python3-djangorestframework
Requires:	python3-docopt
Requires:	python3-faker
Requires:	python3-fastdiff
Requires:	python3-graphql-core
Requires:	python3-html5lib
Requires:	python3-idna
Requires:	python3-iniconfig
Requires:	python3-itsdangerous
Requires:	python3-kombu
Requires:	python3-markdown
Requires:	python3-mypy-extensions
Requires:	python3-oauthlib
Requires:	python3-packaging
Requires:	python3-pathspec
Requires:	python3-pillow
Requires:	python3-platformdirs
Requires:	python3-pluggy
Requires:	python3-prompt-toolkit
Requires:	python3-psycopg2-binary
Requires:	python3-py
Requires:	python3-pycparser
Requires:	python3-pyjwt
Requires:	python3-pytest
Requires:	python3-pytest-cov
Requires:	python3-pytest-django
Requires:	python3-pytest-mock
Requires:	python3-dateutil
Requires:	python3-python3-openid
Requires:	python3-pytz
Requires:	python3-redis
Requires:	python3-requests
Requires:	python3-requests-oauthlib
Requires:	python3-responses
Requires:	python3-six
Requires:	python3-snapshottest
Requires:	python3-sniffio
Requires:	python3-social-auth-app-django
Requires:	python3-social-auth-core
Requires:	python3-sqlparse
Requires:	python3-starlette
Requires:	python3-termcolor
Requires:	python3-tomli
Requires:	python3-typing-extensions
Requires:	python3-unidecode
Requires:	python3-urllib3
Requires:	python3-vine
Requires:	python3-wasmer
Requires:	python3-wasmer-compiler-cranelift
Requires:	python3-wcwidth
Requires:	python3-webencodings
Requires:	python3-webservices[django]
Requires:	python3-wrapt

%description
[![Test Coverage](https://coveralls.io/repos/github/rafalp/Misago/badge.svg?branch=master)](https://coveralls.io/github/rafalp/Misago?branch=master) ![Works on Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg) [![Community Chat](https://img.shields.io/badge/chat-on_discord-7289da.svg)](https://discord.gg/fwvrZgB)
**Development Status:** 🍌 [Bananas](https://en.wikipedia.org/wiki/Perpetual_beta>) 🍌
Misago aims to be complete, featured and modern forum solution that has no fear to say 'NO' to common and outdated opinions about how forum software should be made and what it should do.
* **Homepage:** http://misago-project.org/
* **Documentation:** https://misago.gitbook.io/docs/
* **Code & BugTracker:** https://github.com/rafalp/Misago/

%package -n python3-Misago
Summary:	Misago is modern, fully featured forum application written in Python and ES6, powered by Django and React.js. It works out of the box and can be run alone or be connected to existing site with built in OAuth 2 client.
Provides:	python-Misago
BuildRequires:	python3-devel
BuildRequires:	python3-setuptools
BuildRequires:	python3-pip
%description -n python3-Misago
[![Test Coverage](https://coveralls.io/repos/github/rafalp/Misago/badge.svg?branch=master)](https://coveralls.io/github/rafalp/Misago?branch=master) ![Works on Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg) [![Community Chat](https://img.shields.io/badge/chat-on_discord-7289da.svg)](https://discord.gg/fwvrZgB)
**Development Status:** 🍌 [Bananas](https://en.wikipedia.org/wiki/Perpetual_beta>) 🍌
Misago aims to be complete, featured and modern forum solution that has no fear to say 'NO' to common and outdated opinions about how forum software should be made and what it should do.
* **Homepage:** http://misago-project.org/
* **Documentation:** https://misago.gitbook.io/docs/
* **Code & BugTracker:** https://github.com/rafalp/Misago/

%package help
Summary:	Development documents and examples for Misago
Provides:	python3-Misago-doc
%description help
[![Test Coverage](https://coveralls.io/repos/github/rafalp/Misago/badge.svg?branch=master)](https://coveralls.io/github/rafalp/Misago?branch=master) ![Works on Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg) [![Community Chat](https://img.shields.io/badge/chat-on_discord-7289da.svg)](https://discord.gg/fwvrZgB)
**Development Status:** 🍌 [Bananas](https://en.wikipedia.org/wiki/Perpetual_beta>) 🍌
Misago aims to be complete, featured and modern forum solution that has no fear to say 'NO' to common and outdated opinions about how forum software should be made and what it should do.
* **Homepage:** http://misago-project.org/
* **Documentation:** https://misago.gitbook.io/docs/
* **Code & BugTracker:** https://github.com/rafalp/Misago/

%prep
%autosetup -n Misago-0.34.0

%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-Misago -f filelist.lst
%dir %{python3_sitelib}/*

%files help -f doclist.lst
%{_docdir}/*

%changelog
* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.34.0-1
- Package Spec generated