commit: 0d0b5a05b8dfd632498c5e373a791af355c728fd Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed May 17 03:38:06 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed May 17 03:39:31 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d0b5a05
dev-python/dj-database-url: Use pypi sdist Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/dj-database-url/Manifest | 2 +- dev-python/dj-database-url/dj-database-url-2.0.0.ebuild | 13 ++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/dev-python/dj-database-url/Manifest b/dev-python/dj-database-url/Manifest index febaaca56fc1..62cad8645f0d 100644 --- a/dev-python/dj-database-url/Manifest +++ b/dev-python/dj-database-url/Manifest @@ -1,2 +1,2 @@ DIST dj-database-url-1.3.0.gh.tar.gz 13215 BLAKE2B 3af4973ce2720166ac6988acc61e02695520fa8bb4f1aad5bd78649959a5f76b2de1aa0822a8c7440fabe130970cf11bdf4c579860660e4e2e0634e594fc2e83 SHA512 f1ff31955e1d1cd39ea8c497ae38b2569f9056d6fa98a5b426472936781153b55b8b1e72475cab50532a753e53f31daafeca7d52de07bca803cfdbef323195b7 -DIST dj-database-url-2.0.0.gh.tar.gz 13402 BLAKE2B af8db1ad82ececf7d8fde61e878c888fa3592515acb12d495efd416b8a0d9e628fc55fb1bf23332932f00b0afe6d0ae81329b7e9d106a4f9da9c52132357c585 SHA512 d2600997023b1e58c1e6285268a400aed57fbdff972a36025f47bcc2e57d3179f266379d7042dc75c6048b35f7aef8547828c88a2fad1e80f087e6f5680668b0 +DIST dj-database-url-2.0.0.tar.gz 10364 BLAKE2B f908a424a43b9e501a13a9f6f850eec4b773a29fa5752afedd2f41c9fc2a88fe3f2894ae0f4b2b140bc8c7c98c7671e3684b8b56d199dc9e4a1bf34f014daa1b SHA512 2a433ddfd5c959ffae23ef27aec3a46642701ad3d2cd2d20ed3bd8f7d02a69cb59c55a4f73642f52a592392667755aa75c9a0cd26bf2ca1e2f4529d92f93f6a3 diff --git a/dev-python/dj-database-url/dj-database-url-2.0.0.ebuild b/dev-python/dj-database-url/dj-database-url-2.0.0.ebuild index 7c7f2279f539..4dfb018a6ed8 100644 --- a/dev-python/dj-database-url/dj-database-url-2.0.0.ebuild +++ b/dev-python/dj-database-url/dj-database-url-2.0.0.ebuild @@ -4,21 +4,16 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 PYTHON_COMPAT=( python3_{9..11} ) -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="Use Database URLs in your Django Application" HOMEPAGE=" https://github.com/jazzband/dj-database-url/ https://pypi.org/project/dj-database-url/ " -# tests are missing in sdist as of 1.3.0 -# https://github.com/jazzband/dj-database-url/pull/213 -SRC_URI=" - https://github.com/jazzband/dj-database-url/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" SLOT="0" LICENSE="BSD" @@ -30,3 +25,7 @@ RDEPEND=" " distutils_enable_tests unittest + +python_test() { + eunittest -s tests +}