dev-python/pyrtf: Add Python 3.x support and a missing dependency to DEPEND. Shorten...
authorPatrice Clement <monsieurp@gentoo.org>
Tue, 24 May 2016 08:26:46 +0000 (08:26 +0000)
committerPatrice Clement <monsieurp@gentoo.org>
Tue, 24 May 2016 14:05:29 +0000 (14:05 +0000)
Package-Manager: portage-2.2.28

dev-python/pyrtf/pyrtf-0.45-r2.ebuild [new file with mode: 0644]

diff --git a/dev-python/pyrtf/pyrtf-0.45-r2.ebuild b/dev-python/pyrtf/pyrtf-0.45-r2.ebuild
new file mode 100644 (file)
index 0000000..9abad08
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+inherit distutils-r1
+
+MY_PN="PyRTF"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Python library to produce RTF documents"
+HOMEPAGE="http://pyrtf.sourceforge.net https://pypi.python.org/pypi/PyRTF"
+SRC_URI="mirror://sourceforge/$PN/${MY_P}.tar.gz"
+
+LICENSE="|| ( GPL-2 LGPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"