summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-05-03 08:34:24 +0200
committerMichał Górny <mgorny@gentoo.org>2017-05-03 08:35:28 +0200
commit2ca5795b2af31c80ef69dd7b8309b099d06cd00f (patch)
treed0d328aa44339a7b3e0a942a6b21752ed6e8b8da /dev-python/markups
parentmedia-libs/virglrenderer: apply forgotten patch, bug #600138 (diff)
downloadgentoo-2ca5795b2af31c80ef69dd7b8309b099d06cd00f.tar.gz
gentoo-2ca5795b2af31c80ef69dd7b8309b099d06cd00f.tar.bz2
gentoo-2ca5795b2af31c80ef69dd7b8309b099d06cd00f.zip
dev-python/markups: Revert "Clean old versions up"
Old version of app-editors/retext requires old stable version of dev-python/markups.
Diffstat (limited to 'dev-python/markups')
-rw-r--r--dev-python/markups/Manifest1
-rw-r--r--dev-python/markups/markups-0.2.4-r1.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/markups/Manifest b/dev-python/markups/Manifest
index 1cad2e48066e..5c2010a58bdd 100644
--- a/dev-python/markups/Manifest
+++ b/dev-python/markups/Manifest
@@ -1,2 +1,3 @@
+DIST Markups-0.2.4.tar.gz 8827 SHA256 0aab138698035e699fad1c88bebb3fa5e90a1876bc7d8fefb3491513fe13f16b SHA512 369eda02474f723d694bc0518324afde9f5baef02719448abb420a77d58cf1543939e6d38aa1db531d4214dc4cd4c47b29d79fa7a23b33b4ae74b45ad2ec52c7 WHIRLPOOL 1118723f5b9725b68d052e2496ccee414782bd6cceaedc49f9c2918c4055145fb95d49cf962c46eb669ab7a3a8659b86ed54fa5b99f6ac91266cebc4ecf01b10
DIST Markups-1.0.1.tar.gz 14894 SHA256 74464b7532aa355f6ed2767fd5cfb5eb5b484dd773b33bae4016a7fa9354b4ee SHA512 f57f712f84413ed35f53643533d392e2164de02742e170f85fc4556094041ffa16ed1ff6d902bcafe996d22a4410e4c2794e4c96246fc06afbf878d6be85cf31 WHIRLPOOL f5bf7700b76dcad18aba9ec5503ba9516e8e7f8a34577b55b423531c9f88ee547690a90e8043997651fe36516c9990a6de103f8268c4fcf768f4605d8982829f
DIST Markups-2.0.0.tar.gz 16772 SHA256 5639ddd76d74e0a5335e5b66ff2f1b3f9a9f0ab6eeff76a1003f59ed0ec2b721 SHA512 8ccd348efea68678bfb7f47bd13da2729f95a5b5a8d44f11239dbb86b8224867cb1197e46d875ab9a0ba914be004bdc9aa6848b1e6549dc53b12e06040faaaae WHIRLPOOL 0f47974c498e3088e6af022eeff9478f6602df0cc509c3f04935005fc61e6abd431bdb581f4442f7b06cd86366a96590d04c75642698bc6abbc86679b97768c3
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..7c40377906c1
--- /dev/null
+++ b/dev-python/markups/markups-0.2.4-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 python3_4 pypy )
+
+inherit distutils-r1
+
+MY_PN="Markups"
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="A wrapper around various text markups"
+HOMEPAGE="https://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
+}