[arch-commits] Commit in python-pynamodb/repos (community-any community-any/PKGBUILD)
Chih-Hsuan Yen
yan12125 at archlinux.org
Sun Nov 18 07:26:31 UTC 2018
Date: Sunday, November 18, 2018 @ 07:26:30
Author: yan12125
Revision: 408647
archrelease: copy trunk to community-any
Added:
python-pynamodb/repos/community-any/
python-pynamodb/repos/community-any/PKGBUILD
(from rev 408646, python-pynamodb/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-pynamodb/repos/community-any/PKGBUILD (from rev 408646, python-pynamodb/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2018-11-18 07:26:30 UTC (rev 408647)
@@ -0,0 +1,32 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-pynamodb
+_pkgname=PynamoDB
+pkgver=3.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=("$pkgname-$pkgver.tar.gz"::"https://github.com/pynamodb/PynamoDB/archive/$pkgver.tar.gz")
+sha256sums=('999fff6508ef9697958c08d39a456f0f9551193be3a06ab86edfeb42abd7a9d2')
+
+build() {
+ cd $_pkgname-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd $_pkgname-$pkgver
+ pytest -v -m 'not ddblocal' pynamodb/tests
+}
+
+package() {
+ cd $_pkgname-$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