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 F3D92138335 for ; Sun, 4 Aug 2019 13:44:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D7512E0882; Sun, 4 Aug 2019 13:44:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B8EFFE0882 for ; Sun, 4 Aug 2019 13:44:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 77D37349879 for ; Sun, 4 Aug 2019 13:44:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8F23A744 for ; Sun, 4 Aug 2019 13:44:23 +0000 (UTC) From: "Alexey Shvetsov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexey Shvetsov" Message-ID: <1564925562.a92bb75167025a46349110923bb9a8b1fd4a5821.alexxy@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-lzo/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-lzo/python-lzo-1.12-r1.ebuild X-VCS-Directories: dev-python/python-lzo/ X-VCS-Committer: alexxy X-VCS-Committer-Name: Alexey Shvetsov X-VCS-Revision: a92bb75167025a46349110923bb9a8b1fd4a5821 X-VCS-Branch: master Date: Sun, 4 Aug 2019 13:44:23 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fe442cea-4ad3-4298-a104-facc165fefc5 X-Archives-Hash: 6d6643e7706c3cad4c07aa3ba1de49b4 commit: a92bb75167025a46349110923bb9a8b1fd4a5821 Author: Alexey Shvetsov gentoo org> AuthorDate: Sun Aug 4 13:32:42 2019 +0000 Commit: Alexey Shvetsov gentoo org> CommitDate: Sun Aug 4 13:32:42 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a92bb751 dev-python/python-lzo: Works with py3.7 Package-Manager: Portage-2.3.70, Repoman-2.3.16 Signed-off-by: Alexey Shvetsov gentoo.org> dev-python/python-lzo/python-lzo-1.12-r1.ebuild | 35 +++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/dev-python/python-lzo/python-lzo-1.12-r1.ebuild b/dev-python/python-lzo/python-lzo-1.12-r1.ebuild new file mode 100644 index 00000000000..4da9abd075e --- /dev/null +++ b/dev-python/python-lzo/python-lzo-1.12-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) + +inherit distutils-r1 prefix + +DESCRIPTION="Python interface to lzo" +HOMEPAGE="https://github.com/jd-boyd/python-lzo" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=" + dev-libs/lzo:2" + +DEPEND=" + ${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +src_prepare() { + distutils-r1_src_prepare + hprefixify setup.py +} + +python_test() { + distutils_install_for_testing + PYTHONPATH="${TEST_DIR}"/lib nosetests -v || die "tests failed" +}