forked from pool/python-jaraco.packaging
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
This commit is contained in:
commit
deb690e5da
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
jaraco.packaging-4.1.tar.gz
Normal file
3
jaraco.packaging-4.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9980b0fb6a0d2ee754d5979c9e5e02f31853da8e9046dc99f5abfcb7ace9e189
|
||||
size 8820
|
4
python-jaraco.packaging.changes
Normal file
4
python-jaraco.packaging.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 5 08:00:46 UTC 2017 - aloisio@gmx.com
|
||||
|
||||
- Initial package (4.1)
|
69
python-jaraco.packaging.spec
Normal file
69
python-jaraco.packaging.spec
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user