public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Göktürk Yüksek" <gokturk@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/fido2/
Date: Sun, 14 Mar 2021 19:55:38 +0000 (UTC)	[thread overview]
Message-ID: <1615751694.bc4a4f3184938656366076d1c8db2289c8c4c857.gokturk@gentoo> (raw)

commit:     bc4a4f3184938656366076d1c8db2289c8c4c857
Author:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  9 02:32:17 2021 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Sun Mar 14 19:54:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc4a4f31

dev-python/fido2: bump to 0.9.1 and introduce subslots

The subslots represent the first version that introduces
backward-incompatible changes to the API, denoted by
"{major}.{minor}". Consumers should mainly bind on a specific subslot
instead of ':=' since this is unlike soname and recompilation won't
fix things in most cases.

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Göktürk Yüksek <gokturk <AT> gentoo.org>

 dev-python/fido2/Manifest           |  1 +
 dev-python/fido2/fido2-0.9.1.ebuild | 53 +++++++++++++++++++++++++++++++++++++
 dev-python/fido2/metadata.xml       |  8 ++++++
 3 files changed, 62 insertions(+)

diff --git a/dev-python/fido2/Manifest b/dev-python/fido2/Manifest
index 4723eedf6a0..285ab934102 100644
--- a/dev-python/fido2/Manifest
+++ b/dev-python/fido2/Manifest
@@ -1,2 +1,3 @@
 DIST fido2-0.7.3.tar.gz 188262 BLAKE2B c1d832229ce741be3b81e4cded65b77e57c008aaba8ccbdf640bae1c27f4d86f2c0ce7ffc83405e3693646a8f2868030619c958ecbaa58a6a6328ece2cf6d3de SHA512 715779ecc9dba19de0e45df13d018e7dd223f20f5662860874aa8aa6f811c1df71c07656d21b49a4b6f14a149134d8af6bac076a7f71cb7392ca2fef70b173e1
 DIST fido2-0.8.1.tar.gz 201198 BLAKE2B 33411dd05d7f513445afa8a6fc4bb90f3989a655fa05d2ba9da411aa7eea3b30ffa253fae6586f76c416115e5bec90f6f120472a49a0acfbd91020d2cba8f74d SHA512 fc0753ea694f2170d529129764cd9f9c5439cd2f467e4f384d7a698266ee8391a5c9c7c6e51d2dc2a99b93fca1c7d5288d5236e302672a87b8ca7704f328c0b5
+DIST fido2-0.9.1.tar.gz 206395 BLAKE2B 9a9b5d0dd808de896c91aa605540a1968aab7ae543336521d4a206f27bcf836c57e88aa6cdd0bacf71db8d16a0f94c2f9c16b16ca415363fd0b5e145a448ec18 SHA512 cde8c247fe0875129a890866ab76d40b2bd6feee86ff1ccb4b9ec5e6dc037e569fc8d969b51a456b5e66c6f7c67e18d14c3917375d5de85bbe7da5af3254f797

diff --git a/dev-python/fido2/fido2-0.9.1.ebuild b/dev-python/fido2/fido2-0.9.1.ebuild
new file mode 100644
index 00000000000..446d15dd158
--- /dev/null
+++ b/dev-python/fido2/fido2-0.9.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python based FIDO 2.0 library"
+HOMEPAGE="https://github.com/Yubico/python-fido2"
+SRC_URI="https://github.com/Yubico/python-fido2/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="Apache-2.0 BSD-2 MIT MPL-2.0"
+SLOT="0/0.9" # Bumped every time a backwards-incompatible version is released
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+RESTRICT="test" # Tests require <dev-python/mock-4
+
+RDEPEND="
+	dev-python/six[${PYTHON_USEDEP}]
+	dev-python/cryptography[${PYTHON_USEDEP}]
+	dev-python/pyscard[${PYTHON_USEDEP}]
+	examples? (
+		dev-python/flask[${PYTHON_USEDEP}]
+		dev-python/pyopenssl[${PYTHON_USEDEP}]
+	)
+"
+DEPEND="
+	dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+# Disable tests, <dev-python/mock-4 doesn't exist
+# DEPEND="${DEPEND}
+# 	test? (
+# 		${RDEPEND}
+# 		<dev-python/mock-4[${PYTHON_USEDEP}]
+# 		>=dev-python/pyfakefs-3.4[${PYTHON_USEDEP}]
+# 	)
+# "
+#
+# When tests are available again, remember to add a custom
+# test phase that runs 'python -m unittest discover -v'
+
+python_install_all() {
+	distutils-r1_python_install_all
+
+	if use examples; then
+		docinto examples
+		dodoc -r "${S}"/examples/.
+		docompress -x "/usr/share/doc/${PF}/examples"
+	fi
+}

diff --git a/dev-python/fido2/metadata.xml b/dev-python/fido2/metadata.xml
index 3ebed6d78bf..9bc3de4b026 100644
--- a/dev-python/fido2/metadata.xml
+++ b/dev-python/fido2/metadata.xml
@@ -10,6 +10,14 @@
 		device over USB as well as verifying attestation and assertion
 		signatures.
 	</longdescription>
+	<slots>
+		<subslots>
+			Reflects the versions that introduce backwards
+			incompatible changes. Do not bind with ':=',
+			unless you are absolutely sure. In most cases, you
+			should bind to a specific subslot.
+		</subslots>
+	</slots>
 	<stabilize-allarches/>
 	<upstream>
 		<remote-id type="github">Yubico/python-fido2</remote-id>


             reply	other threads:[~2021-03-14 19:55 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-14 19:55 Göktürk Yüksek [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-28 11:38 [gentoo-commits] repo/gentoo:master commit in: dev-python/fido2/ Michał Górny
2024-06-17 16:27 Michał Górny
2024-03-30 14:53 Michał Górny
2024-03-14 11:44 Michał Górny
2024-03-09 11:25 Marek Szuba
2023-11-24 17:04 Arthur Zamarin
2023-11-24 16:55 Sam James
2023-08-23 23:37 Marek Szuba
2023-08-19 15:51 Michał Górny
2023-07-07  3:15 Michał Górny
2023-05-02  3:14 Michał Górny
2023-05-01 17:14 Sam James
2023-05-01  0:09 Sam James
2023-04-06  3:07 Michał Górny
2023-02-26 23:32 Marek Szuba
2022-11-19 16:52 Michał Górny
2022-11-19 16:40 Sam James
2022-10-18  6:36 Michał Górny
2022-07-24 19:13 Sam James
2022-06-20 15:40 Marek Szuba
2022-06-08 23:11 Marek Szuba
2022-01-11  2:23 Georgy Yakovlev
2021-12-31  1:15 Georgy Yakovlev
2021-12-17 18:57 Michał Górny
2021-12-17 18:30 Jakov Smolić
2021-11-17 13:03 Marek Szuba
2021-11-17 13:03 Marek Szuba
2021-09-13 16:26 Marek Szuba
2021-08-10  0:22 Göktürk Yüksek
2021-08-01 22:07 Marek Szuba
2021-05-27 15:37 Marek Szuba
2021-04-18  1:41 Sam James
2021-03-14 19:55 Göktürk Yüksek
2021-02-15  2:19 Rick Farina
2020-12-03 16:53 Marek Szuba
2020-07-08 20:16 Michał Górny
2020-07-08 20:16 Michał Górny
2020-03-19  2:11 Rick Farina
2020-03-19  2:11 Rick Farina
2020-03-17  7:23 Michał Górny
2019-11-29  4:32 Göktürk Yüksek
2019-11-26 12:27 Agostino Sarubbo
2019-11-26 10:18 Thomas Deutschmann
2019-11-25 20:44 Göktürk Yüksek
2019-11-25 20:18 Göktürk Yüksek
2019-10-24 15:27 Göktürk Yüksek
2019-09-20 13:19 Göktürk Yüksek
2019-06-18 20:40 Göktürk Yüksek
2019-05-21 17:18 Göktürk Yüksek
2019-03-19 15:38 Rick Farina
2019-03-11  8:40 Mikle Kolyada
2019-01-24 20:18 Göktürk Yüksek
2018-11-07 22:47 Göktürk Yüksek
2018-05-18 23:19 Göktürk Yüksek

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=1615751694.bc4a4f3184938656366076d1c8db2289c8c4c857.gokturk@gentoo \
    --to=gokturk@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