[arch-commits] Commit in python-peewee/repos/community-testing-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Wed Feb 7 07:58:10 UTC 2018
Date: Wednesday, February 7, 2018 @ 07:58:08
Author: felixonmars
Revision: 289804
archrelease: copy trunk to community-testing-x86_64
Added:
python-peewee/repos/community-testing-x86_64/PKGBUILD
(from rev 289802, python-peewee/trunk/PKGBUILD)
Deleted:
python-peewee/repos/community-testing-x86_64/PKGBUILD
----------+
PKGBUILD | 120 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 60 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-07 07:58:03 UTC (rev 289803)
+++ PKGBUILD 2018-02-07 07:58:08 UTC (rev 289804)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Blackleg <blacklg at openaliasbox.org>
-# Contributor: Nidhogg
-# Contributor: juantascon
-
-pkgbase=python-peewee
-pkgname=('python-peewee' 'python2-peewee')
-pkgver=3.0.12
-pkgrel=1
-pkgdesc="a little orm"
-url="https://pypi.python.org/pypi/peewee/"
-arch=('x86_64')
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'cython' 'cython2')
-checkdepends=('python-apsw' 'python2-apsw' 'python-flask' 'python2-flask')
- # 'python-psycopg2' 'python2-psycopg2')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/coleifer/peewee/archive/$pkgver.tar.gz")
-sha512sums=('7bed9152f3d39e92776b32c9e6a427c6612e6c3dc613eedde8d66005b8a165e818adb3d2e00c066d807d859101df3390e03ee0bb3a696b0a4006dff1abf32f45')
-
-prepare() {
- cp -a peewee-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/peewee-$pkgver
- python setup.py build
-
- cd "$srcdir"/peewee-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/peewee-$pkgver
- python runtests.py
-
- cd "$srcdir"/peewee-$pkgver-py2
- python2 runtests.py
-}
-
-package_python-peewee() {
- depends=('python')
- optdepends=('python-psycopg2: for PostgreSQL database support'
- 'mysql-python: for MySQL database support')
-
- cd "$srcdir"/peewee-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-peewee() {
- depends=('python2')
- optdepends=('python2-psycopg2: for PostgreSQL database support')
-
- cd "$srcdir"/peewee-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
- mv "$pkgdir"/usr/bin/pwiz{,2}.py
-}
Copied: python-peewee/repos/community-testing-x86_64/PKGBUILD (from rev 289802, python-peewee/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-02-07 07:58:08 UTC (rev 289804)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Blackleg <blacklg at openaliasbox.org>
+# Contributor: Nidhogg
+# Contributor: juantascon
+
+pkgbase=python-peewee
+pkgname=('python-peewee' 'python2-peewee')
+pkgver=3.0.13
+pkgrel=1
+pkgdesc="a little orm"
+url="https://pypi.python.org/pypi/peewee/"
+arch=('x86_64')
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'cython' 'cython2')
+checkdepends=('python-apsw' 'python2-apsw' 'python-flask' 'python2-flask')
+ # 'python-psycopg2' 'python2-psycopg2')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/coleifer/peewee/archive/$pkgver.tar.gz")
+sha512sums=('24207c3820744d1c61ada2745c1c65add54a8d2c015dc9829b11d2b01fc8d5533d735c9c19ca7178d882e7e6251e063739639728a1b8ad5ea962a23b54c4116d')
+
+prepare() {
+ cp -a peewee-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/peewee-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/peewee-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/peewee-$pkgver
+ python runtests.py
+
+ cd "$srcdir"/peewee-$pkgver-py2
+ python2 runtests.py
+}
+
+package_python-peewee() {
+ depends=('python')
+ optdepends=('python-psycopg2: for PostgreSQL database support'
+ 'mysql-python: for MySQL database support')
+
+ cd "$srcdir"/peewee-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-peewee() {
+ depends=('python2')
+ optdepends=('python2-psycopg2: for PostgreSQL database support')
+
+ cd "$srcdir"/peewee-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ 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