summaryrefslogtreecommitdiff
path: root/dev-python/python-debian
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-05-19 13:45:27 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-05-19 13:45:27 +0000
commit8478608f14b4d9f4fa67dcc8ee373db368b02ada (patch)
tree71e9d65d411f4a8101e1aaedeba5988dfb84d5b4 /dev-python/python-debian
parent477d1ca0b505bee2e36d262b1071e4bf1500c7d1 (diff)
downloadbaldeagleos-repo-8478608f14b4d9f4fa67dcc8ee373db368b02ada.tar.gz
baldeagleos-repo-8478608f14b4d9f4fa67dcc8ee373db368b02ada.tar.xz
baldeagleos-repo-8478608f14b4d9f4fa67dcc8ee373db368b02ada.zip
Adding metadata
Diffstat (limited to 'dev-python/python-debian')
-rw-r--r--dev-python/python-debian/python-debian-0.1.39.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/dev-python/python-debian/python-debian-0.1.39.ebuild b/dev-python/python-debian/python-debian-0.1.39.ebuild
index 296c750266cc..68f263ae2929 100644
--- a/dev-python/python-debian/python-debian-0.1.39.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.39.ebuild
@@ -13,19 +13,18 @@ SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz"
LICENSE="GPL-2 GPL-3"
SLOT="0"
KEYWORDS="amd64 arm x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
RDEPEND="
dev-python/chardet[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
"
-BDEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
+BDEPEND="
test? ( app-arch/dpkg )
"
+distutils_enable_tests unittest
+
PATCHES=( "${FILESDIR}/0.1.39-disable-apt-pkg.patch" )
python_compile_all() {
@@ -33,5 +32,5 @@ python_compile_all() {
}
python_test() {
- ${EPYTHON} -m unittest discover --verbose lib || die "Testing failed with ${EPYTHON}"
+ eunittest lib
}