From 474f6aca10f75a2afd805fbc07cda3b37dfe1dc3 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Sat, 21 Jul 2018 20:14:51 -0400 Subject: [PATCH] dev-python/django-tastypie: remove py36 compat This package depends on django 1.8 which explicitly doesn't support python 3.6. Removing from compat. Additionally: * Bump to EAPI 6 * Fix repoman warnings about '=' in dependencies Package-Manager: Portage-2.3.43, Repoman-2.3.10 --- .../django-tastypie-0.13.3-r1.ebuild | 81 +++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 dev-python/django-tastypie/django-tastypie-0.13.3-r1.ebuild diff --git a/dev-python/django-tastypie/django-tastypie-0.13.3-r1.ebuild b/dev-python/django-tastypie/django-tastypie-0.13.3-r1.ebuild new file mode 100644 index 0000000000000..3407e9d7e4f58 --- /dev/null +++ b/dev-python/django-tastypie/django-tastypie-0.13.3-r1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 + +DESCRIPTION="A flexible and capable API layer for django utilising serialisers" +HOMEPAGE="https://pypi.org/project/django-tastypie/ https://github.com/toastdriven/django-tastypie" +SRC_URI="https://github.com/toastdriven/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +IUSE="bip doc test" + +LICENSE="BSD" +SLOT="0" + +COMMON_DEPEND=">=dev-python/mimeparse-0.1.4[${PYTHON_USEDEP}] + !~dev-python/mimeparse-1.5[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-1.5[${PYTHON_USEDEP}] + !~dev-python/python-dateutil-2.0[${PYTHON_USEDEP}] + >=dev-python/django-1.7[${PYTHON_USEDEP}] +