diff --git a/python-setuptools-git.changes b/python-setuptools-git.changes new file mode 100644 index 0000000..48b555d --- /dev/null +++ b/python-setuptools-git.changes @@ -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. diff --git a/python-setuptools-git.spec b/python-setuptools-git.spec new file mode 100644 index 0000000..91c6427 --- /dev/null +++ b/python-setuptools-git.spec @@ -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 diff --git a/python-setuptools_git.changes b/python-setuptools_git.changes deleted file mode 100644 index 08aa5bd..0000000 --- a/python-setuptools_git.changes +++ /dev/null @@ -1,4 +0,0 @@ -------------------------------------------------------------------- -Thu Aug 13 19:17:33 UTC 2009 - alexandre@exatati.com.br - -- Initial package (0.3) for openSUSE. diff --git a/python-setuptools_git.spec b/python-setuptools_git.spec deleted file mode 100644 index ec047ae..0000000 --- a/python-setuptools_git.spec +++ /dev/null @@ -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 - Yannick Gingras - - -%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) diff --git a/setuptools-git-0.4.2.tar.bz2 b/setuptools-git-0.4.2.tar.bz2 new file mode 100644 index 0000000..d07bd60 --- /dev/null +++ b/setuptools-git-0.4.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f39be73fdd5f2c91ce5485fce60423802e0f66781c65dd44f9b312478fb10ee +size 3803 diff --git a/setuptools_git-0.3.tar.gz b/setuptools_git-0.3.tar.gz deleted file mode 100644 index 4ab8dd8..0000000 --- a/setuptools_git-0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3a17af15b876b57d12c98eb72bd3069198622229d0f9cb3e1c2579aa6edc9d8d -size 15206