Date: Saturday, April 8, 2023 @ 12:38:45
Author: felixonmars
Revision: 1442338
archrelease: copy trunk to community-staging-any
Added:
python-keyrings-alt/repos/community-staging-any/
python-keyrings-alt/repos/community-staging-any/PKGBUILD
(from rev 1442337, python-keyrings-alt/trunk/PKGBUILD)
python-keyrings-alt/repos/community-staging-any/pep517-0.5.patch
(from rev 1442337, python-keyrings-alt/trunk/pep517-0.5.patch)
------------------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++
pep517-0.5.patch | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 100 insertions(+)
Copied: python-keyrings-alt/repos/community-staging-any/PKGBUILD (from rev
1442337, python-keyrings-alt/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-08 12:38:45 UTC (rev 1442338)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan <[email protected]>
+# Maintainer: Filipe LaĆns (FFY00) <[email protected]>
+# Contributor: Johannes Dewender arch at JonnyJD dot net
+# Contributor: Ivan Sichmann Freitas <[email protected]>
+# Contributor: Brice Maron <[email protected]>
+# Contributor: Nuno Araujo <nuno.araujo at russo79.com>
+# Contributor: Steven Allen <steven {at} stebalien {dot} com>
+
+pkgname=python-keyrings-alt
+epoch=1
+pkgver=4.2.0
+_commit=a2ef1a8e15859bb90f499e6be88c14468f246f8e
+pkgrel=3
+pkgdesc="Alternate keyring implementations"
+arch=('any')
+url='https://github.com/jaraco/keyrings.alt'
+license=('MIT')
+depends=('python-keyring' 'python-jaraco.text')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools-scm'
'python-wheel')
+checkdepends=('libgnome-keyring' 'python-pycryptodome' 'python-pycryptodomex'
'python-gobject' 'python-keyring'
+ 'python-pytest-enabler' 'python-pytest-mypy')
+optdepends=('libgnome-keyring: GNOME Integration'
+ 'python-gobject: GNOME Integration'
+ 'python-fs'
+ 'python-pycryptodome: Encrypted file storage')
+source=("git+https://github.com/jaraco/keyrings.alt.git#commit=$_commit")
+sha512sums=('SKIP')
+
+build() {
+ cd keyrings.alt
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd keyrings.alt
+ pytest
+}
+
+package() {
+ cd keyrings.alt
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+# vim:set ts=2 sw=2 et:
Copied: python-keyrings-alt/repos/community-staging-any/pep517-0.5.patch (from
rev 1442337, python-keyrings-alt/trunk/pep517-0.5.patch)
===================================================================
--- community-staging-any/pep517-0.5.patch (rev 0)
+++ community-staging-any/pep517-0.5.patch 2023-04-08 12:38:45 UTC (rev
1442338)
@@ -0,0 +1,55 @@
+From 939c515f2cc01525cbbd71f26e71d21471abdc93 Mon Sep 17 00:00:00 2001
+From: "Jason R. Coombs" <[email protected]>
+Date: Mon, 17 Dec 2018 12:17:02 -0500
+Subject: [PATCH] Rely on pep517 0.5
+
+---
+ install-pip-master.py | 21 ---------------------
+ tox.ini | 5 +----
+ 2 files changed, 1 insertion(+), 25 deletions(-)
+ delete mode 100644 install-pip-master.py
+
+diff --git a/install-pip-master.py b/install-pip-master.py
+deleted file mode 100644
+index d62d20f..0000000
+--- a/install-pip-master.py
++++ /dev/null
+@@ -1,21 +0,0 @@
+-"""
+-In order to support installation of pep517 from source,
+-pip from master must be installed.
+-"""
+-
+-import subprocess
+-import sys
+-
+-
+-def main():
+- cmd = [
+- sys.executable,
+- '-m', 'pip', 'install',
+- 'git+https://github.com/pypa/pip',
+- ]
+- subprocess.run(cmd)
+- cmd[-1:] = sys.argv[1:]
+- subprocess.run(cmd)
+-
+-
+-__name__ == '__main__' and main()
+diff --git a/tox.ini b/tox.ini
+index 853d7de..70b0be7 100644
+--- a/tox.ini
++++ b/tox.ini
+@@ -20,11 +20,8 @@ commands =
+
+ [testenv:release]
+ skip_install = True
+-# workaround for pep517 build support
+-install_command = python install-pip-master.py {opts} {packages}
+ deps =
+- # pull from feature branch for feature
+- git+https://github.com/pypa/pep517@feature/build-command
++ pep517>=0.5
+ # workaround for https://github.com/pypa/twine/issues/423
+ git+https://github.com/pypa/twine
+ path.py