diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-05-31 15:11:16 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-05-31 15:19:53 +0200 |
commit | ec44c86ead42e8f06712255040bb6c33491af297 (patch) | |
tree | bbe6851c0376e2807e15ae66793c2bfe14f2f49a /dev-python/python-mimeparse | |
parent | Move dev-python/{mimeparse → python-mimeparse} (diff) | |
download | gentoo-ec44c86ead42e8f06712255040bb6c33491af297.tar.gz gentoo-ec44c86ead42e8f06712255040bb6c33491af297.tar.bz2 gentoo-ec44c86ead42e8f06712255040bb6c33491af297.zip |
dev-python/python-mimeparse: Simplify P
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/python-mimeparse')
-rw-r--r-- | dev-python/python-mimeparse/python-mimeparse-1.6.0-r1.ebuild | 5 | ||||
-rw-r--r-- | dev-python/python-mimeparse/python-mimeparse-1.6.0.ebuild | 7 |
2 files changed, 2 insertions, 10 deletions
diff --git a/dev-python/python-mimeparse/python-mimeparse-1.6.0-r1.ebuild b/dev-python/python-mimeparse/python-mimeparse-1.6.0-r1.ebuild index da812e05a8cc..2f3f88f83972 100644 --- a/dev-python/python-mimeparse/python-mimeparse-1.6.0-r1.ebuild +++ b/dev-python/python-mimeparse/python-mimeparse-1.6.0-r1.ebuild @@ -7,12 +7,9 @@ PYTHON_COMPAT=( python2_7 python3_{6..9} pypy3 ) inherit distutils-r1 -MY_PN="python-mimeparse" -MY_P="${MY_PN}-${PV}" DESCRIPTION="Basic functions for handling mime-types in python" HOMEPAGE="https://github.com/dbtsai/python-mimeparse" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" diff --git a/dev-python/python-mimeparse/python-mimeparse-1.6.0.ebuild b/dev-python/python-mimeparse/python-mimeparse-1.6.0.ebuild index 64073a770224..d4063a6602cf 100644 --- a/dev-python/python-mimeparse/python-mimeparse-1.6.0.ebuild +++ b/dev-python/python-mimeparse/python-mimeparse-1.6.0.ebuild @@ -7,20 +7,15 @@ PYTHON_COMPAT=( python2_7 python3_{6..9} pypy3 ) inherit distutils-r1 -MY_PN="python-mimeparse" -MY_P="${MY_PN}-${PV}" - DESCRIPTION="Basic functions for handling mime-types in python" HOMEPAGE="https://github.com/dbtsai/python-mimeparse" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +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="" -S="${WORKDIR}/${MY_P}" - python_test() { "${EPYTHON}" mimeparse_test.py -v || die "Tests fail with ${EPYTHON}" } |