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 22E631388BF for ; Fri, 19 Feb 2016 12:46:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A9DA821C031; Fri, 19 Feb 2016 12:46:35 +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 CEF4C21C047 for ; Fri, 19 Feb 2016 12:46:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C5491340CAA for ; Fri, 19 Feb 2016 12:46:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 00A011607 for ; Fri, 19 Feb 2016 12:46:32 +0000 (UTC) From: "Patrick Lauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick Lauer" Message-ID: <1455885934.70214372b90cb3e40161aea5372f1e318b7bf51f.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pycountry/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pycountry/Manifest dev-python/pycountry/pycountry-1.20.ebuild X-VCS-Directories: dev-python/pycountry/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: 70214372b90cb3e40161aea5372f1e318b7bf51f X-VCS-Branch: master Date: Fri, 19 Feb 2016 12:46:32 +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: 746fbc26-b0a7-48cd-8283-e852d8056ecd X-Archives-Hash: 2f56cd7214e8546ac2e1bed05c3807be commit: 70214372b90cb3e40161aea5372f1e318b7bf51f Author: Patrick Lauer gentoo org> AuthorDate: Fri Feb 19 11:46:11 2016 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Fri Feb 19 12:45:34 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70214372 dev-python/pycountry: Bump Package-Manager: portage-2.2.27 dev-python/pycountry/Manifest | 1 + dev-python/pycountry/pycountry-1.20.ebuild | 31 ++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/dev-python/pycountry/Manifest b/dev-python/pycountry/Manifest index 29c4299..7971966 100644 --- a/dev-python/pycountry/Manifest +++ b/dev-python/pycountry/Manifest @@ -1,2 +1,3 @@ DIST pycountry-1.18.tar.gz 5020542 SHA256 23bb173d0281e98eb7b432d8dc6819e5fe6573e505454d228558f61e1f5ae1e6 SHA512 eab2bf1711f514b3842aee6004a904573e974b13757cf3c1a388eb8a292d92e3bdb801265a1c146df5fd510bd830297ddfcc64e41c0ed17c385335837f6721dc WHIRLPOOL c697250bbe13e9b471e0b19857d4afcfdaaf85410a07131727e75c23ac5d7f214682e993f1d799c26417e79ae78b83400e0e3401d2bcbb4afae5d40bf9456346 DIST pycountry-1.19.tar.gz 5022557 SHA256 132ecf3343e4bde8fd0c48a4345a4a8a6144fbdcdaf190a43a7e34c99e91be4d SHA512 850d32504c984d1e2959a909fc367da402b1d1adf4f19914fbbf61784fe30487c5ea92e5579ecfd80bff040cffabc9335d55589df32f54af0de032e042a49c77 WHIRLPOOL c21da359d57573e983db9e9d6c5a556e15c4db1436624b6645af24946338d1728beac8ab7c1cc4e66e8a3571f60c1d5e7b398151a322670c1ad7caa21d6ab19f +DIST pycountry-1.20.tar.gz 5024012 SHA256 0588efa3171e1d5e4cc96fce569ac865964285fdc8dbdc0860844f74598d1f98 SHA512 316e37b4cd800d87f010282a79e47b833b4ee836342ae0e672a5d115c543a8a0e3f508cc4498367aa254317e9747483c7026dac7273d3daa19acd2153635f854 WHIRLPOOL 2516662d06148c5fd3a10efb9715113cf13abe7183fe4b94491b473a24dc47b4d626a77489365b4f2e02a0cc7417ef59dfea21b2b142876981075fc5b05e7d62 diff --git a/dev-python/pycountry/pycountry-1.20.ebuild b/dev-python/pycountry/pycountry-1.20.ebuild new file mode 100644 index 0000000..d190959 --- /dev/null +++ b/dev-python/pycountry/pycountry-1.20.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Database of countries, subdivisions, languages, currencies and script" +HOMEPAGE="https://bitbucket.org/flyingcircus/pycountry" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~sparc ~ppc ~x86" +IUSE="test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +python_test() { + # https://bitbucket.org/techtonik/pycountry/issue/8/test_locales-pycountry-015-pypy + pushd "${BUILD_DIR}"/lib > /dev/null + if [[ "${EPYTHON}" == pypy || "${EPYTHON}" == pypy3 ]]; then + sed -e 's:test_locales:_&:' -i pycountry/tests/test_general.py || die + fi + py.test ${PN}/tests/test_general.py || die + popd > /dev/null +}