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 8BA481382C5 for ; Wed, 24 Jun 2020 09:30:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C507EE08C9; Wed, 24 Jun 2020 09:30:36 +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 A4A86E08C9 for ; Wed, 24 Jun 2020 09:30:36 +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 30D9034F1B7 for ; Wed, 24 Jun 2020 09:30:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 32692253 for ; Wed, 24 Jun 2020 09:30:09 +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: <1592991005.e311fe5acdd495d811460df3fb145b4d86ceb3bf.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pykerberos/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pykerberos/Manifest dev-python/pykerberos/pykerberos-1.3.0.ebuild X-VCS-Directories: dev-python/pykerberos/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e311fe5acdd495d811460df3fb145b4d86ceb3bf X-VCS-Branch: master Date: Wed, 24 Jun 2020 09:30:09 +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: f3adfd20-5043-40d7-b27c-c1162e30485a X-Archives-Hash: 65418f2097af52a21279dc91cf488f0d commit: e311fe5acdd495d811460df3fb145b4d86ceb3bf Author: Michał Górny gentoo org> AuthorDate: Wed Jun 24 09:02:28 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Jun 24 09:30:05 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e311fe5a dev-python/pykerberos: Bump to 1.3.0, switch back to original repo Signed-off-by: Michał Górny gentoo.org> dev-python/pykerberos/Manifest | 1 + dev-python/pykerberos/pykerberos-1.3.0.ebuild | 45 +++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-python/pykerberos/Manifest b/dev-python/pykerberos/Manifest index 996066f24da..5e9369c1a85 100644 --- a/dev-python/pykerberos/Manifest +++ b/dev-python/pykerberos/Manifest @@ -1 +1,2 @@ +DIST PyKerberos-1.3.0.tar.gz 41033 BLAKE2B 5805df2c258a75321dab5fe84fcbf1de706cb7c14a710c914ae4918dd39f79036a4f4033a068982778f73d9f00a4ca45b80e9cfc59c6a246a236f3c6931bacc5 SHA512 ed2644a236993d9737af43be951d57207fc787a74e82f343b265461b456923763610f1ce1b46d7d56f22d6452be1418b98707b8529b22fd8abf299143e52cf69 DIST pykerberos-1.2.1.tar.gz 24535 BLAKE2B 5c6253d99857a5061f708e213e24e0ac34a6fa2a39332d5a0f27f30f1ac9eec45654966113c3036cf9bbe27ee9642748afe4cef845d2ceda26286ced1e2277e0 SHA512 048ed0238911b3e9970a5567ddc2b5e3b551e24bd8d08f06e5807f238c566ead9998e0efb0e3207f178ef2a8c9116f4ed4b7c728b9279f7a88f0945a7c4b081f diff --git a/dev-python/pykerberos/pykerberos-1.3.0.ebuild b/dev-python/pykerberos/pykerberos-1.3.0.ebuild new file mode 100644 index 00000000000..1a5dbde1c25 --- /dev/null +++ b/dev-python/pykerberos/pykerberos-1.3.0.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=( python2_7 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}" +}