diff --git a/dev-python/django-mptt/Manifest b/dev-python/django-mptt/Manifest index c1cc341..4b5fc49 100644 --- a/dev-python/django-mptt/Manifest +++ b/dev-python/django-mptt/Manifest @@ -1,2 +1 @@ -DIST django-mptt-0.11.0.tar.gz 98300 BLAKE2B cbae24143007dfe8913aacf4cbe22bbccdf929617adc31640c2d429d6ea8be727a937be0aa8353e82862b9fe8c571397db4dd3877015eb17c2c5a56172cc66a5 SHA512 21af30007661db1474628b6f8af86a3f6de52494efe1aaf9235f8b1660ba153f0de3ad91ff979588e4b681b00b44652a05146df7d3951d6ee62da38a1900fd89 -DIST django-mptt-0.12.0.tar.gz 103513 BLAKE2B 7eb5fd5079eb977b26495b5c475a9f49da06a02eb8ceba6125cd2d9100d89e794ff835b43c285f282cf51cb1cbb2f0188a437d4bfac0a3a45043f23f58e8617a SHA512 527135b859170c887f592f4f9b6f105dfc7f54af18affbf205d33860e80e3ba2336cfc9a3727792f4778817359cbef705d696c122725cf45d36838b5026e8699 +DIST django-mptt-0.13.4.gh.tar.gz 303688 BLAKE2B 66ae7a0e15a7ff281af2154f216970a6a9b249a713b3ae987f0fbdb60b95129fdfc96c05924c0285da33f11c59baf6e069830c3079c64164d838d9d34231a4a9 SHA512 86786763db060227b41e2e340df5d52062fb6e8c54f832611bc90d01102411d45dc217e8d84eece84ebbe4fc9727d06e7c368ae15c253aaf02117705dbae8c47 diff --git a/dev-python/django-mptt/django-mptt-0.12.0.ebuild b/dev-python/django-mptt/django-mptt-0.12.0.ebuild deleted file mode 100644 index d25ee9a..0000000 --- a/dev-python/django-mptt/django-mptt-0.12.0.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) -inherit distutils-r1 - -DESCRIPTION="utilities for modified preorder tree traversal and trees of model instances" -HOMEPAGE="https://github.com/django-mptt/django-mptt" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/django-1.11[${PYTHON_USEDEP}] - dev-python/django-js-asset[${PYTHON_USEDEP}] -" - -DEPEND="${RDEPEND}" diff --git a/dev-python/django-mptt/django-mptt-0.11.0.ebuild b/dev-python/django-mptt/django-mptt-0.13.4.ebuild similarity index 57% rename from dev-python/django-mptt/django-mptt-0.11.0.ebuild rename to dev-python/django-mptt/django-mptt-0.13.4.ebuild index d25ee9a..d8c20c0 100644 --- a/dev-python/django-mptt/django-mptt-0.11.0.ebuild +++ b/dev-python/django-mptt/django-mptt-0.13.4.ebuild @@ -1,14 +1,16 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 DESCRIPTION="utilities for modified preorder tree traversal and trees of model instances" HOMEPAGE="https://github.com/django-mptt/django-mptt" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +SRC_URI=" + https://github.com/django-mptt/django-mptt/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" LICENSE="MIT" SLOT="0" @@ -19,4 +21,7 @@ RDEPEND=" dev-python/django-js-asset[${PYTHON_USEDEP}] " -DEPEND="${RDEPEND}" +python_test() { + "${EPYTHON}" tests/manage.py test -v2 myapp || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/django-mptt/metadata.xml b/dev-python/django-mptt/metadata.xml index 5153951..d008d8d 100644 --- a/dev-python/django-mptt/metadata.xml +++ b/dev-python/django-mptt/metadata.xml @@ -1,11 +1,13 @@ - + - - williamh@gentoo.org - William Hubbs + + python@gentoo.org + Python + django-mptt + django-mptt/django-mptt