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 2610E138359 for ; Mon, 28 Sep 2020 15:53:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ACA0EE0863; Mon, 28 Sep 2020 15:53:32 +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 92831E0863 for ; Mon, 28 Sep 2020 15:53:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 647A9340A5C for ; Mon, 28 Sep 2020 15:53:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A9EDD389 for ; Mon, 28 Sep 2020 15:53:28 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1601308368.36f156a18f5f00366009fc51b63c6b18b244422e.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pykerberos/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pykerberos/pykerberos-1.3.0-r1.ebuild X-VCS-Directories: dev-python/pykerberos/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 36f156a18f5f00366009fc51b63c6b18b244422e X-VCS-Branch: master Date: Mon, 28 Sep 2020 15:53:28 +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: 0b4e4096-daf8-48c4-9285-a76699a86b26 X-Archives-Hash: 6ad8bb69bc04da83fa2c75998dd88905 commit: 36f156a18f5f00366009fc51b63c6b18b244422e Author: Michał Górny gentoo org> AuthorDate: Sun Sep 27 21:47:02 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Sep 28 15:52:48 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36f156a1 dev-python/pykerberos: Remove py2.7 in revbump Signed-off-by: Michał Górny gentoo.org> dev-python/pykerberos/pykerberos-1.3.0-r1.ebuild | 45 ++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/dev-python/pykerberos/pykerberos-1.3.0-r1.ebuild b/dev-python/pykerberos/pykerberos-1.3.0-r1.ebuild new file mode 100644 index 00000000000..0d5435a1f31 --- /dev/null +++ b/dev-python/pykerberos/pykerberos-1.3.0-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6..9} ) +inherit distutils-r1 + +MY_P=PyKerberos-${PV} +DESCRIPTION="A high-level Python wrapper for Kerberos/GSSAPI operations" +HOMEPAGE=" + https://trac.calendarserver.org/wiki/PyKerberos + https://github.com/apple/ccs-pykerberos/ + https://pypi.org/project/kerberos/" +SRC_URI=" + https://github.com/apple/ccs-pykerberos/archive/${MY_P}.tar.gz" +S=${WORKDIR}/ccs-pykerberos-${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc64 x86" +# test environment is non-trivial to set up, so just use docker +# (see python_test below) +# also for alpha/beta Python releases support: +# https://github.com/apple/ccs-pykerberos/pull/83/commits/5f1130a1305b5f6e7d7d8b41067c4713f0c8950f +RESTRICT="test" + +RDEPEND="app-crypt/mit-krb5" +DEPEND="${RDEPEND}" + +python_test() { + set -- docker run \ + -v "${PWD}:/app" \ + -w /app \ + -e PYENV=$("${EPYTHON}" -c 'import sys; print(sys.version.split()[0])') \ + -e KERBEROS_USERNAME=administrator \ + -e KERBEROS_PASSWORD=Password01 \ + -e KERBEROS_REALM=example.com \ + -e KERBEROS_PORT=80 \ + ubuntu:16.04 \ + /bin/bash .travis.sh + echo "${@}" >&2 + "${@}" || die "Tests failed with ${EPYTHON}" +}