forked from pool/python-versiontools
- Update to 1.8:
* Fixed all pep8 issues (prettier syntax) * Fixed an issue with using __import__ on Python 2.4. * Fixed an issue with using :versiontools:path.to.symbol with nested modules * Fixed an issue with using exceptions on Python 3.x * Added test that demostrated that exception handling works on all Python versions. * Unified error handling across version control plugins. * General documentation improvements, installation, usage, code refrerence, and writing additional plug-ins. * Added a *backwards incompatible* constraint on serial to be greater than zero on alpha, beta and release candidates as required by :pep:`386`. - Fixed non-executable scripts rpmlint warning OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-versiontools?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
374d2ebb16
commit
b74ccaffc4
@@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 21 18:24:32 UTC 2011 - saschpe@suse.de
|
||||||
|
|
||||||
|
- Update to 1.8:
|
||||||
|
* Fixed all pep8 issues (prettier syntax)
|
||||||
|
* Fixed an issue with using __import__ on Python 2.4.
|
||||||
|
* Fixed an issue with using :versiontools:path.to.symbol with nested modules
|
||||||
|
* Fixed an issue with using exceptions on Python 3.x
|
||||||
|
* Added test that demostrated that exception handling works on all Python versions.
|
||||||
|
* Unified error handling across version control plugins.
|
||||||
|
* General documentation improvements, installation, usage, code refrerence,
|
||||||
|
and writing additional plug-ins.
|
||||||
|
* Added a *backwards incompatible* constraint on serial to be greater than
|
||||||
|
zero on alpha, beta and release candidates as required by :pep:`386`.
|
||||||
|
- Fixed non-executable scripts rpmlint warning
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 8 01:49:15 UTC 2011 - alexandre@exatati.com.br
|
Thu Sep 8 01:49:15 UTC 2011 - alexandre@exatati.com.br
|
||||||
|
|
||||||
|
@@ -15,29 +15,25 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
Name: python-versiontools
|
||||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
Version: 1.8
|
||||||
|
|
||||||
%define mod_name versiontools
|
|
||||||
|
|
||||||
Name: python-%{mod_name}
|
|
||||||
Version: 1.7
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: https://launchpad.net/versiontools
|
Url: https://launchpad.net/versiontools
|
||||||
Summary: Smart Replacement for Plain Tuple Used in __version__
|
Summary: Smart replacement for plain tuple used in __version__
|
||||||
License: LGPLv3
|
License: LGPL-3.0+
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source: %{mod_name}-%{version}.tar.bz2
|
Source: http://pypi.python.org/packages/source/v/versiontools/versiontools-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Requires: python-distribute
|
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-distribute
|
BuildRequires: python-distribute
|
||||||
|
Requires: python-distribute
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
%py_requires
|
%py_requires
|
||||||
%if 0%{?suse_version} > 1110
|
%if 0%{?suse_version} > 1110
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Smart replacement for plain tuple used in __version__.
|
Smart replacement for plain tuple used in __version__.
|
||||||
@@ -50,23 +46,19 @@ Smart replacement for plain tuple used in __version__.
|
|||||||
with PEP 386
|
with PEP 386
|
||||||
* Remain comparable as tuple of integers
|
* Remain comparable as tuple of integers
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{mod_name}-%{version}
|
%setup -q -n versiontools-%{version}
|
||||||
|
sed -i "1d" versiontools/{git_support,hg_support,bzr_support}.py # Fix non-executable scripts
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
|
||||||
python setup.py build
|
python setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc doc
|
%doc doc/*
|
||||||
%{python_sitelib}/%{mod_name}*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:56a4b14a70161bdf6121547e7349fecf5da6c1970179a6ab2a19d327fc0705d6
|
|
||||||
size 12823
|
|
3
versiontools-1.8.tar.gz
Normal file
3
versiontools-1.8.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:585c5a8fa2cd7cffa5555d44075e4672a242a666b59eec3e25ba1cff05d97520
|
||||||
|
size 16626
|
Reference in New Issue
Block a user