python-slugify: 3.0.3 add text-unidecode>=1.2 support and drop old 1.2.4

This commit is contained in:
Yury Martynov 2019-08-31 18:49:01 +03:00
parent 8fd1a4a271
commit 27784477ed
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
4 changed files with 16 additions and 22 deletions

View file

@ -1,2 +1 @@
DIST python-slugify-1.2.4.tar.gz 4596 BLAKE2B 939833d6c385938532deabd03ab716772cc8ef30c763bed51669e2253a31e3eb7f5f0fc5e1a143a2eba24a815a899d9530c930898fd36786472f221fb5dd1ccd SHA512 f494bce3280a6fbfa3c8874724175d710acfe758b5da95659494689cf40e19d365d294848d4da3fa97d18fec40ae07232c88a2166a48e3dccf9d9500bd34a5a7
DIST python-slugify-3.0.3.tar.gz 8126 BLAKE2B 92de66ca4cab07eae82e95aaee9e03e07947082f96a420e9ff124a9994ba7c6bfe5abfd3ed047963214c62426b0bcce7f062ca279a75f3d67e7c0f918dc94e63 SHA512 65e2373c33b6b23b25d4d3b66cae3c68e9cc133dd6e26155151647bc2e1df5bbba7dfb187eafe5fa9ffb488b2b6f3415e7a5f95d2460dc3f551383d509d740fb

View file

@ -0,0 +1,14 @@
diff -ur a/setup.py b/setup.py
--- a/setup.py 2019-07-28 06:02:18.000000000 +0300
+++ b/setup.py 2019-08-31 18:44:11.231120863 +0300
@@ -14,8 +14,8 @@
author = 'Val Neekman'
author_email = 'info@neekware.com'
license = 'MIT'
-install_requires = ['text-unidecode==1.2']
-extras_require = {'unidecode': ['Unidecode==1.0.23']}
+install_requires = ['text-unidecode>=1.2']
+extras_require = {'unidecode': ['Unidecode>=1.0.23']}
classifiers = [
'Development Status :: 5 - Production/Stable',

View file

@ -1,21 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
inherit distutils-r1
DESCRIPTION="A Python Slugify application that handles Unicode"
HOMEPAGE="https://pypi.python.org/pypi/python-slugify"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT=0
KEYWORDS="~amd64 ~arm64 ~mips ~x86"
IUSE=""
RDEPEND="${PYTHON_DEPS}
dev-python/unidecode[${PYTHON_USEDEP}]
!dev-python/awesome-slugify"

View file

@ -20,3 +20,5 @@ RDEPEND="${PYTHON_DEPS}
dev-python/unidecode[${PYTHON_USEDEP}]
dev-python/text-unidecode[${PYTHON_USEDEP}]
!dev-python/awesome-slugify"
PATCHES=( "${FILESDIR}"/update_setup_py.patch )