From 422dc97f83f1dcffac8a54fdbbbf4348b962d1c6db4f570c272689d978e988cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 27 Feb 2019 08:30:02 +0000 Subject: [PATCH] Accepting request 679730 from home:jayvdb:coala:python3-bears - Initial spec for v0.5 OBS-URL: https://build.opensuse.org/request/show/679730 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-importlab?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++ .gitignore | 1 + importlab-0.5.tar.gz | 3 ++ python-importlab.changes | 4 +++ python-importlab.spec | 59 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 90 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 importlab-0.5.tar.gz create mode 100644 python-importlab.changes create mode 100644 python-importlab.spec 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/importlab-0.5.tar.gz b/importlab-0.5.tar.gz new file mode 100644 index 0000000..533e9e2 --- /dev/null +++ b/importlab-0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab3a0bf77a326de577e3c7f643ec304f83fed93cb1056638560d832413d6e736 +size 18768 diff --git a/python-importlab.changes b/python-importlab.changes new file mode 100644 index 0000000..45cfa8b --- /dev/null +++ b/python-importlab.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Feb 27 06:35:15 AM UTC 2019 - John Vandenberg + +- Initial spec for v0.5 diff --git a/python-importlab.spec b/python-importlab.spec new file mode 100644 index 0000000..d359ae5 --- /dev/null +++ b/python-importlab.spec @@ -0,0 +1,59 @@ +# +# spec file for package python-importlab +# +# Copyright (c) 2019 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 https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-importlab +Version: 0.5 +Release: 0 +Summary: A library to calculate python dependency graphs +License: Apache-2.0 +Group: Development/Languages/Python +URL: https://github.com/google/importlab +Source: https://files.pythonhosted.org/packages/source/i/importlab/importlab-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-networkx +Requires: python-six +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module networkx} +BuildRequires: %{python_module six} +# /SECTION +%python_subpackages + +%description +A library to calculate python dependency graphs. + +%prep +%setup -q -n importlab-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc CHANGELOG README.rst +%license LICENSE +%python3_only %{_bindir}/importlab +%{python_sitelib}/* + +%changelog