/[packages]/cauldron/python-pip/current/SPECS/python-pip.spec
ViewVC logotype

Contents of /cauldron/python-pip/current/SPECS/python-pip.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 389213 - (show annotations) (download)
Thu Jan 17 21:29:26 2013 UTC (11 years, 3 months ago) by pterjan
Original Path: obsolete/cauldron/python-pip/current/SPECS/python-pip.spec
File size: 1222 byte(s)
Drop 
1 # Created by pyp2rpm-1.0.0
2 %global pypi_name pip
3 %define version 1.2.1
4
5 Name: python-pip
6 Version: %{version}
7 Release: %mkrel 1
8 Group: Development/Python
9 Summary: pip installs packages. Python packages. An easy_install replacement
10
11 License: MIT
12 URL: TODO:
13 Source0: http://pypi.python.org/packages/source/p/pip/pip-%{version}.tar.gz
14 BuildArch: noarch
15
16 BuildRequires: python-devel
17
18
19 %description
20 pip
21 ===
22
23 `pip` is a tool for installing and managing Python packages, such as
24 those found in the `Python Package Index`_. It's a replacement for
25 easy_install_.
26 ::
27
28 $ pip install simplejson
29 [... progress report ...]
30 Successfully installed simplejson
31
32 .. _`Python Package Index`:
33 http://pypi.python.org/pypi
34 .. _easy_install:
35 http://peak.telecommunity.com/DevCenter/EasyInstall
36
37 Upgrading ...
38
39
40 %prep
41 %setup -q -n %{pypi_name}-%{version}
42 # Remove bundled egg-info
43 rm -rf %{pypi_name}.egg-info
44
45
46
47 %build
48 %{__python} setup.py build
49
50
51 %install
52 %{__python} setup.py install --skip-build --root %{buildroot}
53
54
55 %files
56 %doc LICENSE.txt
57 %{_bindir}/pip
58 %{_bindir}/pip-2.7
59 %{python_sitelib}/%{pypi_name}
60 %{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info

  ViewVC Help
Powered by ViewVC 1.1.30