This repository has been archived by the owner on Oct 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mistune.spec
77 lines (62 loc) · 1.76 KB
/
mistune.spec
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
#
# This file is auto-generated. DO NOT EDIT
# Generated by: autospec.py
#
Name : mistune
Version : 0.8.3
Release : 18
URL : http://pypi.debian.net/mistune/mistune-0.8.3.tar.gz
Source0 : http://pypi.debian.net/mistune/mistune-0.8.3.tar.gz
Summary : The fastest markdown parser in pure Python
Group : Development/Tools
License : BSD-3-Clause
Requires: mistune-python3
Requires: mistune-python
BuildRequires : nose-python
BuildRequires : pbr
BuildRequires : pip
BuildRequires : python3-dev
BuildRequires : setuptools
%description
=======
The fastest markdown parser in pure Python with renderer features,
inspired by marked_.
%package python
Summary: python components for the mistune package.
Group: Default
Requires: mistune-python3
%description python
python components for the mistune package.
%package python3
Summary: python3 components for the mistune package.
Group: Default
Requires: python3-core
%description python3
python3 components for the mistune package.
%prep
%setup -q -n mistune-0.8.3
%build
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C
export SOURCE_DATE_EPOCH=1523292110
python3 setup.py build -b py3
%check
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
PYTHONPATH=%{buildroot}/usr/lib/python3.6/site-packages python3 setup.py test
%install
rm -rf %{buildroot}
python3 -tt setup.py build -b py3 install --root=%{buildroot}
echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
echo ----[ mark ]----
%files
%defattr(-,root,root,-)
%files python
%defattr(-,root,root,-)
%files python3
%defattr(-,root,root,-)
/usr/lib/python3*/*