Adding README.md, .gitignore, .gitattributes; adding python-pypandoc files

This commit is contained in:
2025-10-07 10:59:39 -04:00
commit f2257fdd97
7 changed files with 154 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

4
.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
_buildconfig-*
_buildinfo-*
*.obscpio
python-pypandoc/

13
README.md Normal file
View File

@@ -0,0 +1,13 @@
# python-pypandoc
URL: [pypandoc](https://pypi.org/project/pypandoc/)
----
## NOTE(s):
* This is used by -> https://build.opensuse.org/package/show/home:sbradnick/apostrophe
- As of 20251007, here -> https://build.opensuse.org/package/show/home:sbradnick:unused/apostrophe
* on 20220714, the factory version (https://build.opensuse.org/package/show/openSUSE:Factory/python-pypandoc) of this package fails to build and only offers up a python3.8 version for "python3-pypandoc"; which I don't want because I'm using 3.10 and have purged 3.8.
Pypandoc provides a thin wrapper for [pandoc](https://pandoc.org/), a universal document converter.

3
_service Normal file
View File

@@ -0,0 +1,3 @@
<services>
<service name="download_files" mode="manual" />
</services>

BIN
pypandoc-1.15.tar.gz LFS Normal file

Binary file not shown.

43
python-pypandoc.changes Normal file
View File

@@ -0,0 +1,43 @@
-------------------------------------------------------------------
Mon Apr 7 20:05:02 UTC 2025 - Scott Bradnick <scott.bradnick@suse.com>
- Update to upstream version 1.15
* This release adds support for Python 3.13 and allows non-LaTeX
intermediaries for PDF generation. We also drop CI suppor for python 3.8
- Added support for python 3.13 - Removed ubber bound (#379)
- Added allow non-latex intermediaries for pdf generation (#381)
- Added parameter to control if files are sorted before being passed to pandoc (#378)
- Fix convert_file for Python 3.13 (#384)
- Dropped CI support for older python and pypy versions (#387)
-------------------------------------------------------------------
Mon Dec 2 21:29:25 UTC 2024 - Scott Bradnick <scott.bradnick@suse.com>
- Update to upstream version 1.14
* Fixed: Use the latest version of pandoc when building pypandoc_binary,…
-------------------------------------------------------------------
Wed Feb 21 20:40:55 UTC 2024 - Scott Bradnick <scott.bradnick@suse.com>
- Update to upstream version 1.13
* Change when we do source file verification (#344)
* pass path to _get_pandoc_version() on windows correctly (#345)
* Updated CI to produce arm builds off pypandoc_binary (#356)
* Updated docker file to use python 3.12x, and therefore fixed python c… (#357)
* Removed support for python 3.6 in CI environment
* Other various small CI/CD improvements and workflow maintenance
-------------------------------------------------------------------
Wed Nov 8 20:03:18 UTC 2023 - Scott Bradnick <scott.bradnick@suse.com>
- Update to upstream version 1.12
-------------------------------------------------------------------
Sun Mar 26 00:01:36 UTC 2023 - Scott Bradnick <scott.bradnick@suse.com>
- Update to upstream version 1.11
-------------------------------------------------------------------
Thu Jul 14 18:59:49 UTC 2022 - Scott Bradnick <scott.bradnick@suse.com>
- Initial version '1.8.1' from upstream via py2pack.

65
python-pypandoc.spec Normal file
View File

@@ -0,0 +1,65 @@
#
# spec file for package python-pypandoc
#
# Copyright (c) 2025 SUSE LLC
#
# 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/
#
%define skip_python311 1
%define skip_python312 1
%define short_name pypandoc
Name: python-pypandoc
Version: 1.15
Release: 0
Summary: Thin wrapper for pandoc
License: MIT
URL: https://github.com/JessicaTegner/pypandoc
### osc service runall download_files
Source: https://files.pythonhosted.org/packages/source/p/pypandoc/pypandoc-%{version}.tar.gz
#####
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: dos2unix
BuildArch: noarch
%python_subpackages
%description
Thin wrapper for pandoc.
%prep
%setup -q -n pypandoc-%{version}
find . -name README.md -exec dos2unix {} \;
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%doc README.md
%license LICENSE
%dir %{python_sitelib}/%{short_name}
%dir %{python_sitelib}/%{short_name}-%{version}-*.egg-info
%{python_sitelib}/%{short_name}/*
%{python_sitelib}/%{short_name}-%{version}-*.egg-info/*
%changelog