forked from pool/python-py2pack
Accepting request 461852 from devel:languages:python
- update to 0.8.0: * Ignore the required python version for now * Add build condition for tests in opensuse template * Install setup_requires as BuildRequires during build * Update opensuse template for singlespec approach * Remove useless '(' and ')' replacements from opensuse template * travis: Update credential to deploy on pypi - Remove manpage for now. Build is broken. OBS-URL: https://build.opensuse.org/request/show/461852 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=38
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e40f175ab5f5d4fd75eac2d9984a3150b06c67493365b3bd7730885daf29c1ed
|
|
||||||
size 36460
|
|
3
py2pack-0.8.0.tar.gz
Normal file
3
py2pack-0.8.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b7d68a55fa84432276470b00251cc1c7173f72cb847684cb5c22af7b04501562
|
||||||
|
size 36939
|
@@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 2 09:25:21 UTC 2017 - tbechtold@suse.com
|
||||||
|
|
||||||
|
- update to 0.8.0:
|
||||||
|
* Ignore the required python version for now
|
||||||
|
* Add build condition for tests in opensuse template
|
||||||
|
* Install setup_requires as BuildRequires during build
|
||||||
|
* Update opensuse template for singlespec approach
|
||||||
|
* Remove useless '(' and ')' replacements from opensuse template
|
||||||
|
* travis: Update credential to deploy on pypi
|
||||||
|
- Remove manpage for now. Build is broken.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 14 11:49:36 UTC 2017 - tbechtold@suse.com
|
Tue Feb 14 11:49:36 UTC 2017 - tbechtold@suse.com
|
||||||
|
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-py2pack
|
Name: python-py2pack
|
||||||
Version: 0.7.0
|
Version: 0.8.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://github.com/saschpe/py2pack
|
Url: http://github.com/saschpe/py2pack
|
||||||
Summary: Generate distribution packages from Python packages on PyPI
|
Summary: Generate distribution packages from Python packages on PyPI
|
||||||
@@ -28,6 +28,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
BuildRequires: python-Jinja2
|
BuildRequires: python-Jinja2
|
||||||
BuildRequires: python-Sphinx
|
BuildRequires: python-Sphinx
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: python-metaextract
|
||||||
BuildRequires: python-pbr
|
BuildRequires: python-pbr
|
||||||
BuildRequires: python-six
|
BuildRequires: python-six
|
||||||
BuildRequires: python-sphinxcontrib-programoutput
|
BuildRequires: python-sphinxcontrib-programoutput
|
||||||
@@ -57,11 +58,6 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
|
|||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
install -d %{buildroot}%{_mandir}/man1
|
|
||||||
|
|
||||||
mv doc/build/man/py2pack.1 %{buildroot}%{_mandir}/man1/py2pack-%{py_ver}.1
|
|
||||||
ln -s -f %{_sysconfdir}/alternatives/py2pack.1.gz %{buildroot}%{_mandir}/man1/py2pack.1.gz
|
|
||||||
|
|
||||||
# Prepare for update-alternatives usage
|
# Prepare for update-alternatives usage
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||||
mv %{buildroot}%{_bindir}/py2pack %{buildroot}%{_bindir}/py2pack-%{py_ver}
|
mv %{buildroot}%{_bindir}/py2pack %{buildroot}%{_bindir}/py2pack-%{py_ver}
|
||||||
@@ -73,8 +69,7 @@ touch %{buildroot}%{_sysconfdir}/alternatives/py2pack.1.gz
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
%_sbindir/update-alternatives \
|
%_sbindir/update-alternatives \
|
||||||
--install %{_bindir}/py2pack py2pack %{_bindir}/py2pack-%{py_ver} 30 \
|
--install %{_bindir}/py2pack py2pack %{_bindir}/py2pack-%{py_ver} 30
|
||||||
--slave %{_mandir}/man1/py2pack.1.gz py2pack.1.gz %{_mandir}/man1/py2pack-%{py_ver}.1.gz
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [ $1 -eq 0 ] ; then
|
if [ $1 -eq 0 ] ; then
|
||||||
@@ -86,8 +81,6 @@ fi
|
|||||||
%doc AUTHORS LICENSE README.rst doc/build/html
|
%doc AUTHORS LICENSE README.rst doc/build/html
|
||||||
%{_bindir}/py2pack
|
%{_bindir}/py2pack
|
||||||
%{_bindir}/py2pack-%{py_ver}
|
%{_bindir}/py2pack-%{py_ver}
|
||||||
%{_mandir}/man1/py2pack.1.gz
|
|
||||||
%{_mandir}/man1/py2pack-%{py_ver}.1.gz
|
|
||||||
%ghost %{_sysconfdir}/alternatives/py2pack
|
%ghost %{_sysconfdir}/alternatives/py2pack
|
||||||
%ghost %{_sysconfdir}/alternatives/py2pack.1.gz
|
%ghost %{_sysconfdir}/alternatives/py2pack.1.gz
|
||||||
%{python_sitelib}/py2pack-%{version}-py*.egg-info
|
%{python_sitelib}/py2pack-%{version}-py*.egg-info
|
||||||
|
Reference in New Issue
Block a user