[dev-python/tinyurl] fix ebuild distutils and bumped EAPI

This commit is contained in:
Francesco Ferro
2017-03-21 19:28:40 +01:00
parent 0e2137a75d
commit be38fea591
3 changed files with 17 additions and 9 deletions
+6 -8
View File
@@ -1,18 +1,17 @@
# Copyright 1999-2007 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
EAPI="3"
PYTHON_DEPEND="2"
EAPI="6"
PYTHON_COMPAT=( python2_7 )
inherit distutils
inherit distutils-r1
MY_PN=TinyUrl
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Super tiny library and command-line interface to tinyurl.com"
HOMEPAGE="http://meatballhat.com/projects/TinyUrl"
SRC_URI="http://pypi.python.org/packages/source/T/${MY_PN}/${MY_P}.tar.bz2"
HOMEPAGE="https://pypi.python.org/pypi/TinyUrl"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.bz2"
LICENSE="MIT"
SLOT="0"
@@ -22,5 +21,4 @@ IUSE="doc examples"
DEPEND=""
RDEPEND=""
PYTHON_MODNAME="${MY_P}"
S="${WORKDIR}/${MY_P}"