14
0

Accepting request 1087540 from home:pperego:branches:devel:languages:python

-Update to 0.9.0:
    * Add the python- prefix to default spec filename as well.
    * Remove python_module definition macro
    * Update python version in tox.yml
    * The releases field has been removed from the API endpoint and should not
      be used.
    * openSUSE template: add package name to sitelib path

OBS-URL: https://build.opensuse.org/request/show/1087540
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=97
This commit is contained in:
Paolo Perego
2023-05-17 13:44:59 +00:00
committed by Git OBS Bridge
parent 2241a5ee01
commit 51617fd238
4 changed files with 24 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0b9ee91857486ad089f0a34aa36fad2d492f04ade11d4480a3a2242acd9dac55
size 46412

3
py2pack-0.9.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:58268c5dd4f66de07947a8ed1cbaf636c25278ad792b0df58708bd43c1b81643
size 36821

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed May 17 08:47:27 UTC 2023 - Paolo Perego <paolo.perego@suse.com>
-Update to 0.9.0:
* Add the python- prefix to default spec filename as well.
* Remove python_module definition macro
* Update python version in tox.yml
* The releases field has been removed from the API endpoint and should not
be used.
* openSUSE template: add package name to sitelib path
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 11 18:32:06 UTC 2023 - Ben Greiner <code@bnavigator.de> Thu May 11 18:32:06 UTC 2023 - Ben Greiner <code@bnavigator.de>
@@ -308,19 +319,19 @@ Wed Aug 12 15:55:29 UTC 2015 - toddrme2178@gmail.com
+ Remove unused 'requires' from opensuse template + Remove unused 'requires' from opensuse template
+ Quote %doc filenames if they contain shell metacharacters + Quote %doc filenames if they contain shell metacharacters
+ Add support for "entry_points" and "console_scripts" parameters + Add support for "entry_points" and "console_scripts" parameters
+ Support syntactic variations as per the setuptools spec + Support syntactic variations as per the setuptools spec
+ Make "parse" and "run" two separate modes + Make "parse" and "run" two separate modes
+ Support same set of setup() parameters in parse and run modes + Support same set of setup() parameters in parse and run modes
+ Use setuptools instead of distutils in _run_setup_py() … + Use setuptools instead of distutils in _run_setup_py() …
+ Run setup.py (instead of just parsing it) to gather more data + Run setup.py (instead of just parsing it) to gather more data
+ Adjust Travis CI build + Adjust Travis CI build
+ Remove commented code and make pep8 happy + Remove commented code and make pep8 happy
+ Remove package create function + Remove package create function
+ Fix license detection when license is None + Fix license detection when license is None
+ Don't include comma in _parse_setup_py regexp + Don't include comma in _parse_setup_py regexp
+ fix indentation in README + fix indentation in README
+ Fix KeyError for license and summary + Fix KeyError for license and summary
- Add update-alternatives support for compatibility with - Add update-alternatives support for compatibility with
python 3 version of the package. python 3 version of the package.
------------------------------------------------------------------- -------------------------------------------------------------------
@@ -490,7 +501,7 @@ Wed Jan 12 10:46:44 UTC 2011 - saschpe@suse.de
Mon Dec 20 11:48:08 UTC 2010 - saschpe@suse.de Mon Dec 20 11:48:08 UTC 2010 - saschpe@suse.de
- Update to version 0.3.3 - Update to version 0.3.3
* Moved 'export CFLAGS...' from %prep to %build section in * Moved 'export CFLAGS...' from %prep to %build section in
templates templates
------------------------------------------------------------------- -------------------------------------------------------------------
@@ -547,4 +558,3 @@ Sat Dec 11 17:31:29 UTC 2010 - saschpe@gmx.de
Sat Dec 11 17:12:10 UTC 2010 - saschpe@gmx.de Sat Dec 11 17:12:10 UTC 2010 - saschpe@gmx.de
- Initial version - Initial version

View File

@@ -17,7 +17,7 @@
Name: python-py2pack Name: python-py2pack
Version: 0.8.7 Version: 0.9.0
Release: 0 Release: 0
Summary: Script for generating distribution packages from Python packages on PyPI Summary: Script for generating distribution packages from Python packages on PyPI
License: Apache-2.0 License: Apache-2.0
@@ -68,6 +68,8 @@ Documentation and help files for %{name}.
sed -i '1{/#!/d}' py2pack/__init__.py sed -i '1{/#!/d}' py2pack/__init__.py
%build %build
export PBR_VERSION=0.9.0
%pyproject_wheel %pyproject_wheel
# build docs, cli.rst needs py2pack as executable # build docs, cli.rst needs py2pack as executable
@@ -103,7 +105,7 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
%files -n %{name}-doc %files -n %{name}-doc
%license LICENSE %license LICENSE
%doc AUTHORS # %doc AUTHORS
%doc doc/build/html/ %doc doc/build/html/
%changelog %changelog