14
0

- Update to 0.3.0:

* Add setuptools buildsystem

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yamldoc?expand=0&rev=2
This commit is contained in:
Tomáš Chvátal
2019-04-11 10:14:48 +00:00
committed by Git OBS Bridge
parent 9efbdedd95
commit 1dba746e81
5 changed files with 19 additions and 16 deletions

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:afe0a786a76a466ce15967fc119e02575e7fc65fd051a3001579e9cf5df312ba
size 9684

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Apr 11 10:07:34 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.3.0:
* Add setuptools buildsystem
-------------------------------------------------------------------
Wed Mar 20 09:16:17 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -12,24 +12,25 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-yamldoc
Version: 0.2.0
Version: 0.3.0
Release: 0
License: GPL-3.0-or-later
Summary: A module to determine file mimetypes
Url: https://github.com/smathot/python-yamldoc
License: GPL-3.0-or-later
Group: Development/Languages/Python
Source: https://github.com/smathot/python-yamldoc/archive/release/%{version}.tar.gz#/yamldoc-%{version}.tar.gz
Source1: setup.py
BuildRequires: python-rpm-macros
URL: https://github.com/smathot/python-yamldoc
Source: https://files.pythonhosted.org/packages/source/p/python-yamldoc/python-yamldoc-%{version}.tar.gz
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module setuptools}
Requires: python-PyYAML
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
@@ -39,8 +40,7 @@ have access, while mimetypes only uses the filename to determine its
filetype.
%prep
%setup -q -n python-yamldoc-release-%{version}
cp %{SOURCE1} .
%setup -q -n python-yamldoc-%{version}
sed -i '1{/^#!/d}' yamldoc/*.py
%build
@@ -51,7 +51,6 @@ sed -i '1{/^#!/d}' yamldoc/*.py
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%doc readme.md examples
%{python_sitelib}/*
%changelog

View File

@@ -1,2 +0,0 @@
from setuptools import setup
setup(name='yamldoc', packages=['yamldoc'])

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7f03470108693989fe68bede720e974b123adf8801e5cb9c645521f9d263590f
size 10314