File tree 6 files changed +12
-5
lines changed
6 files changed +12
-5
lines changed Original file line number Diff line number Diff line change
1
+ # Config for building https://python-nitrate.readthedocs.io/
2
+ version : 2
3
+ build :
4
+ os : ubuntu-22.04
5
+ tools :
6
+ python : " 3"
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ PACKAGE = python-nitrate-$(VERSION)
13
13
DOCS = $(TMP ) /$(PACKAGE ) /docs
14
14
EXAMPLES = $(TMP ) /$(PACKAGE ) /examples
15
15
CSS = --stylesheet=style.css --link-stylesheet
16
- FILES = LICENSE README \
16
+ FILES = LICENSE README.rst \
17
17
Makefile python-nitrate.spec setup.py \
18
18
docs examples source
19
19
@@ -22,8 +22,8 @@ all: push clean
22
22
build :
23
23
mkdir -p $(TMP ) /{SOURCES,$(PACKAGE ) }
24
24
cp -a $(FILES ) $(TMP ) /$(PACKAGE )
25
- rst2man README | gzip > $(DOCS ) /python-nitrate.1.gz
26
- rst2html README $(CSS ) > $(DOCS ) /index.html
25
+ rst2man README.rst | gzip > $(DOCS ) /python-nitrate.1.gz
26
+ rst2html README.rst $(CSS ) > $(DOCS ) /index.html
27
27
rst2man $(DOCS ) /notes.rst | gzip > $(DOCS ) /nitrate-notes.1.gz
28
28
rst2html $(DOCS ) /notes.rst $(CSS ) > $(DOCS ) /notes.html
29
29
rst2man $(DOCS ) /nitrate.rst | gzip > $(DOCS ) /nitrate.1.gz
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ ../README.rst
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ pathfix.py -pni "%{__python3} %{py3_shbang_opts}i" %{buildroot}%{_bindir}/nitrat
122
122
%{python3_sitelib }/nitrate-* .egg-info/
123
123
%{_mandir }/man1/*
124
124
%{_bindir }/nitrate
125
- %doc README examples
125
+ %doc README.rst examples
126
126
%license LICENSE
127
127
128
128
%changelog
Original file line number Diff line number Diff line change 8
8
9
9
# Prepare short and long description
10
10
description = 'Python API for the Nitrate test case management system'
11
- with open ("README" ) as readme :
11
+ with open ("README.rst " ) as readme :
12
12
long_description = readme .read ()
13
13
14
14
# Parse version from the spec file
You can’t perform that action at this time.
0 commit comments