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

Felix Yan felixonmars at archlinux.org
Mon Nov 9 15:35:02 UTC 2020


    Date: Monday, November 9, 2020 @ 15:35:01
  Author: felixonmars
Revision: 746996

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 746992, python-peewee/trunk/PKGBUILD)

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

Copied: python-peewee/repos/community-staging-x86_64/PKGBUILD (from rev 746992, python-peewee/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-09 15:35:01 UTC (rev 746996)
@@ -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.14.0
+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=('083bb24952a6d05cd6c8376e185e050df0ab5b37bc553241128b0ed3b0ebdd322d9626c32943658324d413cff8ab0bb2ddf6c84d99a0fbe057c0e5c8ec93d7f9')
+
+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