[arch-commits] Commit in python-pynamodb/repos/community-any (PKGBUILD PKGBUILD)
Chih-Hsuan Yen
yan12125 at archlinux.org
Sat Jan 4 07:00:06 UTC 2020
Date: Saturday, January 4, 2020 @ 07:00:06
Author: yan12125
Revision: 547780
archrelease: copy trunk to community-any
Added:
python-pynamodb/repos/community-any/PKGBUILD
(from rev 547779, python-pynamodb/trunk/PKGBUILD)
Deleted:
python-pynamodb/repos/community-any/PKGBUILD
----------+
PKGBUILD | 71 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-04 06:59:29 UTC (rev 547779)
+++ PKGBUILD 2020-01-04 07:00:06 UTC (rev 547780)
@@ -1,35 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-
-pkgname=python-pynamodb
-pkgver=4.2.0
-pkgrel=2
-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=('8ba967af1b7daa439ae9d1a671d81e25481c5e77df50724ca1ccc750386b8670')
-
-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
-}
Copied: python-pynamodb/repos/community-any/PKGBUILD (from rev 547779, python-pynamodb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-01-04 07:00:06 UTC (rev 547780)
@@ -0,0 +1,36 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-pynamodb
+pkgver=4.2.0
+pkgrel=3
+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=('8ba967af1b7daa439ae9d1a671d81e25481c5e77df50724ca1ccc750386b8670')
+
+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
+}
More information about the arch-commits
mailing list