-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython3-yq.spec
More file actions
73 lines (58 loc) · 1.33 KB
/
python3-yq.spec
File metadata and controls
73 lines (58 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.35.1
#
Name: python3-yq
# >> macros
# << macros
%define int_name yq
Summary: Command-line YAML/XML processor - jq wrapper for YAML/XML documents
Version: 3.1.1
Release: 0
Group: Applications
License: Apache-2.0
BuildArch: noarch
URL: https://pypi.org/project/yq/
Source0: https://files.pythonhosted.org/packages/y/%{int_name}/%{int_name}-%{version}.tar.gz
Source100: python3-yq.yaml
Requires: jq
BuildRequires: pkgconfig(python3)
BuildRequires: python3-setuptools_scm >= 3.4.3
BuildRequires: python3-yaml >= 3.5.1
BuildRequires: python3-rpm-macros
%description
yq takes YAML input, converts it to JSON, and pipes it to jq
%if "%{?vendor}" == "chum"
PackageName: yq
Type: console-application
Categories:
- Utility
Custom:
PackagingRepo: https://github.com/sailfishos-chum/python3-yq
Url:
Homepage: https://pypi.org/project/yq/
Help: https://pypi.org/project/yq/#description
%endif
%prep
%setup -q -n %{int_name}-%{version}
# >> setup
# << setup
%build
# >> build pre
# << build pre
%{py3_build}
# >> build post
# << build post
%install
# >> install pre
# << install pre
%{py3_install}
# >> install post
# << install post
%files
# >> files
%license LICENSE
%doc README.rst
%{_bindir}/*
%{python3_sitelib}/*
# << files