mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-10-22 13:47:04 -07:00
More dependencies need to be updated before these are ready. Revert "dev-python/netaddr: add python3_8" This reverts commit1b8ad93db8. Revert "dev-python/drf-yasg: add python 3.8" This reverts commite0db6ff1fd. Revert "dev-python/djangorestframework: add python3_8 to 3.10.3" This reverts commite28a73813f. Revert "dev-python/django-auth-ldap: add python3_8" This reverts commitfa4c9da309. Revert "dev-python/django-cachops: add python 3.8" This reverts commitbde7ce3d8e. Revert "django-cors-headers: add python3_8" This reverts commit6e59af278b. Revert "dev-python/django-debug-toolbar: add python3_8" This reverts commit229d75f50a. Revert "dev-python/django-filter: add python3_8" This reverts commit70210a8778. Revert "dev-python/django-mptt: add python3_8" This reverts commit99f39a7710. Revert "dev-python/django: add python3_8" This reverts commit11f1441e96. Signed-off-by: Matt Turner <mattst88@gentoo.org>
36 lines
838 B
Bash
36 lines
838 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
PYTHON_COMPAT=( python3_{6,7} )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Network address representation and manipulation library"
|
|
HOMEPAGE="https://github.com/drkjam/netaddr https://pypi.org/project/netaddr/ https://netaddr.readthedocs.org"
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
|
|
IUSE="cli test"
|
|
RESTRICT="!test? ( test )"
|
|
REQUIRED_USE="cli? ( || ( $(python_gen_useflags -3) ) )"
|
|
|
|
RDEPEND="
|
|
cli? (
|
|
$(python_gen_cond_dep '
|
|
>=dev-python/ipython-0.13.1-r1[${PYTHON_USEDEP}]
|
|
' -3)
|
|
)"
|
|
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
|
test? (
|
|
dev-python/pytest[${PYTHON_USEDEP}]
|
|
${RDEPEND}
|
|
)"
|
|
|
|
python_test() {
|
|
esetup.py test
|
|
}
|