14
0
forked from pool/python-PyICU

52 Commits

Author SHA256 Message Date
a50eb9873f Accepting request 1274890 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1274890
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyICU?expand=0&rev=23
2025-05-07 17:14:57 +00:00
938ce7e775 Accepting request 1274848 from home:glaubitz:branches:devel:languages:python
- Update to 2.15.2
  * fixed calloc/free mismatch with arg::Q() uses (Fredrik Roubert)
  * replaced all malloc/calloc/free with std::unique_ptr<T[]>
- from version 2.15.1
  * fixed build error missing conditional ICU < 70 in UnicodeSetIterator()
  * fixed Enum arg parser with broken strict aliasing rules (Jakub Wilk)
  * replaced all new[]/delete[] with std::unique_ptr<[]>, fixed leaks
  * replaced most new/delete with std::unique_ptr<>, fixed leaks
- Adjust upstream source name in spec file

OBS-URL: https://build.opensuse.org/request/show/1274848
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=47
2025-05-06 11:16:54 +00:00
838fb3884d Accepting request 1274788 from home:hsk17:branches:openSUSE:Factory:Staging:Gcc7
add pyicu-2.15-gcc15.patch to fix gcc15 compile time error

OBS-URL: https://build.opensuse.org/request/show/1274788
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=46
2025-05-06 08:02:47 +00:00
428c443308 Accepting request 1269329 from devel:languages:python
- Update to 2.15
  * fixed build error missing conditional ICU < 70 in UnicodeSetIterator()
  * fixed Enum arg parser with broken strict aliasing rules (Jakub Wilk)
- Refresh remove_six.patch

- Wrap the metadata directory name in a distro-based conditional

- Lowercase metadata directory name.

OBS-URL: https://build.opensuse.org/request/show/1269329
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyICU?expand=0&rev=22
2025-04-15 18:46:47 +00:00
b3d990a486 Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=44
2025-04-14 15:00:44 +00:00
0336a75692 Accepting request 1268579 from home:glaubitz:branches:devel:languages:python
- Update to 2.15
  * fixed build error missing conditional ICU < 70 in UnicodeSetIterator()
  * fixed Enum arg parser with broken strict aliasing rules (Jakub Wilk)
- Refresh remove_six.patch

OBS-URL: https://build.opensuse.org/request/show/1268579
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=43
2025-04-14 14:54:19 +00:00
7931025e94 - Wrap the metadata directory name in a distro-based conditional
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=42
2025-04-01 12:50:40 +00:00
1bcce7329a - Lowercase metadata directory name.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=41
2025-03-25 04:31:51 +00:00
fb528d2121 Accepting request 1243233 from devel:languages:python
- Actually drop BuildRequires on six.

OBS-URL: https://build.opensuse.org/request/show/1243233
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyICU?expand=0&rev=21
2025-02-07 21:54:33 +00:00
84d3fe3314 - Actually drop BuildRequires on six.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=39
2025-02-05 02:22:36 +00:00
13fc2dee5c Accepting request 1222456 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1222456
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyICU?expand=0&rev=20
2024-11-08 10:55:50 +00:00
817ecf1268 Accepting request 1222084 from home:glaubitz:branches:devel:languages:python
- Update to 2.14
  * added wrappers for UCPMap.get|getRange and Char.getIntPropertyMap
  * added wrapper for Locale.getUnicodeKeywordValue
  * added wrapper for UnicodeString.remove, UnicodeString.removeBetween
  * added wrapper for UnicodeString.retainBetween, UnicodeString.truncate
  * fixed bogus UBool uses on stack instead of int (Martin Jansche)
  * added support for ICU 76.1

OBS-URL: https://build.opensuse.org/request/show/1222084
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=37
2024-11-07 13:17:37 +00:00
8de244f37c Accepting request 1180849 from devel:languages:python
- Update to 2.13.1:
  - change c++11 to c++17 in setup.py as current versions of ICU require it
- 2.13
  - fixed build issues on Windows
  - added wrappers for MeasureUnit(locale, width) and getUnitDisplayName()
  - added wrappers for DateFormatSymbols.getEra|ZodiacNames()
  - added wrappers for DateFormatSymbols.getZoneStrings()
  - added wrappers for LocaleDisplayNames
  - fixed bug dealloc calling wrong destructor on most types (Fredrik Roubert)
  - added support for ICU 75.1
  - added wrappers for LocalizedNumber|Range|Formatter.withoutLocale()
  - added wrappers for UIdentifierType, Char.hasIDType(), Char.getIDTypes()
  - added wrappers for UIdentifierStatus
  - added wrappers for UProperty.IDENTIFIER_TYPE, UProperty.IDENTIFIER_STATUS

OBS-URL: https://build.opensuse.org/request/show/1180849
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyICU?expand=0&rev=19
2024-06-17 17:27:06 +00:00
ead2f03508 - Update to 2.13.1:
- change c++11 to c++17 in setup.py as current versions of ICU require it
- 2.13
  - fixed build issues on Windows
  - added wrappers for MeasureUnit(locale, width) and getUnitDisplayName()
  - added wrappers for DateFormatSymbols.getEra|ZodiacNames()
  - added wrappers for DateFormatSymbols.getZoneStrings()
  - added wrappers for LocaleDisplayNames
  - fixed bug dealloc calling wrong destructor on most types (Fredrik Roubert)
  - added support for ICU 75.1
  - added wrappers for LocalizedNumber|Range|Formatter.withoutLocale()
  - added wrappers for UIdentifierType, Char.hasIDType(), Char.getIDTypes()
  - added wrappers for UIdentifierStatus
  - added wrappers for UProperty.IDENTIFIER_TYPE, UProperty.IDENTIFIER_STATUS

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=35
2024-06-14 08:31:06 +00:00
42bb6b4cfb Accepting request 1133871 from devel:languages:python
- update to 2.12:
  * fixed bug in RegexMatcher.reset() not retaining ownership
    of string
    - added wrappers for TimeZoneNames class
    - added wrapper for TimeZone.getIanaID()
    - added wrapper for
  * added support for ICU 74.1

- add missing six declaration for testsuite
  * Support ICU 69

OBS-URL: https://build.opensuse.org/request/show/1133871
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyICU?expand=0&rev=18
2023-12-19 22:15:24 +00:00
620646aced - update to 2.12:
* fixed bug in RegexMatcher.reset() not retaining ownership
    of string
    - added wrappers for TimeZoneNames class
    - added wrapper for TimeZone.getIanaID()
    - added wrapper for
  * added support for ICU 74.1
- add missing six declaration for testsuite
  * Support ICU 69

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=33
2023-12-18 14:06:33 +00:00
1866e7ccf7 Accepting request 1095995 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1095995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyICU?expand=0&rev=17
2023-06-30 17:58:07 +00:00
1050d7a930 Accepting request 1095914 from devel:languages:python:mailman:backports
- Disable testTransition on Leap
- Fix position of sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1095914
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=31
2023-06-29 13:47:11 +00:00
014677032b Accepting request 1095261 from devel:languages:python
- Clean up SPEC file.
- Add remove_six.patch which removes the need to use six.
- Update to version 2.11
  * fixed bug PluralFormat.format accepting python strings, which are immutable
  * fixed bug with UWordBreak wrapping wrong enum (UBreakIteratorType)
  * added wrappers for UBreakIteratorType, ULine|SentenceBreakTag
  * added wrappers for DateTimePatternGenerator::set|getDateTimeFormat()
  * added wrappers for Precision::incrementExact()
  * Locale objects can now be sorted (Fredrik Roubert)
  * added wrapper for Calendar::inTemporalLeapYear()
  * added wrappers for Calendar::get|getTemporalMonthCode()
  * changed all Calendar setters to return self instead of None, setter chaining
- Use sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1095261
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyICU?expand=0&rev=16
2023-06-27 21:15:38 +00:00
8cde1c7ba5 - Add remove_six.patch which removes the need to use six.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=29
2023-06-25 20:54:36 +00:00
aa51bc1ad4 - Clean up SPEC file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=28
2023-06-25 19:30:42 +00:00
b0b713c4ba Accepting request 1095193 from devel:languages:python:mailman:backports
- Update to version 2.11
  * fixed bug PluralFormat.format accepting python strings, which are immutable
  * fixed bug with UWordBreak wrapping wrong enum (UBreakIteratorType)
  * added wrappers for UBreakIteratorType, ULine|SentenceBreakTag
  * added wrappers for DateTimePatternGenerator::set|getDateTimeFormat()
  * added wrappers for Precision::incrementExact()
  * Locale objects can now be sorted (Fredrik Roubert)
  * added wrapper for Calendar::inTemporalLeapYear()
  * added wrappers for Calendar::get|getTemporalMonthCode()
  * changed all Calendar setters to return self instead of None, setter chaining
- Use sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1095193
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=27
2023-06-25 19:18:39 +00:00
39e20bd323 Accepting request 1031560 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1031560
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyICU?expand=0&rev=15
2022-10-28 17:29:27 +00:00
517e8f081e Accepting request 1031525 from home:mcalabkova:branches:devel:languages:python
- update to version 2.10.2
  * added support for ICU 72.1
  * fixed bug in logic computing max_char for PyUnicode_New()
  * added some wrappers

OBS-URL: https://build.opensuse.org/request/show/1031525
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=25
2022-10-27 13:53:38 +00:00
a716bed9bf Accepting request 969908 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/969908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyICU?expand=0&rev=14
2022-04-15 22:12:41 +00:00
371e3a07d4 Accepting request 969897 from home:gmbr3:Active
- update to version 2.9:
  - deleted long deprecated PyICU.py file
  - moved icu python module sources into py directory
  - renamed _icu extension module to _icu_ and moved it into icu module
  - added UNumberTrailingZeroDisplay, Precision.trailingZeroDisplay()
  - added UNumberRoundingPriority, FractionPrecision.withSignificantDigits()
  - added wrappers for UMeasurePrefix, MeasureUnit.withPrefix()|getPrefix()
  - added support for ICU 71.1

OBS-URL: https://build.opensuse.org/request/show/969897
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=23
2022-04-13 15:58:00 +00:00
c491e5801e Accepting request 930994 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/930994
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyICU?expand=0&rev=13
2021-11-13 21:48:22 +00:00
8ed3f40b72 Accepting request 930904 from home:gmbr3:Active
- updated to version 2.8:
  - fixed test failure in test_DateTimeParserGenerator.py with version 70.1rc
  - added wrappers for UCurrNameStyle and for ucurr_getName() onto CurrencyUnit
  - added support for ICU 70.1
  - added FieldPosition-less overloads to RuleBasedNumberFormat.format()
  - added pyproject.toml file to (also) build via python -m build

OBS-URL: https://build.opensuse.org/request/show/930904
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=22
2021-11-11 23:17:35 +00:00
ffebff057b Accepting request 930138 from devel:languages:python
- add missing six declaration for testsuite

OBS-URL: https://build.opensuse.org/request/show/930138
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyICU?expand=0&rev=12
2021-11-10 20:45:54 +00:00
6cf7c731a2 - add missing six declaration for testsuite
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=21
2021-11-08 10:37:52 +00:00
Richard Brown
54a46886fe Accepting request 912371 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/912371
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyICU?expand=0&rev=11
2021-08-19 11:06:36 +00:00
bdbe462593 Accepting request 912360 from home:DocB:branches:devel:languages:python
- %pytest_arch added to fix Leap test issues

OBS-URL: https://build.opensuse.org/request/show/912360
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=20
2021-08-16 08:58:58 +00:00
Richard Brown
91f1e28fa6 Accepting request 912187 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/912187
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyICU?expand=0&rev=10
2021-08-16 08:08:40 +00:00
a096c94b64 Accepting request 912078 from home:DocB:branches:devel:languages:python
-  2.7.4
  - added wrappers for UWordBreak and BreakIterator.getRuleStatusVec()
  - added wrappers for MessagePattern (Roman Kalukiewicz)
  - added wrapper for Collator::getKeywordValuesForLocale
  - added wrappers for LocaleMatcher.acceptLanguage|FromHTTP()
  - worked around limitation of Visual Studio 2017 (cgohlke)
  - added missing test and samples files to distribution (foutrelis)
  - added some tests for TimeZone classes
  - fixed bug w/FormattedNumberRange.getFirst|SecondDecimal() gone w/ ICU 68.1+
  - fixed bug with VTimeZone.write() wrapper invoking VTimeZone.writeSimple()
  - added wrapper for Locale.canonicalize()
  - added wrappers for MeasureUnit.product(), reciprocal(), getDimensionality()
  - added wrapper for MeasureUnit.forIdentifier()
  - implemented *, /, **, 1/m for MeasureUnit in terms of product and reciprocal
  - added wrappers for BasicTimeZone, RuleBasedTimeZone, VTimeZone
  - added wrappers for TimeZoneTransition, TimeZoneRule and its subclasses
  - added wrappers for DateTimeRule, DateRuleType, TimeRuleType
  - added support for ICU 69.1 (support-icu-69.patch reomoved)

OBS-URL: https://build.opensuse.org/request/show/912078
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=19
2021-08-14 19:00:27 +00:00
72a0ac972b Accepting request 888967 from devel:languages:python
- Add patch support-icu-69.patch:
  * Support ICU 69

OBS-URL: https://build.opensuse.org/request/show/888967
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyICU?expand=0&rev=9
2021-04-29 20:44:44 +00:00
518c5c7eae - Add patch support-icu-69.patch:
* Support ICU 69

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=17
2021-04-28 08:07:00 +00:00
ee5665ae8a Accepting request 855810 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/855810
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyICU?expand=0&rev=8
2020-12-16 09:59:49 +00:00
5d4e13673e Accepting request 855798 from home:gmbr3:StagingI
- update to 2.6
  * fix build with ICU 68

OBS-URL: https://build.opensuse.org/request/show/855798
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=15
2020-12-14 17:24:38 +00:00
815ebb0593 Accepting request 788930 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/788930
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyICU?expand=0&rev=7
2020-03-29 12:25:06 +00:00
Tomáš Chvátal
c6bf0bd7cc Accepting request 788927 from home:mcalabkova:branches:devel:languages:python
- update to 2.4.3
  * added Char.getPropertyValueName() and Char.getPropertyValueEnum()
  * fixed build errors with PythonReplaceable for ICU < 55

OBS-URL: https://build.opensuse.org/request/show/788927
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=13
2020-03-27 09:19:41 +00:00
747cd1cbfd Accepting request 764636 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/764636
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyICU?expand=0&rev=6
2020-01-16 17:16:07 +00:00
Tomáš Chvátal
c19265f1fb Accepting request 764635 from home:mcalabkova:branches:devel:languages:python
- update to 2.4.2
  * fixed build issues with ICU < 59
  * lots of small fixes

OBS-URL: https://build.opensuse.org/request/show/764635
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=11
2020-01-15 11:38:46 +00:00
34e28991d6 Accepting request 699375 from devel:languages:python
- Update to 2.3.1:
  * fixed build error with ICU 61, ICU 62

OBS-URL: https://build.opensuse.org/request/show/699375
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyICU?expand=0&rev=5
2019-05-05 19:19:03 +00:00
Tomáš Chvátal
8797565314 - Update to 2.3.1:
* fixed build error with ICU 61, ICU 62

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=9
2019-04-29 08:07:56 +00:00
5b7ded75cc Accepting request 690344 from devel:languages:python
- Update to 2.3:
  - added support for also trying pkg-config for build configuration (Linux)
  - fixed compilation issue in collator.cpp when not using c++11 (and icu < 60)
  - added support for ICU 64.1
  - filled out wrappers for missing NumberFormatter methods and classes

OBS-URL: https://build.opensuse.org/request/show/690344
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyICU?expand=0&rev=4
2019-04-04 10:02:03 +00:00
Tomáš Chvátal
43b6ce1fbc - Update to 2.3:
- added support for also trying pkg-config for build configuration (Linux)
  - fixed compilation issue in collator.cpp when not using c++11 (and icu < 60)
  - added support for ICU 64.1
  - filled out wrappers for missing NumberFormatter methods and classes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=7
2019-04-01 13:13:42 +00:00
0123c7b57a Accepting request 645874 from devel:languages:python
- Version update to 2.2:
  * Many fixes to build well with newest ICU releases
- Drop not really needed service
- Cleanup with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/645874
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyICU?expand=0&rev=3
2018-11-01 13:45:00 +00:00
Tomáš Chvátal
c045f610d5 - Version update to 2.2:
* Many fixes to build well with newest ICU releases
- Drop not really needed service
- Cleanup with spec-cleaner

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=5
2018-11-01 09:12:21 +00:00
8da2f5041a Accepting request 569240 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/569240
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyICU?expand=0&rev=2
2018-01-25 11:40:05 +00:00
Tomáš Chvátal
a7416abbdb Accepting request 568896 from home:mlin7442:branches:devel:languages:python
update to new version and fixed build failure with icu 60

OBS-URL: https://build.opensuse.org/request/show/568896
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=3
2018-01-24 13:47:43 +00:00