[arch-commits] Commit in python-peewee/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Jul 19 10:16:08 UTC 2018
Date: Thursday, July 19, 2018 @ 10:16:07
Author: felixonmars
Revision: 362389
archrelease: copy trunk to community-staging-x86_64
Added:
python-peewee/repos/community-staging-x86_64/PKGBUILD
(from rev 362388, python-peewee/trunk/PKGBUILD)
Deleted:
python-peewee/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 120 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 60 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-19 10:15:43 UTC (rev 362388)
+++ PKGBUILD 2018-07-19 10:16:07 UTC (rev 362389)
@@ -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.6.2
-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' 'sqlite')
-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=('b105595fca286bc1ce40a4195a221650a2a40ae9ab12aaa2d358ccc94c59d784a109d401a65568eb9b63d7c0538b01879fd79e93106c84c1ae850a1a9698aea9')
-
-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' 'sqlite')
- 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-staging-x86_64/PKGBUILD (from rev 362388, python-peewee/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-07-19 10:16:07 UTC (rev 362389)
@@ -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.6.4
+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' 'sqlite')
+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=('433eea03c866c6f8a14a34e159825d88b40f6255c3c8509b8167f4c0d8f834825a1236f1122d2550b349c9b210fe9f815d01141da19148188bf2e48c438888e7')
+
+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' 'sqlite')
+ 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