Package Details: python-aws-mfa 0.0.12-2

Git Clone URL: https://aur.archlinux.org/python-aws-mfa.git (read-only, click to copy)
Package Base: python-aws-mfa
Description: Easily manage your AWS Security Credentials when using Multi-Factor Authentication (MFA)
Upstream URL: https://github.com/broamski/aws-mfa
Licenses: Apache
Submitter: wiliam
Maintainer: wiliam
Last Packager: wiliam
Votes: 1
Popularity: 0.000000
First Submitted: 2019-03-27 22:32 (UTC)
Last Updated: 2023-02-03 17:39 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

wiliam commented on 2023-02-03 17:41 (UTC)

Updated. Thanks rbar!

rbar commented on 2023-02-02 23:13 (UTC)

This package forces the install / compilation of the python2 package. Python 2 is deprecated and not actually required for this package to be installed. The following PKGBUILD allows building against only python3.

# Maintainer: Viliam Pucik <viliam.pucik@protonmail.com>
# Contributor: Viliam Pucik <viliam.pucik@protonmail.com>

pkgbase=python-aws-mfa
pkgname=('python-aws-mfa')
pkgver=0.0.12
pkgrel=1
pkgdesc='Easily manage your AWS Security Credentials when using Multi-Factor Authentication (MFA)'
arch=('any')
license=('Apache')
url='https://github.com/broamski/aws-mfa'
makedepends=('python-setuptools')
source=("$pkgname-$pkgver.tar.gz::https://github.com/broamski/aws-mfa/archive/$pkgver.tar.gz")
sha512sums=('6ea93dc93d2ebdfb6adbbe9c2a4571781a64381aff6b429456ecd9378329857c34eaa98c20f6928aaebdd4410d0c4f69b3b9d1f68429128d7198756e95398663')

prepare() {
  cp -r "aws-mfa-$pkgver" "python-aws-mfa-$pkgver"
}

build() {
  cd "$srcdir/python-aws-mfa-$pkgver"
  python setup.py build
}

check() {
  cd "$srcdir"/aws-mfa-$pkgver
}

package_python-aws-mfa() {
  depends=('python-boto3')
  cd "$srcdir/python-aws-mfa-$pkgver"
  python setup.py install --root="$pkgdir" --optimize=1
}