[arch-commits] Commit in python-peewee/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Oct 3 03:41:11 UTC 2016
Date: Monday, October 3, 2016 @ 03:41:10
Author: felixonmars
Revision: 191241
upgpkg: python-peewee 2.8.4-1
Modified:
python-peewee/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-03 03:09:34 UTC (rev 191240)
+++ PKGBUILD 2016-10-03 03:41:10 UTC (rev 191241)
@@ -6,7 +6,7 @@
pkgname=python-peewee
pkgname=('python-peewee' 'python2-peewee')
-pkgver=2.8.3
+pkgver=2.8.4
pkgrel=1
pkgdesc="a little orm"
url="https://pypi.python.org/pypi/peewee/"
@@ -23,18 +23,18 @@
}
build() {
- cd "$srcdir/peewee"
+ cd "$srcdir"/peewee
python setup.py build
- cd "$srcdir/peewee-py2"
+ cd "$srcdir"/peewee-py2
python2 setup.py build
}
check() {
- cd "$srcdir/peewee"
+ cd "$srcdir"/peewee
python runtests.py -a
- cd "$srcdir/peewee-py2"
+ cd "$srcdir"/peewee-py2
python2 runtests.py -a
}
@@ -43,9 +43,9 @@
optdepends=('python-psycopg2: for PostgreSQL database support'
'mysql-python: for MySQL database support')
- cd "$srcdir/peewee"
+ cd "$srcdir"/peewee
python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
package_python2-peewee() {
@@ -52,9 +52,9 @@
depends=('python2')
optdepends=('python2-psycopg2: for PostgreSQL database support')
- cd "$srcdir/peewee-py2"
+ cd "$srcdir"/peewee-py2
python2 setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
mv "$pkgdir/usr/bin/"pwiz{,2}.py
}
More information about the arch-commits
mailing list