summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sbraz@gentoo.org>2020-09-29 00:44:45 +0200
committerLouis Sautier <sbraz@gentoo.org>2020-09-29 00:50:14 +0200
commitd58c2ff248362df5a6d0c72160db1b3179992ac9 (patch)
tree57d1ecb33dea4745dfbd572705a92265943433ed /dev-python/feedgenerator
parentapp-misc/graphlcd-base: drop old version (diff)
downloadgentoo-d58c2ff248362df5a6d0c72160db1b3179992ac9.tar.gz
gentoo-d58c2ff248362df5a6d0c72160db1b3179992ac9.tar.bz2
gentoo-d58c2ff248362df5a6d0c72160db1b3179992ac9.zip
dev-python/feedgenerator: Add PyPy3 and Python 3.9 support
Also fix dependencies (respect install_requires) and remove an obsolete hack. Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'dev-python/feedgenerator')
-rw-r--r--dev-python/feedgenerator/feedgenerator-1.9.1-r1.ebuild23
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-python/feedgenerator/feedgenerator-1.9.1-r1.ebuild b/dev-python/feedgenerator/feedgenerator-1.9.1-r1.ebuild
new file mode 100644
index 000000000000..a0b696084642
--- /dev/null
+++ b/dev-python/feedgenerator/feedgenerator-1.9.1-r1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{6..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Standalone version of django.utils.feedgenerator"
+HOMEPAGE="https://pypi.org/project/feedgenerator/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/six[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests setup.py