]>
Commit | Line | Data |
---|---|---|
2e4fb4df MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = python3-setuptools | |
8c4e2bd6 | 7 | version = 68.2.2 |
2e4fb4df | 8 | release = 1 |
2e4fb4df MT |
9 | thisapp = setuptools-%{version} |
10 | ||
11 | groups = Development/Libraries | |
12 | url = https://pypi.python.org/pypi/setuptools | |
13 | license = Python or ZPLv2.0 | |
14 | summary = Easily build and distribute Python packages. | |
15 | ||
16 | description | |
17 | Setuptools is a collection of enhancements to the Python distutils | |
18 | that allow you to more easily build and distribute Python packages, | |
19 | especially ones that have dependencies on other packages. | |
20 | end | |
21 | ||
8c4e2bd6 | 22 | source_dl = https://files.pythonhosted.org/packages/ef/cc/93f7213b2ab5ed383f98ce8020e632ef256b406b8569606c3f160ed8e1c9 |
2e4fb4df MT |
23 | |
24 | build | |
5cd803df | 25 | |
2e4fb4df MT |
26 | requires |
27 | python3 | |
28 | python3-devel | |
29 | end | |
30 | ||
31 | export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES = 0 | |
32 | ||
33 | build | |
34 | %{python3} setup.py build | |
35 | end | |
36 | ||
37 | install | |
38 | %{python3} setup.py install -O1 --skip-build --root=%{BUILDROOT} | |
39 | ||
40 | rm -rvf %{BUILDROOT}%{python3_sitelib}/setuptools/tests | |
41 | chmod +x %{BUILDROOT}%{python3_sitelib}/setuptools/command/easy_install.py | |
42 | ||
43 | #find %{BUILDROOT}%{python3_sitelib} -name "*.exe" | xargs rm -vf | |
44 | end | |
45 | end | |
46 | ||
47 | packages | |
48 | package %{name} | |
49 | end |