app-text/pybookreader: Convert to distutils-r1
authorMichał Górny <mgorny@gentoo.org>
Tue, 22 Dec 2015 05:30:44 +0000 (06:30 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 22 Dec 2015 05:30:54 +0000 (06:30 +0100)
app-text/pybookreader/pybookreader-0.5.0-r1.ebuild [new file with mode: 0644]

diff --git a/app-text/pybookreader/pybookreader-0.5.0-r1.ebuild b/app-text/pybookreader/pybookreader-0.5.0-r1.ebuild
new file mode 100644 (file)
index 0000000..649f504
--- /dev/null
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+MY_P="PyBookReader-${PV}"
+
+DESCRIPTION="A book reader for .fb2 .html and plain text (possibly gzipped)"
+HOMEPAGE="http://pybookreader.narod.ru/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/pygtk[${PYTHON_USEDEP}]
+       dev-libs/libxml2[python,${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"