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

Contents of /cauldron/python-stsci-distutils/current/SPECS/python-stsci-distutils.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 499479 - (show annotations) (download)
Mon Oct 14 23:49:02 2013 UTC (10 years, 6 months ago) by pterjan
File size: 1350 byte(s)
Rebuild to add different pythonegg provides for python 2 and 3
1 # Created by pyp2rpm-1.0.1
2 %global pypi_name stsci.distutils
3 %define version 0.3.4
4
5 Name: python-stsci-distutils
6 Version: %{version}
7 Release: %mkrel 3
8 Group: Sciences/Astronomy
9 Summary: distutils/packaging-related utilities used by some of STScI's packages
10
11 License: BSD
12 URL: http://www.stsci.edu/resources/software_hardware/stsci_python
13 Source0: https://pypi.python.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
14 BuildArch: noarch
15
16 BuildRequires: python-devel
17 BuildRequires: python-d2to1 >= 0.2.9
18 BuildRequires: python-setuptools
19
20 %description
21 This package contains utilities used to package some of STScI's Python
22 projects; specifically those projects that comprise stsci_python_ and
23 Astrolib_.
24
25 It currently consists mostly of some setup_hook scripts meant for use with
26 `distutils2/packaging`_ and/or d2to1_, and a customized easy_install command
27 meant for use with distribute_.
28
29 %prep
30 %setup -q -n %{pypi_name}-%{version}
31 # Remove bundled egg-info
32 rm -rf %{pypi_name}.egg-info
33
34 %build
35 %{__python} setup.py build
36
37 %install
38 %{__python} setup.py install --skip-build --root %{buildroot}
39
40 %files
41 %doc README.txt
42 %{python_sitelib}/stsci/distutils
43 %{python_sitelib}/%{pypi_name}-%{version}-py?.?-*.pth
44 %{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info

  ViewVC Help
Powered by ViewVC 1.1.30