Skip to content
This repository was archived by the owner on Jul 24, 2020. It is now read-only.

Commit 1be147d

Browse files
committed
39.0.1
- Latest upstream - Include CHANGES.rst and README.rst
1 parent 9879a7d commit 1be147d

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

SPECS/python27-setuptools.spec

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
%global python python27
2-
%global python2_version 2.7
3-
%global __python2 %{_bindir}/python%{python2_version}
4-
%global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
52
%global srcname setuptools
63
%global with_check 0
74

85
Name: %{python}-%{srcname}
9-
Version: 36.6.0
6+
Version: 39.0.1
107
Release: 1.ius%{?dist}
118
Summary: Easily build and distribute Python packages
12-
Vendor: IUS Community Project
13-
Group: Applications/System
149
License: MIT
1510
URL: https://pypi.python.org/pypi/%{srcname}
1611
Source0: https://files.pythonhosted.org/packages/source/s/%{srcname}/%{srcname}-%{version}.zip
@@ -47,31 +42,36 @@ rm -f setuptools/*.exe
4742

4843

4944
%build
50-
%{__python2} setup.py build
45+
%{__python27} setup.py build
5146

5247

5348
%install
54-
%{__python2} setup.py install --optimize 1 --skip-build --root %{buildroot}
49+
%{__python27} setup.py install --optimize 1 --skip-build --root %{buildroot}
5550
rm -r docs/{Makefile,conf.py,_*}
5651
rm %{buildroot}%{_bindir}/easy_install
5752

5853

5954
%if 0%{?with_check}
6055
%check
61-
# Upstream has switched to 'setup.py ptr'. We need to build
62-
# python%{iusver}-mock and python%{iusver}-pytest to enable this.
63-
LC_CTYPE=en_US.utf8 %{__python2} setup.py ptr
56+
LANG=en_US.utf8 PYTHONPATH=$(pwd) py.test-%{python27_version}
6457
%endif
6558

6659

6760
%files
6861
%license LICENSE
69-
%doc docs/*
70-
%{python2_sitelib}/*
71-
%{_bindir}/easy_install-%{python2_version}
62+
%doc docs/* CHANGES.rst README.rst
63+
%{python27_sitelib}/easy_install.py*
64+
%{python27_sitelib}/pkg_resources/
65+
%{python27_sitelib}/setuptools/
66+
%{python27_sitelib}/setuptools-%{version}-py2.7.egg-info
67+
%{_bindir}/easy_install-%{python27_version}
7268

7369

7470
%changelog
71+
* Tue Mar 27 2018 Carl George <carl@george.computer> - 39.0.1-1.ius
72+
- Latest upstream
73+
- Include CHANGES.rst and README.rst
74+
7575
* Thu Nov 09 2017 Ben Harper <ben.harper@rackspace.com> - 36.6.0-1.ius
7676
- Latest upstream
7777
- drop EL5 stuff

0 commit comments

Comments
 (0)