forked from pool/python-py2pack
Compare commits
3 Commits
Author | SHA256 | Date | |
---|---|---|---|
0f2a836b42 | |||
422d027c1f | |||
e2451214b0 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:58268c5dd4f66de07947a8ed1cbaf636c25278ad792b0df58708bd43c1b81643
|
||||
size 36821
|
3
py2pack-0.9.1.tar.gz
Normal file
3
py2pack-0.9.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:61f4634d8564368007ec468c7f2c7762fc4f2c6261fbcc2e3bbb15a413478704
|
||||
size 39689
|
@@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 28 13:41:00 UTC 2025 - Felix Stegmeier <felix.stegmeier@suse.com>
|
||||
|
||||
- test change
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 27 13:51:49 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Update to 0.9.1:
|
||||
* Don't crash on missing urls
|
||||
* fix: sanitize summary only if it exists
|
||||
* Use platformdirs module to find template directory paths.
|
||||
* fix bug: AttributeError: 'Namespace' object has no attribute 'localfile' for fetch command
|
||||
* Use build.project_wheel_metadata to extract metadata
|
||||
* Fix no esp variable (utils.py)
|
||||
* Fix new argument access and tests
|
||||
* Add ability to generate .spec files from local PKG-INFO file
|
||||
* Support project.urls.Repository to get homepage
|
||||
* Replace deprecated PyPI XML API with Simple API
|
||||
* close all connections: replace urllib with requests
|
||||
* remove pkg_resources
|
||||
* Migrate update spdx command from setuptools hook to hatch script, execute
|
||||
* Migrate spdx file from pickle to json
|
||||
* Switch from setuptools+pbr to hatch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 8 12:11:21 UTC 2023 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-py2pack
|
||||
#
|
||||
# Copyright (c) 2023 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
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: python-py2pack
|
||||
Version: 0.9.0
|
||||
Version: 0.9.1
|
||||
Release: 0
|
||||
Summary: Script for generating distribution packages from Python packages on PyPI
|
||||
License: Apache-2.0
|
||||
@@ -25,12 +25,19 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/openSUSE/py2pack
|
||||
Source: https://files.pythonhosted.org/packages/source/p/py2pack/py2pack-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Jinja2}
|
||||
BuildRequires: %{python_module backports.entry_points_selectable}
|
||||
BuildRequires: %{python_module build}
|
||||
BuildRequires: %{python_module ddt}
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module metaextract}
|
||||
BuildRequires: %{python_module pbr}
|
||||
BuildRequires: %{python_module packaging}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module platformdirs}
|
||||
BuildRequires: %{python_module pypi-search}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module tomli if %python_base < 3.11}
|
||||
BuildRequires: %{python_module wheel}
|
||||
# SECTION doc requirements
|
||||
BuildRequires: python3-Sphinx
|
||||
@@ -39,14 +46,17 @@ BuildRequires: python3-sphinxcontrib-programoutput
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Jinja2
|
||||
Requires: python-backports.entry_points_selectable
|
||||
Requires: python-build
|
||||
Requires: python-metaextract
|
||||
Requires: python-pbr
|
||||
Requires: python-packaging
|
||||
Requires: python-platformdirs
|
||||
Requires: python-pypi-search
|
||||
Requires: python-requests
|
||||
Requires: python-setuptools
|
||||
Requires: python-tomli
|
||||
Requires: (python-tomli if python-base < 3.11)
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -68,6 +78,7 @@ Documentation and help files for %{name}.
|
||||
%setup -q -n py2pack-%{version}
|
||||
# remove shebang
|
||||
sed -i '1{/#!/d}' py2pack/__init__.py
|
||||
chmod -x py2pack/__init__.py
|
||||
|
||||
%build
|
||||
export PBR_VERSION=0.9.0
|
||||
@@ -94,6 +105,11 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
|
||||
%python_clone -a %{buildroot}%{_bindir}/py2pack
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# Requires network
|
||||
donttest="test_list or test_newest_download_url or test_search or test_show or test_template"
|
||||
%pytest -k "not ($donttest)"
|
||||
|
||||
%post
|
||||
%python_install_alternative py2pack
|
||||
|
||||
@@ -107,7 +123,6 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
|
||||
|
||||
%files -n %{name}-doc
|
||||
%license LICENSE
|
||||
# %doc AUTHORS
|
||||
%doc doc/build/html/
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user