[arch-commits] Commit in python-pynamodb/repos/community-any (PKGBUILD PKGBUILD)
Chih-Hsuan Yen
yan12125 at archlinux.org
Thu Apr 30 11:49:56 UTC 2020
Date: Thursday, April 30, 2020 @ 11:49:54
Author: yan12125
Revision: 623240
archrelease: copy trunk to community-any
Added:
python-pynamodb/repos/community-any/PKGBUILD
(from rev 623239, python-pynamodb/trunk/PKGBUILD)
Deleted:
python-pynamodb/repos/community-any/PKGBUILD
----------+
PKGBUILD | 74 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 38 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-30 11:49:38 UTC (rev 623239)
+++ PKGBUILD 2020-04-30 11:49:54 UTC (rev 623240)
@@ -1,36 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-
-pkgname=python-pynamodb
-pkgver=4.3.1
-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)
-source=("https://github.com/pynamodb/PynamoDB/archive/$pkgver/PynamoDB-$pkgver.tar.gz")
-sha256sums=('38069836c0d133b75dcf4f7209b3c9bf88e24c39e175c1d9f2e1a38ab8950e5a')
-
-build() {
- cd PynamoDB-$pkgver
- python setup.py build
-}
-
-check() {
- cd PynamoDB-$pkgver
-
- export AWS_SECRET_ACCESS_KEY=fake_key
- export AWS_ACCESS_KEY_ID=fake_id
-
- pytest -v -m 'not ddblocal' tests
-}
-
-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
-}
Copied: python-pynamodb/repos/community-any/PKGBUILD (from rev 623239, python-pynamodb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-30 11:49:54 UTC (rev 623240)
@@ -0,0 +1,38 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-pynamodb
+pkgver=4.3.2
+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)
+optdepends=(
+ 'python-blinker: for signals'
+)
+source=("https://github.com/pynamodb/PynamoDB/archive/$pkgver/PynamoDB-$pkgver.tar.gz")
+sha256sums=('b60eb0be775693a597271409102305ff7f8265b614f54c40173b9abf29795f11')
+
+build() {
+ cd PynamoDB-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd PynamoDB-$pkgver
+
+ export AWS_SECRET_ACCESS_KEY=fake_key
+ export AWS_ACCESS_KEY_ID=fake_id
+
+ pytest -v -m 'not ddblocal' tests
+}
+
+package() {
+ cd PynamoDB-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}
More information about the arch-commits
mailing list