OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=1
This commit is contained in:
commit
df7a01e737
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
58
python-setuptools.spec
Normal file
58
python-setuptools.spec
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
%define modname setuptools
|
||||||
|
Name: python-%{modname}
|
||||||
|
URL: http://peak.telecommunity.com/DevCenter/setuptools
|
||||||
|
Summary: Download, build, install, upgrade, and uninstall Python packages -- easily!
|
||||||
|
Version: 0.6
|
||||||
|
%define extraver b3
|
||||||
|
Release: 5
|
||||||
|
License: PSF or ZPL
|
||||||
|
Group: Development/Libraries/Python
|
||||||
|
Source: %{modname}-%{version}%{extraver}.tar.bz2
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
%{py_requires}
|
||||||
|
Requires: python-devel
|
||||||
|
BuildRequires: python-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
setuptools is a collection of enhancements to the Python distutils (for Python
|
||||||
|
2.3 and up) that allow you to more easily build and distribute Python
|
||||||
|
packages, especially ones that have dependencies on other packages.
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Phillip J. Eby <peak@eby-sarna.com>
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{modname}-%{version}%{extraver}
|
||||||
|
|
||||||
|
%build
|
||||||
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
python setup.py build
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record=INSTALLED_FILES
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%files -f INSTALLED_FILES
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc EasyInstall.txt api_tests.txt pkg_resources.txt setuptools.txt
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
|
||||||
|
* Tue Jul 04 2006 - James Oakley <jfunk@funktronics.ca> - 0.6-5
|
||||||
|
- Requires python-devel at runtime
|
||||||
|
|
||||||
|
* Fri Jun 23 2006 - James Oakley <jfunk@funktronics.ca> - 0.6-4
|
||||||
|
- No longer need pth kludge
|
||||||
|
|
||||||
|
* Thu Jun 22 2006 - James Oakley <jfunk@funktronics.ca> - 0.6-3
|
||||||
|
- Update
|
||||||
|
|
||||||
|
* Thu Oct 13 2005 - James Oakley <jfunk@funktronics.ca> - 0.6-ft.2
|
||||||
|
- Create a pth file
|
||||||
|
|
||||||
|
* Thu Oct 13 2005 - James Oakley <jfunk@funktronics.ca> - 0.6-ft.1
|
||||||
|
- Initial release
|
Loading…
Reference in New Issue
Block a user