commit python-python-slugify for openSUSE:Factory
Hello community, here is the log from the commit of package python-python-slugify for openSUSE:Factory checked in at 2020-08-05 20:28:47 Comparing /work/SRC/openSUSE:Factory/python-python-slugify (Old) and /work/SRC/openSUSE:Factory/.python-python-slugify.new.3592 (New) Package is "python-python-slugify" Wed Aug 5 20:28:47 2020 rev:9 rq:824454 version:4.0.1 Changes: --- /work/SRC/openSUSE:Factory/python-python-slugify/python-python-slugify.changes 2020-05-26 17:18:36.723883444 +0200 +++ /work/SRC/openSUSE:Factory/.python-python-slugify.new.3592/python-python-slugify.changes 2020-08-05 20:29:01.823087071 +0200 @@ -1,0 +2,6 @@ +Wed Aug 5 08:35:13 UTC 2020 - Marketa Calabkova + +- update to 4.0.1 + * Add support for Py 3.8 + +--- Old: python-slugify-4.0.0.tar.gz New: python-slugify-4.0.1.tar.gz Other differences: -- ++ python-python-slugify.spec ++ --- /var/tmp/diff_new_pack.I6AD2A/_old 2020-08-05 20:29:03.495087944 +0200 +++ /var/tmp/diff_new_pack.I6AD2A/_new 2020-08-05 20:29:03.495087944 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-python-slugify -Version:4.0.0 +Version:4.0.1 Release:0 Summary:Slugify application that handles Unicode License:MIT ++ python-slugify-4.0.0.tar.gz -> python-slugify-4.0.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-slugify-4.0.0/CHANGELOG.md new/python-slugify-4.0.1/CHANGELOG.md --- old/python-slugify-4.0.0/CHANGELOG.md 2019-10-20 19:40:08.0 +0200 +++ new/python-slugify-4.0.1/CHANGELOG.md 2020-06-30 05:22:38.0 +0200 @@ -1,3 +1,6 @@ +## 4.0.1 + - Add support for Py 3.8 + ## 4.0.0 - Drop support from 2.6, & < 3.4.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-slugify-4.0.0/PKG-INFO new/python-slugify-4.0.1/PKG-INFO --- old/python-slugify-4.0.0/PKG-INFO 2019-10-20 19:40:41.0 +0200 +++ new/python-slugify-4.0.1/PKG-INFO 2020-06-30 05:34:51.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: python-slugify -Version: 4.0.0 +Version: 4.0.1 Summary: A Python Slugify application that handles Unicode Home-page: https://github.com/un33k/python-slugify Author: Val Neekman diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-slugify-4.0.0/README.md new/python-slugify-4.0.1/README.md --- old/python-slugify-4.0.0/README.md 2019-10-11 00:13:34.0 +0200 +++ new/python-slugify-4.0.1/README.md 2020-06-30 05:19:49.0 +0200 @@ -137,6 +137,32 @@ For more examples, have a look at the [test.py](test.py) file. +Command Line Options + + +With the package, a command line tool called `slugify` is also installed. + +It allows convenient command line access to all the features the `slugify` function supports. Call it with `-h` for help. + +The command can take its input directly on the command line or from STDIN (when the `--stdin` flag is passed): + +``` +$ echo "Taking input from STDIN" | slugify --stdin +taking-input-from-stdin +``` +``` +$ slugify taking input from the command line +taking-input-from-the-command-line +``` + +Please note that when a multi-valued option such as `--stopwords` or `--replacements` is passed, you need to use `--` as separator before you start with the input: + +``` +$ slugify --stopwords the in a hurry -- the quick brown fox jumps over the lazy dog in a hurry +quick-brown-fox-jumps-over-lazy-dog +``` + + Running the tests @@ -145,6 +171,12 @@ python test.py +Contribution + + +Please read the ([wiki](https://github.com/un33k/python-slugify/wiki/Python-Slugify-Wiki)) page prior to raising any PRs. + + License @@ -159,8 +191,8 @@ `MINOR` version -- when you add functionality in a backwards-compatible manner, and `PATCH` version -- when you make backwards-compatible bug fixes. -[status-image]: https://secure.travis-ci.org/un33k/python-slugify.png?branch=master -[status-link]: http://travis-ci.org/un33k/python-slugify?branch=master +[status-image]: https://travis-ci.org/un33k/python-slugify.svg?branch=master +[status-link]: https://travis-ci.org/un33k/python-slugify [version-image]: https://img.shields.io/pypi/v/python-slugify.svg [version-link]: https://pypi.python.org/pypi/python-slugify @@ -175,4 +207,4 @@ Sponsors -[Surge](https://github.com/surgeforward) +[Neekware Inc.](http://neekware.com) diff -
commit python-python-slugify for openSUSE:Factory
Hello community, here is the log from the commit of package python-python-slugify for openSUSE:Factory checked in at 2020-05-26 17:18:00 Comparing /work/SRC/openSUSE:Factory/python-python-slugify (Old) and /work/SRC/openSUSE:Factory/.python-python-slugify.new.2738 (New) Package is "python-python-slugify" Tue May 26 17:18:00 2020 rev:8 rq:807670 version:4.0.0 Changes: --- /work/SRC/openSUSE:Factory/python-python-slugify/python-python-slugify.changes 2020-03-21 00:03:00.169152011 +0100 +++ /work/SRC/openSUSE:Factory/.python-python-slugify.new.2738/python-python-slugify.changes 2020-05-26 17:18:36.723883444 +0200 @@ -1,0 +2,5 @@ +Wed May 20 07:26:54 UTC 2020 - Petr Gajdos + +- %python3_only -> %python_alternative + +--- Other differences: -- ++ python-python-slugify.spec ++ --- /var/tmp/diff_new_pack.rGvGKC/_old 2020-05-26 17:18:37.711885569 +0200 +++ /var/tmp/diff_new_pack.rGvGKC/_new 2020-05-26 17:18:37.715885577 +0200 @@ -31,6 +31,8 @@ BuildRequires: python-rpm-macros Requires: python-setuptools Requires: python-text-unidecode >= 1.3 +Requires(post): update-alternatives +Requires(postun): update-alternatives Suggests: python-Unidecode >= 1.1.1 Conflicts: python-awesome-slugify BuildArch: noarch @@ -48,15 +50,22 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/slugify %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec ./test.py +%post +%python_install_alternative slugify + +%postun +%python_uninstall_alternative slugify + %files %{python_files} %doc CHANGELOG.md README.md %license LICENSE -%python3_only %{_bindir}/slugify +%python_alternative %{_bindir}/slugify %{python_sitelib}/python_slugify-%{version}-py*.egg-info %{python_sitelib}/slugify/
commit python-python-slugify for openSUSE:Factory
Hello community, here is the log from the commit of package python-python-slugify for openSUSE:Factory checked in at 2020-03-20 23:59:34 Comparing /work/SRC/openSUSE:Factory/python-python-slugify (Old) and /work/SRC/openSUSE:Factory/.python-python-slugify.new.3160 (New) Package is "python-python-slugify" Fri Mar 20 23:59:34 2020 rev:7 rq:786855 version:4.0.0 Changes: --- /work/SRC/openSUSE:Factory/python-python-slugify/python-python-slugify.changes 2019-08-27 10:26:07.931920065 +0200 +++ /work/SRC/openSUSE:Factory/.python-python-slugify.new.3160/python-python-slugify.changes 2020-03-21 00:03:00.169152011 +0100 @@ -1,0 +2,11 @@ +Fri Mar 20 11:17:22 UTC 2020 - pgaj...@suse.com + +- version update to 4.0.0 + * Drop support from 2.6, & < 3.4.5 + * Fixed encoding in special.py + * Add test for pre-translation (e.g German Umlaut) + * Add special char supports (optional Use) + * Now supporting text-unidecode>=1.3 + * Now supporting Unidecode>=1.1.1 + +--- Old: python-slugify-3.0.3.tar.gz New: python-slugify-4.0.0.tar.gz Other differences: -- ++ python-python-slugify.spec ++ --- /var/tmp/diff_new_pack.o0Dgmu/_old 2020-03-21 00:03:03.029153579 +0100 +++ /var/tmp/diff_new_pack.o0Dgmu/_new 2020-03-21 00:03:03.065153598 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-python-slugify # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,22 +18,22 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-python-slugify -Version:3.0.3 +Version:4.0.0 Release:0 Summary:Slugify application that handles Unicode License:MIT Group: Development/Languages/Python -Url:https://github.com/un33k/python-slugify +URL:https://github.com/un33k/python-slugify Source: https://files.pythonhosted.org/packages/source/p/python-slugify/python-slugify-%{version}.tar.gz BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module text-unidecode >= 1.2} +BuildRequires: %{python_module text-unidecode >= 1.3} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-setuptools +Requires: python-text-unidecode >= 1.3 +Suggests: python-Unidecode >= 1.1.1 Conflicts: python-awesome-slugify -Requires: python-text-unidecode >= 1.2 -Suggests: python-Unidecode >= 1.0.23 BuildArch: noarch - %python_subpackages %description ++ python-slugify-3.0.3.tar.gz -> python-slugify-4.0.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-slugify-3.0.3/CHANGELOG.md new/python-slugify-4.0.0/CHANGELOG.md --- old/python-slugify-3.0.3/CHANGELOG.md 2019-07-28 05:02:18.0 +0200 +++ new/python-slugify-4.0.0/CHANGELOG.md 2019-10-20 19:40:08.0 +0200 @@ -1,6 +1,19 @@ +## 4.0.0 + - Drop support from 2.6, & < 3.4.5 + +## 3.0.6 + - Fixed encoding in special.py + +## 3.0.5 + - Add test for pre-translation (e.g German Umlaut) + - Add special char supports (optional Use) + +## 3.0.4 + - Now supporting text-unidecode>=1.3 + - Now supporting Unidecode>=1.1.1 + ## 3.0.3 - - Add Options to readme - - Add more unit tests + - Remove unicode chars from file ## 3.0.2 - Add official support of Py 3.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-slugify-3.0.3/PKG-INFO new/python-slugify-4.0.0/PKG-INFO --- old/python-slugify-3.0.3/PKG-INFO 2019-07-28 05:02:27.0 +0200 +++ new/python-slugify-4.0.0/PKG-INFO 2019-10-20 19:40:41.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: python-slugify -Version: 3.0.3 +Version: 4.0.0 Summary: A Python Slugify application that handles Unicode Home-page: https://github.com/un33k/python-slugify Author: Val Neekman @@ -14,13 +14,11 @@ Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python -Classifier: Programming Language :: Python :: 2.6 +Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.2 -Classifier: Programming Language :: Python :: 3.3 -Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming La
commit python-python-slugify for openSUSE:Factory
Hello community, here is the log from the commit of package python-python-slugify for openSUSE:Factory checked in at 2019-08-27 10:26:07 Comparing /work/SRC/openSUSE:Factory/python-python-slugify (Old) and /work/SRC/openSUSE:Factory/.python-python-slugify.new.7948 (New) Package is "python-python-slugify" Tue Aug 27 10:26:07 2019 rev:6 rq:726219 version:3.0.3 Changes: --- /work/SRC/openSUSE:Factory/python-python-slugify/python-python-slugify.changes 2019-05-27 08:39:26.467046281 +0200 +++ /work/SRC/openSUSE:Factory/.python-python-slugify.new.7948/python-python-slugify.changes 2019-08-27 10:26:07.931920065 +0200 @@ -1,0 +2,7 @@ +Mon Aug 26 11:27:46 UTC 2019 - Antonio Larrosa + +- Update to 3.0.3: + * Add Options to readme + * Add more unit tests + +--- Old: python-slugify-3.0.2.tar.gz New: python-slugify-3.0.3.tar.gz Other differences: -- ++ python-python-slugify.spec ++ --- /var/tmp/diff_new_pack.Sb5GNy/_old 2019-08-27 10:26:08.475920025 +0200 +++ /var/tmp/diff_new_pack.Sb5GNy/_new 2019-08-27 10:26:08.475920025 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-python-slugify -Version:3.0.2 +Version:3.0.3 Release:0 Summary:Slugify application that handles Unicode License:MIT ++ python-slugify-3.0.2.tar.gz -> python-slugify-3.0.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-slugify-3.0.2/CHANGELOG.md new/python-slugify-3.0.3/CHANGELOG.md --- old/python-slugify-3.0.2/CHANGELOG.md 2019-03-31 16:15:13.0 +0200 +++ new/python-slugify-3.0.3/CHANGELOG.md 2019-07-28 05:02:18.0 +0200 @@ -1,3 +1,7 @@ +## 3.0.3 + - Add Options to readme + - Add more unit tests + ## 3.0.2 - Add official support of Py 3.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-slugify-3.0.2/PKG-INFO new/python-slugify-3.0.3/PKG-INFO --- old/python-slugify-3.0.2/PKG-INFO 2019-03-31 16:15:19.0 +0200 +++ new/python-slugify-3.0.3/PKG-INFO 2019-07-28 05:02:27.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: python-slugify -Version: 3.0.2 +Version: 3.0.3 Summary: A Python Slugify application that handles Unicode Home-page: https://github.com/un33k/python-slugify Author: Val Neekman diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-slugify-3.0.2/README.md new/python-slugify-3.0.3/README.md --- old/python-slugify-3.0.2/README.md 2019-03-03 18:41:22.0 +0100 +++ new/python-slugify-3.0.3/README.md 2019-07-28 05:02:18.0 +0200 @@ -19,82 +19,116 @@ However, there is an alternative decoding package called [Unidecode](https://github.com/avian2/unidecode) *(GPL)*. It can be installed as `python-slugify[unidecode]` for those who prefer it. - How to install easy_install python-slugify |OR| easy_install python-slugify[unidecode] -- OR -- pip install python-slugify |OR| pip install python-slugify[unidecode] +Options +=== +```python +def slugify( +text, +entities=True, +decimal=True, +hexadecimal=True, +max_length=0, +word_boundary=False, +separator='-', +save_order=False, +stopwords=(), +regex_pattern=None, +lowercase=True, +replacements=() + ): + """ + Make a slug from the given text. + :param text (str): initial text + :param entities (bool): converts html entities to unicode (foo & bar -> foo-bar) + :param decimal (bool): converts html decimal to unicode (Ž -> Ž -> z) + :param hexadecimal (bool): converts html hexadecimal to unicode (Ž -> Ž -> z) + :param max_length (int): output string length + :param word_boundary (bool): truncates to end of full words (length may be shorter than max_length) + :param save_order (bool): if parameter is True and max_length > 0 return whole words in the initial order + :param separator (str): separator between words + :param stopwords (iterable): words to discount + :param regex_pattern (str): regex pattern for allowed characters + :param lowercase (bool): activate case sensitivity by setting it to False + :param replacements (iterable): list of replacement rules e.g. [['|', 'or'], ['%', 'percent']] + :return (str): slugify text + """ +``` + How to use - ```python -from slugify import slugify +```python +from slugify import slugify -txt = "This is a test ---" -r = slugify(txt) -self.assertEqual(r, "this-is-a-test") - -txt =
commit python-python-slugify for openSUSE:Factory
Hello community, here is the log from the commit of package python-python-slugify for openSUSE:Factory checked in at 2019-05-27 08:39:08 Comparing /work/SRC/openSUSE:Factory/python-python-slugify (Old) and /work/SRC/openSUSE:Factory/.python-python-slugify.new.5148 (New) Package is "python-python-slugify" Mon May 27 08:39:08 2019 rev:5 rq:705388 version:3.0.2 Changes: --- /work/SRC/openSUSE:Factory/python-python-slugify/python-python-slugify.changes 2019-03-26 15:45:34.156077730 +0100 +++ /work/SRC/openSUSE:Factory/.python-python-slugify.new.5148/python-python-slugify.changes 2019-05-27 08:39:26.467046281 +0200 @@ -1,0 +2,6 @@ +Sat May 25 08:55:08 UTC 2019 - Tomáš Chvátal + +- Update to 3.0.2: + * Add official support of Py 3.7 + +--- Old: python-slugify-3.0.1.tar.gz New: python-slugify-3.0.2.tar.gz Other differences: -- ++ python-python-slugify.spec ++ --- /var/tmp/diff_new_pack.J0v0jD/_old 2019-05-27 08:39:27.027046062 +0200 +++ /var/tmp/diff_new_pack.J0v0jD/_new 2019-05-27 08:39:27.027046062 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-python-slugify -Version:3.0.1 +Version:3.0.2 Release:0 Summary:Slugify application that handles Unicode License:MIT ++ python-slugify-3.0.1.tar.gz -> python-slugify-3.0.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-slugify-3.0.1/CHANGELOG.md new/python-slugify-3.0.2/CHANGELOG.md --- old/python-slugify-3.0.1/CHANGELOG.md 2019-03-25 23:24:43.0 +0100 +++ new/python-slugify-3.0.2/CHANGELOG.md 2019-03-31 16:15:13.0 +0200 @@ -1,3 +1,6 @@ +## 3.0.2 + - Add official support of Py 3.7 + ## 3.0.1 - Add test.py to manifest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-slugify-3.0.1/PKG-INFO new/python-slugify-3.0.2/PKG-INFO --- old/python-slugify-3.0.1/PKG-INFO 2019-03-25 23:25:02.0 +0100 +++ new/python-slugify-3.0.2/PKG-INFO 2019-03-31 16:15:19.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: python-slugify -Version: 3.0.1 +Version: 3.0.2 Summary: A Python Slugify application that handles Unicode Home-page: https://github.com/un33k/python-slugify Author: Val Neekman @@ -22,4 +22,5 @@ Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 Provides-Extra: unidecode diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-slugify-3.0.1/python_slugify.egg-info/PKG-INFO new/python-slugify-3.0.2/python_slugify.egg-info/PKG-INFO --- old/python-slugify-3.0.1/python_slugify.egg-info/PKG-INFO 2019-03-25 23:25:02.0 +0100 +++ new/python-slugify-3.0.2/python_slugify.egg-info/PKG-INFO 2019-03-31 16:15:19.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: python-slugify -Version: 3.0.1 +Version: 3.0.2 Summary: A Python Slugify application that handles Unicode Home-page: https://github.com/un33k/python-slugify Author: Val Neekman @@ -22,4 +22,5 @@ Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 Provides-Extra: unidecode diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-slugify-3.0.1/setup.py new/python-slugify-3.0.2/setup.py --- old/python-slugify-3.0.1/setup.py 2019-03-03 18:41:22.0 +0100 +++ new/python-slugify-3.0.2/setup.py 2019-03-31 16:09:05.0 +0200 @@ -32,6 +32,7 @@ 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', +'Programming Language :: Python :: 3.7', ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-slugify-3.0.1/slugify/__init__.py new/python-slugify-3.0.2/slugify/__init__.py --- old/python-slugify-3.0.1/slugify/__init__.py2019-03-25 23:24:43.0 +0100 +++ new/python-slugify-3.0.2/slugify/__init__.py2019-03-31 16:15:13.0 +0200 @@ -3,4 +3,4 @@ __author__ = 'Val Neekman @ Neekware Inc. [@vneekman]' __description__ = 'A Python slugify application that also handles Unicode' -__version__ = '3.0.1' +__version__ = '3.0.2'
commit python-python-slugify for openSUSE:Factory
Hello community, here is the log from the commit of package python-python-slugify for openSUSE:Factory checked in at 2019-03-26 15:45:29 Comparing /work/SRC/openSUSE:Factory/python-python-slugify (Old) and /work/SRC/openSUSE:Factory/.python-python-slugify.new.25356 (New) Package is "python-python-slugify" Tue Mar 26 15:45:29 2019 rev:4 rq:688589 version:3.0.1 Changes: --- /work/SRC/openSUSE:Factory/python-python-slugify/python-python-slugify.changes 2019-02-20 14:13:14.306901230 +0100 +++ /work/SRC/openSUSE:Factory/.python-python-slugify.new.25356/python-python-slugify.changes 2019-03-26 15:45:34.156077730 +0100 @@ -1,0 +2,13 @@ +Tue Mar 26 04:29:33 UTC 2019 - John Vandenberg + +- Use PyPI sdist +- Switch from requiring python-Unidecode to requiring + python-text-unidecode >= 1.2 +- Update to v3.0.1 + * add test to manifest +- from v3.0.0 + * Upgrade Unidecode to 1.2 + * Promote text-unidecode as the primary decoding package + * Add Unidecode as an optional extra + +--- Old: python-slugify-2.0.1.tar.gz New: python-slugify-3.0.1.tar.gz Other differences: -- ++ python-python-slugify.spec ++ --- /var/tmp/diff_new_pack.UHfFTT/_old 2019-03-26 15:45:35.824076928 +0100 +++ /var/tmp/diff_new_pack.UHfFTT/_new 2019-03-26 15:45:35.852076915 +0100 @@ -18,28 +18,30 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-python-slugify -Version:2.0.1 +Version:3.0.1 Release:0 Summary:Slugify application that handles Unicode License:MIT Group: Development/Languages/Python Url:https://github.com/un33k/python-slugify -Source: https://github.com/un33k/python-slugify/archive/%{version}.tar.gz#/python-slugify-%{version}.tar.gz -BuildRequires: %{python_module Unidecode >= 0.04.16} +Source: https://files.pythonhosted.org/packages/source/p/python-slugify/python-slugify-%{version}.tar.gz BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module text-unidecode >= 1.2} BuildRequires: fdupes BuildRequires: python-rpm-macros Conflicts: python-awesome-slugify -Requires: python-Unidecode >= 0.04.16 +Requires: python-text-unidecode >= 1.2 +Suggests: python-Unidecode >= 1.0.23 BuildArch: noarch %python_subpackages %description -A Python Slugify application that handles Unicode +A Python Slugify application that handles Unicode. %prep %setup -q -n python-slugify-%{version} +sed -i 's/==/>=/' setup.py %build %python_build ++ python-slugify-2.0.1.tar.gz -> python-slugify-3.0.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-slugify-2.0.1/.gitignore new/python-slugify-3.0.1/.gitignore --- old/python-slugify-2.0.1/.gitignore 2019-01-04 00:03:36.0 +0100 +++ new/python-slugify-3.0.1/.gitignore 1970-01-01 01:00:00.0 +0100 @@ -1,62 +0,0 @@ -# JebBrains IDE -.idea/ - -# Byte-compiled / optimized / DLL files -__pycache__/ -*.py[cod] - -# C extensions -*.so - -# Distribution / packaging -.Python -env/ -build/ -develop-eggs/ -dist/ -downloads/ -eggs/ -.eggs/ -lib/ -lib64/ -parts/ -sdist/ -var/ -*.egg-info/ -.installed.cfg -*.egg - -# PyInstaller -# Usually these files are written by a python script from a template -# before PyInstaller builds the exe, so as to inject date/other infos into it. -*.manifest -*.spec - -# Installer logs -pip-log.txt -pip-delete-this-directory.txt - -# Unit test / coverage reports -htmlcov/ -.tox/ -.coverage -.coverage.* -.cache -nosetests.xml -coverage.xml -*,cover - -# Translations -*.mo -*.pot - -# Django stuff: -*.log - -# Sphinx documentation -docs/_build/ - -# PyBuilder -target/ - -*.*DS_Store diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-slugify-2.0.1/.travis.yml new/python-slugify-3.0.1/.travis.yml --- old/python-slugify-2.0.1/.travis.yml2019-01-04 00:03:36.0 +0100 +++ new/python-slugify-3.0.1/.travis.yml1970-01-01 01:00:00.0 +0100 @@ -1,25 +0,0 @@ -sudo: false -language: python - -python: - - "2.7" - - "3.4" - - "3.5" - - "3.6" - - pypy - -install: - - pip install pip -U - - pip install -e . - - pip install pycodestyle - - pip install coveralls - - pip install https://github.com/un33k/pyflakes/tarball/master - -before_script: - - "bash pycodestyle.sh" - - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pyflakes -x W slugify; fi - -script: coverage run --source=slugify test.py - -after_success: - coveralls diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--e
commit python-python-slugify for openSUSE:Factory
Hello community, here is the log from the commit of package python-python-slugify for openSUSE:Factory checked in at 2019-02-20 14:13:12 Comparing /work/SRC/openSUSE:Factory/python-python-slugify (Old) and /work/SRC/openSUSE:Factory/.python-python-slugify.new.28833 (New) Package is "python-python-slugify" Wed Feb 20 14:13:12 2019 rev:3 rq:677459 version:2.0.1 Changes: --- /work/SRC/openSUSE:Factory/python-python-slugify/python-python-slugify.changes 2018-12-24 11:42:41.745382765 +0100 +++ /work/SRC/openSUSE:Factory/.python-python-slugify.new.28833/python-python-slugify.changes 2019-02-20 14:13:14.306901230 +0100 @@ -1,0 +2,11 @@ +Tue Feb 19 17:11:03 UTC 2019 - John Vandenberg + +- Activated test suite +- Update to v2.0.1 + * Add replacements option e.g. [['|', 'or'], ['%', 'percent'], ['-', '_']] +- from 2.0.0 + * Fix alternative dependency installation +-from 1.2.6 + * Add support for case sensitive slugs + +--- Old: python-slugify-1.2.5.tar.gz New: python-slugify-2.0.1.tar.gz Other differences: -- ++ python-python-slugify.spec ++ --- /var/tmp/diff_new_pack.vMTTdb/_old 2019-02-20 14:13:14.762901078 +0100 +++ /var/tmp/diff_new_pack.vMTTdb/_new 2019-02-20 14:13:14.762901078 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-python-slugify # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,21 +17,18 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_with test Name: python-python-slugify -Version:1.2.5 +Version:2.0.1 Release:0 Summary:Slugify application that handles Unicode License:MIT Group: Development/Languages/Python Url:https://github.com/un33k/python-slugify -Source: https://files.pythonhosted.org/packages/source/p/python-slugify/python-slugify-%{version}.tar.gz +Source: https://github.com/un33k/python-slugify/archive/%{version}.tar.gz#/python-slugify-%{version}.tar.gz +BuildRequires: %{python_module Unidecode >= 0.04.16} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with test} -BuildRequires: %{python_module Unidecode >= 0.04.16} -%endif Conflicts: python-awesome-slugify Requires: python-Unidecode >= 0.04.16 BuildArch: noarch @@ -51,14 +48,11 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check -%python_exec setup.py test -%endif +%python_exec ./test.py %files %{python_files} -%defattr(-,root,root,-) -%doc CHANGELOG.md README.rst +%doc CHANGELOG.md README.md %license LICENSE %python3_only %{_bindir}/slugify %{python_sitelib}/python_slugify-%{version}-py*.egg-info ++ python-slugify-1.2.5.tar.gz -> python-slugify-2.0.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-slugify-1.2.5/.gitignore new/python-slugify-2.0.1/.gitignore --- old/python-slugify-1.2.5/.gitignore 1970-01-01 01:00:00.0 +0100 +++ new/python-slugify-2.0.1/.gitignore 2019-01-04 00:03:36.0 +0100 @@ -0,0 +1,62 @@ +# JebBrains IDE +.idea/ + +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] + +# C extensions +*.so + +# Distribution / packaging +.Python +env/ +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*,cover + +# Translations +*.mo +*.pot + +# Django stuff: +*.log + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +*.*DS_Store diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-slugify-1.2.5/.travis.yml new/python-slugify-2.0.1/.travis.yml --- old/python-slugify-1.2.5/.travis.yml1970-01-01 01:00:00.0 +0100 +++ new/python-slugify-2.0.1/.travis.yml2019-01-04 00:03:36.0 +0100 @@ -0,0 +1,25 @@ +sudo: false +language: python + +python: + - "2.7" + - "3.4" + - "3.5" + - "3.6" + - pypy + +install: + - pip install pip -U + - pip install -e . +
commit python-python-slugify for openSUSE:Factory
Hello community, here is the log from the commit of package python-python-slugify for openSUSE:Factory checked in at 2018-12-24 11:42:40 Comparing /work/SRC/openSUSE:Factory/python-python-slugify (Old) and /work/SRC/openSUSE:Factory/.python-python-slugify.new.28833 (New) Package is "python-python-slugify" Mon Dec 24 11:42:40 2018 rev:2 rq:659616 version:1.2.5 Changes: --- /work/SRC/openSUSE:Factory/python-python-slugify/python-python-slugify.changes 2018-05-15 10:32:34.530009492 +0200 +++ /work/SRC/openSUSE:Factory/.python-python-slugify.new.28833/python-python-slugify.changes 2018-12-24 11:42:41.745382765 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:53:07 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-python-slugify.spec ++ --- /var/tmp/diff_new_pack.5KnjZY/_old 2018-12-24 11:42:42.109382442 +0100 +++ /var/tmp/diff_new_pack.5KnjZY/_new 2018-12-24 11:42:42.113382438 +0100 @@ -12,7 +12,8 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} @@ -20,15 +21,14 @@ Name: python-python-slugify Version:1.2.5 Release:0 -License:MIT Summary:Slugify application that handles Unicode -Url:https://github.com/un33k/python-slugify +License:MIT Group: Development/Languages/Python +Url:https://github.com/un33k/python-slugify Source: https://files.pythonhosted.org/packages/source/p/python-slugify/python-slugify-%{version}.tar.gz -BuildRequires: python-rpm-macros -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros %if %{with test} BuildRequires: %{python_module Unidecode >= 0.04.16} %endif