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

  ViewVC Help
Powered by ViewVC 1.1.28