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

Felix Yan felixonmars at archlinux.org
Fri Oct 25 19:53:17 UTC 2019


    Date: Friday, October 25, 2019 @ 19:53:16
  Author: felixonmars
Revision: 519611

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: python-peewee/repos/community-staging-x86_64/PKGBUILD (from rev 519609, python-peewee/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-10-25 19:53:16 UTC (rev 519611)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Blackleg <blacklg at openaliasbox.org>
+# Contributor: Nidhogg
+# Contributor: juantascon
+
+pkgname=python-peewee
+pkgver=3.11.2
+pkgrel=2
+pkgdesc="a little orm"
+url="https://pypi.python.org/pypi/peewee/"
+arch=('x86_64')
+license=('MIT')
+depends=('python' 'sqlite')
+optdepends=('python-psycopg2: for PostgreSQL database support'
+            'mysql-python: for MySQL database support')
+makedepends=('python-setuptools' 'cython')
+checkdepends=('python-apsw' 'python-flask' 'python-psycopg2')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/coleifer/peewee/archive/$pkgver.tar.gz")
+sha512sums=('6bda4628ae1be9969c21bf8a858db9ff5d190df2e22e2917653580185544acf18b8dcc0e7e995da556b69658e293e9d28ebd318ac0b5c66d697f8a0029f2e620')
+
+build() {
+  cd peewee-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd peewee-$pkgver
+  python runtests.py
+}
+
+package() {
+  cd peewee-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list