- Initial version
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wheel?expand=0&rev=1
This commit is contained in:
commit
d52a6bcd26
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
|
5
python-wheel.changes
Normal file
5
python-wheel.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 12 09:31:37 UTC 2013 - speilicke@suse.com
|
||||||
|
|
||||||
|
- Initial version
|
||||||
|
|
107
python-wheel.spec
Normal file
107
python-wheel.spec
Normal file
@ -0,0 +1,107 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-wheel
|
||||||
|
#
|
||||||
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
|
||||||
|
|
||||||
|
Name: python-wheel
|
||||||
|
Version: 0.21.0
|
||||||
|
Release: 0
|
||||||
|
License: MIT
|
||||||
|
Summary: A built-package format for Python
|
||||||
|
Url: http://bitbucket.org/dholth/wheel/
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
Source: https://pypi.python.org/packages/source/w/wheel/wheel-%{version}.tar.gz
|
||||||
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: python-setuptools
|
||||||
|
# Test requirements:
|
||||||
|
BuildRequires: python-jsonschema
|
||||||
|
BuildRequires: python-pytest
|
||||||
|
BuildRequires: python-coverage
|
||||||
|
BuildRequires: python-cov-core >= 1.6
|
||||||
|
BuildRequires: python-pytest-cov
|
||||||
|
Recommends: python-ed25519ll
|
||||||
|
Recommends: python-dirspec
|
||||||
|
Recommends: python-keyring
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
|
Requires: python-argparse
|
||||||
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
%else
|
||||||
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
A built-package format for Python.
|
||||||
|
|
||||||
|
A wheel is a ZIP-format archive with a specially formatted filename
|
||||||
|
and the .whl extension. It is designed to contain all the files for a
|
||||||
|
PEP 376 compatible install in a way that is very close to the on-disk
|
||||||
|
format. Many packages will be properly installed with only the "Unpack"
|
||||||
|
step (simply extracting the file onto sys.path), and the unpacked archive
|
||||||
|
preserves enough information to "Spread" (copy data and scripts to their
|
||||||
|
final locations) at any later time.
|
||||||
|
|
||||||
|
The wheel project provides a bdist_wheel command for setuptools
|
||||||
|
(requires distribute >= 0.6.34). Wheel files can be
|
||||||
|
installed with a newer pip from https://github.com/pypa/pip
|
||||||
|
or with wheel's own command line utility.
|
||||||
|
|
||||||
|
The wheel documentation is at http://wheel.rtfd.org/. The
|
||||||
|
file format is documented in PEP 427
|
||||||
|
(http://www.python.org/dev/peps/pep-0427/).
|
||||||
|
|
||||||
|
The reference implementation is at http://bitbucket.org/dholth/wheel/
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n wheel-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
python setup.py build
|
||||||
|
|
||||||
|
%install
|
||||||
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
for b in egg2wheel wheel wininst2wheel ; do
|
||||||
|
mv %{buildroot}%{_bindir}/$b %{buildroot}%{_bindir}/$b-%{py_ver}
|
||||||
|
ln -s %{_bindir}/$b-%{py_ver} %{buildroot}%{_bindir}/$b
|
||||||
|
done
|
||||||
|
|
||||||
|
%check
|
||||||
|
python setup.py test
|
||||||
|
|
||||||
|
%post
|
||||||
|
update-alternatives --install %{_bindir}/wheel wheel %{_bindir}/wheel-%{py_ver} 20 \
|
||||||
|
--slave %{_bindir}/egg2wheel egg2wheel %{_bindir}/egg2wheel-%{py_ver} \
|
||||||
|
--slave %{_bindir}/wininst2wheel wininst2wheel %{_bindir}/wininst2wheel-%{py_ver}
|
||||||
|
|
||||||
|
%preun
|
||||||
|
if [ $1 -eq 0 ] ; then
|
||||||
|
update-alternatives --remove wheel %{_bindir}/wheel-%{py_ver}
|
||||||
|
fi
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc CHANGES.txt README.txt LICENSE.txt
|
||||||
|
%ghost %{_bindir}/egg2wheel
|
||||||
|
%{_bindir}/egg2wheel-%{py_ver}
|
||||||
|
%ghost %{_bindir}/wheel
|
||||||
|
%{_bindir}/wheel-%{py_ver}
|
||||||
|
%ghost %{_bindir}/wininst2wheel
|
||||||
|
%{_bindir}/wininst2wheel-%{py_ver}
|
||||||
|
%{python_sitelib}/wheel-%{version}-py%{py_ver}.egg-info
|
||||||
|
%{python_sitelib}/wheel/
|
||||||
|
|
||||||
|
%changelog
|
3
wheel-0.21.0.tar.gz
Normal file
3
wheel-0.21.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:784381c14485ffb80658bfe14d3c87c2dc448231cd871c07026bd4920b4cc6df
|
||||||
|
size 39728
|
Loading…
x
Reference in New Issue
Block a user