forked from pool/python-py2pack
Accepting request 74305 from devel:languages:python
- Update to version 0.3.20 * Use URL for RPM tag 'Source' instead of filename - Update to version 0.3.18 * Also list dependencies from 'install_requires' * Allow to depend on specific Python versions OBS-URL: https://build.opensuse.org/request/show/74305 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=16
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f6b4493d159596aa63cdb56cdd68a04213b2c5cb817f2f715d7028bc7601a537
|
||||
size 16737
|
3
py2pack-0.3.20.tar.gz
Normal file
3
py2pack-0.3.20.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:571a048f6f5e7d169ee3322a202bc53944a15ef0044a42302a90698a553d3b90
|
||||
size 16750
|
@@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 22 10:21:55 UTC 2011 - saschpe@suse.de
|
||||
|
||||
- Update to version 0.3.20
|
||||
* Use URL for RPM tag 'Source' instead of filename
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 31 08:01:06 UTC 2011 - saschpe@suse.de
|
||||
|
||||
- Update to version 0.3.18
|
||||
* Also list dependencies from 'install_requires'
|
||||
* Allow to depend on specific Python versions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 18 11:36:27 UTC 2011 - saschpe@suse.de
|
||||
|
||||
|
@@ -11,21 +11,18 @@
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%define mod_name py2pack
|
||||
|
||||
Name: python-%{mod_name}
|
||||
Version: 0.3.17
|
||||
Release: 1
|
||||
Name: python-py2pack
|
||||
Version: 0.3.20
|
||||
Release: 0
|
||||
Url: http://github.com/saschpe/py2pack
|
||||
Summary: Generate distribution packages from Python packages on PyPI
|
||||
License: GPLv2
|
||||
Group: Development/Languages/Python
|
||||
Source: %{mod_name}-%{version}.tar.gz
|
||||
Source: http://pypi.python.org/packages/source/p/py2pack/py2pack-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-argparse
|
||||
BuildRequires: python-devel
|
||||
@@ -48,19 +45,19 @@ It allows to list Python modules or search for them on the Python Package Index
|
||||
universal tool to package Python modules.
|
||||
|
||||
%prep
|
||||
export CFLAGS="%{optflags}"
|
||||
%setup -q -n %{mod_name}-%{version}
|
||||
%setup -q -n py2pack-%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
# The setup script installs stuff into '/usr/local', move stuff around accordingly
|
||||
install -d %{buildroot}%{_mandir}/man1
|
||||
mv %{buildroot}/usr/man/man1/%{mod_name}.* %{buildroot}%{_mandir}/man1
|
||||
mv %{buildroot}/usr/man/man1/py2pack.* %{buildroot}%{_mandir}/man1
|
||||
install -d %{buildroot}%{_docdir}/%{name}
|
||||
mv %{buildroot}/usr/share/doc/%{mod_name}/* %{buildroot}%{_docdir}/%{name}
|
||||
mv %{buildroot}/usr/share/doc/py2pack/* %{buildroot}%{_docdir}/%{name}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
@@ -68,8 +65,8 @@ rm -rf %{buildroot}
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_docdir}/%{name}
|
||||
%{_mandir}/man?/%{mod_name}.*
|
||||
%{_bindir}/%{mod_name}
|
||||
%python_sitelib/%{mod_name}*
|
||||
%{_mandir}/man?/py2pack.*
|
||||
%{_bindir}/py2pack
|
||||
%python_sitelib/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user