1
0

1 Commits

2 changed files with 16 additions and 8 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 13 10:35:43 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 8 16:55:15 UTC 2019 - Jan Engelhardt <jengelh@inai.de> Tue Jan 8 16:55:15 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-XStatic-term.js # spec file for package python-XStatic-term.js
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,19 +16,19 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-XStatic-term.js Name: python-XStatic-term.js
Version: 0.0.7.0 Version: 0.0.7.0
Release: 0 Release: 0
Summary: AngularJS library "term.js" repackaged for the XStatic standard Summary: AngularJS library "term.js" repackaged for the XStatic standard
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/chjj/term.js URL: https://github.com/chjj/term.js
Source: https://files.pythonhosted.org/packages/source/X/XStatic-term.js/XStatic-term.js-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/X/XStatic-term.js/XStatic-term.js-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
%python_subpackages %python_subpackages
%description %description
@@ -44,15 +44,18 @@ You can find more info about the xstatic packaging way in the package `XStatic`.
%setup -q -n XStatic-term.js-%{version} %setup -q -n XStatic-term.js-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-)
%doc README.rst %doc README.rst
%{python_sitelib}/* %dir %{python_sitelib}/xstatic
%dir %{python_sitelib}/xstatic/pkg
%{python_sitelib}/xstatic/pkg/termjs
%{python_sitelib}/[Xx][Ss]tatic[-_]term[._]js-%{version}*-info
%{python_sitelib}/[Xx][Ss]tatic[-_]term[._]js-%{version}*nspkg.pth
%changelog %changelog