2
0
mirror of https://github.com/gentoo-mirror/gentoo.git synced 2026-01-15 00:06:58 +03:00
Files
gentoo/dev-python/python-mimeparse/python-mimeparse-1.6.0-r3.ebuild
Michał Górny 6c59330b87 dev-python/python-mimeparse: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2023-03-17 16:28:54 +01:00

21 lines
565 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYPI_NO_NORMALIZE=1
PYTHON_COMPAT=( python3_{9..11} pypy3 )
inherit distutils-r1 pypi
DESCRIPTION="Basic functions for handling mime-types in python"
HOMEPAGE="https://github.com/dbtsai/python-mimeparse"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
python_test() {
"${EPYTHON}" mimeparse_test.py -v || die "Tests fail with ${EPYTHON}"
}