Accepting request 911969 from home:dspinella:branches:devel:languages:python
- Update to version 2.0.1 * Add --version CLI option * Include minor fixes OBS-URL: https://build.opensuse.org/request/show/911969 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ghp-import?expand=0&rev=2
This commit is contained in:
parent
aa1addbd7d
commit
2d253b1304
3
ghp-import-2.0.1.tar.gz
Normal file
3
ghp-import-2.0.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:753de2eace6e0f7d4edfb3cce5e3c3b98cd52aadb80163303d1d036bda7b4483
|
||||
size 11158
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f45670f846f81f64c7a7fc2ff61004728f8766ae0177df5cbf46e3911f4de3d8
|
||||
size 33286
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 13 11:00:02 UTC 2021 - Danilo Spinella <danilo.spinella@suse.com>
|
||||
|
||||
- Update to version 2.0.1
|
||||
* Add --version CLI option
|
||||
* Include minor fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 19 18:12:19 UTC 2021 - Matthias Mailänder <mailaender@opensuse.org>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-ghp-import
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,47 +12,41 @@
|
||||
# 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-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-ghp-import
|
||||
Version: 1.1.0
|
||||
Version: 2.0.1
|
||||
Release: 0
|
||||
Summary: Import docs to your gh-pages branch
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: https://pypi.org/project/ghp-import/
|
||||
Source: https://github.com/davisp/ghp-import/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module dateutil >= 2.8.1}
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires: python-Markdown
|
||||
Requires: python-flake8
|
||||
Requires: python-twine
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
URL: https://pypi.org/project/ghp-import/
|
||||
Source: https://files.pythonhosted.org/packages/source/g/ghp-import/ghp-import-%{version}.tar.gz
|
||||
BuildRequires: %{python_module dateutil >= 2.8.1}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-dateutil >= 2.8.1
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Easily import docs to your gh-pages branch.
|
||||
This will DESTROY your gh-pages branch. If you love it, you'll want
|
||||
to take backups before playing with this. This script assumes that
|
||||
This will DESTROY your gh-pages branch. If you love it, you'll want
|
||||
to take backups before playing with this. This script assumes that
|
||||
gh-pages is 100% derivative. You should never edit files in your
|
||||
gh-pages branch by hand if you're using this script because you
|
||||
gh-pages branch by hand if you're using this script because you
|
||||
will lose your work.
|
||||
|
||||
%prep
|
||||
%setup -q -n ghp-import-%{version}
|
||||
sed -i '1d' ghp_import.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@ -70,11 +64,10 @@ will lose your work.
|
||||
%python_uninstall_alternative ghp-import
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%python_alternative %{_bindir}/ghp-import
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/ghp_import-%{version}-py%{python_version}.egg-info
|
||||
%{python_sitelib}/ghp_import*
|
||||
%{python_sitelib}/__pycache__/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user