aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2023-07-15 12:20:27 +0100
committerSam James <sam@gentoo.org>2023-08-02 07:31:19 +0100
commitad3994394af0bc975ec7c28bd60de496b580c25e (patch)
tree6d7d1321e8c1a9ef585764a67cc0694762a9b217 /doc/fragment
parentLinting fixes (diff)
downloadportage-ad3994394af0bc975ec7c28bd60de496b580c25e.tar.gz
portage-ad3994394af0bc975ec7c28bd60de496b580c25e.tar.bz2
portage-ad3994394af0bc975ec7c28bd60de496b580c25e.zip
Migrate from setuptools to Meson and meson-python
This makes Portage PEP 517 compliant. When building via meson-python, the man pages and logrotate config are no longer included as there seems little point. Bug: https://bugs.gentoo.org/910035 Signed-off-by: James Le Cuirot <chewi@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'doc/fragment')
-rw-r--r--doc/fragment/meson.build5
-rw-r--r--doc/fragment/version.in1
2 files changed, 6 insertions, 0 deletions
diff --git a/doc/fragment/meson.build b/doc/fragment/meson.build
new file mode 100644
index 000000000..c5604d3f0
--- /dev/null
+++ b/doc/fragment/meson.build
@@ -0,0 +1,5 @@
+version_doc_fragment = configure_file(
+ input : 'version.in',
+ output : 'version',
+ configuration : conf_data
+)
diff --git a/doc/fragment/version.in b/doc/fragment/version.in
new file mode 100644
index 000000000..2ca11428e
--- /dev/null
+++ b/doc/fragment/version.in
@@ -0,0 +1 @@
+<releaseinfo>@VERSION@</releaseinfo>