Accepting request 207568 from home:Nijel:weblate
New python package OBS-URL: https://build.opensuse.org/request/show/207568 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=1
This commit is contained in:
commit
5236cfcdd6
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
|
82
Remove-shebang-line.patch
Normal file
82
Remove-shebang-line.patch
Normal file
@ -0,0 +1,82 @@
|
||||
From 7ef4e162b217d455ac8fc6dd43616926e1d06e01 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= <mcihar@suse.cz>
|
||||
Date: Tue, 19 Nov 2013 13:04:47 +0100
|
||||
Subject: [PATCH] Remove shebang line
|
||||
|
||||
These are not executables, so the shebang does not make much sense.
|
||||
---
|
||||
sure/__init__.py | 1 -
|
||||
sure/core.py | 1 -
|
||||
sure/deprecated.py | 1 -
|
||||
sure/magic.py | 1 -
|
||||
sure/old.py | 1 -
|
||||
sure/registry.py | 1 -
|
||||
sure/terminal.py | 1 -
|
||||
7 files changed, 7 deletions(-)
|
||||
|
||||
diff --git a/sure/__init__.py b/sure/__init__.py
|
||||
index 3aa4ea8..1226daf 100644
|
||||
--- a/sure/__init__.py
|
||||
+++ b/sure/__init__.py
|
||||
@@ -1,4 +1,3 @@
|
||||
-#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
# <sure - utility belt for automated testing in python>
|
||||
# Copyright (C) <2010-2013> Gabriel Falcão <gabriel@nacaolivre.org>
|
||||
diff --git a/sure/core.py b/sure/core.py
|
||||
index 6ec9e52..777e697 100644
|
||||
--- a/sure/core.py
|
||||
+++ b/sure/core.py
|
||||
@@ -1,4 +1,3 @@
|
||||
-#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
# <sure - utility belt for automated testing in python>
|
||||
# Copyright (C) <2010-2013> Gabriel Falcão <gabriel@nacaolivre.org>
|
||||
diff --git a/sure/deprecated.py b/sure/deprecated.py
|
||||
index c48379a..242cef5 100644
|
||||
--- a/sure/deprecated.py
|
||||
+++ b/sure/deprecated.py
|
||||
@@ -1,4 +1,3 @@
|
||||
-#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
# <sure - utility belt for automated testing in python>
|
||||
# Copyright (C) <2010-2013> Gabriel Falcão <gabriel@nacaolivre.org>
|
||||
diff --git a/sure/magic.py b/sure/magic.py
|
||||
index 1f2930a..d20c3d7 100644
|
||||
--- a/sure/magic.py
|
||||
+++ b/sure/magic.py
|
||||
@@ -1,4 +1,3 @@
|
||||
-#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
# <sure - utility belt for automated testing in python>
|
||||
# Copyright (C) <2012> Gabriel Falcão <gabriel@nacaolivre.org>
|
||||
diff --git a/sure/old.py b/sure/old.py
|
||||
index 41c4849..f9052d8 100644
|
||||
--- a/sure/old.py
|
||||
+++ b/sure/old.py
|
||||
@@ -1,4 +1,3 @@
|
||||
-#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
# <sure - utility belt for automated testing in python>
|
||||
# Copyright (C) <2010-2013> Gabriel Falcão <gabriel@nacaolivre.org>
|
||||
diff --git a/sure/registry.py b/sure/registry.py
|
||||
index 56e631a..ec3671c 100644
|
||||
--- a/sure/registry.py
|
||||
+++ b/sure/registry.py
|
||||
@@ -1,4 +1,3 @@
|
||||
-#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
# <sure - utility belt for automated testing in python>
|
||||
# Copyright (C) <2012> Gabriel Falcão <gabriel@nacaolivre.org>
|
||||
diff --git a/sure/terminal.py b/sure/terminal.py
|
||||
index dfeeef4..90c95e5 100644
|
||||
--- a/sure/terminal.py
|
||||
+++ b/sure/terminal.py
|
||||
@@ -1,4 +1,3 @@
|
||||
-#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
# <sure - utility belt for automated testing in python>
|
||||
# Copyright (C) <2010-2013> Gabriel Falcão <gabriel@nacaolivre.org>
|
||||
--
|
||||
1.7.10.4
|
||||
|
15
python-sure.changes
Normal file
15
python-sure.changes
Normal file
@ -0,0 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 19 12:14:54 UTC 2013 - mcihar@suse.cz
|
||||
|
||||
- remove shebang from module sources
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 19 08:35:50 UTC 2013 - mcihar@suse.cz
|
||||
|
||||
- various rpmlint fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 7 10:55:37 UTC 2013 - mcihar@suse.cz
|
||||
|
||||
- Initial packaging
|
||||
|
56
python-sure.spec
Normal file
56
python-sure.spec
Normal file
@ -0,0 +1,56 @@
|
||||
#
|
||||
# spec file for package python-sure
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products 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/
|
||||
#
|
||||
|
||||
|
||||
Name: python-sure
|
||||
Version: 1.2.2
|
||||
Release: 0
|
||||
Summary: Utility belt for automated testing in python for python
|
||||
License: GPL-3.0+
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/requests/sure
|
||||
Source: https://pypi.python.org/packages/source/s/sure/sure-%{version}.tar.gz
|
||||
Patch0: Remove-shebang-line.patch
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
%py_requires
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description
|
||||
A testing library for python with powerful and flexible assertions. Sure is
|
||||
heavily inspired by should.js
|
||||
|
||||
%prep
|
||||
%setup -q -n sure-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
3
sure-1.2.2.tar.gz
Normal file
3
sure-1.2.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7ba85cd68676722a8a7b45a548ce9c139d093a8009660e4b4e4ed638b43ab3ad
|
||||
size 16702
|
Loading…
x
Reference in New Issue
Block a user