diff options
author | Konstantin Shalygin | 2022-06-17 12:27:40 +0700 |
---|---|---|
committer | Konstantin Shalygin | 2022-06-17 12:27:40 +0700 |
commit | 9bcf35c028b3f8b1c241472f60f797268d5ffd63 (patch) | |
tree | edaab5777e4286411815f293e5e6db9a1125bf81 | |
parent | 34ea0f6fffcaf9b9b9b27c9704d957ce1b26786b (diff) | |
download | aur-9bcf35c028b3f8b1c241472f60f797268d5ffd63.tar.gz |
Remove py2 support
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 5 insertions, 22 deletions
@@ -1,5 +1,3 @@ -# Generated by mksrcinfo v8 -# Tue Mar 13 08:37:14 UTC 2018 pkgbase = requests-aws pkgdesc = AWS authentication for Amazon S3 for the python requests module pkgver = 0.1.8 @@ -9,14 +7,8 @@ pkgbase = requests-aws license = BSD makedepends = python makedepends = python-setuptools - makedepends = python2 - makedepends = python2-setuptools + depends = python-requests source = https://pypi.io/packages/source/r/requests-aws/requests-aws-0.1.8.tar.gz sha256sums = bd2e8386f09d94a84b9cad6e966b21f31493734336a8f47b9b535806949a771f pkgname = python-requests-aws - depends = python-requests - -pkgname = python2-requests-aws - depends = python2-requests - @@ -2,28 +2,19 @@ # Contributor: Shalygin Konstantin <k0ste@k0ste.ru> pkgbase='requests-aws' -pkgname=('python-requests-aws' 'python2-requests-aws') +pkgname='python-requests-aws' pkgver='0.1.8' pkgrel='1' pkgdesc='AWS authentication for Amazon S3 for the python requests module' arch=('any') url="https://github.com/tax/python-${pkgbase}" -makedepends=('python' 'python-setuptools' - 'python2' 'python2-setuptools') +makedepends=('python' 'python-setuptools') +depends=('python-requests') license=('BSD') source=("https://pypi.io/packages/source/${pkgbase:0:1}/${pkgbase}/${pkgbase}-${pkgver}.tar.gz") sha256sums=('bd2e8386f09d94a84b9cad6e966b21f31493734336a8f47b9b535806949a771f') -package_python-requests-aws() { - depends=('python-requests') - +package() { cd "${srcdir}/${pkgbase}-${pkgver}" python setup.py install -O1 --root="${pkgdir}" } - -package_python2-requests-aws() { - depends=('python2-requests') - - cd "${srcdir}/${pkgbase}-${pkgver}" - python2 setup.py install -O1 --root="${pkgdir}" -} |