[arch-commits] Commit in python-peewee/repos (2 files)
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 +# Contributor: Blackleg +# 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 +}
[arch-commits] Commit in python-peewee/repos (2 files)
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 +# Contributor: Blackleg +# 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 +}
[arch-commits] Commit in python-peewee/repos (2 files)
Date: Saturday, July 14, 2018 @ 18:01:27 Author: felixonmars Revision: 359381 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 359380, python-peewee/trunk/PKGBUILD) --+ PKGBUILD | 63 + 1 file changed, 63 insertions(+) Copied: python-peewee/repos/community-staging-x86_64/PKGBUILD (from rev 359380, python-peewee/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-14 18:01:27 UTC (rev 359381) @@ -0,0 +1,63 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Blackleg +# Contributor: Nidhogg +# Contributor: juantascon + +pkgbase=python-peewee +pkgname=('python-peewee' 'python2-peewee') +pkgver=3.5.2 +pkgrel=2 +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; + https://github.com/coleifer/peewee/commit/e33c6e912e0f5db99413badeaf361ffc28df7d13.patch) +sha512sums=('50dd25e495bcb6df4f2fb91b4af9197eda9bd28c4c2bf7debfbbbcdc458a94d3b216921780513c2d92042c5523aa1f56716dfe8ffb3b6e27c588690844029af0' + 'e44727b55f5b0986d4b5504d82bd9c62257865fc7694dde748057622b0eee7a882c9107157ec575467b289d1580f5be00092cd842702e53bbe5fbd6607b6a3e8') + +prepare() { + (cd peewee-$pkgver; patch -p1 -i ../e33c6e912e0f5db99413badeaf361ffc28df7d13.patch) + 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 +}
[arch-commits] Commit in python-peewee/repos (2 files)
Date: Monday, January 29, 2018 @ 17:49:15 Author: felixonmars Revision: 287842 archrelease: copy trunk to community-testing-x86_64 Added: python-peewee/repos/community-testing-x86_64/ python-peewee/repos/community-testing-x86_64/PKGBUILD (from rev 287841, python-peewee/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: python-peewee/repos/community-testing-x86_64/PKGBUILD (from rev 287841, python-peewee/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2018-01-29 17:49:15 UTC (rev 287842) @@ -0,0 +1,60 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Blackleg +# Contributor: Nidhogg +# Contributor: juantascon + +pkgbase=python-peewee +pkgname=('python-peewee' 'python2-peewee') +pkgver=3.0.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') +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=('8e9ee514fb26042e4cc036a53cd7cbe92143c257f1e4920e2473e4958dd222bcbee7bb3b487267eeb29dd01dd921219d265c2b7b46d3cd34ee7d792e8c56448e') + +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') + 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 +}