1
0
Commit Graph

189 Commits

Author SHA256 Message Date
b5a6a3496f - Update to version 20210204.90721de:
* mv -n does not work in SLE12
  * Update PEP517/518 macro documentation in README
  * Let pyproject_install search for more locations for wheels or specify explicitely
  * Read .rpmmacros (= prjconf Macro: definitions) for default buildset

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=142
2021-02-04 14:39:57 +00:00
caf6698177 - Update to version 20210203.0d8a91e:
* don't define skip_python2 by default

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=141
2021-02-03 16:40:53 +00:00
Dominique Leuenberger
02c78cb498 Accepting request 868221 from devel:languages:python:Factory
- Update to version 20210131.ec7577b:
  * remove old commented path finding section
  * expand python_subpackage_only not earlier than in python_subpackages call
  * make the path and var macros return a non-interrupted string even when the flavor is not installed

- Update to version 20210131.1450767:
  * only add parentheses when boolean operators are used
  * sync buildset definitions with Factory
  * fix typo

- Update to version 20210127.3a18043:
  * dont't rename wheel when it already has the same name

- Update to version 20210126.fea1c1f:
  * Document python_module with boolean dependecies
  * workaround undetected abi and platform tags gh#openSUSE/python-rpm-macros#93

- Update to version 20210121.ef5b8b9:
  * Add %python pseudo-macro for %python_modules -- server and rpm version

- Update to version 20210117.63cf413:
  * improve flavor variable naming in python_expand

- Update to version 20210116.2682657:
  * remove python2 not found error

OBS-URL: https://build.opensuse.org/request/show/868221
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=34
2021-02-02 13:24:32 +00:00
bec4104e35 Add tarball
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=139
2021-01-31 20:50:56 +00:00
ed10cd9570 - Update to version 20210131.ec7577b:
* remove old commented path finding section
  * expand python_subpackage_only not earlier than in python_subpackages call
  * make the path and var macros return a non-interrupted string even when the flavor is not installed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=138
2021-01-31 20:38:32 +00:00
9d413f8bb6 - Update to version 20210131.1450767:
* only add parentheses when boolean operators are used
  * sync buildset definitions with Factory
  * fix typo

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=137
2021-01-31 13:32:24 +00:00
53e2e58c11 - Update to version 20210127.3a18043:
* dont't rename wheel when it already has the same name

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=136
2021-01-27 22:48:46 +00:00
ba9bfdc8bb - Update to version 20210126.fea1c1f:
* Document python_module with boolean dependecies
  * workaround undetected abi and platform tags gh#openSUSE/python-rpm-macros#93

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=135
2021-01-26 21:11:56 +00:00
33b135f54c - Update to version 20210121.ef5b8b9:
* Add %python pseudo-macro for %python_modules -- server and rpm version

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=134
2021-01-21 11:10:49 +00:00
0c13c72c2e Add tarball
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=133
2021-01-17 07:07:59 +00:00
6f804c5fc5 - Update to version 20210117.63cf413:
* improve flavor variable naming in python_expand

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=132
2021-01-17 07:07:47 +00:00
d505bfd5b8 - Update to version 20210116.2682657:
* remove python2 not found error

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=131
2021-01-16 12:31:22 +00:00
Dominique Leuenberger
4a0039e0e1 Accepting request 862532 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/862532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=33
2021-01-15 18:42:56 +00:00
e561710075 Accepting request 862531 from home:mcepl:neovim
- Update to version 20210112.86f4d9d:
  * fix gh#openSUSE/python-rpm-macros#84: python_sysconfig_ macros

OBS-URL: https://build.opensuse.org/request/show/862531
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=129
2021-01-12 07:50:51 +00:00
f8ae7adf2a - Update to version 20201207.2177fcf:
* README update after merge

- Update to version 20201207.259cdda:
  * Update python_expand description in README
  * python_expand  to basename only

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=128
2020-12-07 17:26:16 +00:00
50d4990056 - Update to version 20201204.32a910e:
* fix print_provided_flavor again

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=127
2020-12-04 09:48:06 +00:00
5aa977608a - Update to version 20201203.5331183:
* fix print_provided_flavor

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=126
2020-12-03 07:08:33 +00:00
2962d6244b - Update to version 20201128.669edb3:
* fix provides (for python-numpy f2py, in gh#openSUSE/python-rpm-macros#66)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=125
2020-11-28 22:13:50 +00:00
785b42c151 Add tarball.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=124
2020-11-23 14:43:15 +00:00
245b0c64db - Update to version 20201123.6978323:
* also rewrite subpackage_only default providers
  * pytest: ignore _build dirs for all flavors

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=123
2020-11-23 14:41:54 +00:00
9b8eb9efb8 - Update to version 20201119.6bb5f69:
* add default provider properties
  * don't replace %name, for subpackage_only
  * expand parameters for subpackage_only packages

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=122
2020-11-19 07:56:21 +00:00
ff7eeca75f - Update to version 20201112.a4c80dc:
* handle python_subpackage_only, fixes gh#openSUSE/python-rpm-macros#73
  * define default providers for pythonX from pythonXY flavors: fixes #69

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=121
2020-11-12 18:19:35 +00:00
4aa0979553 - Update to version 20201103.cec67c2:
* document python_find_lang
  * add python_find_lang and allow to specify in %python_files. Fixes #5

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=120
2020-11-03 20:59:23 +00:00
a08f3bfdf4 - Update to version 20201102.31ccfc2:
* fix python_clone shebang replacement
  * one less expansion for python_exec
  * expand default %python_ macros earlier
  * update README for multiple flavors
  * more command delimiters for %python_expand

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=119
2020-11-02 18:35:27 +00:00
8b35b012d0 - Update to version 20201022.7f87908:
* Add python36 and python38 flavours.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=118
2020-10-22 18:48:21 +00:00
0448f2bdfb Update changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=117
2020-10-21 11:43:42 +00:00
ddf68088d1 - Update to version 20201021.adb6953:
* Prepare for multiple python3 flavors

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=116
2020-10-21 11:22:54 +00:00
b4fd46a90f Remove multiple_flavors.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=115
2020-10-21 11:22:08 +00:00
4a9905bac6 - Update to version 20201016.5d22545:
* fix whitespace after escape in compileall macro

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=114
2020-10-16 20:06:38 +00:00
e08682b51a OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=113 2020-10-16 14:34:04 +00:00
da6cfbda1c Add tarball
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=112
2020-10-16 14:32:32 +00:00
ec210273d1 - Update to version 20201016.db09189:
* 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
2020-10-16 14:32:21 +00:00
4153c7831f - Update multiple_flavors.patch to generate correct names of the
python binary.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=110
2020-09-22 19:30:00 +00:00
195c90ab54 OK, this is a bad typo
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=109
2020-09-17 16:12:44 +00:00
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