[arch-commits] Commit in python-peewee/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun May 20 04:57:07 UTC 2018
Date: Sunday, May 20, 2018 @ 04:57:06
Author: felixonmars
Revision: 325005
archrelease: copy trunk to community-x86_64
Added:
python-peewee/repos/community-x86_64/PKGBUILD
(from rev 325004, python-peewee/trunk/PKGBUILD)
Deleted:
python-peewee/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 120 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 60 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-20 04:56:42 UTC (rev 325004)
+++ PKGBUILD 2018-05-20 04:57:06 UTC (rev 325005)
@@ -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.3.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=('1964126c975c5fe7b82647f482411eb0d7175f88fb1980f29951b1dad7bf0b0b00cb3975ea4e2f680bbab05e3b100fa4c8113fe5cb9e947fed3a0989026c9b97')
-
-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-x86_64/PKGBUILD (from rev 325004, python-peewee/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-20 04:57:06 UTC (rev 325005)
@@ -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.4.0
+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=('6384c38d96ad61b87d330c7b6174568fe20d46316e5c24c185f2b1d1835390f058029ca973ea62a9ff08e3f29b99a27f12f8ee00ebc50a129b92aef4c0bef538')
+
+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