commit deb690e5da1330153b1f3665958ab6d6578f008db3b5b12b1c0c4dd564c184fe Author: Dirk Mueller Date: Wed Jul 5 11:29:19 2017 +0000 Accepting request 508312 from home:alois:branches:devel:languages:python OBS-URL: https://build.opensuse.org/request/show/508312 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.packaging?expand=0&rev=1 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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/jaraco.packaging-4.1.tar.gz b/jaraco.packaging-4.1.tar.gz new file mode 100644 index 0000000..a0bf8d4 --- /dev/null +++ b/jaraco.packaging-4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9980b0fb6a0d2ee754d5979c9e5e02f31853da8e9046dc99f5abfcb7ace9e189 +size 8820 diff --git a/python-jaraco.packaging.changes b/python-jaraco.packaging.changes new file mode 100644 index 0000000..5a4bd98 --- /dev/null +++ b/python-jaraco.packaging.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Jul 5 08:00:46 UTC 2017 - aloisio@gmx.com + +- Initial package (4.1) diff --git a/python-jaraco.packaging.spec b/python-jaraco.packaging.spec new file mode 100644 index 0000000..e623ce5 --- /dev/null +++ b/python-jaraco.packaging.spec @@ -0,0 +1,69 @@ +# +# spec file for package python-jaraco.packaging +# +# 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 +# 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_module:%define python_module() python-%{**} python3-%{**}} +Name: python-jaraco.packaging +Version: 4.1 +Release: 0 +Summary: Supplement packaging Python releases +License: MIT +Group: Development/Languages/Python +Url: https://github.com/jaraco/jaraco.packaging +Source: https://files.pythonhosted.org/packages/source/j/jaraco.packaging/jaraco.packaging-%{version}.tar.gz +BuildRequires: %{python_module base} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module setuptools_scm} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires(post): update-alternatives +Requires(preun): update-alternatives +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +%python_subpackages + +%description +Tools to supplement packaging Python releases. + +%prep +%setup -q -n jaraco.packaging-%{version} +rm -rf jaraco.packaging.egg-info + +%build +%python_build + +%install +%python_install +%python_expand %fdupes -s %{buildroot}%{$python_sitelib} + +%python_clone -a %{buildroot}%{_bindir}/dependency-tree +%python_clone -a %{buildroot}%{_bindir}/upload-package + +%post +%python_install_alternative dependency-tree upload-package + +%postun +%python_uninstall_alternative dependency-tree + +%files %{python_files} +%defattr(-,root,root) +%doc CHANGES.rst README.rst +%python_alternative %{_bindir}/dependency-tree +%python_alternative %{_bindir}/upload-package +%{python_sitelib}/* + +%changelog