Files
guru/dev-python/check-manifest/check-manifest-0.41-r1.ebuild
Alessandro Barbieri ac79cc33b6 dev-python/check-manifest: now working
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2020-04-25 22:00:44 +02:00

40 lines
821 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6,7} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
DESCRIPTION="Tool to check the completeness of MANIFEST.in for Python packages"
HOMEPAGE="
https://github.com/mgedmin/check-manifest
https://pypi.org/project/check-manifest
"
SRC_URI="https://github.com/mgedmin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
#install requires, is right?
RDEPEND="
dev-python/pep517[${PYTHON_USEDEP}]
dev-python/toml[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
)
"
python_test() {
nosetests -v -e test_build_sdist || die
}