forked from pool/python-XStatic-jQuery
- Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-XStatic-jQuery?expand=0&rev=10
This commit is contained in:
56
python-XStatic-jQuery.spec
Normal file
56
python-XStatic-jQuery.spec
Normal file
@@ -0,0 +1,56 @@
|
||||
#
|
||||
# spec file for package python-XStatic-jQuery
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
Name: python-XStatic-jQuery
|
||||
Version: 3.5.1.1
|
||||
Release: 0
|
||||
Summary: jQuery repackaged for the XStatic standard
|
||||
License: MIT
|
||||
URL: https://jquery.com/
|
||||
Source: https://files.pythonhosted.org/packages/source/X/XStatic-jQuery/XStatic-jQuery-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
jQuery javascript library packaged for setuptools (easy_install) / pip.
|
||||
There are otherwise no changes.
|
||||
|
||||
You can find more info about the xstatic packaging way in the package `XStatic`.
|
||||
|
||||
%prep
|
||||
%setup -q -n XStatic-jQuery-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%dir %{python_sitelib}/xstatic
|
||||
%dir %{python_sitelib}/xstatic/pkg
|
||||
%{python_sitelib}/xstatic/pkg/jquery
|
||||
%{python_sitelib}/[Xx][Ss]tatic[-_]j[Qq]uery-%{version}*-info
|
||||
%{python_sitelib}/[Xx][Ss]tatic[-_]j[Qq]uery-%{version}*nspkg.pth
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user