-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-EAPI=3
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 )
+inherit distutils-r1
DESCRIPTION="A lorem ipsum generator with a gtk+ interface"
HOMEPAGE="http://code.google.com/p/lorem-ipsum-generator/"
-SRC_URI="http://lorem-ipsum-generator.googlecode.com/files/${P}.tar.gz"
+SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
IUSE=""
DEPEND="
- >=dev-lang/python-2.5
- >=dev-python/pygtk-2.12.0
- x11-libs/gtk+"
+ ${PYTHON_DEPS}
+ dev-python/pygtk"
RDEPEND="${DEPEND}"
-
-
-
-src_compile() {
- /usr/bin/python setup.py build
-}
-
-src_install() {
- /usr/bin/python setup.py install --root "$D"
-}
-
-