Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/markups/
Date: Wed, 03 May 2017 06:35:34
Message-Id: 1493793328.2ca5795b2af31c80ef69dd7b8309b099d06cd00f.mgorny@gentoo
1 commit: 2ca5795b2af31c80ef69dd7b8309b099d06cd00f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 3 06:34:24 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 3 06:35:28 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ca5795b
7
8 dev-python/markups: Revert "Clean old versions up"
9
10 Old version of app-editors/retext requires old stable version of
11 dev-python/markups.
12
13 dev-python/markups/Manifest | 1 +
14 dev-python/markups/markups-0.2.4-r1.ebuild | 34 ++++++++++++++++++++++++++++++
15 2 files changed, 35 insertions(+)
16
17 diff --git a/dev-python/markups/Manifest b/dev-python/markups/Manifest
18 index 1cad2e48066..5c2010a58bd 100644
19 --- a/dev-python/markups/Manifest
20 +++ b/dev-python/markups/Manifest
21 @@ -1,2 +1,3 @@
22 +DIST Markups-0.2.4.tar.gz 8827 SHA256 0aab138698035e699fad1c88bebb3fa5e90a1876bc7d8fefb3491513fe13f16b SHA512 369eda02474f723d694bc0518324afde9f5baef02719448abb420a77d58cf1543939e6d38aa1db531d4214dc4cd4c47b29d79fa7a23b33b4ae74b45ad2ec52c7 WHIRLPOOL 1118723f5b9725b68d052e2496ccee414782bd6cceaedc49f9c2918c4055145fb95d49cf962c46eb669ab7a3a8659b86ed54fa5b99f6ac91266cebc4ecf01b10
23 DIST Markups-1.0.1.tar.gz 14894 SHA256 74464b7532aa355f6ed2767fd5cfb5eb5b484dd773b33bae4016a7fa9354b4ee SHA512 f57f712f84413ed35f53643533d392e2164de02742e170f85fc4556094041ffa16ed1ff6d902bcafe996d22a4410e4c2794e4c96246fc06afbf878d6be85cf31 WHIRLPOOL f5bf7700b76dcad18aba9ec5503ba9516e8e7f8a34577b55b423531c9f88ee547690a90e8043997651fe36516c9990a6de103f8268c4fcf768f4605d8982829f
24 DIST Markups-2.0.0.tar.gz 16772 SHA256 5639ddd76d74e0a5335e5b66ff2f1b3f9a9f0ab6eeff76a1003f59ed0ec2b721 SHA512 8ccd348efea68678bfb7f47bd13da2729f95a5b5a8d44f11239dbb86b8224867cb1197e46d875ab9a0ba914be004bdc9aa6848b1e6549dc53b12e06040faaaae WHIRLPOOL 0f47974c498e3088e6af022eeff9478f6602df0cc509c3f04935005fc61e6abd431bdb581f4442f7b06cd86366a96590d04c75642698bc6abbc86679b97768c3
25
26 diff --git a/dev-python/markups/markups-0.2.4-r1.ebuild b/dev-python/markups/markups-0.2.4-r1.ebuild
27 new file mode 100644
28 index 00000000000..7c40377906c
29 --- /dev/null
30 +++ b/dev-python/markups/markups-0.2.4-r1.ebuild
31 @@ -0,0 +1,34 @@
32 +# Copyright 1999-2015 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI="5"
36 +
37 +PYTHON_COMPAT=( python2_7 python3_4 pypy )
38 +
39 +inherit distutils-r1
40 +
41 +MY_PN="Markups"
42 +MY_P=${MY_PN}-${PV}
43 +
44 +DESCRIPTION="A wrapper around various text markups"
45 +HOMEPAGE="https://pypi.python.org/pypi/Markups"
46 +SRC_URI="mirror://pypi/M/${MY_PN}/${MY_P}.tar.gz"
47 +
48 +LICENSE="BSD"
49 +SLOT="0"
50 +KEYWORDS="amd64 x86"
51 +
52 +S="${WORKDIR}"/${MY_P}
53 +
54 +DEPEND="dev-python/markdown[${PYTHON_USEDEP}]"
55 +RDEPEND="${DEPEND}"
56 +
57 +python_test() {
58 + pushd tests > /dev/null
59 + for test in test_*.py ; do
60 + local testName="$(echo ${test} | sed 's/test_\(.*\).py/\1/g')"
61 + einfo "Running test '${testName}' with '${EPYTHON}'."
62 + ${EPYTHON} ${test} || die "Test '${testName}' with '${EPYTHON}' failed."
63 + done
64 + popd tests > /dev/null
65 +}