From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ACF311386DF for ; Fri, 21 Oct 2016 21:40:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4E27E07FD; Fri, 21 Oct 2016 21:40:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5E75BE07FC for ; Fri, 21 Oct 2016 21:40:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B1CD034169C for ; Fri, 21 Oct 2016 21:40:45 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D1C492494 for ; Fri, 21 Oct 2016 21:40:43 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1477085916.6cf998174df609d0e5a39b63cf6b0a3997fefde1.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/utidylib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/utidylib/Manifest dev-python/utidylib/metadata.xml dev-python/utidylib/utidylib-0.3.ebuild X-VCS-Directories: dev-python/utidylib/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 6cf998174df609d0e5a39b63cf6b0a3997fefde1 X-VCS-Branch: master Date: Fri, 21 Oct 2016 21:40:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1d3fbe15-971e-4130-857f-941f794f77f8 X-Archives-Hash: 729371828ed5ffcf9342dcc410bab141 commit: 6cf998174df609d0e5a39b63cf6b0a3997fefde1 Author: Andreas Sturmlechner gmail com> AuthorDate: Sat Oct 8 13:05:20 2016 +0000 Commit: David Seifert gentoo 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 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 @@ - - python@gentoo.org - Python - - - utidylib - + + python@gentoo.org + Python + + + nijel/utidylib + 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 +}