Accepting request 519850 from devel:languages:python:singlespec-staging
1 OBS-URL: https://build.opensuse.org/request/show/519850 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools-git?expand=0&rev=19
This commit is contained in:
parent
960d543e63
commit
2549baa96e
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 31 06:54:17 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- update to version 1.2:
|
||||
* no changelog available
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 24 13:54:33 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
- singlespec auto-conversion
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 16 13:26:27 UTC 2015 - p.drouand@gmail.com
|
||||
|
||||
@ -53,3 +64,4 @@ Tue May 3 22:08:54 UTC 2011 - alexandre@exatati.com.br
|
||||
Thu Aug 13 19:17:33 UTC 2009 - alexandre@exatati.com.br
|
||||
|
||||
- Initial package (0.3) for openSUSE.
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-setuptools-git
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,25 +16,22 @@
|
||||
#
|
||||
|
||||
|
||||
%define mod_name setuptools-git
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-setuptools-git
|
||||
Version: 1.1
|
||||
Version: 1.2
|
||||
Release: 0
|
||||
Summary: Setuptools revision control system plugin for Git
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/wichert/setuptools-git
|
||||
Source: http://pypi.python.org/packages/source/s/setuptools-git/setuptools-git-%{version}.tar.gz
|
||||
Source: https://files.pythonhosted.org/packages/source/s/setuptools-git/setuptools-git-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: git-core
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This is a plugin for setuptools that enables git integration. Once
|
||||
@ -50,19 +47,21 @@ uniform naming convention.
|
||||
%setup -q -n setuptools-git-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
# configure git for the test
|
||||
git config --global user.email "test@test.test"
|
||||
git config --global user.name "test"
|
||||
python setup.py -q test
|
||||
%python_exec setup.py test
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS.txt LICENSE.txt README.rst TODO.txt
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:047d7595546635edebef226bc566579d422ccc48a8a91c7d32d8bd174f68f831
|
||||
size 9450
|
BIN
setuptools-git-1.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
setuptools-git-1.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user