Commit Graph

45 Commits

Author SHA1 Message Date
Fedora Release Engineering
cb10ad65aa - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 12:53:27 +00:00
Kalev Lember
9aec0b1b6d Avoid including files under __pycache__ twice
The glob above already includes the __pycache__ folder and all the files
in it.
2019-07-19 10:29:42 +03:00
Vojtech Trefny
1f4ff59f6c New version 2.1
- fix out of tree build failure (hongxu.jia)
- Fix return value for round_to_nearest when using Size (vtrefny)
2019-07-03 12:55:17 +02:00
Vojtech Trefny
00c43ad798 New version 2.0
- Assume the given expression is in bytes if no unit is given (v.podzimek)
- Add a man page for the bscalc tool (v.podzimek)
- Add the '--version' option to bs_calc.py (v.podzimek)
- Fix parsing of exponential representations of real numbers (v.podzimek)
- Only support modulo between two Size instances (v.podzimek)
- Add a summary to the end of ./configure output (v.podzimek)
- Exit with 1 from configure if there were failures (v.podzimek)
- Add tools to autotools and packaging (v.podzimek)
- Add a simple bytesize calculator tool (v.podzimek)
- Add support for floor division by a non-integer number in Python (v.podzimek)
- Port to pcre2 (vtrefny)
- Remove Python 2 support (vtrefny)
- Allow running tests using installed library (vtrefny)
- Add all "public" python API  symbols to __init__.py (vtrefny)
- Run all libbytesize tests from one script (vtrefny)
2019-04-29 09:07:28 +02:00
Fedora Release Engineering
349a8a5c54 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 06:46:03 +00:00
Vojtech Trefny
74cc42e299 New version
- Squashed 'translation-canary/' changes from 840c2d6..fccbb1b (vtrefny)
- Make sure the test script fails if one of the test runs fail (vtrefny)
- Do not try to run python2 tests without python2 support (vtrefny)
- Fix licence header for "gettext.h" (vtrefny)
- Do not use rpm to check for Zanata client (vtrefny)
- Use new ldconfig_scriptlets macro in spec (vtrefny)
2018-08-02 09:52:44 +02:00
Fedora Release Engineering
48650c0798 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 07:52:15 +00:00
Miro Hrončok
56143847ce Rebuilt for Python 3.7 2018-07-02 18:22:34 +02:00
Vojtech Trefny
70d979fd64 Use new ldconfig_scriptlets macro in spec 2018-06-29 13:00:30 +02:00
Miro Hrončok
edfd5709fa Rebuilt for Python 3.7 2018-06-15 23:45:19 +02:00
Vojtech Trefny
c7ba089831 New version
- Allow building libbytesize without Python 2 support (vtrefny)
- Sync spec with downstream (vtrefny)
- Add gcc to BuildRequires (vtrefny)
- Fix links for documentation and GH project (vtrefny)
- Add a HACKING.rst file (vpodzime)
- Do not segfault when trying to bs_size_free NULL (vtrefny)
2018-04-27 17:51:56 +02:00
Vojtech Trefny
81b4f428a3 Add gcc to BuildRequires 2018-02-21 14:49:25 +01:00
Fedora Release Engineering
8909b7950d - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 21:17:09 +00:00
Iryna Shcherbina
05cfcce6cb Update Python 2 dependency declarations to new packaging standards 2018-01-06 00:43:34 +01:00
Vratislav Podzimek
4b49c3a711 New version
- Use only version as a tag of the last release (vpodzime)
- Do not require the glib-2.0 pkgconfig package (vpodzime)
- Do not lie about tag creation (vpodzime)
2017-10-17 08:29:34 +02:00
Troy Dawson
f540a162e8 Cleanup spec file conditionals 2017-09-28 08:20:48 -07:00
Vratislav Podzimek
e934733bec New version
- Add NEWS.rst file (vtrefny)
- Fix source and url in spec file (vtrefny)
- Use only one git tag for new releases (vtrefny)
- Actually translate the units when expected (vpodzime)
- Add two temporary test files to .gitignore (vpodzime)
2017-09-21 10:23:14 +02:00
Vratislav Podzimek
2cbda07e54 New version
- Make more space for CI status image (vtrefny)
- Include limits.h to make sure ULONG_MAX is defined (vpodzime)
- Remove extra 'is' in two docstrings (vpodzime)
- Properly support 64bit operands (vpodzime)
2017-09-14 10:51:14 +02:00
Zbigniew Jędrzejewski-Szmek
37888d7995 Python 2 binary package renamed to python2-libbytesize 2017-08-19 09:38:33 -04:00
Fedora Release Engineering
ae372318a0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 01:14:13 +00:00
Fedora Release Engineering
9e3715cb64 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 18:35:29 +00:00
Vratislav Podzimek
2e0df4271d New version
- Fix README file name (vtrefny)
- Add a build status image to the README.md (vpodzime)
- Remove "glibc-all-langpacks" from test dependencies (vtrefny)
- Check for requires in generated spec file, not in the template (vtrefny)
- Fix checking for available locales (vtrefny)
- Fix library name in acinclude.m4 (vtrefny)
- Do not try to run translation tests on CentOS/RHEL 7 (vtrefny)
- Skip tests if they require unavailable locales (vpodzime)
2017-06-14 14:02:38 +02:00
Vratislav Podzimek
073b1d6957 New version
- Fix installation without specifying --exec-prefix (martin)
2017-04-19 10:22:37 +02:00
Fedora Release Engineering
845b461cfa - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 18:25:47 +00:00
Vratislav Podzimek
135edeb37e New version
- Allow the Size python class to be easily imported (vpodzime)
- Make sure pyexecdir is defined (vpodzime)
- Do not run Python 3 tests without python3 (vpodzime)
- Disable python3 on RHEL (vpodzime)
- Reflect the configuration in the spec file template (vpodzime)
- Make documentation generation conditional (vpodzime)
- Make python3 support conditional (vpodzime)
- Require lower version of libpcre (vpodzime)
- Sync the spec file with downstream (vpodzime)
2017-01-11 14:16:20 +01:00
Adam Williamson
37bf1e7088 Rebuild for Python 3.6, again 2016-12-21 15:59:21 -08:00
Vratislav Podzimek
0bac08b10c New version
- Add a docstring to python bindings (vpodzime)
- Neutralize None as an operand for math operations (vpodzime)
- Add targets for checking and installing test requirements (vpodzime)
- Fix 'make local' (vtrefny)
- Make the python packages own their package directories (vpodzime)
- Don't compare translated and untranslated representations (vpodzime)
- replace_char_with_str: Fix the character count. (dshea)
- Ditch autopoint. (dshea)
2016-12-16 18:57:33 +01:00
Charalampos Stratakis
aee06e8d7e Rebuild for Python 3.6 2016-12-12 22:07:22 +01:00
Vratislav Podzimek
ec49c58608 New version
- Prevent ignored exceptions in __del__ from happening (vpodzime)
2016-09-20 15:30:36 +02:00
Fedora Release Engineering
1f0d90661e - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 07:37:09 +00:00
Vratislav Podzimek
4e05eef2c8 New version
- Re-run autogen.sh and configure before updating the .pot file (vpodzime)
- Change where tests on translated strings are run. (dshea)
- Squashed 'translation-canary/' changes from d6c0708..840c2d6 (dshea)
- Make sure we get the tests result report in 'make ci' (vpodzime)
- Add a new generic error code/enum for failures (vpodzime)
- Do not ignore the return value from asprintf() (vpodzime)
- Beware of the radix char when converting to Decimal (#1325705) (vpodzime)
2016-05-17 20:09:20 +02:00
Vratislav Podzimek
cd064fcccc New version
- Beware of unsigned long int on 32bit arches (#1333149) (vpodzime)
2016-05-06 10:34:49 +02:00
Vratislav Podzimek
804a401f20 New version
- Add support for the ROUND_HALF_UP rounding mode (vpodzime)
- Make sure we return the right radix char in human_readable() (vpodzime)
- Allocate enough memory for char->str replacements (vpodzime)
2016-05-03 09:55:05 +02:00
Vratislav Podzimek
cf426618de New version
- Create both libbytesize-$version and $version tags (vpodzime)
- Update the .pot file with the new version (vpodzime)
- Improve how we create changelog (vpodzime)
- Try harder when getting OverflowError in division (#1326897) (vpodzime)
- Neutralize the radix char before passing string to MPFR (#1326108) (vpodzime)
- Run tests with en_US and fr_FR locales (vpodzime)
- Run the tests with both python2 and python3 again (vpodzime)
- Do not run the same tests 3 times as part of the 'ci' target (vpodzime)
- Don't fail if just the best-effort cleanup fails (vpodzime)
- Throw away the new .pot file when just running tests (vpodzime)
- Make sure we return one of -1, 0, 1 from cmp functions (#1326113) (vpodzime)
- Use cmp_bytes(size, bytes) when comparing to 0 (vpodzime)
- Ignore all .po~ files (vpodzime)
- Add translator comments (dshea)
- Integrate translation-canary into the build. (dshea)
- Run the translation-canary tests from make check. (dshea)
- Squashed 'translation-canary/' content from commit d6c0708 (dshea)
- Make 'make check' work. (dshea)
- Remove files from po/ we don't need to track (vpodzime)
- Ignore the compiled translation files (vpodzime)
- Distribute and package the translations (vpodzime)
- Add the necessary pieces for getting translations (vpodzime)
2016-04-26 09:26:06 +02:00
Vratislav Podzimek
a8ed70f44a New version
- Only require -lgmp and -lmpfr for static linking (vpodzime)
2016-04-14 10:29:11 +02:00
Vratislav Podzimek
359e3d5e5e New version
- Do not try to delete the C struct twice (vpodzime)
2016-03-11 18:34:11 +01:00
Vratislav Podzimek
23696856e4 New version
- Add the __init__.py file to provide a proper package (vpodzime)
- Merge pull request #7 from vpodzime/master-decimal_locale (vpodzime)
- Make sure we pass a locale-agnostic string to Decimal() (vpodzime)
- Adapt the package description to no longer using GI (vpodzime)
- Make Size instances hashable (vpodzime)
- Sync the spec file with downstream (vpodzime)
2016-03-09 17:29:27 +01:00
Vratislav Podzimek
7deccfd1fc New version
- Make sure we pass a locale-agnostic string to Decimal() (vpodzime)
2016-03-09 13:51:24 +01:00
Vratislav Podzimek
acef3dd342 New version
- Make Size instances hashable (vpodzime)
2016-03-07 12:07:08 +01:00
Vratislav Podzimek
dd8a76ab02 New version
- Packaging changes related to getting rid of GLib/GObject (vpodzime)
- Adapt the python bindings and tests (vpodzime)
- Get rid of GObject and GLib (vpodzime)
- Define the __divmod__ method even for not dividing by Size (vpodzime)
2016-03-07 10:00:24 +01:00
Dennis Gilmore
f7b4ac4e3e - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 02:56:56 +00:00
Peter Robinson
ceaa39c646 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 2015-11-10 14:38:13 +00:00
Vratislav Podzimek
88b080d4a8 New version
- Distribute the tests for overrides (vpodzime)
- Fix the rpmlog target (vpodzime)
- Respect the signs when doing division (vpodzime)
- Add two more internal methods that may be required (vpodzime)
- Do not pass negative numbers as guint64 when comparing with negative ints (vpodzime)
- Round toward zero when converting bytes from float to int (vpodzime)
- Make sure we return Size if doing operations with big integers (vpodzime)
- Implement the __divmod__() method (vpodzime)
- Do not try to convert negative int to an unsigned int when multiplying (vpodzime)
- Fix and test the __deepcopy__ method (vpodzime)
- Implement the evaluation of Size instance as a bool value (vpodzime)
- Fix some issues in comparison functions and add tests (vpodzime)
- Add a function for getting string representation of a unit (vpodzime)
- Hook the overrides tests to the 'test' target (vpodzime)
- Merge pull request #4 from japokorn/master-tests_03_python_override (vpodzime)
- Added tests for Python override (japokorn)
- Make sure our tests don't get broken by installed overrides (vpodzime)
2015-10-23 17:45:42 +02:00
Vratislav Podzimek
79be28ca5f The very first release 2015-10-21 21:11:09 +02:00
Fedora Release Engineering
df25a3e5c7 Initial setup of the repo 2015-10-20 12:21:53 +00:00