mdbx-conan: исправление опечатки в имени переменной version_json_pathname в verbose-выводе.

Спасибо Виктору Логунову (https://t.me/vl_username) за сообщение о проблеме.
This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2025-02-03 18:46:01 +03:00
parent b46d2def80
commit 24f2b9b099
2 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@ and [by Yandex](https://translated.turbopages.org/proxy_u/ru-en.en/https/libmdbx
- [Erigon](https://docs.erigon.tech/) за спонсорство. - [Erigon](https://docs.erigon.tech/) за спонсорство.
- [Alain Picard](https://github.com/castortech) for support [Java bindings](https://github.com/castortech/mdbxjni) and MacOS universal binaries patch for CMake build scenario. - [Alain Picard](https://github.com/castortech) for support [Java bindings](https://github.com/castortech/mdbxjni) and MacOS universal binaries patch for CMake build scenario.
- [Alex Sharov](https://github.com/AskAlexSharov) за сообщение об ошибках и тестирование. - [Alex Sharov](https://github.com/AskAlexSharov) за сообщение об ошибках и тестирование.
- [Виктору Логунову](https://t.me/vl_username) за сообщение об опечатки в имени переменной в Conan-рецепте.
Новое: Новое:

View File

@ -228,7 +228,7 @@ class libmdbx(ConanFile):
if os.path.exists(version_json_pathname): if os.path.exists(version_json_pathname):
self.version = json.load( self.version = json.load(
open(version_json_pathname, encoding='utf-8'))['semver'] open(version_json_pathname, encoding='utf-8'))['semver']
version_from = "'" + version_jsonpath_name + "'" version_from = "'" + version_json_pathname + "'"
else: else:
self.version = self.fetch_versioninfo_from_git()['semver'] self.version = self.fetch_versioninfo_from_git()['semver']
version_from = 'Git' version_from = 'Git'