From 46ad1aef1572cf5ed9d61d0d5fd1e5281e0288b8 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Wed, 12 Apr 2017 14:32:57 +0900 Subject: [PATCH] Bump to python-funcsigs 1.0.2 [Model] All [BinType] AP [Customer] OPEN [Issue#] N/A [Request] N/A [Occurrence Version] N/A [Problem] Bump to python-funcsigs 1.0.2 [Cause & Measure] Bump to python-funcsigs 1.0.2 [Checking Method] N/A [Team] Open Source Management and Setting Part [Developer] dh0128.kwak [Solution company] Samsung [Change Type] N/A Change-Id: Ib75088b73166ea8d6b9444faafbb4f1205ef3396 --- packaging/python-funcsigs.manifest | 5 +++ packaging/python-funcsigs.spec | 60 ++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 packaging/python-funcsigs.manifest create mode 100644 packaging/python-funcsigs.spec diff --git a/packaging/python-funcsigs.manifest b/packaging/python-funcsigs.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/python-funcsigs.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/python-funcsigs.spec b/packaging/python-funcsigs.spec new file mode 100644 index 0000000..fc0880d --- /dev/null +++ b/packaging/python-funcsigs.spec @@ -0,0 +1,60 @@ +# +# spec file for package python-funcsigs +# +# Copyright (c) 2016 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/ +# + +%define debug_package %{nil} + +Name: python-funcsigs +Version: 1.0.2 +Release: 0 +Summary: Python function signatures from PEP362 +License: Apache-2.0 +Group: Development/Languages/Python +Url: http://funcsigs.readthedocs.org +Source: https://pypi.io/packages/source/f/funcsigs/funcsigs-%{version}.tar.gz +Source1001: %{name}.manifest + +BuildRequires: python-devel +BuildRequires: python-setuptools +BuildRequires: python-unittest2 + +BuildArch: noarch + +%description +funcsigs is a backport of the PEP 362 function signature features from +Python 3.3's inspect module. The backport is compatible with Python 2.6, 2.7 +as well as 3.2 and up. + +%prep +%setup -q -n funcsigs-%{version} + +%build +cp %{SOURCE1001} . +python setup.py build + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%check +python setup.py test + +%files +%manifest %{name}.manifest +%defattr(-,root,root,-) +%license LICENSE +%{python_sitelib}/* + +%changelog -- 2.34.1