public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pykerberos/
Date: Sat,  8 Jul 2023 15:23:02 +0000 (UTC)	[thread overview]
Message-ID: <1688829775.b2bb39fb9aee459692ba6fc1fdbf5ad589e87555.mgorny@gentoo> (raw)

commit:     b2bb39fb9aee459692ba6fc1fdbf5ad589e87555
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  8 15:08:40 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul  8 15:22:55 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2bb39fb

dev-python/pykerberos: EAPI 8, PEP517

Closes: https://bugs.gentoo.org/909941
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pykerberos/Manifest                   |  1 +
 dev-python/pykerberos/pykerberos-1.3.1-r2.ebuild | 58 ++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/dev-python/pykerberos/Manifest b/dev-python/pykerberos/Manifest
index cf0fb2ef6e73..1bc6200a7b32 100644
--- a/dev-python/pykerberos/Manifest
+++ b/dev-python/pykerberos/Manifest
@@ -1 +1,2 @@
 DIST PyKerberos-1.3.1.tar.gz 41954 BLAKE2B b95a3473c5803ebcb461db7f2589caa03e92f4cb3ba3a4890a31db99b687aa4c77ae4e58f09ae2339a1fd8acf6fe9ab5797e3b7178dfeb2ee7a95bb851fff402 SHA512 dcadc5c3b095d8bba947a745ac84cc558d7eebad139a0e86260891966786506a7a62600fde93fa14683971e436da8cc5cd3795817b20ba45ce7e39f8c05deb53
+DIST ccs-pykerberos-PyKerberos-1.3.1.gh.tar.gz 41954 BLAKE2B b95a3473c5803ebcb461db7f2589caa03e92f4cb3ba3a4890a31db99b687aa4c77ae4e58f09ae2339a1fd8acf6fe9ab5797e3b7178dfeb2ee7a95bb851fff402 SHA512 dcadc5c3b095d8bba947a745ac84cc558d7eebad139a0e86260891966786506a7a62600fde93fa14683971e436da8cc5cd3795817b20ba45ce7e39f8c05deb53

diff --git a/dev-python/pykerberos/pykerberos-1.3.1-r2.ebuild b/dev-python/pykerberos/pykerberos-1.3.1-r2.ebuild
new file mode 100644
index 000000000000..99abdec65e6e
--- /dev/null
+++ b/dev-python/pykerberos/pykerberos-1.3.1-r2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1
+
+MY_P=ccs-pykerberos-PyKerberos-${PV}
+DESCRIPTION="A high-level Python wrapper for Kerberos/GSSAPI operations"
+HOMEPAGE="
+	https://www.calendarserver.org/PyKerberos.html
+	https://github.com/apple/ccs-pykerberos/
+	https://pypi.org/project/kerberos/
+"
+SRC_URI="
+	https://github.com/apple/ccs-pykerberos/archive/PyKerberos-${PV}.tar.gz
+		-> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~riscv ~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"
+
+DEPEND="
+	app-crypt/mit-krb5
+"
+RDEPEND="
+	${DEPEND}
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.3.1-python3.10.patch
+)
+
+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}"
+}


             reply	other threads:[~2023-07-08 15:23 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-08 15:23 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-08-12  3:05 [gentoo-commits] repo/gentoo:master commit in: dev-python/pykerberos/ Michał Górny
2023-08-12  0:10 Sam James
2023-08-12  0:10 Sam James
2023-08-11 19:16 Arthur Zamarin
2022-10-25 14:06 Michał Górny
2022-10-25 12:50 Sam James
2022-10-25 11:12 Sam James
2022-10-22 15:58 Arthur Zamarin
2022-09-21 15:30 Marek Szuba
2021-07-12 15:47 Marek Szuba
2021-06-12 21:55 Marek Szuba
2021-03-04  8:57 Michał Górny
2021-03-04  6:09 Sam James
2021-03-02  7:39 Sam James
2021-03-02  7:38 Sam James
2021-01-09  8:13 Michał Górny
2021-01-01  0:14 Michał Górny
2020-12-11 12:55 Michał Górny
2020-09-28 15:53 Michał Górny
2020-08-05 15:10 Michał Górny
2020-07-30 19:39 Sam James
2020-06-24 10:54 Michał Górny
2020-06-24  9:30 Michał Górny
2020-06-24  9:30 Michał Górny
2020-02-05 21:28 Andreas Sturmlechner
2018-07-15 13:35 Mart Raudsepp
2017-09-05  9:25 Fabian Groffen
2017-03-10 10:21 Zac Medico
2016-12-29 17:46 Göktürk Yüksek
2016-11-25 23:30 Patrice Clement
2016-11-25 18:54 Agostino Sarubbo
2016-11-25 18:27 Agostino Sarubbo
2016-03-17 16:34 Patrick Lauer
2015-10-21 13:41 Justin Lecher
2015-09-27  7:27 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1688829775.b2bb39fb9aee459692ba6fc1fdbf5ad589e87555.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox