From 31b30411e99d87c0368999da840fba589c10de12 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 21 Apr 2020 12:30:43 +0200 Subject: [PATCH] dev-python/dj-database-url: Enable tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/dj-database-url/Manifest | 2 +- .../dj-database-url-0.4.2.ebuild | 19 +++++-------------- 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/dev-python/dj-database-url/Manifest b/dev-python/dj-database-url/Manifest index 78be3dce9aea..835de98a8aa1 100644 --- a/dev-python/dj-database-url/Manifest +++ b/dev-python/dj-database-url/Manifest @@ -1 +1 @@ -DIST dj-database-url-0.4.2.tar.gz 4268 BLAKE2B c9abfc50616baf8cff4f12c6ce2c3bc5914be231c67d23ef49c222f162109ae7ad730678c05d9596969d4dabc7d44a80711dc2fbc3e6bd74b99dd699ee554413 SHA512 d18fe4e0cd4073689759c302c22e0f128d4ed1103af99a1db4dbe645fdea601837131a3f8d215143dabda64903aaeeb4706bd2082810f904cc8e74b564c5f2e3 +DIST dj-database-url-0.4.2.gh.tar.gz 6125 BLAKE2B 1f389d20a8d38a228f10d603444fa6cb23d3b17729747e0ffb6e917494f5ad8371b64ca9b1ebb233bcd9c11929d44bca7adf5bd62637c71763413bb821db0f65 SHA512 095f22e8af3770ac2db0730c54980f957ee41456513f8e6b8da3147ec333698274a0a9e5b7d606b840d2c78906c6aef25c49df1375c2f8b5127c6270fdd4c2e7 diff --git a/dev-python/dj-database-url/dj-database-url-0.4.2.ebuild b/dev-python/dj-database-url/dj-database-url-0.4.2.ebuild index 51e9570b34dd..42c5f6671413 100644 --- a/dev-python/dj-database-url/dj-database-url-0.4.2.ebuild +++ b/dev-python/dj-database-url/dj-database-url-0.4.2.ebuild @@ -10,22 +10,13 @@ inherit distutils-r1 DESCRIPTION="Use Database URLs in your Django Application" HOMEPAGE=" https://pypi.org/project/dj-database-url/ - https://github.com/kennethreitz/dj-database-url" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + https://github.com/jacobian/dj-database-url" +SRC_URI=" + https://github.com/jacobian/dj-database-url/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" SLOT="0" LICENSE="BSD" KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="" -RDEPEND="" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] -" - -# Not contained in the tarball -RESTRICT=test - -python_test() { - "${PYTHON}" test_dj_database_url.py || die -} +distutils_enable_tests unittest -- 2.26.2