forked from pool/python-sphinxcontrib-copybutton
		
	Compare commits
	
		
			5 Commits
		
	
	
		
	
	| Author | SHA256 | Date | |
|---|---|---|---|
| aec82fe6b2 | |||
| 10cdd01cf1 | |||
| 6f5bc29838 | |||
| 1aa96724c4 | |||
| 5b1916fc10 | 
| @@ -1,3 +1,13 @@ | ||||
| ------------------------------------------------------------------- | ||||
| Thu Jun 12 12:43:04 UTC 2025 - Markéta Machová <mmachova@suse.com> | ||||
|  | ||||
| - Convert to pip-based build | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Fri Jun  9 12:40:36 UTC 2023 - ecsos <ecsos@opensuse.org> | ||||
|  | ||||
| - Add %{?sle15_python_module_pythons} | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Thu Dec  1 09:15:57 UTC 2022 - Michael Vetter <mvetter@suse.com> | ||||
|  | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| # | ||||
| # spec file for package python-sphinxcontrib-copybutton | ||||
| # | ||||
| # Copyright (c) 2022 SUSE LLC | ||||
| # 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 | ||||
| @@ -16,7 +16,7 @@ | ||||
| # | ||||
|  | ||||
|  | ||||
| %{?!python_module:%define python_module() python-%{**} python3-%{**}} | ||||
| %{?sle15_python_module_pythons} | ||||
| Name:           python-sphinxcontrib-copybutton | ||||
| Version:        0.5.1 | ||||
| Release:        0 | ||||
| @@ -24,7 +24,9 @@ Summary:        Add a copy button to each of your code cells | ||||
| License:        MIT | ||||
| URL:            https://github.com/executablebooks/sphinx-copybutton | ||||
| Source:         https://files.pythonhosted.org/packages/source/s/sphinx-copybutton/sphinx-copybutton-%{version}.tar.gz | ||||
| BuildRequires:  %{python_module pip} | ||||
| BuildRequires:  %{python_module setuptools} | ||||
| BuildRequires:  %{python_module wheel} | ||||
| BuildRequires:  fdupes | ||||
| BuildRequires:  python-rpm-macros | ||||
| Requires:       python-Sphinx >= 1.8 | ||||
| @@ -46,15 +48,16 @@ Add a copy button to each of your code cells. | ||||
| %setup -q -n sphinx-copybutton-%{version} | ||||
|  | ||||
| %build | ||||
| %python_build | ||||
| %pyproject_wheel | ||||
|  | ||||
| %install | ||||
| %python_install | ||||
| %pyproject_install | ||||
| %python_expand %fdupes %{buildroot}%{$python_sitelib} | ||||
|  | ||||
| %files %{python_files} | ||||
| %doc README.md | ||||
| %license LICENSE | ||||
| %{python_sitelib}/* | ||||
| %{python_sitelib}/sphinx_copybutton | ||||
| %{python_sitelib}/sphinx_copybutton-%{version}*-info | ||||
|  | ||||
| %changelog | ||||
|   | ||||
		Reference in New Issue
	
	Block a user