forked from pool/python-pyjavaproperties
Accepting request 1284347 from devel:languages:python
- Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1284347 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyjavaproperties?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 10 07:25:47 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 11 10:44:33 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pyjavaproperties
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2012 Abel Luck <abel@guardianproject.info>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -25,7 +25,9 @@ License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://bitbucket.org/skeptichacker/pyjavaproperties
|
||||
Source0: https://files.pythonhosted.org/packages/source/p/pyjavaproperties/pyjavaproperties-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-base
|
||||
@@ -40,10 +42,10 @@ A python library for parsing Java properties files.
|
||||
sed -i '/^#!/d' pyjavaproperties.py pyjavaproperties_test.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
# Upstream patch to not install test module
|
||||
# https://bitbucket.org/skeptichacker/pyjavaproperties/pull-requests/1
|
||||
%{python_expand rm %{buildroot}%{$python_sitelib}/pyjavaproperties_test.py
|
||||
@@ -56,6 +58,8 @@ sed -i '/^#!/d' pyjavaproperties.py pyjavaproperties_test.py
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst CHANGELOG.txt
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/pyjavaproperties.py
|
||||
%{python_sitelib}/pyjavaproperties-%{version}*-info
|
||||
%pycache_only %{python_sitelib}/__pycache__/pyjavaproperties*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user