forked from pool/python-py2pack
- 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/package/show/devel:languages:python/python-py2pack?expand=0&rev=30
This commit is contained in:
committed by
Git OBS Bridge
parent
3d56e7b5b6
commit
0024164613
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f6b4493d159596aa63cdb56cdd68a04213b2c5cb817f2f715d7028bc7601a537
|
||||
size 16737
|
3
py2pack-0.3.18.tar.gz
Normal file
3
py2pack-0.3.18.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:90e3b6cc0ade0458dbb5047bed27b28d7e0853c07322f1fc5504aacee143af4d
|
||||
size 16788
|
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
@@ -15,16 +15,14 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%define mod_name py2pack
|
||||
|
||||
Name: python-%{mod_name}
|
||||
Version: 0.3.17
|
||||
Name: python-py2pack
|
||||
Version: 0.3.18
|
||||
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: py2pack-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-argparse
|
||||
BuildRequires: python-devel
|
||||
@@ -48,7 +46,7 @@ universal tool to package Python modules.
|
||||
|
||||
%prep
|
||||
export CFLAGS="%{optflags}"
|
||||
%setup -q -n %{mod_name}-%{version}
|
||||
%setup -q -n py2pack-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
@@ -57,9 +55,9 @@ python setup.py build
|
||||
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}
|
||||
@@ -67,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