- Update to 0.4.2:

- 
- Package renamed from python-setuptools_git to
  python-setuptools-git.

- Initial package (0.3) for openSUSE.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools-git?expand=0&rev=2
This commit is contained in:
Alexandre Rogoski 2011-05-03 22:20:11 +00:00 committed by Git OBS Bridge
parent 06864370c9
commit 2daab50d71
6 changed files with 83 additions and 48 deletions

View File

@ -0,0 +1,12 @@
-------------------------------------------------------------------
Tue May 3 22:08:54 UTC 2011 - alexandre@exatati.com.br
- Update to 0.4.2:
- Sorry, no changelog.
- Package renamed from python-setuptools_git to
python-setuptools-git.
-------------------------------------------------------------------
Thu Aug 13 19:17:33 UTC 2009 - alexandre@exatati.com.br
- Initial package (0.3) for openSUSE.

View File

@ -0,0 +1,68 @@
#
# spec file for package python-setuptools-git
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# 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()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%define mod_name setuptools-git
Name: python-%{mod_name}
Version: 0.4.2
Release: 0
Url: http://ygingras.net/b/tag/setuptools_git
Summary: Setuptools revision control system plugin for Git
License: Public Domain
Group: Development/Languages/Python
Source: %{mod_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-distribute
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1110
BuildArch: noarch
%endif
%endif
%description
This is a plugin for setup tools that enables Git integration. Once
installed, Setuptools can be told to include in a module distribution
all the files tracked by git. This is an alternative to explicit
inclusion specifications with MANIFEST.in.
This package was formerly known as gitlsfiles. The name change is the
result of an effort by the setuptools plugin developers to provide a
uniform naming convention.
%prep
%setup -q -n %{mod_name}-%{version}
%build
export CFLAGS="%{optflags}"
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{python_sitelib}/*
%changelog

View File

@ -1,4 +0,0 @@
-------------------------------------------------------------------
Thu Aug 13 19:17:33 UTC 2009 - alexandre@exatati.com.br
- Initial package (0.3) for openSUSE.

View File

@ -1,41 +0,0 @@
# norootforbuild
Name: python-setuptools_git
Version: 0.3
Release: 1
Summary: Setuptools_git package
License: BSD License
Group: Development/Libraries/Python
Source: setuptools_git-%{version}.tar.gz
URL: http://ygingras.net/b/tag/setuptools_git
BuildRequires: python-devel, python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
%description
This is a plugin for setuptools that enables git integration. Once
installed, Setuptools can be told to include in a package distribution
all the files tracked by git. This is an alternative to explicit
inclusion specifications with `MANIFEST.in`.
Authors:
--------
Humberto Diogenes <humberto@digi.com.br>
Yannick Gingras <ygingras@ygingras.net>
%prep
%setup -q -n setuptools_git-%{version}
%build
%{__python} setup.py build
%install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-,root,root)

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1f39be73fdd5f2c91ce5485fce60423802e0f66781c65dd44f9b312478fb10ee
size 3803

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3a17af15b876b57d12c98eb72bd3069198622229d0f9cb3e1c2579aa6edc9d8d
size 15206