]>
Commit | Line | Data |
---|---|---|
1bb89245 MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = python3-pytz | |
13a3dd67 | 7 | version = 2023.3 |
1bb89245 MT |
8 | release = 1 |
9 | thisapp = pytz-%{version} | |
10 | ||
11 | groups = Development/Tools | |
12 | url = https://pypi.org/project/pytz/ | |
13 | license = MIT | |
14 | summary = World timezone definitions, modern and historical | |
15 | ||
16 | description | |
17 | pytz brings the Olson tz database into Python. | |
18 | end | |
19 | ||
13a3dd67 | 20 | source_dl = https://files.pythonhosted.org/packages/5e/32/12032aa8c673ee16707a9b6cdda2b09c0089131f35af55d443b6a9c69c1d |
1bb89245 MT |
21 | |
22 | build | |
23 | requires | |
24 | python3-devel | |
25 | end | |
26 | ||
27 | build | |
28 | %{python3} setup.py build | |
29 | end | |
30 | ||
31 | install | |
32 | %{python3} setup.py install --root=%{BUILDROOT} | |
33 | ||
34 | # Do not install a copy of the zoneinfo | |
35 | rm -rfv %{BUILDROOT}%{python3_sitelib}/pytz/zoneinfo | |
36 | end | |
37 | end | |
38 | ||
39 | packages | |
40 | package %{name} | |
41 | requires | |
42 | tzdata | |
43 | end | |
44 | end | |
45 | end |