-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython-configargparse.spec
More file actions
30 lines (25 loc) · 839 Bytes
/
python-configargparse.spec
File metadata and controls
30 lines (25 loc) · 839 Bytes
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
%define module configargparse
%define oname ConfigArgParse
Name: python-configargparse
Version: 1.7.5
Release: 1
License: MIT
Group: Development/Python
Summary: A drop-in replacement for argparse
URL: https://pypi.org/project/configargparse/
Source0: https://files.pythonhosted.org/packages/source/c/%{module}/%{module}-%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildSystem: python
BuildArch: noarch
BuildRequires: python%{pyver}dist(pip)
BuildRequires: python%{pyver}dist(setuptools)
BuildRequires: python%{pyver}dist(setuptools-scm)
BuildRequires: python%{pyver}dist(wheel)
%description
A drop-in replacement for argparse with added support for
config filesand environment variables.
%prep -a
# Remove bundled egg-info
rm -rf ConfigArgParse.egg-info
%files
%{py_sitedir}/%{module}.py
%{py_sitedir}/%{oname}-%{version}*.*-info