[arch-commits] Commit in python-peewee/repos (4 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Dec 25 17:18:40 UTC 2016


    Date: Sunday, December 25, 2016 @ 17:18:39
  Author: foutrelis
Revision: 202071

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  python-peewee/repos/community-staging-i686/
  python-peewee/repos/community-staging-i686/PKGBUILD
    (from rev 202070, python-peewee/trunk/PKGBUILD)
  python-peewee/repos/community-staging-x86_64/
  python-peewee/repos/community-staging-x86_64/PKGBUILD
    (from rev 202070, python-peewee/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   60 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   60 ++++++++++++++++++++++++++++++++++++
 2 files changed, 120 insertions(+)

Copied: python-peewee/repos/community-staging-i686/PKGBUILD (from rev 202070, python-peewee/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-12-25 17:18:39 UTC (rev 202071)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Blackleg <blacklg at openaliasbox.org>
+# Contributor: Nidhogg
+# Contributor: juantascon
+
+pkgname=python-peewee
+pkgname=('python-peewee' 'python2-peewee')
+pkgver=2.8.5
+pkgrel=2
+pkgdesc="a little orm"
+url="https://pypi.python.org/pypi/peewee/"
+arch=('i686' 'x86_64')
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'cython' 'cython2' 'git')
+checkdepends=('python-apsw' 'python2-apsw' 'python-flask' 'python2-flask'
+              'python2-pysqlite') #'python-psycopg2' 'python2-psycopg2')
+source=("git+https://github.com/coleifer/peewee.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+  cp -a peewee{,-py2}
+}
+
+build() {
+  cd "$srcdir"/peewee
+  python setup.py build
+
+  cd "$srcdir"/peewee-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/peewee
+  python runtests.py -a
+
+  cd "$srcdir"/peewee-py2
+  python2 runtests.py -a
+}
+
+package_python-peewee() {
+  depends=('python')
+  optdepends=('python-psycopg2: for PostgreSQL database support'
+              'mysql-python: for MySQL database support')
+
+  cd "$srcdir"/peewee
+  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-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 202070, python-peewee/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-12-25 17:18:39 UTC (rev 202071)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Blackleg <blacklg at openaliasbox.org>
+# Contributor: Nidhogg
+# Contributor: juantascon
+
+pkgname=python-peewee
+pkgname=('python-peewee' 'python2-peewee')
+pkgver=2.8.5
+pkgrel=2
+pkgdesc="a little orm"
+url="https://pypi.python.org/pypi/peewee/"
+arch=('i686' 'x86_64')
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'cython' 'cython2' 'git')
+checkdepends=('python-apsw' 'python2-apsw' 'python-flask' 'python2-flask'
+              'python2-pysqlite') #'python-psycopg2' 'python2-psycopg2')
+source=("git+https://github.com/coleifer/peewee.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+  cp -a peewee{,-py2}
+}
+
+build() {
+  cd "$srcdir"/peewee
+  python setup.py build
+
+  cd "$srcdir"/peewee-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/peewee
+  python runtests.py -a
+
+  cd "$srcdir"/peewee-py2
+  python2 runtests.py -a
+}
+
+package_python-peewee() {
+  depends=('python')
+  optdepends=('python-psycopg2: for PostgreSQL database support'
+              'mysql-python: for MySQL database support')
+
+  cd "$srcdir"/peewee
+  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-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