[yelp-tools] Version 40.alpha



commit 3fe6f1c2bf9482b64281fb1837a08b84d36f9369
Author: Shaun McCance <shaunm redhat com>
Date:   Sat Feb 6 15:39:41 2021 -0500

    Version 40.alpha

 NEWS        |  9 +++++++++
 meson.build | 14 ++------------
 2 files changed, 11 insertions(+), 12 deletions(-)
---
diff --git a/NEWS b/NEWS
index e848e65c..ba4216df 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,12 @@
+40.alpha
+========
+* First release using the meson build system
+* Converted yelp-build, yelp-check, and yelp-new to python
+* New and improved templates for yelp-new
+* Support for .yelp-tools.cfg config file
+* Config file can specify custom checkers, like Schematron but easier
+* yelp-check hrefs takes a configurable allow list
+
 3.38.0
 ======
 * Stable release. No changes since 3.37.90
diff --git a/meson.build b/meson.build
index 475f4bb3..8e0e4f26 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,5 @@
 project('yelp-tools',
-  version: '3.38.0',
+  version: '40.alpha',
   license: 'GPL-2.0-or-later',
   meson_version: '>= 0.50.0',
 )
@@ -11,19 +11,9 @@ pyinst = python.find_installation('python3', required: true)
 lxml = run_command('python3', '-c', 'import lxml')
 assert(lxml.returncode() == 0, 'Python module `lxml` required')
 
-# Versioning
-version = meson.project_version()
-version_arr = version.split('.')
-version_major = version_arr[0].to_int()
-version_minor = version_arr[1].to_int()
-version_micro = version_arr[2].to_int()
-
 package_name = meson.project_name()
 
 # Paths
-srcdir = meson.source_root()
-builddir = meson.build_root()
-
 prefix = get_option('prefix')
 
 bindir = join_paths(prefix, get_option('bindir'))
@@ -67,7 +57,7 @@ endif
 summary = [
   '',
   '------',
-  'yelp-tools @0@'.format(version),
+  'yelp-tools @0@'.format(meson.project_version()),
   '',
   '    yelp.m4: @0@'.format(get_option('yelpm4')),
   '       help: @0@'.format(get_option('help')),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]