1
0

128 Commits

Author SHA256 Message Date
0f2a836b42 test 2025-08-28 15:41:42 +02:00
422d027c1f Accepting request 1240544 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1240544
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=58
2025-01-27 19:56:39 +00:00
e2451214b0 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=101
2025-01-27 14:05:39 +00:00
e4024f1058 Accepting request 1091724 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1091724
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=57
2023-06-09 18:39:57 +00:00
05067b8956 Accepting request 1091437 from home:mcalabkova:branches:devel:languages:python
- Add some forgotten requirements

OBS-URL: https://build.opensuse.org/request/show/1091437
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=99
2023-06-08 18:45:05 +00:00
39b0172587 Accepting request 1087669 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1087669
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=56
2023-05-18 13:19:25 +00:00
Paolo Perego
51617fd238 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
2023-05-17 13:44:59 +00:00
abbe49f6f6 Accepting request 1086634 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1086634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=55
2023-05-13 15:17:29 +00:00
2241a5ee01 Accepting request 1086602 from home:bnavigator:branches:devel:languages:python
- Replace build_sphinx setuptools hook with direct sphinx-build
  call -- fixes boo#1211051
- Move to PEP517 macros for buildin py2pack
- Remove shebang from __init__.py

OBS-URL: https://build.opensuse.org/request/show/1086602
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=95
2023-05-11 22:22:33 +00:00
eb3cebe2b5 Accepting request 1069962 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1069962
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=54
2023-03-08 13:52:35 +00:00
d56e450e65 Accepting request 1069842 from home:pgajdos:python
- python-six is not required

OBS-URL: https://build.opensuse.org/request/show/1069842
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=93
2023-03-07 14:57:25 +00:00
cfbd4044b6 Accepting request 933126 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/933126
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=53
2021-11-22 22:04:32 +00:00
Paolo Perego
ee605577c4 Accepting request 933114 from home:ozu
- Update to 0.8.7:
  * Templates: collect generator output to list before adding to another list
  * Add two dependencies for tests
  * License is UNKNOWN if nothing determined
  * Fix issue with pypi_search
  * Do not crash when setup.py could not be run
  * Use package name from PyPI for tarball name

OBS-URL: https://build.opensuse.org/request/show/933114
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=92
2021-11-22 15:41:39 +00:00
4bc57244b8 Accepting request 854571 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/854571
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=52
2020-12-10 14:59:29 +00:00
c667c053c7 Accepting request 854546 from home:mnhauke
- Add missing python-requests to the runtime requirements

OBS-URL: https://build.opensuse.org/request/show/854546
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=90
2020-12-10 13:31:20 +00:00
e860a1329b Accepting request 847793 from devel:languages:python
- update to 0.8.6 (bsc#1178103):

OBS-URL: https://build.opensuse.org/request/show/847793
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=51
2020-11-11 19:47:11 +00:00
Thomas Bechtold
3d76aa67d9 - update to 0.8.6 (bsc#1178103):
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=88
2020-11-11 12:45:03 +00:00
35ef1783bc Accepting request 847493 from devel:languages:python
- update to 0.8.6:
  * Fix test/exampes/py2pack-opensuse.dsc
  * enhance test\_template with augmented opensuse and update examples to 0.8.5
  * cleanup script basename filter
  * update test reference
  * Fix flake8 errors
  * remove python2 from travis and tox
  * change test suite block
  * Replace python3\_only scripts with python\_alternatives
  * migrate metadate fetch to JSON API
  * remove python2 shims
  * update copyright header

OBS-URL: https://build.opensuse.org/request/show/847493
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=50
2020-11-10 14:08:54 +00:00
Thomas Bechtold
c9941214e1 - update to 0.8.6:
* Fix test/exampes/py2pack-opensuse.dsc
  * enhance test\_template with augmented opensuse and update examples to 0.8.5
  * cleanup script basename filter
  * update test reference
  * Fix flake8 errors
  * remove python2 from travis and tox
  * change test suite block
  * Replace python3\_only scripts with python\_alternatives
  * migrate metadate fetch to JSON API
  * remove python2 shims
  * update copyright header

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=86
2020-11-10 13:06:03 +00:00
6703dde36c Accepting request 844232 from devel:languages:python
- update to 0.8.5:
  * Use 3.8 python in the travis by default
  * Use python 3.8 and 3.9 in tox
  * Execute flake8 on latest py3 instead of old py2 version
  * Add missing comment to opensuse template header
  * Switch to pytest
  * Just say we support py2 and py3 do not bother with minor versions
  * gitignore coverage datafile
  * Do not bother with creating group tag as it is optional these days in openSUSE
  * Run tests under python 3.7 and fix tests
  * tests: replace year in tests by placeholder
  * bug: show help if no command given
  * Fix date in test examples
  * fix fedora tests
  * fix opensuse tests
  * Update py2pack-opensuse-legacy.spec
  * Update py2pack-opensuse.spec
  * Make template compatible with spec-cleaner
  * Add default empty for scripts
  * Just get rid of whole line in opensuse-legacy.spec, this breaks things
  * Don't add BR on python-devel without thinking
  * Add test for non-existent file
  * Add documentation to py2pack/utils.py
  * Add test with invalid archive
  * Raise a ValueError from \_get\_archive\_filelist instead of Exception
  * Add type hints to py2pack.utils
  * Ignore flake8 unused import warning for typing imports
  * Require typing module for python < 3.5
  * Bump python version in test case
  * Shorten overlong line

OBS-URL: https://build.opensuse.org/request/show/844232
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=49
2020-10-27 18:01:31 +00:00
Thomas Bechtold
6bca964401 - update to 0.8.5:
* Use 3.8 python in the travis by default
  * Use python 3.8 and 3.9 in tox
  * Execute flake8 on latest py3 instead of old py2 version
  * Add missing comment to opensuse template header
  * Switch to pytest
  * Just say we support py2 and py3 do not bother with minor versions
  * gitignore coverage datafile
  * Do not bother with creating group tag as it is optional these days in openSUSE
  * Run tests under python 3.7 and fix tests
  * tests: replace year in tests by placeholder
  * bug: show help if no command given
  * Fix date in test examples
  * fix fedora tests
  * fix opensuse tests
  * Update py2pack-opensuse-legacy.spec
  * Update py2pack-opensuse.spec
  * Make template compatible with spec-cleaner
  * Add default empty for scripts
  * Just get rid of whole line in opensuse-legacy.spec, this breaks things
  * Don't add BR on python-devel without thinking
  * Add test for non-existent file
  * Add documentation to py2pack/utils.py
  * Add test with invalid archive
  * Raise a ValueError from \_get\_archive\_filelist instead of Exception
  * Add type hints to py2pack.utils
  * Ignore flake8 unused import warning for typing imports
  * Require typing module for python < 3.5
  * Bump python version in test case
  * Shorten overlong line

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=84
2020-10-27 09:11:06 +00:00
0dca951830 Accepting request 689256 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/689256
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=48
2019-03-29 19:42:30 +00:00
Thomas Bechtold
893a55f620 Accepting request 688820 from home:jayvdb:branches:devel:languages:python
- Fix fdupes
- Install only Python 3 Sphinx for docs

OBS-URL: https://build.opensuse.org/request/show/688820
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=82
2019-03-28 08:30:06 +00:00
0320887f09 Accepting request 655970 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/655970
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=47
2018-12-07 13:39:25 +00:00
Tomáš Chvátal
c1f01e5181 Accepting request 655889 from home:jengelh:branches:devel:languages:python
- Use noun phrase in summary.

OBS-URL: https://build.opensuse.org/request/show/655889
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=80
2018-12-07 08:20:35 +00:00
Thomas Bechtold
c099b49bc0 - update to 0.8.4:
* Ignore some more pep8 warnings
  * Support %license macro

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=79
2018-12-06 19:59:36 +00:00
180079a36e Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=78
2018-12-04 17:20:39 +00:00
a0ac1cab93 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=77
2018-12-04 13:57:57 +00:00
9e5d0bae3b Accepting request 599997 from devel:languages:python
- update to 0.8.3:
  * Remove Sphinx cap
  * Fix copyright year in tests
  * Use release\_urls() XMLRPC method for the time being
  * Test python 3.6 and remove 3.5
- drop fix-api-package-urls.patch (merged upstream)

OBS-URL: https://build.opensuse.org/request/show/599997
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=46
2018-04-24 13:33:12 +00:00
Thomas Bechtold
1d47152456 - update to 0.8.3:
* Remove Sphinx cap
  * Fix copyright year in tests
  * Use release\_urls() XMLRPC method for the time being
  * Test python 3.6 and remove 3.5
- drop fix-api-package-urls.patch (merged upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=75
2018-04-23 10:22:45 +00:00
4f68cf541a Accepting request 597414 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/597414
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=45
2018-04-19 13:29:53 +00:00
c91c459c90 Accepting request 597402 from home:kbabioch:branches:devel:languages:python
- Added fix-api-package-urls.patch: Fix an issue with a deprecated
  XMLRPC method (bnc#1089613)

OBS-URL: https://build.opensuse.org/request/show/597402
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=73
2018-04-17 10:33:28 +00:00
6937e31ffd Accepting request 583659 from devel:languages:python
- update url to point to the new location (bsc#1079905)

OBS-URL: https://build.opensuse.org/request/show/583659
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=44
2018-03-07 09:39:02 +00:00
d55e1766ad - update url to point to the new location (bsc#1079905)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=71
2018-03-06 17:25:32 +00:00
8f5588f274 Accepting request 559276 from devel:languages:python
- update to 0.8.2:
  * pep8 fixes
  * opensuse template updates
  * Add source\_url to Args in tests and use None as default value
  * Removed unneeded nargs parameter to add\_argument
  * Add a --source-url parameter to 'fetch' and 'generate' commands
  * tests: templates: fix version

OBS-URL: https://build.opensuse.org/request/show/559276
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=43
2017-12-23 11:20:11 +00:00
Thomas Bechtold
64aff74cc4 - update to 0.8.2:
* pep8 fixes
  * opensuse template updates
  * Add source\_url to Args in tests and use None as default value
  * Removed unneeded nargs parameter to add\_argument
  * Add a --source-url parameter to 'fetch' and 'generate' commands
  * tests: templates: fix version

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=69
2017-12-22 09:50:05 +00:00
8eabb5b1bd Accepting request 516069 from devel:languages:python
- update to 0.8.1:
  * Enable tests with python setup.py test
  * Also support for python 3.6
  * Fix opensuse's multipython template
  * unify trailing whitespaces in templates
  * Handle no upstream source download URL gracefully
  * Allow packaging custom pypi names via obs-from-pypi.py

OBS-URL: https://build.opensuse.org/request/show/516069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=42
2017-08-12 18:27:32 +00:00
Thomas Bechtold
f9ddd14342 - update to 0.8.1:
* Enable tests with python setup.py test
  * Also support for python 3.6
  * Fix opensuse's multipython template
  * unify trailing whitespaces in templates
  * Handle no upstream source download URL gracefully
  * Allow packaging custom pypi names via obs-from-pypi.py

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=67
2017-08-11 08:24:34 +00:00
f21222399f Accepting request 505629 from devel:languages:python
- Use update-alternatives for the py2pack executable

OBS-URL: https://build.opensuse.org/request/show/505629
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=41
2017-06-23 07:18:14 +00:00
Thomas Bechtold
2b793641c8 - Use update-alternatives for the py2pack executable
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=65
2017-06-22 08:38:00 +00:00
ca439572cf Accepting request 492681 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/492681
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=40
2017-05-27 11:14:23 +00:00
Todd R
8dab8d00a0 Accepting request 491672 from home:TheBlackCat:branches:devel:languages:python
- Fix source URL.
- Implement single-spec version.

OBS-URL: https://build.opensuse.org/request/show/491672
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=63
2017-05-03 14:54:26 +00:00
1e44b07060 Accepting request 481395 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/481395
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=39
2017-04-20 18:48:50 +00:00
Thomas Bechtold
76a2190715 Accepting request 477461 from home:seilerphilipp:py2pack
added missing Requires to get it working on a plain suse machine

OBS-URL: https://build.opensuse.org/request/show/477461
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=61
2017-03-20 15:32:42 +00:00
f3f6f876fd Accepting request 461852 from devel:languages:python
- update to 0.8.0:
  * Ignore the required python version for now
  * Add build condition for tests in opensuse template
  * Install setup_requires as BuildRequires during build
  * Update opensuse template for singlespec approach
  * Remove useless '(' and ')' replacements from opensuse template
  * travis: Update credential to deploy on pypi
- Remove manpage for now. Build is broken.

OBS-URL: https://build.opensuse.org/request/show/461852
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=38
2017-03-03 16:54:24 +00:00
Thomas Bechtold
f2b4634e0b - update to 0.8.0:
* Ignore the required python version for now
  * Add build condition for tests in opensuse template
  * Install setup_requires as BuildRequires during build
  * Update opensuse template for singlespec approach
  * Remove useless '(' and ')' replacements from opensuse template
  * travis: Update credential to deploy on pypi
- Remove manpage for now. Build is broken.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=59
2017-03-02 10:18:25 +00:00
9f4c349fb4 Accepting request 457073 from devel:languages:python
- update to 0.7.0:
  * Switch to pbr
  * Include doc/* in sdist tarball
  * Add Shinx config to setup.cfg
  * Post release version bump to 0.6.7
  * Bump version to 0.6.6
  * Set files.pythonhosted.org as Source url
  * Also search for tarballs with underscores
  * Set pypi.io url for Source
  * Remove deprecated metadata subcommand
  * doc: Move CLI help to extra document
  * Support multiple template directories
  * Fix pep8 error
  * Use Sphinx for documentation
  * Remove hardcoded markers
  * Add license wit FIXME if available
  * Fix extensions for openSUSE template
  * Add script to create packages for OBS
  * Switch to metaextract
  * Improve openSUSE template checks
  * Update repository name after move to openSUSE
- Adjust Requires

OBS-URL: https://build.opensuse.org/request/show/457073
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=37
2017-02-24 01:54:47 +00:00
Thomas Bechtold
a95f0479a9 - update to 0.7.0:
* Switch to pbr
  * Include doc/* in sdist tarball
  * Add Shinx config to setup.cfg
  * Post release version bump to 0.6.7
  * Bump version to 0.6.6
  * Set files.pythonhosted.org as Source url
  * Also search for tarballs with underscores
  * Set pypi.io url for Source
  * Remove deprecated metadata subcommand
  * doc: Move CLI help to extra document
  * Support multiple template directories
  * Fix pep8 error
  * Use Sphinx for documentation
  * Remove hardcoded markers
  * Add license wit FIXME if available
  * Fix extensions for openSUSE template
  * Add script to create packages for OBS
  * Switch to metaextract
  * Improve openSUSE template checks
  * Update repository name after move to openSUSE
- Adjust Requires

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=57
2017-02-14 12:12:17 +00:00
Todd R
ea976f6529 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=56 2016-10-02 18:25:59 +00:00
Todd R
ef57604160 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=55 2016-10-02 18:25:33 +00:00