From 27784477ed4213f89d28a36619ab1b906ff01400 Mon Sep 17 00:00:00 2001 From: Yury Martynov Date: Sat, 31 Aug 2019 18:49:01 +0300 Subject: [PATCH] python-slugify: 3.0.3 add text-unidecode>=1.2 support and drop old 1.2.4 --- dev-python/python-slugify/Manifest | 1 - .../files/update_setup_py.patch | 14 +++++++++++++ .../python-slugify-1.2.4.ebuild | 21 ------------------- ....ebuild => python-slugify-3.0.3-r1.ebuild} | 2 ++ 4 files changed, 16 insertions(+), 22 deletions(-) create mode 100644 dev-python/python-slugify/files/update_setup_py.patch delete mode 100644 dev-python/python-slugify/python-slugify-1.2.4.ebuild rename dev-python/python-slugify/{python-slugify-3.0.3.ebuild => python-slugify-3.0.3-r1.ebuild} (91%) diff --git a/dev-python/python-slugify/Manifest b/dev-python/python-slugify/Manifest index b2fbf6f24..84f554d92 100644 --- a/dev-python/python-slugify/Manifest +++ b/dev-python/python-slugify/Manifest @@ -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 diff --git a/dev-python/python-slugify/files/update_setup_py.patch b/dev-python/python-slugify/files/update_setup_py.patch new file mode 100644 index 000000000..e486f2535 --- /dev/null +++ b/dev-python/python-slugify/files/update_setup_py.patch @@ -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', diff --git a/dev-python/python-slugify/python-slugify-1.2.4.ebuild b/dev-python/python-slugify/python-slugify-1.2.4.ebuild deleted file mode 100644 index f212f4b5c..000000000 --- a/dev-python/python-slugify/python-slugify-1.2.4.ebuild +++ /dev/null @@ -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" diff --git a/dev-python/python-slugify/python-slugify-3.0.3.ebuild b/dev-python/python-slugify/python-slugify-3.0.3-r1.ebuild similarity index 91% rename from dev-python/python-slugify/python-slugify-3.0.3.ebuild rename to dev-python/python-slugify/python-slugify-3.0.3-r1.ebuild index fda49bf85..3b0f222e6 100644 --- a/dev-python/python-slugify/python-slugify-3.0.3.ebuild +++ b/dev-python/python-slugify/python-slugify-3.0.3-r1.ebuild @@ -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 )