From 60cbbd5554f03d98a00a8145edb18a65524cac099f469be43c4947e183af2d16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 15 Feb 2019 09:19:16 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-dotenv?expand=0&rev=3 --- LICENSE | 21 +++++++++++++++++++++ pytest-dotenv-0.3.1.tar.gz | 4 ++-- python-pytest-dotenv.spec | 6 ++---- 3 files changed, 25 insertions(+), 6 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..126c55a --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2016 Marcel Radischat + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/pytest-dotenv-0.3.1.tar.gz b/pytest-dotenv-0.3.1.tar.gz index 8a8e4ea..63cd6c6 100644 --- a/pytest-dotenv-0.3.1.tar.gz +++ b/pytest-dotenv-0.3.1.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:24093fedcf3bc8423e5e9435f5a6aaca8fe0615d598126d6f33a17aefa93dbcf -size 2651 +oid sha256:b2f9deb6c0ba344a6418407dbc9901ee394ec1e042b3422167c02718548416c3 +size 1990 diff --git a/python-pytest-dotenv.spec b/python-pytest-dotenv.spec index 382b7b6..61fe9c5 100644 --- a/python-pytest-dotenv.spec +++ b/python-pytest-dotenv.spec @@ -25,16 +25,13 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/quiqua/pytest-dotenv Source: https://files.pythonhosted.org/packages/source/p/pytest-dotenv/pytest-dotenv-%{version}.tar.gz +Source1: https://raw.githubusercontent.com/quiqua/pytest-dotenv/master/LICENSE BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pytest >= 2.6.0 Requires: python-python-dotenv >= 0.9.1 BuildArch: noarch -# SECTION test requirements -BuildRequires: %{python_module pytest >= 2.6.0} -BuildRequires: %{python_module python-dotenv >= 0.9.1} -# /SECTION %python_subpackages %description @@ -42,6 +39,7 @@ A py.test plugin that parses environment files before running tests. %prep %setup -q -n pytest-dotenv-%{version} +cp %{SOURCE1} . %build %python_build