commit: 30ec43cb326646af86acea3186be5e5bfd5f2ca2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Oct 22 07:05:16 2020 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Oct 22 07:39:24 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30ec43cb
dev-python/django: Unbind asgiref version Closes: https://bugs.gentoo.org/750695 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> .../django/{django-3.0.10.ebuild => django-3.0.10-r1.ebuild} | 7 +++++++ dev-python/django/{django-3.1.1.ebuild => django-3.1.1-r1.ebuild} | 7 +++++++ dev-python/django/{django-3.1.2.ebuild => django-3.1.2-r1.ebuild} | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/dev-python/django/django-3.0.10.ebuild b/dev-python/django/django-3.0.10-r1.ebuild similarity index 93% rename from dev-python/django/django-3.0.10.ebuild rename to dev-python/django/django-3.0.10-r1.ebuild index 44093b1ebee..58de4970519 100644 --- a/dev-python/django/django-3.0.10.ebuild +++ b/dev-python/django/django-3.0.10-r1.ebuild @@ -53,6 +53,13 @@ PATCHES=( distutils_enable_sphinx docs --no-autodoc +src_prepare() { + # do not bind to a specific version + # https://bugs.gentoo.org/750695 + sed -i -e 's:asgiref ~= 3.2:asgiref:' setup.py || die + distutils-r1_src_prepare +} + python_test() { # Tests have non-standard assumptions about PYTHONPATH, # and don't work with ${BUILD_DIR}/lib. diff --git a/dev-python/django/django-3.1.1.ebuild b/dev-python/django/django-3.1.1-r1.ebuild similarity index 93% rename from dev-python/django/django-3.1.1.ebuild rename to dev-python/django/django-3.1.1-r1.ebuild index e13533790e6..858be578907 100644 --- a/dev-python/django/django-3.1.1.ebuild +++ b/dev-python/django/django-3.1.1-r1.ebuild @@ -53,6 +53,13 @@ PATCHES=( distutils_enable_sphinx docs --no-autodoc +src_prepare() { + # do not bind to a specific version + # https://bugs.gentoo.org/750695 + sed -i -e 's:asgiref ~= 3.2.10:asgiref:' setup.cfg || die + distutils-r1_src_prepare +} + python_test() { # Tests have non-standard assumptions about PYTHONPATH, # and don't work with ${BUILD_DIR}/lib. diff --git a/dev-python/django/django-3.1.2.ebuild b/dev-python/django/django-3.1.2-r1.ebuild similarity index 93% rename from dev-python/django/django-3.1.2.ebuild rename to dev-python/django/django-3.1.2-r1.ebuild index e13533790e6..858be578907 100644 --- a/dev-python/django/django-3.1.2.ebuild +++ b/dev-python/django/django-3.1.2-r1.ebuild @@ -53,6 +53,13 @@ PATCHES=( distutils_enable_sphinx docs --no-autodoc +src_prepare() { + # do not bind to a specific version + # https://bugs.gentoo.org/750695 + sed -i -e 's:asgiref ~= 3.2.10:asgiref:' setup.cfg || die + distutils-r1_src_prepare +} + python_test() { # Tests have non-standard assumptions about PYTHONPATH, # and don't work with ${BUILD_DIR}/lib.