3
0
Commit Graph

205 Commits

Author SHA256 Message Date
41c3c050e8 - %__#FLAVOR# should be defined as
/usr/bin/python%{#FLAVOR#_version} not just /usr/bin/#FLAVOR#

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=108
2020-09-09 18:03:37 +00:00
e29527b47b - Add patch multiple_flavors.patch which makes compile_macros.sh
generate alternative flavours as well.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=107
2020-09-02 11:46:53 +00:00
Dominique Leuenberger
88d7d97f9d Accepting request 828863 from devel:languages:python:Factory
- Update to version 20200824.8fa42a7:
  * Drop -v from the pyunittest macros

OBS-URL: https://build.opensuse.org/request/show/828863
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=32
2020-08-28 19:16:36 +00:00
b2689d01a4 - Update to version 20200824.8fa42a7:
* Drop -v from the pyunittest macros

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=105
2020-08-24 08:09:21 +00:00
Dominique Leuenberger
ddfd9264a4 Accepting request 824570 from devel:languages:python:Factory
- Update to version 20200806.f44d3ac:
  * fix unittest macros

OBS-URL: https://build.opensuse.org/request/show/824570
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=31
2020-08-17 09:58:47 +00:00
Tomáš Chvátal
930bd6b733 - Update to version 20200806.f44d3ac:
* fix unittest macros

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=103
2020-08-06 05:31:20 +00:00
Dominique Leuenberger
e2aa2dc784 Accepting request 820838 from devel:languages:python:Factory
- Update to version 20200714.252de1f:
  * Add pyunittest and pyunittest_arch macros

OBS-URL: https://build.opensuse.org/request/show/820838
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=30
2020-07-26 14:13:32 +00:00
8d86c79cd2 Add missing tarball
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=101
2020-07-14 08:16:06 +00:00
c4fa1f98bf - Update to version 20200714.252de1f:
* Add pyunittest and pyunittest_arch macros

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=100
2020-07-14 08:15:49 +00:00
Dominique Leuenberger
1259125783 Accepting request 818299 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/818299
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=29
2020-07-08 17:09:09 +00:00
Tomáš Chvátal
514a8ff53e Accepting request 818298 from home:bnavigator:branches:devel:languages:python:numeric
- Update to version 20200701.9f5a2f6:
  * add blank line between pytest and pytest_arch to fix expansion
    failure in Leap gh#openSUSE/python-rpm-macros#53

OBS-URL: https://build.opensuse.org/request/show/818298
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=98
2020-07-02 10:50:58 +00:00
Dominique Leuenberger
6f8221ff07 Accepting request 816897 from devel:languages:python:Factory
- Update to version 20200625.e862151:
  * fix pytest_arch PYTHONPATH
  * expand calls pyproject* macros (revert #45)
  * let the shell expand PYTHONPATH

- Update to version 20200623.3ea9b62:
  * fix PYTHONPATH on pytest_arch macro

- Update to version 20200622.1919233:
  * Expand %buildroot first (avoid endless cycle; bsc#1162743)

- Update to version 20200622.1f4c5d2:
  * Add missing semicolon

- For Factory change %system_python to python3.

- Update to version 20200603.503823c:
  * Don't add empty path to PYTHONPATH setting.
  * Do not expand macros, just print them unexpanded (for %pytest* and %pyproject* macros)
  * Replace py.test -> pytest

OBS-URL: https://build.opensuse.org/request/show/816897
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=28
2020-06-29 19:14:28 +00:00
a4fe87cc47 - Update to version 20200625.e862151:
* fix pytest_arch PYTHONPATH
  * expand calls pyproject* macros (revert #45)
  * let the shell expand PYTHONPATH

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=96
2020-06-24 22:07:28 +00:00
Tomáš Chvátal
a6e48cffb5 - Update to version 20200623.3ea9b62:
* fix PYTHONPATH on pytest_arch macro

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=95
2020-06-23 12:15:08 +00:00
552f6a41c8 - Update to version 20200622.1919233:
* Expand %buildroot first (avoid endless cycle; bsc#1162743)

- Update to version 20200622.1f4c5d2:
  * Add missing semicolon

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=94
2020-06-22 19:02:54 +00:00
Dominique Leuenberger
34dc2cbc38 Accepting request 811211 from devel:languages:python:Factory
Resubmit rev 90

OBS-URL: https://build.opensuse.org/request/show/811211
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=27
2020-06-11 12:41:04 +00:00
4548b004b7 - For Factory change %system_python to python3.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=92
2020-06-03 12:02:02 +00:00
7e10cf0281 - Update to version 20200603.503823c:
* Don't add empty path to PYTHONPATH setting.
  * Do not expand macros, just print them unexpanded (for %pytest* and %pyproject* macros)
  * Replace py.test -> pytest

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=91
2020-06-03 08:18:22 +00:00
774b190f88 - Update to version 20200529.b301e36:
* update-alternatives are quiet during install

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=90
2020-05-29 15:29:00 +00:00
Dominique Leuenberger
15ff927c26 Accepting request 805136 from devel:languages:python:Factory
- Update to version 20200207.5feb6c1 bsc#1171561:

OBS-URL: https://build.opensuse.org/request/show/805136
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=26
2020-05-13 20:56:06 +00:00
Tomáš Chvátal
3a4081763a - Update to version 20200207.5feb6c1 bsc#1171561:
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=88
2020-05-13 09:25:37 +00:00
Dominique Leuenberger
36c19dbbcb Accepting request 797835 from devel:languages:python:Factory
- Update to version 20200207.5feb6c1:
  * Do not write .pyc files for tests

OBS-URL: https://build.opensuse.org/request/show/797835
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=25
2020-05-01 09:05:19 +00:00
d1221882b0 - Update to version 20200207.5feb6c1:
* Do not write .pyc files for tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=86
2020-04-21 11:43:30 +00:00
Dominique Leuenberger
051dba78ea Accepting request 766863 from devel:languages:python:Factory
- Update to version 20200117.8e39013 bsc#1161770:

OBS-URL: https://build.opensuse.org/request/show/766863
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=24
2020-02-03 10:10:31 +00:00
Tomáš Chvátal
928cd2c36c OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=84 2020-01-24 11:42:11 +00:00
Tomáš Chvátal
42fd348f75 - Update to version 20200117.8e39013 bsc#1161770:
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=83
2020-01-24 11:41:24 +00:00
Dominique Leuenberger
2da059911e Accepting request 766078 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/766078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=23
2020-01-23 15:08:53 +00:00
cfbead4762 Accepting request 765902 from home:Pharaoh_Atem:branches:devel:languages:python:Factory
- Add python-rpm-generators to express setuptools dependency for generator

OBS-URL: https://build.opensuse.org/request/show/765902
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=81
2020-01-21 13:49:48 +00:00
Tomáš Chvátal
918ee4d80b Accepting request 765272 from home:Pharaoh_Atem:branches:devel:languages:python:Factory
- Update to version 20200117.8e39013:
  * Add macros related to the Python dist metadata dependency generator

OBS-URL: https://build.opensuse.org/request/show/765272
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=80
2020-01-17 13:11:49 +00:00
Dominique Leuenberger
a012753ea8 Accepting request 745134 from devel:languages:python:Factory
- Update to version 20191104.08e6493:
  * %pyproject_install macro should include --no-compile.
  * Recognise the _ for the macro arguments too

OBS-URL: https://build.opensuse.org/request/show/745134
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=22
2019-11-08 14:21:42 +00:00
bb9ee4e2dd - Update to version 20191104.08e6493:
* %pyproject_install macro should include --no-compile.
  * Recognise the _ for the macro arguments too

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=78
2019-11-04 10:11:26 +00:00
Dominique Leuenberger
5aa4168a0b Accepting request 708959 from devel:languages:python:Factory
- 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.

- Update to version 20190511.2ed22b6:
  * Add the first draft of pyproject_wheel and pyproject_install macros.

OBS-URL: https://build.opensuse.org/request/show/708959
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=21
2019-06-18 12:48:37 +00:00
1930867035 Accepting request 708958 from home:mcepl:neovim
- 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
2019-06-10 11:41:16 +00:00
35c3ece7f9 Accepting request 704239 from home:mcepl:branches:devel:languages:python:Factory
- Update to version 20190511.2ed22b6:
  * Add the first draft of pyproject_wheel and pyproject_install macros.

OBS-URL: https://build.opensuse.org/request/show/704239
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=74
2019-05-20 12:46:22 +00:00
Dominique Leuenberger
45287b3672 Accepting request 700011 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/700011
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=20
2019-05-09 08:00:32 +00:00
89ae06e2e9 Accepting request 700010 from home:mcepl:branches:devel:languages:python:Factory
- Update to version 20190430.5260267:
  * Yet another attempt to preserve $PYTHONPATH set in the environment.
  * Document also %pytest_arch
  * Document %pytest in README.md

OBS-URL: https://build.opensuse.org/request/show/700010
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=72
2019-05-02 06:52:33 +00:00
Dominique Leuenberger
d6609bb6cd Accepting request 692295 from devel:languages:python:Factory
- Update to version 20190408.32abece bsc#1128323:
  * Multiline macros don't work correctly on older RPMs.

OBS-URL: https://build.opensuse.org/request/show/692295
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=19
2019-04-10 21:08:41 +00:00
b70b322242 Update changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=70
2019-04-08 13:16:14 +00:00
Dominique Leuenberger
0b00677e8d Accepting request 690635 from devel:languages:python:Factory
- Update to version 20190402.c88be49:
  * Add missing $ expansion on the pytest call

OBS-URL: https://build.opensuse.org/request/show/690635
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=18
2019-04-04 10:03:23 +00:00
Tomáš Chvátal
0697b98d43 - Update to version 20190402.c88be49:
* Add missing $ expansion on the pytest call

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=68
2019-04-02 11:26:39 +00:00
Dominique Leuenberger
e027f94a01 Accepting request 685389 from devel:languages:python:Factory
- Update to version 20190315.d3034bf bsc#1128323:
  * Rewrite pytest and pytest_arch into Lua macros with multiple arguments.

- bsc#1128323: Update to version 20190307.fbaed33

OBS-URL: https://build.opensuse.org/request/show/685389
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=17
2019-03-29 19:35:35 +00:00
Tomáš Chvátal
683a5219f3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=66 2019-03-15 14:21:35 +00:00
Tomáš Chvátal
89ef67a629 - Update to version 20190315.d3034bf bsc#1128323:
* Rewrite pytest and pytest_arch into Lua macros with multiple arguments.
- bsc#1128323: Update to version 20190307.fbaed33

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=65
2019-03-15 14:18:50 +00:00
Dominique Leuenberger
6e19993632 Accepting request 682470 from devel:languages:python:Factory
- Update to version 20190307.81ca329:
  * We should preserve existing PYTHONPATH.

- bsc#1128323: Update to version 20190307.fbaed33 bsc#1128323:
  * Add --ignore to pytest calls to ignore build directories.

OBS-URL: https://build.opensuse.org/request/show/682470
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=16
2019-03-12 08:43:56 +00:00
Tomáš Chvátal
8217d029dc - Update to version 20190307.81ca329:
* We should preserve existing PYTHONPATH.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=63
2019-03-07 13:41:19 +00:00
fd3006512c Accepting request 682447 from home:mcepl:branches:devel:languages:python:Factory
- 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
2019-03-07 12:30:28 +00:00
Tomáš Chvátal
130a10ae53 - Update to version 20190307.fbaed33 bsc#1128323:
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=61
2019-03-07 11:53:09 +00:00
d20380c108 Accepting request 682429 from home:mcepl:branches:devel:languages:python:Factory
- Update to version 20190307.fbaed33:
  * Add --ignore to pytest calls to ignore build directories.

OBS-URL: https://build.opensuse.org/request/show/682429
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=60
2019-03-07 11:28:40 +00:00
Dominique Leuenberger
3e5a935ad3 Accepting request 678063 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/678063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=15
2019-02-26 21:13:41 +00:00
f0fe3d70f2 Accepting request 678061 from home:mcepl:branches:devel:languages:python:Factory
- Update to version 20190221.08f1194:
  * Actually make pytest into function to capture arguments as well
  * Add pytest definitions.

OBS-URL: https://build.opensuse.org/request/show/678061
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=58
2019-02-21 18:01:46 +00:00