From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9808D138010 for ; Sat, 20 Oct 2012 13:12:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A60C21C002; Sat, 20 Oct 2012 13:12:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E1AE021C002 for ; Sat, 20 Oct 2012 13:12:31 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 23CB633D751 for ; Sat, 20 Oct 2012 13:12:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id CC390E5436 for ; Sat, 20 Oct 2012 13:12:29 +0000 (UTC) From: "Gilles Dartiguelongue" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Gilles Dartiguelongue" Message-ID: <1350733131.7c662e0cc7b2ff790c0714eb3c116db9440f7239.eva@gentoo> Subject: [gentoo-commits] dev/eva:master commit in: dev-python/webarticle2text/, dev-python/webarticle2text/files/ X-VCS-Repository: dev/eva X-VCS-Files: dev-python/webarticle2text/files/webarticle2text-1.2.4-encoding.patch dev-python/webarticle2text/metadata.xml dev-python/webarticle2text/webarticle2text-1.2.4.ebuild X-VCS-Directories: dev-python/webarticle2text/ dev-python/webarticle2text/files/ X-VCS-Committer: eva X-VCS-Committer-Name: Gilles Dartiguelongue X-VCS-Revision: 7c662e0cc7b2ff790c0714eb3c116db9440f7239 X-VCS-Branch: master Date: Sat, 20 Oct 2012 13:12:29 +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: 2fa5b6a2-6b0f-4a8c-8985-13672f536c2f X-Archives-Hash: 2a081793a11556e4a2859d54eb5a196d commit: 7c662e0cc7b2ff790c0714eb3c116db9440f7239 Author: Gilles Dartiguelongue gentoo org> AuthorDate: Sat Oct 20 11:38:51 2012 +0000 Commit: Gilles Dartiguelongue gentoo org> CommitDate: Sat Oct 20 11:38:51 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/eva.git;a=commit;h=7c662e0c dev-python/webarticle2text: fix missing encoding * Fix license. * Add missing metadata. --- .../files/webarticle2text-1.2.4-encoding.patch | 11 +++++++++++ dev-python/webarticle2text/metadata.xml | 8 ++++++++ .../webarticle2text/webarticle2text-1.2.4.ebuild | 11 +++++++++-- 3 files changed, 28 insertions(+), 2 deletions(-) diff --git a/dev-python/webarticle2text/files/webarticle2text-1.2.4-encoding.patch b/dev-python/webarticle2text/files/webarticle2text-1.2.4-encoding.patch new file mode 100644 index 0000000..b11fdf4 --- /dev/null +++ b/dev-python/webarticle2text/files/webarticle2text-1.2.4-encoding.patch @@ -0,0 +1,11 @@ +diff --git a/webarticle2text.py b/webarticle2text.py +index a939594..25b70f2 100755 +--- a/webarticle2text.py ++++ b/webarticle2text.py +@@ -1,4 +1,6 @@ + #!/usr/bin/python ++# -*- coding: utf-8 -*- ++ + """ + File: webarticle2text.py + diff --git a/dev-python/webarticle2text/metadata.xml b/dev-python/webarticle2text/metadata.xml new file mode 100644 index 0000000..23310c6 --- /dev/null +++ b/dev-python/webarticle2text/metadata.xml @@ -0,0 +1,8 @@ + + + + + eva@gentoo.org + Gilles Dartiguelongue + + diff --git a/dev-python/webarticle2text/webarticle2text-1.2.4.ebuild b/dev-python/webarticle2text/webarticle2text-1.2.4.ebuild index 0c686d0..5b820fe 100644 --- a/dev-python/webarticle2text/webarticle2text-1.2.4.ebuild +++ b/dev-python/webarticle2text/webarticle2text-1.2.4.ebuild @@ -6,13 +6,13 @@ EAPI="4" PYTHON_COMPAT=( python2_5 python2_6 python2_7 ) -inherit distutils-r1 +inherit distutils-r1 eutils DESCRIPTION="Extracts the main article text from a webpage" HOMEPAGE="https://github.com/chrisspen/webarticle2text" SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" -LICENSE="LGPL" +LICENSE="LGPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" @@ -27,3 +27,10 @@ DEPEND="${RDEPEND} # Not distributed yet #DOCS=( README.rst ) + +src_prepare() { + # Add missing coding as required by pep267 + epatch "${FILESDIR}/${P}-encoding.patch" + + distutils-r1_src_prepare +}