public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Brian Dolbec" <dolsen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/m2r/
Date: Fri,  9 Jun 2017 18:19:00 +0000 (UTC)	[thread overview]
Message-ID: <1497032326.541e7cdf3ce7c0e2e31f64951f7645ce58ff58d1.dolsen@gentoo> (raw)

commit:     541e7cdf3ce7c0e2e31f64951f7645ce58ff58d1
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Fri Jun  9 17:19:40 2017 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Fri Jun  9 18:18:46 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=541e7cdf

dev-python/m2r: Version bump

Package-Manager: Portage-2.3.6_p2, Repoman-2.3.2_p70

 dev-python/m2r/Manifest         |  1 +
 dev-python/m2r/m2r-0.1.6.ebuild | 49 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/m2r/Manifest b/dev-python/m2r/Manifest
index 721b61b97fc..8d3d0c4cbc5 100644
--- a/dev-python/m2r/Manifest
+++ b/dev-python/m2r/Manifest
@@ -1 +1,2 @@
 DIST m2r-0.1.5.tar.gz 13202 SHA256 3448f770aed05ca10390d0917cd51836cbf82a2f095bc91507e6291cfab03223 SHA512 78e9e8daa293b2466c95f0adad937fa0bbefaf0dd9663695bb916be13182633e0d462afa5331a595db424420485ef54bbfd4e0625962026fab4ce0c63104bc84 WHIRLPOOL c701aa0a735eda9b7eaab7ff6f384bad7535337f6a7adcfce2d729f33b01aed9213d04fcfe1dc3521b2df0687f2b849a3eb5df628a87ea3ea2697ae389ad8438
+DIST m2r-0.1.6.tar.gz 13615 SHA256 a26bc2e25e0ad3f8650385aea25cf734ac4fcd30e54faec92fd39675da75e527 SHA512 3641cf4013f71fbd43d6cdad530cfd3e909c93709edfbd79d6a51e7121de68e279d3ec4eb7eed391a35902ffa467310bd6b020139b2024c3e80fa44e5f6cc4a7 WHIRLPOOL 4bc6ed787069483f4f4c5bcbb4c9cc448dd2d2edc0a7845e2ca74189a0a8b25040c1fed293e4c4aebf6ea1640f69cb777c4621db79a6008b887b8199247712a9

diff --git a/dev-python/m2r/m2r-0.1.6.ebuild b/dev-python/m2r/m2r-0.1.6.ebuild
new file mode 100644
index 00000000000..6dac7dc65dd
--- /dev/null
+++ b/dev-python/m2r/m2r-0.1.6.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy)
+
+inherit distutils-r1
+
+DESCRIPTION="Markdown to reStructuredText converter"
+HOMEPAGE="https://github.com/miyakogi/m2r https://pypi.python.org/pypi/m2r"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86"
+IUSE="test"
+
+RDEPEND="
+	dev-python/mistune[${PYTHON_USEDEP}]
+	dev-python/docutils[${PYTHON_USEDEP}]
+"
+DEPEND="
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) )
+	${RDEPEND}
+"
+
+#S=${WORKDIR}/${P}
+
+python_prepare_all() {
+	# fix a Q/A violation, trying to install the tests as an independant package
+	sed -e "s/packages=\['tests'\],/packages=[],/" -i setup.py
+	# remove duped old file in the tarball
+	rm "tests/test_r s.py" || die
+	# add missing test files
+	cp "${FILESDIR}/"test.md tests/ || die
+	cp "${FILESDIR}/"test.rst tests/ || die
+	cp "${FILESDIR}/"m2r.1 ./ || die
+	distutils-r1_python_prepare_all
+}
+
+python_test() {
+	py.test -v || die "Tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+	distutils-r1_python_install_all
+	doman m2r.1
+}


             reply	other threads:[~2017-06-09 18:19 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-09 18:19 Brian Dolbec [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-01-27 22:56 [gentoo-commits] repo/gentoo:master commit in: dev-python/m2r/ James Le Cuirot
2021-05-18 11:40 Michał Górny
2020-11-28 11:39 Sam James
2020-11-28 11:39 Sam James
2020-08-04 12:01 Michał Górny
2020-06-10  8:11 Michał Górny
2020-05-27  8:38 Michał Górny
2020-05-06 18:45 Mikle Kolyada
2020-05-06 14:28 Mikle Kolyada
2020-04-15  5:54 Mike Gilbert
2020-04-06 17:54 Sergei Trofimovich
2020-03-27 21:06 Michał Górny
2020-03-27 21:06 Michał Górny
2020-03-17  2:35 Matt Turner
2020-02-24  8:20 Sergei Trofimovich
2020-02-23 12:12 Mikle Kolyada
2020-02-22 20:22 Andreas Sturmlechner
2019-12-04  6:48 Aaron Bauman
2019-11-27 22:50 Patrick McLean
2019-09-25 18:46 Rick Farina
2019-09-25 16:33 Rick Farina
2019-06-25 12:09 Michael Haubenwallner
2019-05-02 22:02 Mikle Kolyada
2019-03-20 10:31 Fabian Groffen
2019-03-09  8:12 Mikle Kolyada
2019-01-17 20:45 Mikle Kolyada
2018-07-02  2:12 Brian Dolbec
2018-04-06  5:23 Matt Turner
2018-02-22 15:06 Michał Górny
2017-12-13 22:15 Sergei Trofimovich
2017-12-13 22:15 Sergei Trofimovich
2017-12-13 22:15 Sergei Trofimovich
2017-09-30 15:29 Patrick Lauer
2017-09-24 16:34 Sergei Trofimovich
2017-09-24 16:34 Sergei Trofimovich
2017-07-10 21:47 Sergei Trofimovich
2017-07-10 21:47 Sergei Trofimovich
2017-04-18 14:17 Jeroen Roovers
2017-04-05 10:44 Michael Weber
2017-04-05 10:01 Michael Weber
2017-04-05  8:44 Michael Weber
2017-04-04 23:06 Brian Dolbec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1497032326.541e7cdf3ce7c0e2e31f64951f7645ce58ff58d1.dolsen@gentoo \
    --to=dolsen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox