* Delete pycache files before compilealll
* Update macros/010-common-defs
* Reword compileall
* mention pyproject.toml and link to PEP517 and PEP518
* add description for pyunittest macro
* add description for python_compileall macro
* add description for pyproject macros
* add python_compileall macro and use it in pyproject_install
* disable pip version check: no connection to pypi.org
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=111
- Update to version 20190610.2ee3233:
* Fix typo, missing opening brace.
* Add the first draft of pyproject_wheel and pyproject_install macros.
* Yet another attempt to preserve $PYTHONPATH set in the environment.
* Document also %pytest_arch
* Document %pytest in README.md
* Multiline macros don't work correctly on older RPMs.
* Add missing $ expansion on the pytest call
* Rewrite pytest and pytest_arch into Lua macros with multiple arguments.
* We should preserve existing PYTHONPATH.
* Add --ignore to pytest calls to ignore build directories.
- Update to version 20190610.2ee3233:
* Fix typo, missing opening brace.
OBS-URL: https://build.opensuse.org/request/show/708958
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=75
- bsc#1128323: Update to version 20190307.fbaed33 bsc#1128323:
* Add --ignore to pytest calls to ignore build directories.
- Update to version 20190221.08f1194:
* Actually make pytest into function to capture arguments as well
* Add pytest definitions.
- Use upstream-recommended %{_rpmconfigdir}/macros.d directory
for the rpm macros.
- Include license and readme.
- Update to version 20181211.ab6f37c:
* Fix an issue with epoch printing having too many \
* Remove packaging/ dir
- Update to version 1540475376.149a499:
* add epoch while printing "Provides:"
- Update URL
- Add _service and use the tar_scm/recompress/set_version source
services to update the package.
Package updates can now be done with "osc service run"
- Drop README.packaging
- Drop update.sh . This is now handled via the source services
- version bump to 2018.08.15.ada6d63
- version bump to 2017.12.22.d9968ab
* better fix for macro usage in rpm 4.14
- version bump to 2017.12.07.9d4e9eb
* Fix macro usage for rpm 4.14
- version bump to 2017.08.09.32550d0
- use %_specfile macro to locate the spec file, this should help with
factory-auto bot problems as well as issue#3
- version bump to 2017.06.29.107ac7a
- fix skip_python2 in environment where python2 is not actually present
- version bump to 2017.06.21.6641889
- introduce smarter buildset support
- fix %python_files on nonstandard build sets
- introduce %python_for_executables in favor of magically taking
"last python in %pythons"
- fix %licence tag handling (gh#opensuse/python-rpm-macros#4)
- version bump to 2017.05.09.fc237de
- fix badly generated %posttrans snippets in cases where
old %python_install_alternative syntax is used for secondary files
- rework %if-macros
- introduce %python_flavor, which configures behavior of generic %python_*
macros, and can be overriden by the user
- add --force to %python_install, to make install order fully deterministic
- version bump to 2017.04.27.d2ca08c
- switch versioning scheme to date-based
- switch from using service to a custom script update.sh
- auto-generate Provides: python2-modname in old distributions
(only for main package though)
- generate %posttrans sections to fix up alternatives after package
rename
- fix condition where %python_files would emit wrong thing when
%have_python2 is undefined
- add --quiet to uninstall_alternative, to silence spurious errors
- check for file existence instead of package number in uninstall_alternative
- remove spurious warnings about "unknown arguments" (by making ALL
possible arguments known)
- fix a bug with %python_clone not working without
%python_install_alternative being used
- in %python_files, detect and emit an error if %python_subpackages
is not used
- more intelligent %python_install_alternatives
- multiline macro support
- support for %requires_ge and %requires_eq as well as Requires(pre)
and friends
- "%python_clone -a" auto-creates alternative entries
- implement %python_clone to clone files for alternatives
- support "Supplements" and "Enhances" tags
- support packageand() expression
- fix handling of %name in requires
- make macros more resilient to missing %python_subpackages
- expand %python_bin_suffix properly
- let %python_module expand *all* its arguments, not just the first
(so that %{python_module x >= 1.0} works as intended)
- copy BuildArch to subpackages
- on requires/provides etc., perform macro expansion *after* replacing
'python' name, to allow for tricking the rewriter to not replace
- add BuildRoot to make SLE11 happy
- check presence of %python_files even on new-style distros
- better visibility of the %python_files error
- update service, use repository and tarball name "python-rpm-macros"
- introduce %python_prefix
- Set RPM group
- change service version generator to use "1.0.git" instead of "1.0git"
- rework %python_alternative and remove support for %python_alternative_man
- tell service to compress the tar file
- set service to localonly mode
- current macro version
- initial commit
OBS-URL: https://build.opensuse.org/request/show/682447
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=62