commit aa1addbd7d8b3f76dfa1ec35f14482b53efcd2a32eba8a9c401207fb3bf5557a Author: Matej Cepl Date: Wed May 19 21:09:13 2021 +0000 Accepting request 894428 from home:Mailaender:branches:devel:languages:python dependency for mkdocs OBS-URL: https://build.opensuse.org/request/show/894428 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ghp-import?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-ghp-import-1.1.0.tar.gz b/python-ghp-import-1.1.0.tar.gz new file mode 100644 index 0000000..b167d44 --- /dev/null +++ b/python-ghp-import-1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f45670f846f81f64c7a7fc2ff61004728f8766ae0177df5cbf46e3911f4de3d8 +size 33286 diff --git a/python-ghp-import.changes b/python-ghp-import.changes new file mode 100644 index 0000000..b5ee0f4 --- /dev/null +++ b/python-ghp-import.changes @@ -0,0 +1,15 @@ +------------------------------------------------------------------- +Wed May 19 18:12:19 UTC 2021 - Matthias Mailänder + +- Update to version 1.1.0 + +------------------------------------------------------------------- +Wed Feb 3 11:26:27 UTC 2021 - ecsos + +- Update to 1.0.1 + - No changelog from upstream. + +------------------------------------------------------------------- +Wed Jul 4 10:23:46 UTC 2018 - ecsos@opensuse.org + +- initial version 0.5.5 diff --git a/python-ghp-import.spec b/python-ghp-import.spec new file mode 100644 index 0000000..c56b4c6 --- /dev/null +++ b/python-ghp-import.spec @@ -0,0 +1,80 @@ +# +# spec file for package python-ghp-import +# +# Copyright (c) 2015 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/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 +Name: python-ghp-import +Version: 1.1.0 +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 + +%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 +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 +will lose your work. + +%prep +%setup -q -n ghp-import-%{version} + +%build +%python_build + +%install +%python_install +%python_clone -a %{buildroot}%{_bindir}/ghp-import + +%python_expand %fdupes -s %{buildroot}%{$python_sitelib} + +%post +%python_install_alternative ghp-import + +%postun +%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 + +%changelog