diff options
| author | Michał Górny <mgorny@gentoo.org> | 2020-09-20 17:15:03 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2020-09-20 17:37:37 +0200 |
| commit | 47316ce48763dc504785f58ada97c4d905c9892e (patch) | |
| tree | fab4b970f3c18049a988cde0cada621a8f00bc70 /dev-python/python-mimeparse/python-mimeparse-1.6.0-r2.ebuild | |
| parent | d92d1712db4f08bd5dd5b04edc55d4a9293a8f94 (diff) | |
| download | gentoo-47316ce48763dc504785f58ada97c4d905c9892e.tar.gz gentoo-47316ce48763dc504785f58ada97c4d905c9892e.tar.bz2 gentoo-47316ce48763dc504785f58ada97c4d905c9892e.zip | |
dev-python/python-mimeparse: Remove python2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/python-mimeparse/python-mimeparse-1.6.0-r2.ebuild')
| -rw-r--r-- | dev-python/python-mimeparse/python-mimeparse-1.6.0-r2.ebuild | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-python/python-mimeparse/python-mimeparse-1.6.0-r2.ebuild b/dev-python/python-mimeparse/python-mimeparse-1.6.0-r2.ebuild new file mode 100644 index 000000000000..e88366c25ada --- /dev/null +++ b/dev-python/python-mimeparse/python-mimeparse-1.6.0-r2.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{6..9} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Basic functions for handling mime-types in python" +HOMEPAGE="https://github.com/dbtsai/python-mimeparse" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux" +IUSE="" + +python_test() { + "${EPYTHON}" mimeparse_test.py -v || die "Tests fail with ${EPYTHON}" +} |
