summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2014-11-14 07:22:29 +0000
committerJustin Lecher <jlec@gentoo.org>2014-11-14 07:22:29 +0000
commit06fdccdc418bf525e3ab561cc078a1d0a137fc0c (patch)
tree63cacad1b5dcc7a36d676ec467b50e0d3118a467 /dev-python/markups
parentdev-util/cdiff: Took package, drop old, Version Bump (diff)
downloadgentoo-2-06fdccdc418bf525e3ab561cc078a1d0a137fc0c.tar.gz
gentoo-2-06fdccdc418bf525e3ab561cc078a1d0a137fc0c.tar.bz2
gentoo-2-06fdccdc418bf525e3ab561cc078a1d0a137fc0c.zip
dev-python/markups: Add py3_4 support
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'dev-python/markups')
-rw-r--r--dev-python/markups/ChangeLog8
-rw-r--r--dev-python/markups/markups-0.2.4-r1.ebuild37
-rw-r--r--dev-python/markups/metadata.xml4
3 files changed, 46 insertions, 3 deletions
diff --git a/dev-python/markups/ChangeLog b/dev-python/markups/ChangeLog
index 25cba3248b42..f1d866defba3 100644
--- a/dev-python/markups/ChangeLog
+++ b/dev-python/markups/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/markups
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/markups/ChangeLog,v 1.7 2014/11/14 01:21:54 tomwij Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/markups/ChangeLog,v 1.8 2014/11/14 07:22:29 jlec Exp $
+
+*markups-0.2.4-r1 (14 Nov 2014)
+
+ 14 Nov 2014; Justin Lecher <jlec@gentoo.org> +markups-0.2.4-r1.ebuild,
+ metadata.xml:
+ Add py3_4 support
14 Nov 2014; Tom Wijsman <TomWij@gentoo.org> metadata.xml:
Maintainer needed.
diff --git a/dev-python/markups/markups-0.2.4-r1.ebuild b/dev-python/markups/markups-0.2.4-r1.ebuild
new file mode 100644
index 000000000000..43b6c197cc6e
--- /dev/null
+++ b/dev-python/markups/markups-0.2.4-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/markups/markups-0.2.4-r1.ebuild,v 1.1 2014/11/14 07:22:29 jlec Exp $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 python{3_3,3_4} )
+
+DISTUTILS_NO_PARALLEL_BUILD="true"
+
+inherit distutils-r1
+
+MY_PN="Markups"
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="A wrapper around various text markups"
+HOMEPAGE="http://pypi.python.org/pypi/Markups"
+SRC_URI="mirror://pypi/M/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}"/${MY_P}
+
+DEPEND="dev-python/markdown[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+python_test() {
+ pushd tests > /dev/null
+ for test in test_*.py ; do
+ local testName="$(echo ${test} | sed 's/test_\(.*\).py/\1/g')"
+ einfo "Running test '${testName}' with '${EPYTHON}'."
+ ${EPYTHON} ${test} || die "Test '${testName}' with '${EPYTHON}' failed."
+ done
+ popd tests > /dev/null
+}
diff --git a/dev-python/markups/metadata.xml b/dev-python/markups/metadata.xml
index aa5e9948640b..4a00a64b40ae 100644
--- a/dev-python/markups/metadata.xml
+++ b/dev-python/markups/metadata.xml
@@ -1,7 +1,7 @@
-<?xml version='1.0' encoding='UTF-8'?>
+<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
- <email>maintainer-needed@gentoo.org</email>
+ <email>jlec@gentoo.org</email>
</maintainer>
</pkgmetadata>