[arch-commits] Commit in python-pynamodb/trunk (PKGBUILD)
Chih-Hsuan Yen
yan12125 at archlinux.org
Fri Jan 29 13:25:04 UTC 2021
Date: Friday, January 29, 2021 @ 13:25:04
Author: yan12125
Revision: 834674
upgpkg: python-pynamodb 5.0.0-1
* Cleanup dependencies
- python-dateutil: no longer needed after https://github.com/pynamodb/PynamoDB/pull/850
- python-six & python-mock: no longer needed after https://github.com/pynamodb/PynamoDB/pull/786
- python-requests: no longer needed after https://github.com/pynamodb/PynamoDB/pull/580
(This is actually a change in 4.0, but I didn't review dependencies then)
* Update environment variables for testing
* Make tests less verbose
Modified:
python-pynamodb/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-29 13:23:38 UTC (rev 834673)
+++ PKGBUILD 2021-01-29 13:25:04 UTC (rev 834674)
@@ -1,20 +1,20 @@
# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
pkgname=python-pynamodb
-pkgver=4.3.3
-pkgrel=3
+pkgver=5.0.0
+pkgrel=1
pkgdesc="A pythonic interface to Amazon's DynamoDB"
arch=(any)
url='https://pynamodb.readthedocs.io/'
license=(MIT)
makedepends=(python-setuptools)
-depends=(python-botocore python-dateutil python-six)
-checkdepends=(python-blinker python-mock python-pytest-mock python-requests)
+depends=(python-botocore)
+checkdepends=(python-blinker python-pytest-mock)
optdepends=(
'python-blinker: for signals'
)
source=("https://github.com/pynamodb/PynamoDB/archive/$pkgver/PynamoDB-$pkgver.tar.gz")
-sha256sums=('4505cbf5b38b5eb5b90082dbf7b90bd122077f7ead34b4588c5a0b8b18588647')
+sha256sums=('fcb236eb9ccf792587052e9fc411947997e086c4b0ee1a547e774c8f1bb29806')
build() {
cd PynamoDB-$pkgver
@@ -24,10 +24,11 @@
check() {
cd PynamoDB-$pkgver
- export AWS_SECRET_ACCESS_KEY=fake_key
- export AWS_ACCESS_KEY_ID=fake_id
+ # Copied from upstream pytest.ini as pytest-env is not yet packaged
+ export AWS_ACCESS_KEY_ID=1
+ export AWS_SECRET_ACCESS_KEY=2
- pytest -v -m 'not ddblocal' tests
+ pytest -m 'not ddblocal' tests
}
package() {
More information about the arch-commits
mailing list