From 00241646137704dfd5e1b75308489eb55180b3062b913f394887dbbd8503f853 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 31 May 2011 08:03:37 +0000 Subject: [PATCH 1/2] - 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 --- py2pack-0.3.17.tar.gz | 3 --- py2pack-0.3.18.tar.gz | 3 +++ python-py2pack.changes | 7 +++++++ python-py2pack.spec | 20 +++++++++----------- 4 files changed, 19 insertions(+), 14 deletions(-) delete mode 100644 py2pack-0.3.17.tar.gz create mode 100644 py2pack-0.3.18.tar.gz diff --git a/py2pack-0.3.17.tar.gz b/py2pack-0.3.17.tar.gz deleted file mode 100644 index c7a63cc..0000000 --- a/py2pack-0.3.17.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f6b4493d159596aa63cdb56cdd68a04213b2c5cb817f2f715d7028bc7601a537 -size 16737 diff --git a/py2pack-0.3.18.tar.gz b/py2pack-0.3.18.tar.gz new file mode 100644 index 0000000..8f4ebc1 --- /dev/null +++ b/py2pack-0.3.18.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:90e3b6cc0ade0458dbb5047bed27b28d7e0853c07322f1fc5504aacee143af4d +size 16788 diff --git a/python-py2pack.changes b/python-py2pack.changes index 43888ef..f6530cc 100644 --- a/python-py2pack.changes +++ b/python-py2pack.changes @@ -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 diff --git a/python-py2pack.spec b/python-py2pack.spec index a777df5..22497d1 100644 --- a/python-py2pack.spec +++ b/python-py2pack.spec @@ -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 From 71af43e271e852b2ceb6b814f0e73a47881154406fabe43f82230ab5081c8fc6 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Wed, 22 Jun 2011 10:35:32 +0000 Subject: [PATCH 2/2] - Update to version 0.3.20 * Use URL for RPM tag 'Source' instead of filename OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=31 --- py2pack-0.3.18.tar.gz | 3 --- py2pack-0.3.20.tar.gz | 3 +++ python-py2pack.changes | 6 ++++++ python-py2pack.spec | 6 +++--- 4 files changed, 12 insertions(+), 6 deletions(-) delete mode 100644 py2pack-0.3.18.tar.gz create mode 100644 py2pack-0.3.20.tar.gz diff --git a/py2pack-0.3.18.tar.gz b/py2pack-0.3.18.tar.gz deleted file mode 100644 index 8f4ebc1..0000000 --- a/py2pack-0.3.18.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:90e3b6cc0ade0458dbb5047bed27b28d7e0853c07322f1fc5504aacee143af4d -size 16788 diff --git a/py2pack-0.3.20.tar.gz b/py2pack-0.3.20.tar.gz new file mode 100644 index 0000000..7497a3e --- /dev/null +++ b/py2pack-0.3.20.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:571a048f6f5e7d169ee3322a202bc53944a15ef0044a42302a90698a553d3b90 +size 16750 diff --git a/python-py2pack.changes b/python-py2pack.changes index f6530cc..a045688 100644 --- a/python-py2pack.changes +++ b/python-py2pack.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/python-py2pack.spec b/python-py2pack.spec index 22497d1..be17804 100644 --- a/python-py2pack.spec +++ b/python-py2pack.spec @@ -16,13 +16,13 @@ # Name: python-py2pack -Version: 0.3.18 +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: py2pack-%{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 @@ -45,10 +45,10 @@ 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 py2pack-%{version} %build +export CFLAGS="%{optflags}" python setup.py build %install