fix: rich vala-language-server-nightly vala-lint-nightly (#403)

This commit is contained in:
madomado
2023-04-26 21:04:01 +08:00
committed by GitHub
parent 15f614f6e9
commit 33f1cb7d69
5 changed files with 45 additions and 42 deletions
+28 -28
View File
@@ -40,34 +40,34 @@ cv44 = 2 # t flat hook
cv49 = 6 # y cursive flat terminal hook
cv53 = 1 # Λ, Δ lambda and delta cap straight
cv54 = 2 # α alpha straight tailed
VXAA = 1 # δ delta rounded top
cv55 = 1 # Γ gamma cap straight
cv56 = 6 # ι iota serified flat tailed
cv57 = 2 # λ lambda top tailed
VXAC = 1 # μ me tailless
VXAB = 2 # ξ xe flat top
cv71 = 13 # 0 oval dashed forward slash
cv74 = 2 # 3 arched
cv76 = 2 # 5 open contour
cv78 = 1 # 7 straight
cv79 = 3 # 8 two asymmetric circles
cv81 = 2 # ~ tilde low
cv82 = 2 # * asterisk five-pointed low
cv83 = 1 # _ underscore right below baseline
cv85 = 1 # ^ uptick high
cv86 = 1 # ( parentheses normal slope
cv87 = 2 # { braces curly
cv88 = 1 # # column straight
cv90 = 4 # @ three-fold, tall height
cv91 = 2 # $ dollar strike through
cv92 = 2 # ¢ cent strike through
cv93 = 1 # % percent dots
cv94 = 1 # | bar natural slope
cv95 = 1 # ' single quote straight
cv96 = 1 # ` grave/backtick straight
cv97 = 1 # ? smooth
cv98 = 2 # .:; square punctuation marks
cv99 = 2 # ijäöü square diacretics
cv55 = 1 # δ delta rounded top
cv56 = 1 # Γ gamma cap straight
cv57 = 6 # ι iota serified flat tailed
cv58 = 2 # λ lambda top tailed
cv59 = 1 # μ me tailless
cv60 = 2 # ξ xe flat top
cv76 = 13 # 0 oval dashed forward slash
cv79 = 2 # 3 arched
cv81 = 2 # 5 open contour
cv83 = 1 # 7 straight
cv84 = 3 # 8 two asymmetric circles
cv88 = 2 # ~ tilde low
cv89 = 2 # * asterisk five-pointed low
cv90 = 1 # _ underscore right below baseline
cv91 = 1 # ^ uptick high
cv92 = 1 # ( parentheses normal slope
cv93 = 2 # { braces curly
cv94 = 1 # # column straight
cv96 = 4 # @ three-fold, tall height
cv97 = 2 # $ dollar strike through
VXSE = 2 # ¢ cent strike through
cv98 = 1 # % percent dots
cv99 = 1 # | bar natural slope
VXSA = 1 # ' single quote straight
VXSB = 1 # ` grave/backtick straight
VXSC = 1 # ? smooth
cv87 = 2 # .:; square punctuation marks
cv86 = 2 # ijäöü square diacretics
[buildPlans.iosevka-fusion.variants.upright]
cv26 = 3 # a double storey rounded
+5 -4
View File
@@ -12,7 +12,7 @@ URL: https://github.com/Textualize/rich
Source0: https://github.com/Textualize/rich/archive/refs/tags/v%version.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-devel poetry python3-installer
BuildRequires: python3dist(setuptools)
%description
@@ -34,16 +34,17 @@ Requires: (python3dist(typing-extensions) >= 4 with python3dist(typing-ext
%autosetup -n %{pypi_name}-%{pypi_version}
%build
%py3_build
poetry build
%install
%py3_install
python3.11 -m installer --destdir="%{buildroot}" dist/*.whl
rm -rf %{python3_sitelib}/*/__pycache__
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.md
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info
%{python3_sitelib}/%{pypi_name}*
%changelog
* Sun Mar 19 2023 windowsboy111 <wboy111@outlook.com> - 13.3.2-1
@@ -1,7 +1,7 @@
if filters.contains("nightly") {
let req = new_req("https://api.github.com/repos/vala-lang/vala-language-server/commits/HEAD");
req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`);
let sha = json(req.get()).sha;
rpm.global("commit", sha);
rpm.global("commit", json(req.get()).sha);
rpm.global("verrel", gh("vala-lang/vala-language-server"));
rpm.release();
}
@@ -5,10 +5,11 @@
%global commit_date %(date '+%Y%m%d')
%global snapshot_info %{commit_date}.%{shortcommit}
%global verrel 0.48.7
Name: vala-language-server-nightly
Summary: Language server for the Vala programming language
Version: 0.48.5^%{snapshot_info}
Version: 0.48.7^%{snapshot_info}
Release: 1%{?dist}
# The entire source is LGPLv2+, except plugins/gnome-builder/vala_langserv.py, which is GPLv3+.
# It is not installed when the "plugins" meson option is set to false.
@@ -21,9 +22,10 @@ Source0: https://github.com/vala-lang/vala-language-server/archive/%{comm
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: meson
BuildRequires: vala
BuildRequires: ninja-build
BuildRequires: vala >= 0.48.12
BuildRequires: vala-devel >= 0.48.12
BuildRequires: vala = 0.56.4
BuildRequires: vala-devel = 0.56.4
BuildRequires: pkgconfig(gee-0.8)
BuildRequires: pkgconfig(gio-2.0)
@@ -38,15 +40,15 @@ Requires: glib2-static%{?_isa}
Requires: json-glib%{?_isa}
Requires: jsonrpc-glib%{?_isa}
Requires: libgee%{?_isa}
Requires: libvala%{?_isa} >= 0.48.12
Requires: libvala%{?_isa} = 0.56.4
Recommends: gobject-introspection-devel
Suggests: gnome-builder
Conflicts: vala-language-server
Provides: vala-language-server = 0.48.5^%{snapshot_info}
Provides: vala-language-server%{?_isa} = 0.48.5^%{snapshot_info}
Provides: vala-language-server = %version
Provides: vala-language-server%{?_isa} = %version
%description
Provides code intelligence for Vala (and also Genie).
@@ -19,8 +19,8 @@ BuildRequires: cmake
BuildRequires: gcc
BuildRequires: meson
BuildRequires: ninja-build
BuildRequires: vala >= 0.48.12
BuildRequires: vala-devel >= 0.48.12
BuildRequires: vala = 0.56.4
BuildRequires: vala-devel = 0.56.4
%description
Small command line tool and library for checking Vala code files for code-style errors.