commit e9bc1602251efbf09d2a968432898cb690a1938465b137d67fe30180f1fdba5b Author: Adrian Schröter Date: Fri May 3 22:58:08 2024 +0200 Sync from SUSE:SLFO:Main python-setuptools-git revision 8b0ad882e1d60afd61fa9c88692cb4a6 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/python-setuptools-git.changes b/python-setuptools-git.changes new file mode 100644 index 0000000..219695e --- /dev/null +++ b/python-setuptools-git.changes @@ -0,0 +1,82 @@ +------------------------------------------------------------------- +Tue May 9 13:37:45 UTC 2023 - Johannes Kastl + +- add sle15_python_module_pythons + +------------------------------------------------------------------- +Wed Sep 8 09:08:54 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + +------------------------------------------------------------------- +Tue Dec 4 12:54:13 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +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 + +- Remove obsolete hacks of when python2 and 3 specfiles where in the + place + +------------------------------------------------------------------- +Tue May 12 15:46:14 UTC 2015 - benoit.monin@gmx.fr + +- update to version 1.1: + * no changelog available +- add test dependency git-core +- run the tests during build + +------------------------------------------------------------------- +Thu Oct 24 11:14:18 UTC 2013 - speilicke@suse.com + +- Require python-setuptools instead of distribute (upstreams merged) + +------------------------------------------------------------------- +Fri Apr 12 11:13:01 UTC 2013 - toddrme2178@gmail.com + +- Added requires and buildrequires python3. It will not work + properly without them on openSUSE < 12.3 +- Cleanup some macros + +------------------------------------------------------------------- +Mon Jan 21 15:38:52 UTC 2013 - p.drouand@gmail.com + +- Initial python3 support + +------------------------------------------------------------------- +Mon Jan 14 10:45:12 UTC 2013 - alexandre@exatati.com.br + +- Update to 1.0b1: + - Sorry, no changelog. + +------------------------------------------------------------------- +Mon Nov 19 14:54:59 UTC 2012 - cfarrell@suse.com + +- license update: SUSE-Public-Domain + SPDX format (or SUSE version thereof) + +------------------------------------------------------------------- +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..8b7f798 --- /dev/null +++ b/python-setuptools-git.spec @@ -0,0 +1,65 @@ +# +# spec file for package python-setuptools-git +# +# Copyright (c) 2023 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-setuptools-git +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: https://files.pythonhosted.org/packages/source/s/setuptools-git/setuptools-git-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: git-core +BuildRequires: python-rpm-macros +BuildArch: noarch +%python_subpackages + +%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. + +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 setuptools-git-%{version} + +%build +%python_build + +%install +%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" +%pyunittest discover -v + +%files %{python_files} +%license LICENSE.txt +%doc AUTHORS.txt README.rst TODO.txt +%{python_sitelib}/* + +%changelog diff --git a/setuptools-git-1.2.tar.gz b/setuptools-git-1.2.tar.gz new file mode 100644 index 0000000..e4fc5b8 --- /dev/null +++ b/setuptools-git-1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff64136da01aabba76ae88b050e7197918d8b2139ccbf6144e14d472b9c40445 +size 10546