From a6a98a8b8fe8999317dc5438d4d3b88e4af48809 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= 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 2c7977d65a..fcf8a219ca 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 " 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 f11e703f7d..f9d7ef130e 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 " +maintainer="Đoàn Trần Công Danh " 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 b8601ea1e1..75886e00e8 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 " +maintainer="Đoàn Trần Công Danh " license="BSD-2-Clause" homepage="https://developers.yubico.com/yubikey-manager/" distfiles="https://developers.yubico.com/${pkgname}/Releases/${pkgname}-${version}.tar.gz"