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 B101A1388BF for ; Fri, 15 Jan 2016 10:44:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DCC06E07D4; Fri, 15 Jan 2016 10:44:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 714C1E07D4 for ; Fri, 15 Jan 2016 10:44:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1F5A8340A2B for ; Fri, 15 Jan 2016 10:44:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D0959CEB for ; Fri, 15 Jan 2016 10:44:00 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1452853514.18aee7e66097ed81c13332e9983e41750151f039.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/webencodings/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/webencodings/Manifest dev-python/webencodings/metadata.xml dev-python/webencodings/webencodings-0.4.ebuild X-VCS-Directories: dev-python/webencodings/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 18aee7e66097ed81c13332e9983e41750151f039 X-VCS-Branch: master Date: Fri, 15 Jan 2016 10:44:00 +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: d8785f49-6575-4ac0-8c44-d3ab4e0eee76 X-Archives-Hash: abd0c4c188c331e99c666c86115befe9 commit: 18aee7e66097ed81c13332e9983e41750151f039 Author: Justin Lecher gentoo org> AuthorDate: Fri Jan 15 10:24:53 2016 +0000 Commit: Justin Lecher gentoo org> CommitDate: Fri Jan 15 10:25:14 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18aee7e6 dev-python/webencodings: New package, ebuild written by me Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher gentoo.org> dev-python/webencodings/Manifest | 1 + dev-python/webencodings/metadata.xml | 13 +++++++++ dev-python/webencodings/webencodings-0.4.ebuild | 36 +++++++++++++++++++++++++ 3 files changed, 50 insertions(+) diff --git a/dev-python/webencodings/Manifest b/dev-python/webencodings/Manifest new file mode 100644 index 0000000..f3e83b2 --- /dev/null +++ b/dev-python/webencodings/Manifest @@ -0,0 +1 @@ +DIST webencodings-0.4.tar.gz 9412 SHA256 3a45b2af274dabbb84eb68256bf0fb1e2e87a48ae4ad3ba4d7936cef3ce14e1d SHA512 3f46e26dd555838397a52e74304452b39fbe05032b4fed4a4f2574580bd71eac50c242aacd7ebc23ecb860d4ea6e0690b7a7ea4cc974382a4a1303a36f8ffd46 WHIRLPOOL 623c83aa106ae251100d995c632f1ddcb5b4b46fd1bc03b7565c69ad6f5f918d81039ccc7bd8048beef1e87a4aed643bfe4f045839b12ad00f0e232933b57a2c diff --git a/dev-python/webencodings/metadata.xml b/dev-python/webencodings/metadata.xml new file mode 100644 index 0000000..697aa83 --- /dev/null +++ b/dev-python/webencodings/metadata.xml @@ -0,0 +1,13 @@ + + + + python + + webencodings + http://pythonhosted.org/webencodings/ + + simon.sapin@exyr.org + Simon Sapin + + + diff --git a/dev-python/webencodings/webencodings-0.4.ebuild b/dev-python/webencodings/webencodings-0.4.ebuild new file mode 100644 index 0000000..219c182 --- /dev/null +++ b/dev-python/webencodings/webencodings-0.4.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Character encoding aliases for legacy web content" +HOMEPAGE="https://github.com/SimonSapin/python-webencodings http://pypi.python.org/pypi/webencodings" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND="" +DEPEND="${REDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + )" + +# https://github.com/SimonSapin/python-webencodings/issues/2 +RESTRICT=test + +python_test() { + cat >> setup.cfg <<- EOF + [pytest] + python_files=test*.py + EOF + py.test -v -v || die +}