summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-04-20 17:56:45 +0200
committerMichał Górny <mgorny@gentoo.org>2020-04-20 18:18:56 +0200
commit53aca5aca3da8f8f0420c44b2e21e49046399719 (patch)
treee35df9037a6d5d09832eff67ba1967c3ad30ae35 /dev-python/configclass/configclass-0.1.0.ebuild
parentapp-text/texlive-core: unbundle pdfannoextractor (diff)
downloadgentoo-53aca5aca3da8f8f0420c44b2e21e49046399719.tar.gz
gentoo-53aca5aca3da8f8f0420c44b2e21e49046399719.tar.bz2
gentoo-53aca5aca3da8f8f0420c44b2e21e49046399719.zip
dev-python/configclass: Enable tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/configclass/configclass-0.1.0.ebuild')
-rw-r--r--dev-python/configclass/configclass-0.1.0.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-python/configclass/configclass-0.1.0.ebuild b/dev-python/configclass/configclass-0.1.0.ebuild
index e962c072852e..83a1e2f50bc9 100644
--- a/dev-python/configclass/configclass-0.1.0.ebuild
+++ b/dev-python/configclass/configclass-0.1.0.ebuild
@@ -1,19 +1,22 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="A Python to class to hold configuration values"
HOMEPAGE="https://github.com/schettino72/configclass/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="
+ https://github.com/schettino72/configclass/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE=""
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND=">=dev-python/mergedict-0.2.0[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest