| 1 |
From: Boyuan Yang <[email protected]> |
| 2 |
Date: Tue, 13 Jun 2023 10:02:26 -0400 |
| 3 |
Subject: Restore cairocffi/VERSION |
| 4 |
|
| 5 |
Otherwise sphinx would report the following error: |
| 6 |
|
| 7 |
python3 -m sphinx -N -bhtml docs/ docs/_build/html |
| 8 |
Running Sphinx v5.3.0 |
| 9 |
|
| 10 |
Configuration error: |
| 11 |
There is a programmable error in your configuration file: |
| 12 |
|
| 13 |
Traceback (most recent call last): |
| 14 |
File "/usr/lib/python3/dist-packages/sphinx/config.py", line 350, in eval_config_file |
| 15 |
exec(code, namespace) |
| 16 |
File "/<<PKGBUILDDIR>>/docs/conf.py", line 9, in <module> |
| 17 |
Path(__file__).parent.parent / 'cairocffi' / 'VERSION').read_text().strip() |
| 18 |
^^^^^^^^^^^ |
| 19 |
File "/usr/lib/python3.11/pathlib.py", line 1059, in read_text |
| 20 |
with self.open(mode='r', encoding=encoding, errors=errors) as f: |
| 21 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 22 |
File "/usr/lib/python3.11/pathlib.py", line 1045, in open |
| 23 |
return io.open(self, mode, buffering, encoding, errors, newline) |
| 24 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 25 |
FileNotFoundError: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/cairocffi/VERSION' |
| 26 |
--- |
| 27 |
cairocffi/VERSION | 1 + |
| 28 |
1 file changed, 1 insertion(+) |
| 29 |
create mode 100644 cairocffi/VERSION |
| 30 |
|
| 31 |
diff --git a/cairocffi/VERSION b/cairocffi/VERSION |
| 32 |
new file mode 100644 |
| 33 |
index 0000000..9c6d629 |
| 34 |
--- /dev/null |
| 35 |
+++ b/cairocffi/VERSION |
| 36 |
@@ -0,0 +1 @@ |
| 37 |
+1.7.1 |