14
0

Accepting request 807720 from home:Pharaoh_Atem:SUSE_LiveCDTools

Initial package for openSUSE

OBS-URL: https://build.opensuse.org/request/show/807720
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pykickstart?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal
2020-05-20 12:46:55 +00:00
committed by Git OBS Bridge
commit 4b5b7f3661
5 changed files with 138 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@@ -0,0 +1 @@
.osc

3
pykickstart-3.25.tar.gz Normal file
View File

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

View File

@@ -0,0 +1,23 @@
-------------------------------------------------------------------
Wed May 20 12:38:46 UTC 2020 - Neal Gompa <ngompa13@gmail.com>
- Drop unused nose and coverage test dependencies
- Drop unused Sphinx dependency for docs
-------------------------------------------------------------------
Mon Apr 20 14:11:36 UTC 2020 - Neal Gompa <ngompa13@gmail.com>
- Sync disable for running tests in package builds from Fedora
-------------------------------------------------------------------
Mon Apr 20 13:25:03 UTC 2020 - Neal Gompa <ngompa13@gmail.com>
- Update to version 3.25
+ Add Fedora 33 support
+ Add Fedora 32 support
+ Drop Python 2 compatibility
-------------------------------------------------------------------
Sat Mar 2 23:50:05 UTC 2019 - Neal Gompa <ngompa13@gmail.com>
- Initial packaging for openSUSE

88
python-pykickstart.spec Normal file
View File

@@ -0,0 +1,88 @@
#
# spec file for package python-pykickstart
#
# Copyright (c) 2020 Neal Gompa <ngompa13@gmail.com>.
#
# 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 https://bugs.opensuse.org/
#
%global mod_name pykickstart
# Python 2 isn't supported...
%global skip_python2 1
Name: python-%{mod_name}
Version: 3.25
Release: 0
Summary: Python module for parsing and writing kickstart files
Group: Development/Libraries/Python
License: GPL-2.0 AND MIT
URL: http://fedoraproject.org/wiki/pykickstart
Source0: https://github.com/pykickstart/pykickstart/releases/download/r%{version}/%{mod_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: fdupes
BuildRequires: gettext
BuildRequires: python-rpm-macros
BuildRequires: %{python_module ordered-set}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
Requires: python-ordered-set
Requires: python-requests
Requires: python-six
%python_subpackages
%description
Pykickstart is a Python library consisting of a data representation
of kickstart files, a parser to read files into that representation,
and a writer to generate kickstart files.
%prep
%autosetup -n %{mod_name}-%{version} -p1
%build
# Build all the translations and such
%make_build PYTHON=%{__python3}
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand PYTHONPATH=.. $python -m unittest discover -v
%files %{python_files}
%license COPYING
%doc README.rst
%doc data/kickstart.vim
%doc docs/2to3
%doc docs/programmers-guide
%doc docs/kickstart-docs.txt
%{python_sitelib}/%{mod_name}/
%{python_sitelib}/%{mod_name}-*
%python3_only %{_bindir}/*
%python3_only %{_mandir}/man1/*
%changelog