[Tizen-submit] 3893: New package devel:upstream/python-distribute

noreply at tizen.org noreply at tizen.org
Fri May 3 23:18:56 GMT 2013


Hi,
Adding new package python-distribute in project devel:upstream. Please review and accept ASAP.

Justification for this new package:

Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.232101
Git project: platform/upstream/python-distribute
Tag: submit/tizen/20130503.232101
Commit: d2ff441 packaging cleanup

Thank You,
Prajwal Mohan

[This message was auto-generated]

---

Request: #3893

  submit:       devel:upstream:build/python-distribute(cleanup) -> devel:upstream


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.232101
Git project: platform/upstream/python-distribute
Tag: submit/tizen/20130503.232101
Commit: d2ff441 packaging cleanup

State:   new        2013-05-03T15:49:01 tizenrobot
Comment: <no comment>
new:
----
  distribute-0.6.30.tar.gz
  python-distribute.spec

spec files:
-----------

++++++ new spec file:
--- python-distribute.spec
+++ python-distribute.spec
@@ -0,0 +1,51 @@
+%define modname distribute
+%define mod2nam setuptools
+Name:           python-%{modname}
+Version:        0.6.30
+Release:        0
+VCS:        platform/upstream/python-distribute#submit/tizen/20130503.232101-0-gd2ff441
+Url:            http://packages.python.org/distribute
+Summary:        Easily download, build, install, upgrade, and uninstall Python packages
+License:        Python-2.0 or ZPL-2.0
+Group:          Development/Languages/Python
+Source:         http://pypi.python.org/packages/source/d/%{modname}/%{modname}-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  python-devel
+Provides:       python-setuptools = %{version}
+Obsoletes:      python-setuptools < %{version}
+BuildArch:      noarch
+%py_requires
+
+%description
+Distribute is a fork of the Setuptools project.
+
+Distribute is intended to replace Setuptools as the standard method for working
+with Python module distributions.
+
+%prep
+%setup -q -n %{modname}-%{version}
+rm -f %{modname}.egg-info/*.orig
+chmod -x {.,docs}/*.txt # Fix executable bits for documentation
+
+%build
+python setup.py build
+
+%install
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+rm -rf %{buildroot}%{python_sitelib}/%{mod2nam}/tests # Don't install tests
+rm -rf %{buildroot}%{python_sitelib}/%{mod2nam}/*.exe # Remove unneeded files
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/easy_install
+%{_bindir}/easy_install-%{py_ver}
+%{python_sitelib}/easy_install.py*
+%{python_sitelib}/pkg_resources.py*
+%{python_sitelib}/_markerlib/
+%{python_sitelib}/%{mod2nam}.pth
+%{python_sitelib}/%{mod2nam}/
+%{python_sitelib}/site.py*
+%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info/
+%{python_sitelib}/%{mod2nam}-*-py%{py_ver}.egg-info
+
+%changelog

other changes:
--------------

++++++ distribute-0.6.30.tar.gz (new)


More information about the Tizen-submit mailing list