dev-python/dj-database-url: Enable tests
authorMichał Górny <mgorny@gentoo.org>
Tue, 21 Apr 2020 10:30:43 +0000 (12:30 +0200)
committerMichał Górny <mgorny@gentoo.org>
Tue, 21 Apr 2020 11:24:15 +0000 (13:24 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/dj-database-url/Manifest
dev-python/dj-database-url/dj-database-url-0.4.2.ebuild

index 78be3dce9aeaecd17b80f7553357787aeba84787..835de98a8aa12ff2d44ebffca0147b357c404dfa 100644 (file)
@@ -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
index 51e9570b34dd64a6524bbecc55d7c57eb7e528b8..42c5f6671413ffedc19d838d69fdc7d4c74eca7b 100644 (file)
@@ -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