Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-pyscard: rename from python3-scard
@ 2020-05-27 13:16 sgn
  2020-05-31  2:09 ` [PR PATCH] [Merged]: " sgn
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: sgn @ 2020-05-27 13:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 395 bytes --]

There is a new pull request by sgn against master on the void-packages repository

https://github.com/sgn/void-packages python3-pyscard-rename
https://github.com/void-linux/void-packages/pull/22353

python3-pyscard: rename from python3-scard
Make a PR because I'm not sure if this will have any impacts.

A patch file from https://github.com/void-linux/void-packages/pull/22353.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-pyscard-rename-22353.patch --]
[-- Type: text/x-diff, Size: 3860 bytes --]

From fb1bad69a3a7a87e5c18d1af09434400030fc40f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Wed, 27 May 2020 20:14:13 +0700
Subject: [PATCH] python3-pyscard: rename from python3-scard

---
 srcpkgs/python3-fido2/template                      |  7 ++++---
 srcpkgs/{python3-scard => python3-pyscard}/template | 10 ++++++----
 srcpkgs/{python3-scard => python3-pyscard}/update   |  0
 srcpkgs/yubikey-manager/template                    |  6 +++---
 4 files changed, 13 insertions(+), 10 deletions(-)
 rename srcpkgs/{python3-scard => python3-pyscard}/template (71%)
 rename srcpkgs/{python3-scard => python3-pyscard}/update (100%)

diff --git a/srcpkgs/python3-fido2/template b/srcpkgs/python3-fido2/template
index 2c7977d65a7..fcf8a219ca2 100644
--- a/srcpkgs/python3-fido2/template
+++ b/srcpkgs/python3-fido2/template
@@ -2,13 +2,14 @@
 pkgname=python3-fido2
 _pkgname=fido2
 version=0.8.1
-revision=1
+revision=2
 archs=noarch
 wrksrc="${_pkgname}-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-six python3-cryptography python3-scard"
-checkdepends="$depends"
+depends="python3-six python3-cryptography python3-pyscard"
+# Missing fakefs will be pulled from pypi
+checkdepends="$depends python3-mock"
 short_desc="Library for FIDO2 functionality"
 maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
 license="BSD-2-Clause"
diff --git a/srcpkgs/python3-scard/template b/srcpkgs/python3-pyscard/template
similarity index 71%
rename from srcpkgs/python3-scard/template
rename to srcpkgs/python3-pyscard/template
index f11e703f7d6..f9d7ef130ec 100644
--- a/srcpkgs/python3-scard/template
+++ b/srcpkgs/python3-pyscard/template
@@ -1,18 +1,20 @@
-# Template file for 'python3-scard'
-pkgname=python3-scard
+# Template file for 'python3-pyscard'
+pkgname=python3-pyscard
 _pkgname=pyscard
 version=1.9.9
-revision=1
+revision=2
 wrksrc="${_pkgname}-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools swig"
 makedepends="python3-devel pcsclite-devel"
 depends="python3 pcsclite"
 short_desc="Python library for smartcard"
-maintainer="Doan Tran Cong Danh <congdanhqx@gmail.com>"
+maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
 license="LGPL-2.1-or-later"
 homepage="https://pyscard.sourceforge.io/index.html"
 distfiles="${PYPI_SITE}/p/${_pkgname}/${_pkgname}-${version}.tar.gz"
 checksum=e6bde541990183858740793806b1c7f4e798670519ae4c96145f35d5d7944c20
+provides="python3-scard-${version}_$revision"
+replaces="python3-scard>=0"
 
 CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include/PCSC"
diff --git a/srcpkgs/python3-scard/update b/srcpkgs/python3-pyscard/update
similarity index 100%
rename from srcpkgs/python3-scard/update
rename to srcpkgs/python3-pyscard/update
diff --git a/srcpkgs/yubikey-manager/template b/srcpkgs/yubikey-manager/template
index b8601ea1e15..75886e00e81 100644
--- a/srcpkgs/yubikey-manager/template
+++ b/srcpkgs/yubikey-manager/template
@@ -1,16 +1,16 @@
 # Template file for 'yubikey-manager'
 pkgname=yubikey-manager
 version=3.1.1
-revision=1
+revision=2
 archs=noarch
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="libu2f-host python3-fido2 python3-openssl python3-usb python3-scard
+depends="libu2f-host python3-fido2 python3-openssl python3-usb python3-pyscard
  python3-click python3-cryptography python3-six pcsc-ccid python3-setuptools
  libykpers"
 checkdepends="$depends python3-pytest"
 short_desc="Library and CLI tools to configure YubiKey"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
 license="BSD-2-Clause"
 homepage="https://developers.yubico.com/yubikey-manager/"
 distfiles="https://developers.yubico.com/${pkgname}/Releases/${pkgname}-${version}.tar.gz"

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-06-02  0:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-27 13:16 [PR PATCH] python3-pyscard: rename from python3-scard sgn
2020-05-31  2:09 ` [PR PATCH] [Merged]: " sgn
2020-06-01 20:40 ` Chocimier
2020-06-02  0:26 ` sgn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).