-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpython-delfick-project.spec
61 lines (50 loc) · 1.57 KB
/
python-delfick-project.spec
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
# Created by pyp2rpm-3.3.5
%global pypi_name delfick-project
Name: python-%{pypi_name}
Version: 0.7.8
Release: 1%{?dist}
Summary: Common code I use in all my projects
License: MIT
URL: https://github.com/delfick/delfick_project
Source0: https://files.pythonhosted.org/packages/source/d/%{pypi_name}/delfick_project-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3dist(setuptools)
%description
Project helpers This is a collection of code that I use in nearly all my
projects:
* Mainline helper
* Custom python exception class
* Logging helpers
* Option merging
* Validation and Normalisation of data
* Module addon system
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
Requires: python3dist(rainbow-logging-handler) = 2.2.2
%description -n python3-%{pypi_name}
Project helpers This is a collection of code that I use in nearly all my
projects:
* Mainline helper
* Custom python exception class
* Logging helpers
* Option merging
* Validation and Normalisation of data
* Module addon system
%prep
%autosetup -n delfick_project-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
%build
%py3_build
%install
%py3_install
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.rst
%{python3_sitelib}/delfick_project
%{python3_sitelib}/delfick_project-%{version}-py%{python3_version}.egg-info
%changelog
- Initial packaging of delfick-project from PyPi.