public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/utidylib/
Date: Fri, 21 Oct 2016 21:40:43 +0000 (UTC)	[thread overview]
Message-ID: <1477085916.6cf998174df609d0e5a39b63cf6b0a3997fefde1.soap@gentoo> (raw)

commit:     6cf998174df609d0e5a39b63cf6b0a3997fefde1
Author:     Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Sat Oct  8 13:05:20 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Oct 21 21:38:36 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cf99817

dev-python/utidylib: 0.3 bump; python3, EAPI 6, fix HOMEPAGE

New upstream.

Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2513

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-python/utidylib/Manifest            |  1 +
 dev-python/utidylib/metadata.xml        | 14 +++++-----
 dev-python/utidylib/utidylib-0.3.ebuild | 48 +++++++++++++++++++++++++++++++++
 3 files changed, 56 insertions(+), 7 deletions(-)

diff --git a/dev-python/utidylib/Manifest b/dev-python/utidylib/Manifest
index 5b63101..05feb4d 100644
--- a/dev-python/utidylib/Manifest
+++ b/dev-python/utidylib/Manifest
@@ -1 +1,2 @@
 DIST uTidylib-0.2.zip 17575 SHA256 0385b29b0e636fa1cc6eb86ecb5428cf399f9474c8f343af038afce59720a333 SHA512 02f6611f1c7dd42db96012f7067ada8ccd841532744a569492a2f1c0524a3f1777b8f997a716b9bb18f69f31cb922dc89328d0bd284830620a930a038b303893 WHIRLPOOL 7d1509c36dccf8d7bd22f82d5a6cd95e8b7e422fb6aeab49e7316aaa98e18f771d9c7140897086da61d03b0df5fb3d4291c0b49acfbf8a8633498a837fbc2c2d
+DIST uTidylib-0.3.tar.bz2 13809 SHA256 9f902713bf5d6b8254ca99dccc8729cbe833b1377cfcca67b466c661e5e3f57b SHA512 4503f2a6366e5110740b312df2300d62bb68e1e1032184e9b56dee75995309c76d4f8e5851c73e7c8e08cca7bba9c74436d8dfc0524f115f3abb2bdf5529cc35 WHIRLPOOL 3157558b2674e60ae231ba0ae38523a84659ad375ea2ca1b75e29e118c7cc67d7b66b91733ad68f2b6c3c93d72a0d209e36b576ce52bb33242e20810ec992ab2

diff --git a/dev-python/utidylib/metadata.xml b/dev-python/utidylib/metadata.xml
index 726c259..2ab18a2e 100644
--- a/dev-python/utidylib/metadata.xml
+++ b/dev-python/utidylib/metadata.xml
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <maintainer type="project">
-    <email>python@gentoo.org</email>
-    <name>Python</name>
-  </maintainer>
-  <upstream>
-    <remote-id type="sourceforge">utidylib</remote-id>
-  </upstream>
+	<maintainer type="project">
+		<email>python@gentoo.org</email>
+		<name>Python</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">nijel/utidylib</remote-id>
+	</upstream>
 </pkgmetadata>

diff --git a/dev-python/utidylib/utidylib-0.3.ebuild b/dev-python/utidylib/utidylib-0.3.ebuild
new file mode 100644
index 00000000..fafb5b4
--- /dev/null
+++ b/dev-python/utidylib/utidylib-0.3.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+
+inherit distutils-r1
+
+MY_P="uTidylib-${PV}"
+
+DESCRIPTION="TidyLib Python wrapper"
+HOMEPAGE="https://cihar.com/software/utidylib/"
+SRC_URI="http://dl.cihar.com/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="doc test"
+
+RDEPEND="
+	app-text/htmltidy
+	dev-python/six[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+	doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+	test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+"
+
+RESTRICT="test"	# 1/11 tests fail
+
+S="${WORKDIR}/${MY_P}"
+
+python_compile_all() {
+	if use doc; then
+		${EPYTHON} setup.py build_sphinx || die
+	fi
+}
+
+python_test() {
+	py.test || die "testsuite failed under ${EPYTHON}"
+}
+
+python_install_all() {
+	use doc && local HTML_DOCS=( build/sphinx/html/. )
+	distutils-r1_python_install_all
+}


             reply	other threads:[~2016-10-21 21:40 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-21 21:40 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-12-18 15:44 [gentoo-commits] repo/gentoo:master commit in: dev-python/utidylib/ Agostino Sarubbo
2016-12-18 15:57 Agostino Sarubbo
2017-05-04 17:34 Manuel Rüger
2017-09-03  1:04 Mike Gilbert
2017-12-02 15:01 Thomas Deutschmann
2017-12-25  0:03 Patrice Clement
2018-03-22 13:06 Patrice Clement
2018-12-07  2:41 Thomas Deutschmann
2018-12-08  9:36 Sergei Trofimovich
2018-12-08  9:44 Sergei Trofimovich
2018-12-13 14:29 Mikle Kolyada
2019-03-11 21:03 Andreas Sturmlechner
2019-04-27 14:46 Andreas Sturmlechner
2019-07-29 20:02 Aaron Bauman
2019-11-24 17:13 Andreas Sturmlechner
2019-11-24 21:07 Andreas Sturmlechner
2020-01-03 10:06 Agostino Sarubbo
2020-01-03 13:42 Agostino Sarubbo
2020-01-03 13:44 Agostino Sarubbo
2020-01-03 14:30 Agostino Sarubbo
2020-01-05  3:09 Aaron Bauman
2020-03-01 22:02 Andreas Sturmlechner
2020-03-18 18:39 Michał Górny
2020-09-20  9:36 Michał Górny
2020-10-11 21:33 Andreas Sturmlechner
2020-10-11 22:25 Andreas Sturmlechner
2021-08-23  6:48 Arthur Zamarin
2021-08-27 10:29 Marek Szuba
2021-08-29 18:30 Sam James
2021-08-31  3:54 Arthur Zamarin
2021-09-14  1:30 Yixun Lan
2021-10-16  1:12 Sam James
2021-10-16  1:14 Sam James
2021-11-10 12:49 Jakov Smolić
2022-05-16 18:41 Arthur Zamarin
2022-05-16 18:41 Arthur Zamarin
2022-05-21  9:09 Michał Górny
2022-06-22 10:10 Agostino Sarubbo
2022-06-22 10:13 Agostino Sarubbo
2022-06-22 10:14 Agostino Sarubbo
2022-06-22 10:16 Agostino Sarubbo
2022-06-22 13:23 Agostino Sarubbo
2022-06-22 15:37 Michał Górny
2022-12-07 15:59 Michał Górny
2023-01-07 18:24 Arthur Zamarin
2023-01-07 18:29 Arthur Zamarin
2023-01-07 18:35 Arthur Zamarin
2023-01-07 19:31 Arthur Zamarin
2023-01-07 19:44 Sam James
2023-01-08  5:21 Michał Górny
2023-06-01 14:37 Michał Górny
2024-03-05 19:11 Michał Górny
2024-03-21 17:45 Arthur Zamarin
2024-03-22  3:58 Sam James
2024-03-22  3:58 Sam James
2024-03-22  6:14 Arthur Zamarin
2024-03-22  6:14 Arthur Zamarin
2024-03-22 12:37 Michał Górny

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=1477085916.6cf998174df609d0e5a39b63cf6b0a3997fefde1.soap@gentoo \
    --to=soap@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