This repository was archived by the owner on May 20, 2023. It is now read-only.
File tree 2 files changed +24
-4
lines changed
2 files changed +24
-4
lines changed Original file line number Diff line number Diff line change 4
4
pkgname=python-oslo-i18n
5
5
pkgver=6.0.0
6
6
_commit=03605c2db7d034ad6776b860d4928939ae7e3594
7
- pkgrel=2
7
+ pkgrel=3
8
8
pkgdesc=" Oslo i18n library"
9
9
arch=(' any' )
10
10
url=" https://pypi.python.org/pypi/oslo.i18n/$pkgver "
11
11
license=(' Apache' )
12
12
depends=(' python-pbr' )
13
13
makedepends=(' git' )
14
- checkdepends=(' python-oslotest' ' python-oslo-config' )
15
- source=(" git+https://github.com/openstack/oslo.i18n.git#commit=$_commit " )
16
- sha512sums=(' SKIP' )
14
+ checkdepends=(' python-oslotest' ' python-oslo-config' ' python-stestr' ' python-testscenarios' )
15
+ source=(" git+https://github.com/openstack/oslo.i18n.git#commit=$_commit "
16
+ " fix-tests-extra-warning.patch" )
17
+ sha512sums=(' SKIP'
18
+ ' 445b03985fafef0e4db856afe54772bb8b23b328f0a0166277c5aba9e899e2c6596737c45c11f0581fa3093853048134eac1c894227e88be463a4d0affe849e8' )
19
+
20
+ prepare () {
21
+ cd oslo.i18n
22
+ patch -Np1 -i ${srcdir} /fix-tests-extra-warning.patch
23
+ }
17
24
18
25
build () {
19
26
cd oslo.i18n
Original file line number Diff line number Diff line change
1
+ Only in oslo.i18n.new/oslo_i18n: __pycache__
2
+ Only in oslo.i18n.new/oslo_i18n/tests: __pycache__
3
+ diff -aur oslo.i18n.new/oslo_i18n/tests/test_message.py oslo.i18n/oslo_i18n/tests/test_message.py
4
+ --- oslo.i18n.new/oslo_i18n/tests/test_message.py 2023-04-18 19:52:48.773449094 +0200
5
+ +++ oslo.i18n/oslo_i18n/tests/test_message.py 2023-04-18 20:03:29.083036381 +0200
6
+ @@ -380,6 +380,7 @@
7
+
8
+ with warnings.catch_warnings(record=True) as w:
9
+ warnings.simplefilter("always")
10
+ + warnings.filterwarnings("ignore", category=DeprecationWarning)
11
+ msg = _message.Message(message_with_params)
12
+ msg = msg % param
13
+ default_translation = message_with_params % param
You can’t perform that action at this time.
0 commit comments