[arch-commits] Commit in python-pynamodb/trunk (PKGBUILD)

Chih-Hsuan Yen yan12125 at archlinux.org
Thu Apr 30 11:49:38 UTC 2020


    Date: Thursday, April 30, 2020 @ 11:49:38
  Author: yan12125
Revision: 623239

upgpkg: python-pynamodb 4.3.2-1

* Add optdepends for pynamodb.signals [1]
* Remove workaround for file conflicts, which is fixed [2]

[1] https://github.com/pynamodb/PynamoDB/blob/4.3.2/pynamodb/signals.py#L40
[2] https://github.com/pynamodb/PynamoDB/pull/758

Modified:
  python-pynamodb/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-30 11:42:43 UTC (rev 623238)
+++ PKGBUILD	2020-04-30 11:49:38 UTC (rev 623239)
@@ -1,7 +1,7 @@
 # Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
 
 pkgname=python-pynamodb
-pkgver=4.3.1
+pkgver=4.3.2
 pkgrel=1
 pkgdesc="A pythonic interface to Amazon's DynamoDB"
 arch=(any)
@@ -10,8 +10,11 @@
 makedepends=(python-setuptools)
 depends=(python-botocore python-dateutil python-six)
 checkdepends=(python-blinker python-mock python-pytest-mock python-requests)
+optdepends=(
+  'python-blinker: for signals'
+)
 source=("https://github.com/pynamodb/PynamoDB/archive/$pkgver/PynamoDB-$pkgver.tar.gz")
-sha256sums=('38069836c0d133b75dcf4f7209b3c9bf88e24c39e175c1d9f2e1a38ab8950e5a')
+sha256sums=('b60eb0be775693a597271409102305ff7f8265b614f54c40173b9abf29795f11')
 
 build() {
   cd PynamoDB-$pkgver
@@ -30,7 +33,6 @@
 package() {
   cd PynamoDB-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  rm -rv "$pkgdir"/usr/lib/python*/site-packages/tests
 
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
 }



More information about the arch-commits mailing list