commit 1c15bcd2fef42ec341ac45a44716b19c723afb531f62c7734eca8724839d9b79 Author: Matej Cepl Date: Fri Mar 10 09:13:16 2023 +0000 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-accessible-pygments?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/accessible-pygments-0.0.3.tar.gz b/accessible-pygments-0.0.3.tar.gz new file mode 100644 index 0000000..fabbe43 --- /dev/null +++ b/accessible-pygments-0.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0917b507646a6b3393eb49091a62506f6b2a3935f5d95e4d1249dc505f8a4eae +size 12251 diff --git a/python-accessible-pygments.changes b/python-accessible-pygments.changes new file mode 100644 index 0000000..1852cc9 --- /dev/null +++ b/python-accessible-pygments.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Mar 9 17:54:05 UTC 2023 - Daniel Garcia + +- Initial package (0.0.3) diff --git a/python-accessible-pygments.spec b/python-accessible-pygments.spec new file mode 100644 index 0000000..f410167 --- /dev/null +++ b/python-accessible-pygments.spec @@ -0,0 +1,58 @@ +# +# spec file for package python-accessible-pygments +# +# Copyright (c) 2023 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 modname accessible-pygments +Name: python-accessible-pygments +Version: 0.0.3 +Release: 0 +Summary: A collection of accessible pygments styles +License: BSD (FIXME:No SPDX) +URL: https://github.com/Quansight-Labs/accessible-pygments +Source: https://files.pythonhosted.org/packages/source/a/accessible-pygments/accessible-pygments-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module setuptools} +# SECTION test requirements +BuildRequires: %{python_module pygments >= 1.5} +# /SECTION +BuildRequires: fdupes +Requires: python-pygments >= 1.5 +BuildArch: noarch +%python_subpackages + +%description +A collection of accessible pygments styles + +%prep +%setup -q -n accessible-pygments-%{version} + +%build +%python_build + +%install +%python_install +%python_expand rm -rf %{buildroot}%{$python_sitelib}/test + +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc README.md +%license LICENSE +%{python_sitelib}/a11y_pygments +%{python_sitelib}/accessible_pygments-%{version}*-info + +%changelog