mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-13 17:13:00 -04:00
dev-python/pep517: now kind-a work
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -1 +1 @@
|
||||
DIST pep517-0.8.2.tar.gz 19057 BLAKE2B 44cecac9cb3542680d9f7f7e89d042313d9dcf00a49b94e589cde1918f62f3f527aec3f0c9afb039f280f072b46dbd78472ef197eec19fd7efd10b3573b7b2d5 SHA512 589af6465fe64ad04a8cf4af048df6a8e644423799b9ddd9f246fb314b5809c0415f7738a6c15280714a7454e53c7212c6a2f3f93d379204ee79b8832b53d307
|
||||
DIST pep517-0.8.2.tar.gz 20440 BLAKE2B abddf5acec80ca49b45146c0017d5d0d062283fca1d19c76413f195b22cb804ce32952f2c17a9d2f98d8cf93e93b0b347cddd5086341a20022d7fb78218db354 SHA512 668569a26a4c21a1b8d6828a26bdcdab62b8c4d5fcaba8d9f9a4740e0fce7f071295e28d91349500b4c7be05ab2c2670986de18f01e2afafc1878101e5ef9af2
|
||||
|
||||
@@ -13,12 +13,13 @@ HOMEPAGE="
|
||||
https://github.com/pypa/pep517
|
||||
https://pypi.org/project/pep517
|
||||
"
|
||||
SRC_URI="https://github.com/pypa/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/flit_core-2[${PYTHON_USEDEP}]
|
||||
@@ -35,4 +36,14 @@ DEPEND="
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
src_prepare() {
|
||||
sed -i 's|addopts=--flake8||' pytest.ini
|
||||
default
|
||||
}
|
||||
|
||||
python_test() {
|
||||
pytest -vv \
|
||||
--deselect tests/test_meta.py::test_classic_package \
|
||||
--deselect tests/test_meta.py::test_meta_output \
|
||||
--deselect tests/test_meta.py::test_meta_for_this_package || die
|
||||
}
|
||||
Reference in New Issue
Block a user