summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-05-24 08:26:46 +0000
committerPatrice Clement <monsieurp@gentoo.org>2016-05-24 14:05:29 +0000
commit3b78aa06487586d926fec74228bebf896f877266 (patch)
tree1cf165533f773265f8aba1666506511e2bbf3f72 /dev-python/pyrtf
parentdev-libs/c-capnproto: initial import; ebuild by me (diff)
downloadgentoo-3b78aa06487586d926fec74228bebf896f877266.tar.gz
gentoo-3b78aa06487586d926fec74228bebf896f877266.tar.bz2
gentoo-3b78aa06487586d926fec74228bebf896f877266.zip
dev-python/pyrtf: Add Python 3.x support and a missing dependency to DEPEND. Shorten DESCRPTION and clear QA warning.
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-python/pyrtf')
-rw-r--r--dev-python/pyrtf/pyrtf-0.45-r2.ebuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-python/pyrtf/pyrtf-0.45-r2.ebuild b/dev-python/pyrtf/pyrtf-0.45-r2.ebuild
new file mode 100644
index 000000000000..9abad08178ec
--- /dev/null
+++ b/dev-python/pyrtf/pyrtf-0.45-r2.ebuild
@@ -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}"